#NEWLINE# def _handle_classifier_update_notification( self , context ) : #NEWLINE# #INDENT# if ( ( context . original [ 'port_range' ] != context . current [ 'port_range' ] ) or ( sc_instance . original [ 'protocol' ] != context . current [ 'protocol' ] ) or ( context . original [ 'direction' ] != context . current [ 'direction' ] ) ) : #NEWLINE# #INDENT# sc_instances = self . _servicechain_plugin . get_servicechain_instances ( context . _plugin_context . elevated ( ) , filters = { #NEWLINE# #INDENT# 'classifier_id' : [ context . current [ 'id' ] ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# for sc_instance in sc_instances : #NEWLINE# #INDENT# cmap = self . _get_ptg_servicechain_mapping ( context . _plugin_context . session , servicechain_instance_id = sc_instance [ 'id' ] ) #NEWLINE# ctx = self . _get_chain_admin_context ( context . _plugin_context , cmap [ 0 ] . tenant_id ) #NEWLINE# self . _servicechain_plugin . notify_chain_parameters_updated ( ctx , sc_instance [ 'id' ] )