The ironic.tests.unit.drivers.modules.irmc.test_management Module

The ironic.tests.unit.drivers.modules.irmc.test_management Module

Test class for iRMC Management Driver

class ironic.tests.unit.drivers.modules.irmc.test_management.IRMCManagementFunctionsTestCase(*args, **kwds)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test__restore_bios_config(*args, **keywargs)[source]
test__restore_bios_config_corrupted(*args, **keywargs)[source]
test__restore_bios_config_failed(*args, **keywargs)[source]
test_backup_bios_config(*args, **keywargs)[source]
test_backup_bios_config_failed(*args, **keywargs)[source]
test_backup_bios_config_skipped(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.irmc.test_management.IRMCManagementTestCase(*args, **kwds)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_get_properties()[source]
test_management_interface_get_sensors_data_exception(*args, **keywargs)[source]

‘FailedToGetSensorData Exception.

test_management_interface_get_sensors_data_ipmitool_ok(*args, **keywargs)[source]

‘irmc_sensor_method’ = ‘ipmitool’ specified.

test_management_interface_get_sensors_data_scci_ng(*args, **keywargs)[source]

‘irmc_sensor_method’ = ‘scci’ specified and NG data.

test_management_interface_get_sensors_data_scci_ok(*args, **keywargs)[source]

‘irmc_sensor_method’ = ‘scci’ specified and OK data.

test_management_interface_get_supported_boot_devices()[source]
test_management_interface_inject_nmi_fail(*args, **keywargs)[source]
test_management_interface_inject_nmi_ok(*args, **keywargs)[source]
test_management_interface_restore_irmc_bios_config(*args, **keywargs)[source]
test_management_interface_set_boot_device_ng(*args, **keywargs)[source]

uefi mode, next boot only, unknown device.

test_management_interface_set_boot_device_ok_bios()[source]
test_management_interface_set_boot_device_ok_cdrom()[source]
test_management_interface_set_boot_device_ok_disk()[source]
test_management_interface_set_boot_device_ok_pxe()[source]
test_management_interface_set_boot_device_ok_safe()[source]
test_validate(*args, **keywargs)[source]
test_validate_fail(*args, **keywargs)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.