

def enqueue_state_change(self, router_id, state):
    LOG.info(_LI('Router %(router_id)s transitioned to %(state)s'), {
        'router_id': router_id,
        'state': state,
    })
    try:
        ri = self.router_info[router_id]
    except KeyError:
        LOG.info(_LI('Router %s is not managed by this agent. It was possibly deleted concurrently.'), router_id)
        return
    self._configure_ipv6_ra_on_ext_gw_port_if_necessary(ri, state)
    if self.conf.enable_metadata_proxy:
        self._update_metadata_proxy(ri, router_id, state)
    self._update_radvd_daemon(ri, state)
    self.state_change_notifier.queue_event((router_id, state))

dataset/ETHPy150Open openstack/neutron/neutron/agent/l3/ha.py AgentMixin.enqueue_state_change/original