The networking_cisco.tests.unit.cisco.device_manager.test_hosting_device_cfg_agent_scheduler Module

class networking_cisco.tests.unit.cisco.device_manager.test_hosting_device_cfg_agent_scheduler.HostingDeviceCfgAgentSchedulerTestMixIn

Bases: neutron.tests.unit.db.test_agentschedulers_db.AgentSchedulerTestMixIn

class networking_cisco.tests.unit.cisco.device_manager.test_hosting_device_cfg_agent_scheduler.HostingDeviceConfigAgentNotifierTestCase(*args, **kwds)

Bases: networking_cisco.tests.unit.cisco.device_manager.test_hosting_device_cfg_agent_scheduler.HostingDeviceConfigAgentSchedulerTestCaseBase

mock_cfg_agent_notifiers = False
setUp(core_plugin=None, dm_plugin=None, ext_mgr=None)
test_agent_registration_bad_timestamp(*args, **kwargs)
test_agent_registration_invalid_timestamp_allowed(*args, **kwargs)
test_hosting_device_assign_from_cfg_agent_notification_when_schedule(*args, **kwargs)
test_hosting_device_assign_to_cfg_agent_notification(*args, **kwargs)
test_hosting_device_unassign_from_cfg_agent_notification(*args, **kwargs)
class networking_cisco.tests.unit.cisco.device_manager.test_hosting_device_cfg_agent_scheduler.HostingDeviceConfigAgentSchedulerTestCase(*args, **kwds)

Bases: networking_cisco.tests.unit.cisco.device_manager.test_hosting_device_cfg_agent_scheduler.HostingDeviceConfigAgentSchedulerTestCaseBase

test__check_config_agents_auto_adds_new_cfg_agents(*args, **kwargs)
test__check_config_agents_dead_cfg_agent_triggers_hd_rescheduling(*args, **kwargs)
test__check_config_agents_stops_monitoring_non_existent_cfg_agents(*args, **kwargs)
test__reschedule_hosting_devices_no_other_cfg_agent(*args, **kwargs)
test__reschedule_hosting_devices_to_other_cfg_agent(*args, **kwargs)
test_agent_registration_bad_timestamp(*args, **kwargs)
test_agent_registration_invalid_timestamp_allowed(*args, **kwargs)
test_assigned_hosting_device_assign_to_cfg_agent(*args, **kwargs)
test_get_cfg_agents(*args, **kwargs)
test_get_cfg_agents_filtered(*args, **kwargs)
test_get_cfg_agents_for_hosting_devices(*args, **kwargs)
test_get_cfg_agents_for_hosting_devices_cfg_agent_admin_down(*args, **kwargs)
test_get_cfg_agents_for_hosting_devices_cfg_agent_admin_down_no_sched(*args, **kwargs)
test_get_cfg_agents_for_hosting_devices_no_schedule(*args, **kwargs)
test_get_cfg_agents_for_hosting_devices_reschedules_from_dead(*args, **kwargs)
test_hosting_device_assign_to_cfg_agent(*args, **kwargs)
test_hosting_device_assign_to_cfg_agent_two_times(*args, **kwargs)
test_hosting_device_assign_to_cfg_agent_with_admin_state_down(*args, **kwargs)
test_hosting_device_assign_to_non_existing_cfg_agent(*args, **kwargs)
test_hosting_device_assign_to_non_existing_hosting_device(*args, **kwargs)
test_hosting_device_scheduling_policy(*args, **kwargs)
test_hosting_device_unassign_from_hosting_device(*args, **kwargs)
test_hosting_device_unassign_from_non_existing_cfg_agent(*args, **kwargs)
test_hosting_device_unassign_from_non_existing_hosting_device(*args, **kwargs)
test_list_cfg_agents_handling_hosting_device(*args, **kwargs)
test_list_cfg_agents_handling_non_existent_hosting_device(*args, **kwargs)
test_list_cfg_agents_handling_unassigned_hosting_device(*args, **kwargs)
test_list_hosting_devices_by_cfg_agent(*args, **kwargs)
test_list_hosting_devices_by_cfg_agent_with_non_existing_cfg_agent(*args, **kwargs)
test_unassigned_hosting_device_unassign_from_hosting_device(*args, **kwargs)
class networking_cisco.tests.unit.cisco.device_manager.test_hosting_device_cfg_agent_scheduler.HostingDeviceConfigAgentSchedulerTestCaseBase(*args, **kwds)

Bases: neutron.tests.unit.db.test_db_base_plugin_v2.NeutronDbPluginV2TestCase, networking_cisco.tests.unit.cisco.device_manager.test_db_device_manager.DeviceManagerTestCaseMixin, networking_cisco.tests.unit.cisco.device_manager.device_manager_test_support.DeviceManagerTestSupportMixin, networking_cisco.tests.unit.cisco.device_manager.test_hosting_device_cfg_agent_scheduler.HostingDeviceCfgAgentSchedulerTestMixIn

host_category = ‘Hardware’
mock_cfg_agent_notifiers = True
resource_prefix_map = {‘hosting_devices’: ‘/dev_mgr’, ‘hosting_device_templates’: ‘/dev_mgr’}
setUp(core_plugin=None, dm_plugin=None, ext_mgr=None)
test_agent_registration_bad_timestamp(*args, **kwargs)
test_agent_registration_invalid_timestamp_allowed(*args, **kwargs)
class networking_cisco.tests.unit.cisco.device_manager.test_hosting_device_cfg_agent_scheduler.HostingDeviceToCfgAgentRandomSchedulerTestCase(*args, **kwds)

Bases: networking_cisco.tests.unit.cisco.device_manager.test_hosting_device_cfg_agent_scheduler.HostingDeviceConfigAgentSchedulerTestCaseBase

test_agent_registration_bad_timestamp(*args, **kwargs)
test_agent_registration_invalid_timestamp_allowed(*args, **kwargs)
test_random_scheduling(*args, **kwargs)
class networking_cisco.tests.unit.cisco.device_manager.test_hosting_device_cfg_agent_scheduler.HostingDeviceToCfgAgentStingySchedulerTestCase(*args, **kwds)

Bases: networking_cisco.tests.unit.cisco.device_manager.test_hosting_device_cfg_agent_scheduler.HostingDeviceConfigAgentSchedulerTestCaseBase

setUp(core_plugin=None, dm_plugin=None, ext_mgr=None)
test_agent_registration_bad_timestamp(*args, **kwargs)
test_agent_registration_invalid_timestamp_allowed(*args, **kwargs)
test_stingy_scheduling(*args, **kwargs)