The nova.tests.scheduler.test_host_manager Module

Tests For HostManager

class FakeFilterClass1

Bases: nova.scheduler.filters.BaseHostFilter

host_passes(host_state, filter_properties)
class FakeFilterClass2

Bases: nova.scheduler.filters.BaseHostFilter

host_passes(host_state, filter_properties)
class HostManagerChangedNodesTestCase(*args, **kwargs)

Bases: nova.test.TestCase

Test case for HostManager class.

setUp()
test_get_all_host_states()
test_get_all_host_states_after_delete_all()
test_get_all_host_states_after_delete_one()
class HostManagerTestCase(*args, **kwargs)

Bases: nova.test.TestCase

Test case for HostManager class.

setUp()
test_choose_host_filters()
test_choose_host_filters_not_found()
test_get_all_host_states()
test_get_filtered_hosts()
test_get_filtered_hosts_with_force_hosts()
test_get_filtered_hosts_with_ignore()
test_get_filtered_hosts_with_ignore_and_force()
test_get_filtered_hosts_with_no_matching_force_hosts()
test_get_filtered_hosts_with_specificed_filters()
test_update_service_capabilities()
test_update_service_capabilities_node_key()
class HostStateTestCase(*args, **kwargs)

Bases: nova.test.TestCase

Test case for HostState class.

test_stat_consumption_from_compute_node()
test_stat_consumption_from_instance()

Previous topic

The nova.tests.scheduler.test_host_filters Module

Next topic

The nova.tests.scheduler.test_least_cost Module

This Page