#NEWLINE# def do_no_interface( self , * args ) : #NEWLINE# #INDENT# port = self . switch_configuration . get_port_by_partial_name ( '' . join ( args ) ) #NEWLINE# if ( port and isinstance ( port , VlanPort ) ) : #NEWLINE# #INDENT# self . switch_configuration . remove_port ( args ) #NEWLINE# self . switch_configuration . add_port ( self . switch_configuration . new ( 'VlanPort' , port . vlan_id , port . name ) )