'Notify all agent extensions to add router.'

def add_router(self, context, data):

    for extension in self:
        if hasattr(extension.obj, 'add_router'):
            extension.obj.add_router(context, data)
        else:
            LOG.error(_LE("Agent    Extension    '%(name)s'    does    not    implement    method    add_router"), {'name': extension.name})
