The networking_cisco.plugins.cisco.extensions.ciscocfgagentscheduler Module

class networking_cisco.plugins.cisco.extensions.ciscocfgagentscheduler.CfgAgentSchedulerPluginBase

Bases: object

REST API to operate the cfg agent scheduler.

All of method must be in an admin context.

assign_hosting_device_to_cfg_agent(context, id, hosting_device_id)
list_cfg_agents_handling_hosting_device(context, hosting_device_id)
list_hosting_devices_handled_by_cfg_agent(context, id)
unassign_hosting_device_from_cfg_agent(context, id, hosting_device_id)
class networking_cisco.plugins.cisco.extensions.ciscocfgagentscheduler.CfgAgentsHandlingHostingDeviceController

Bases: neutron.wsgi.Controller

get_plugin()
index(request, **kwargs)
class networking_cisco.plugins.cisco.extensions.ciscocfgagentscheduler.Ciscocfgagentscheduler

Bases: neutron_lib.api.extensions.ExtensionDescriptor

Extension class supporting configuration 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()
exception networking_cisco.plugins.cisco.extensions.ciscocfgagentscheduler.HostingDeviceAssignedToCfgAgent(**kwargs)

Bases: neutron_lib.exceptions.Conflict

message = u’The hosting device %(hosting_device_id)s is already assigned to Cisco cfg agent %(agent_id)s.’
exception networking_cisco.plugins.cisco.extensions.ciscocfgagentscheduler.HostingDeviceNotAssignedToCfgAgent(**kwargs)

Bases: neutron_lib.exceptions.NotFound

message = u’The hosting device %(hosting_device_id)s is currently not assigned to Cisco cfg agent %(agent_id)s.’
class networking_cisco.plugins.cisco.extensions.ciscocfgagentscheduler.HostingDeviceSchedulerController

Bases: neutron.wsgi.Controller

create(request, body, **kwargs)
delete(request, **kwargs)
get_plugin()
index(request, **kwargs)
exception networking_cisco.plugins.cisco.extensions.ciscocfgagentscheduler.HostingDeviceSchedulingFailed(**kwargs)

Bases: neutron_lib.exceptions.Conflict

message = u’Failed to assign hosting device %(hosting_device_id)s to Cisco cfg agent %(agent_id)s.’
exception networking_cisco.plugins.cisco.extensions.ciscocfgagentscheduler.InvalidCfgAgent(**kwargs)

Bases: neutron.extensions.agent.AgentNotFound

message = u’Agent %(agent_id)s is not a Cisco cfg agent or has been disabled’
networking_cisco.plugins.cisco.extensions.ciscocfgagentscheduler.notify(context, action, hosting_device_id, cfg_agent_id)