The ironic.tests.unit.drivers.modules.oneview.test_common Module

class ironic.tests.unit.drivers.modules.oneview.test_common.OneViewCommonTestCase(*args, **kwargs)[source]

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

setUp()[source]
test__verify_node_info()[source]
test__verify_node_info_fails()[source]
test__verify_node_info_missing_values_empty_string()[source]
test_all_scenarios_for_translate_oneview_states()[source]
test_get_oneview_info()[source]
test_get_oneview_info_malformed_capabilities()[source]
test_get_oneview_info_missing_sh()[source]
test_get_oneview_info_missing_spt()[source]
test_validate_oneview_resources_compatibility(*args, **keywargs)[source]

Validate compatibility of resources.

  1. Check validate_node_server_profile_template method is called
  2. Check validate_node_server_hardware_type method is called
  3. Check validate_node_enclosure_group method is called
  4. Check validate_node_server_hardware method is called
  5. Check is_node_port_mac_compatible_with_server_hardware method is called
  6. Check validate_server_profile_template_mac_type method is called
test_verify_node_info()[source]
test_verify_node_info_missing_node_driver_info()[source]
test_verify_node_info_missing_node_properties()[source]
test_verify_node_info_missing_sh()[source]
test_verify_node_info_missing_sht()[source]
test_verify_node_info_missing_spt()[source]