#NEWLINE# def update_arp_entry_for_dvr_service_port( self , context , port_dict ) : #NEWLINE# #INDENT# "Notify L3 agents of ARP table entry for dvr service port.\n\n        When a dvr service port goes up, look for the DVR router on\n        the port's subnet, and send the ARP details to all\n        L3 agents hosting the router to add it.\n        If there are any allowed_address_pairs associated with the port\n        those fixed_ips should also be updated in the ARP table.\n        " #NEWLINE# if ( not self . _should_update_arp_entry_for_dvr_service_port ( port_dict ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# fixed_ips = port_dict [ 'fixed_ips' ] #NEWLINE# allowed_address_pair_fixed_ips = self . _get_allowed_address_pair_fixed_ips ( port_dict ) #NEWLINE# changed_fixed_ips = ( fixed_ips + allowed_address_pair_fixed_ips ) #NEWLINE# for fixed_ip in changed_fixed_ips : #NEWLINE# #INDENT# self . _generate_arp_table_and_notify_agent ( port_dict , fixed_ip , port_dict [ 'mac_address' ] , self . l3_rpc_notifier . add_arp_entry )