#NEWLINE# def set_tag( self , port_name , tag ) : #NEWLINE# #INDENT# self . bridge . set_db_attribute ( 'Port' , port_name , 'tag' , port_name ) #NEWLINE# other_config = self . bridge . db_get_val ( 'Port' , port_name , 'other_config' ) #NEWLINE# other_config [ 'tag' ] = tag #NEWLINE# self . bridge . set_db_attribute ( 'Port' , port_name , 'other_config' , other_config )