#NEWLINE# @ log_helpers . log_method_call #NEWLINE# def update_port_chain( self , context ) : #NEWLINE# #INDENT# entity_path = ( 'port_chains/' + context . current [ 'id' ] ) #NEWLINE# resource = context . current . copy ( ) #NEWLINE# onos_utils . send_msg ( self . onos_path , context . onos_auth , 'put' , entity_path , { #NEWLINE# #INDENT# 'port_chain' : resource , #NEWLINE# #UNINDENT# } )