Bases: quantum.extensions.agentscheduler.AgentSchedulerPluginBase, quantum.db.agents_db.AgentDbMixin
Mixin class to add agent scheduler extension to db_plugin_base_v2.
-
add_network_to_dhcp_agent(context, id, network_id)
-
add_router_to_l3_agent(context, id, router_id)
Add a l3 agent to host a router.
-
auto_schedule_networks(context, host)
-
auto_schedule_routers(context, host, router_id)
-
dhcp_agent_notifier = None
-
get_dhcp_agents_hosting_networks(context, network_ids, active=None)
-
get_l3_agent_candidates(sync_router, l3_agents)
Get the valid l3 agents for the router from a list of l3_agents
-
get_l3_agents(context, active=None, filters=None)
-
get_l3_agents_hosting_routers(context, router_ids, admin_state_up=None, active=None)
-
l3_agent_notifier = None
-
list_active_networks_on_active_dhcp_agent(context, host)
-
list_active_sync_routers_on_active_l3_agent(context, host, router_id)
-
list_dhcp_agents_hosting_network(context, network_id)
-
list_l3_agents_hosting_router(context, router_id)
-
list_networks_on_dhcp_agent(context, id)
-
list_routers_on_l3_agent(context, id)
-
network_scheduler = None
-
remove_network_from_dhcp_agent(context, id, network_id)
-
remove_router_from_l3_agent(context, id, router_id)
Remove the router from l3 agent. After it, the router
will be non-hosted until there is update which
lead to re schedule or be added to another agent manually.
-
router_scheduler = None
-
schedule_network(context, created_network)
-
schedule_router(context, router)
-
schedule_routers(context, routers)
Schedule the routers to l3 agents.
-
update_agent(context, id, agent)