def _agent_notification(self, context, method, routers, operation,<EOL>shuffle_agents):
admin_context = context.is_admin and context or context.elevated()<EOL>dmplugin = bc.get_plugin(cisco_constants.DEVICE_MANAGER)<EOL>for router in routers:<EOL><INDENT>if (router['<STR_LIT>'] is not None and<EOL>extensions.is_extension_supported(dmplugin,<EOL>CFGAGENT_SCHED)):<EOL><INDENT>agents = dmplugin.get_cfg_agents_for_hosting_devices(<EOL>admin_context, [router['<STR_LIT>']['<STR_LIT:id>']],<EOL>admin_state_up=True, schedule=True)<EOL><DEDENT>else:<EOL><INDENT>continue<EOL><DEDENT>for agent in agents:<EOL><INDENT>LOG.debug('<STR_LIT>'<EOL>'<STR_LIT>',<EOL>{'<STR_LIT>': agent.agent_type,<EOL>'<STR_LIT>': CFG_AGENT_L3_ROUTING,<EOL>'<STR_LIT:host>': agent.host,<EOL>'<STR_LIT>': method})<EOL>cctxt = self.client.prepare(server=agent.host)<EOL>cctxt.cast(context, method, routers=[router['<STR_LIT:id>']])<EOL><DEDENT><DEDENT>
Notify individual Cisco cfg agents.