The networking_cisco.plugins.cisco.extensions.routertypeawarescheduler
Module¶
-
class
networking_cisco.plugins.cisco.extensions.routertypeawarescheduler.
HostingDevicesHostingRouterController
¶ Bases:
neutron.wsgi.Controller
-
get_plugin
()¶
-
index
(request, **kwargs)¶
-
-
exception
networking_cisco.plugins.cisco.extensions.routertypeawarescheduler.
InvalidHostingDevice
(**kwargs)¶ Bases:
neutron_lib.exceptions.NotFound
-
message
= u’Hosting device %(hosting_device_id)s does not exist or has been disabled.’¶
-
-
exception
networking_cisco.plugins.cisco.extensions.routertypeawarescheduler.
RouterHostedByHostingDevice
(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict
-
message
= u’The router %(router_id)s is already hosted by the hosting device %(hosting_device_id)s.’¶
-
-
exception
networking_cisco.plugins.cisco.extensions.routertypeawarescheduler.
RouterHostingDeviceMismatch
(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict
-
message
= u’Cannot host %(router_type)s router %(router_id)s on hosting device %(hosting_device_id)s.’¶
-
-
class
networking_cisco.plugins.cisco.extensions.routertypeawarescheduler.
RouterHostingDeviceSchedulerController
¶ Bases:
neutron.wsgi.Controller
-
create
(request, body, **kwargs)¶
-
delete
(request, **kwargs)¶
-
get_plugin
()¶
-
index
(request, **kwargs)¶
-
-
exception
networking_cisco.plugins.cisco.extensions.routertypeawarescheduler.
RouterNotHostedByHostingDevice
(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict
-
message
= u’The router %(router_id)s is not hosted by hosting device %(hosting_device_id)s.’¶
-
-
exception
networking_cisco.plugins.cisco.extensions.routertypeawarescheduler.
RouterReschedulingFailed
(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict
-
message
= u’Failed rescheduling router %(router_id)s: no eligible hosting device found.’¶
-
-
exception
networking_cisco.plugins.cisco.extensions.routertypeawarescheduler.
RouterSchedulingFailed
(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict
-
message
= u’Failed scheduling router %(router_id)s to hosting device %(hosting_device_id)s’¶
-
-
class
networking_cisco.plugins.cisco.extensions.routertypeawarescheduler.
RouterTypeAwareSchedulerPluginBase
¶ Bases:
object
REST API to operate the routertype-aware scheduler.
All of method must be in an admin context.
-
add_router_to_hosting_device
(context, hosting_device_id, router_id)¶
-
list_hosting_devices_hosting_router
(context, router_id)¶
-
list_routers_on_hosting_device
(context, hosting_device_id)¶
-
remove_router_from_hosting_device
(context, hosting_device_id, router_id)¶
-
-
class
networking_cisco.plugins.cisco.extensions.routertypeawarescheduler.
Routertypeawarescheduler
¶ Bases:
neutron_lib.api.extensions.ExtensionDescriptor
Extension class supporting l3 agent scheduler.
-
classmethod
get_alias
()¶
-
classmethod
get_description
()¶
-
get_extended_resources
(version)¶
-
classmethod
get_name
()¶
-
classmethod
get_namespace
()¶
-
classmethod
get_resources
()¶ Returns Ext Resources.
-
classmethod
get_updated
()¶
-
classmethod
-
networking_cisco.plugins.cisco.extensions.routertypeawarescheduler.
notify
(context, action, router_id, hosting_device_id)¶