The networking_cisco.plugins.cisco.db.scheduler.cfg_agentschedulers_db Module

class networking_cisco.plugins.cisco.db.scheduler.cfg_agentschedulers_db.CfgAgentSchedulerDbMixin

Bases: networking_cisco.plugins.cisco.extensions.ciscocfgagentscheduler.CfgAgentSchedulerPluginBase, neutron.db.agentschedulers_db.AgentSchedulerDbMixin

Mixin class to add cfg agent scheduler extension.

assign_hosting_device_to_cfg_agent(context, cfg_agent_id, hosting_device_id)

Make config agent handle an (unassigned) hosting device.

auto_schedule_hosting_devices(context, host)
cfg_agent_scheduler = None
get_cfg_agents(context, active=None, filters=None)
get_cfg_agents_for_hosting_devices(context, hosting_device_ids, admin_state_up=None, schedule=False)
classmethod is_agent_down(heart_beat_time, timeout=30)
list_cfg_agents_handling_hosting_device(context, hosting_device_id)
list_hosting_devices_handled_by_cfg_agent(context, cfg_agent_id)
set_monitor_timestamp(*args, **kwargs)
classmethod should_check_agent(heart_beat_time, timeout=20)
unassign_hosting_device_from_cfg_agent(context, cfg_agent_id, hosting_device_id)

Make config agent handle an (unassigned) hosting device.