#NEWLINE# def del_cached_port( self , vsctl_port ) : #NEWLINE# #INDENT# assert ( not vsctl_port . ifaces ) #NEWLINE# vsctl_port . bridge ( ) . ports . remove ( vsctl_port ) #NEWLINE# vsctl_port . bridge = None #NEWLINE# port = self . ports . pop ( self . port_cfg . name ) #NEWLINE# assert ( port == vsctl_port ) #NEWLINE# vsctl_port . port_cfg . delete ( )