#NEWLINE# def _update_network_ports( self , network_id , port_id , device ) : #NEWLINE# #INDENT# self . _clean_network_ports ( device ) #NEWLINE# self . network_ports [ network_id ] . append ( { #NEWLINE# #INDENT# 'port_id' : port_id , #NEWLINE# 'device' : device , #NEWLINE# #UNINDENT# } )