The nova.tests.baremetal.test_pxe Module

Tests for baremetal pxe driver.

class BareMetalPXETestCase(*args, **kwargs)

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

setUp()
class PXEClassMethodsTestCase(*args, **kwargs)

Bases: nova.tests.baremetal.test_pxe.BareMetalPXETestCase

test_build_network_config()
test_build_network_config_dhcp()
test_build_network_config_static()
test_build_pxe_config()
test_get_default_deploy_ids()
test_get_instance_deploy_ids()
test_get_partition_sizes()
test_get_tftp_image_info()
test_image_dir_path()
test_image_file_path()
test_pxe_config_file_path()
test_pxe_mac_path()
test_swap_not_zero()
class PXEPrivateMethodsTestCase(*args, **kwargs)

Bases: nova.tests.baremetal.test_pxe.BareMetalPXETestCase

test_cache_image()
test_cache_tftp_images()
test_collect_mac_addresses()
test_inject_into_image()
class PXEPublicMethodsTestCase(*args, **kwargs)

Bases: nova.tests.baremetal.test_pxe.BareMetalPXETestCase

test_activate_and_deactivate_bootloader()
test_activate_bootloader_passes_details()
test_activate_node()
test_cache_images()
test_deactivate_bootloader_for_nonexistent_instance()
test_destroy_images()

Previous topic

The nova.tests.baremetal.test_nova_baremetal_manage Module

Next topic

The nova.tests.baremetal.test_utils Module

This Page