'Notify all the agents that are hosting the routers.'

def _notification(self, context, method, router_ids, operation, shuffle_agents, schedule_routers=True):

    plugin = directory.get_plugin(plugin_constants.L3)
    if (not plugin):
        LOG.error(_LE('No    plugin    for    L3    routing    registered.    Cannot    notify    agents    with    the    message    %s'), method)
        return
    if utils.is_extension_supported(plugin, constants.L3_AGENT_SCHEDULER_EXT_ALIAS):
        adminContext = ((context.is_admin and context) or context.elevated())
        if schedule_routers:
            plugin.schedule_routers(adminContext, router_ids)
        self._agent_notification(context, method, router_ids, operation, shuffle_agents)
    else:
        cctxt = self.client.prepare(fanout=True)
        cctxt.cast(context, method, routers=router_ids)
