'Returns Ext Resources.'

@classmethod
def get_resources(cls):

    exts = []
    parent = dict(member_name='agent', collection_name='agents')
    controller = resource.Resource(RouterSchedulerController(), base.FAULT_MAP)
    exts.append(extensions.ResourceExtension(L3_ROUTERS, controller, parent))
    parent = dict(member_name='router', collection_name='routers')
    controller = resource.Resource(L3AgentsHostingRouterController(), base.FAULT_MAP)
    exts.append(extensions.ResourceExtension(L3_AGENTS, controller, parent))
    return exts
