The ironic.tests.unit.common.test_raid Module

class ironic.tests.unit.common.test_raid.RaidPublicMethodsTestCase(*args, **kwargs)[source]

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

test_get_logical_disk_properties()[source]
test_get_logical_disk_properties_custom_schema()[source]
test_update_raid_info_multiple_root_volumes()[source]
test_update_raid_info_okay()[source]
test_update_raid_info_okay_current_capabilities_empty()[source]
test_update_raid_info_okay_no_root_volumes()[source]
class ironic.tests.unit.common.test_raid.ValidateRaidConfigurationTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_validate_configuration_additional_property()[source]
test_validate_configuration_custom_schema()[source]
test_validate_configuration_invalid_disk_type()[source]
test_validate_configuration_invalid_int_type()[source]
test_validate_configuration_invalid_is_root_volume()[source]
test_validate_configuration_invalid_multiple_is_root_volume()[source]
test_validate_configuration_invalid_number_of_phy_disks()[source]
test_validate_configuration_invalid_physical_disks()[source]
test_validate_configuration_invalid_raid_level()[source]
test_validate_configuration_invalid_share_physical_disks()[source]
test_validate_configuration_invalid_size_gb()[source]
test_validate_configuration_max_size_gb()[source]
test_validate_configuration_no_logical_disk()[source]
test_validate_configuration_no_raid_level()[source]
test_validate_configuration_no_size_gb()[source]
test_validate_configuration_okay()[source]
test_validate_configuration_with_jbod_volume()[source]
test_validate_configuration_zero_logical_disks()[source]