The nova.tests.baremetal.test_driver Module

Tests for the base baremetal driver class.

class BareMetalDriverNoDBTestCase(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_validate_driver_loading()
class BareMetalDriverWithDBTestCase(*args, **kwargs)

Bases: nova.tests.baremetal.db.base.BMDBTestCase

setUp()
test_destroy_fails()
test_destroy_ok()
test_get_available_nodes()
test_get_available_resources()
test_get_host_stats()
test_list_instances()
test_macs_for_instance()
test_macs_for_instance_after_spawn()
test_macs_for_instance_no_interfaces()
test_macs_from_nic_for_instance()
test_spawn_fails()
test_spawn_fails_to_cleanup()
test_spawn_node_already_associated()
test_spawn_node_in_use()
test_spawn_node_not_found()
test_spawn_ok()

Previous topic

The nova.tests.baremetal.db.utils Module

Next topic

The nova.tests.baremetal.test_ipmi Module

This Page