The networking_cisco.tests.unit.cisco.device_manager.test_db_device_manager
Module¶
-
class
networking_cisco.tests.unit.cisco.device_manager.test_db_device_manager.
DeviceManagerTestCaseMixin
¶ Bases:
object
-
hosting_device
(*args, **kwds)¶
-
hosting_device_template
(*args, **kwds)¶
-
-
class
networking_cisco.tests.unit.cisco.device_manager.test_db_device_manager.
TestDeviceManagerDBPlugin
(*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
-
resource_prefix_map
= {‘hosting_devices’: ‘/dev_mgr’, ‘hosting_device_templates’: ‘/dev_mgr’}¶
-
setUp
(core_plugin=None, dm_plugin=None, ext_mgr=None)¶
-
tearDown
()¶
-
test_acquire_slots_in_other_owned_hosting_device_fails
(*args, **kwargs)¶
-
test_acquire_slots_release_hosting_device_ownership_affects_all
(*args, **kwargs)¶
-
test_acquire_slots_take_ownership_of_multi_tenant_hosting_device_fails
(*args, **kwargs)¶
-
test_acquire_slots_take_ownership_of_other_owned_hosting_device_fails
(*args, **kwargs)¶
-
test_acquire_with_slot_deficit_in_other_owned_hosting_device_fails
(*args, **kwargs)¶
-
test_acquire_with_slot_deficit_in_owned_hosting_device_fails
(*args, **kwargs)¶
-
test_acquire_with_slot_surplus_drop_hosting_device_ownership_succeeds
(*args, **kwargs)¶
-
test_acquire_with_slot_surplus_in_owned_hosting_device_succeeds
(*args, **kwargs)¶
-
test_acquire_with_slot_surplus_take_hosting_device_ownership_succeeds
(*args, **kwargs)¶
-
test_create_hw_hosting_device
(*args, **kwargs)¶
-
test_create_hw_hosting_device_template
(*args, **kwargs)¶
-
test_create_nn_hosting_device_template
(*args, **kwargs)¶
-
test_create_vm_hosting_device
(*args, **kwargs)¶
-
test_create_vm_hosting_device_template
(*args, **kwargs)¶
-
test_delete_all_hosting_devices
(*args, **kwargs)¶
-
test_delete_all_hosting_devices_by_template
(*args, **kwargs)¶
-
test_delete_all_managed_hosting_devices
(*args, **kwargs)¶
-
test_delete_all_managed_hosting_devices_by_template
(*args, **kwargs)¶
-
test_delete_hosting_device_in_use_fails
(*args, **kwargs)¶
-
test_delete_hosting_device_not_in_use_succeeds
(*args, **kwargs)¶
-
test_delete_hosting_device_template_in_use_fails
(*args, **kwargs)¶
-
test_delete_hosting_device_template_not_in_use_succeeds
(*args, **kwargs)¶
-
test_failed_managed_vm_based_hosting_device_gets_deleted
(*args, **kwargs)¶
-
test_failed_non_managed_vm_based_hosting_device_not_deleted
(*args, **kwargs)¶
-
test_failed_non_vm_based_hosting_device_not_deleted
(*args, **kwargs)¶
-
test_get_device_info_for_agent
(*args, **kwargs)¶
-
test_get_device_info_for_agent_no_mgmt_port
(*args, **kwargs)¶
-
test_get_hosting_device_configuration
(*args, **kwargs)¶
-
test_get_hosting_device_configuration_no_agent_found
(*args, **kwargs)¶
-
test_get_hosting_device_driver
(*args, **kwargs)¶
-
test_get_non_existent_hosting_device_driver_returns_none
(*args, **kwargs)¶
-
test_get_non_existent_plugging_device_driver_returns_none
(*args, **kwargs)¶
-
test_get_plugging_device_driver
(*args, **kwargs)¶
-
test_hosting_device_policy
(*args, **kwargs)¶
-
test_hosting_device_template_policy
(*args, **kwargs)¶
-
test_hw_based_hosting_device_no_change
(*args, **kwargs)¶
-
test_list_hosting_device_templates
(*args, **kwargs)¶
-
test_list_hosting_devices
(*args, **kwargs)¶
-
test_release_all_slots_by_negative_num_argument_owned_hosting_device
(*args, **kwargs)¶
-
test_release_all_slots_returns_hosting_device_ownership
(*args, **kwargs)¶
-
test_release_allocated_slots_in_owned_hosting_device_succeeds
(*args, **kwargs)¶
-
test_release_slots_in_other_owned_hosting_device_fails
(*args, **kwargs)¶
-
test_release_too_many_slots_in_other_owned_hosting_device_fails
(*args, **kwargs)¶
-
test_release_too_many_slots_in_owned_hosting_device_fails
(*args, **kwargs)¶
-
test_show_hosting_device
(*args, **kwargs)¶
-
test_show_hosting_device_template
(*args, **kwargs)¶
-
test_update_hosting_device
(*args, **kwargs)¶
-
test_update_hosting_device_template
(*args, **kwargs)¶
-
test_vm_based_hosting_device_excessive_slot_deficit_adds_slots
(*args, **kwargs)¶
-
test_vm_based_hosting_device_excessive_slot_deficit_no_credentials
(*args, **kwargs)¶
-
test_vm_based_hosting_device_excessive_slot_surplus_removes_slots
(*args, **kwargs)¶
-
test_vm_based_hosting_device_marginal_slot_deficit_no_change
(*args, **kwargs)¶
-
test_vm_based_hosting_device_marginal_slot_surplus_no_change
(*args, **kwargs)¶
-