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

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

class ironic.tests.unit.drivers.modules.network.test_common.TestCommonFunctions(*args, **kwds)[source]

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

setUp()[source]
test__get_free_portgroups_and_ports_all_physnets()[source]
test__get_free_portgroups_and_ports_flat(*args, **keywargs)[source]
test__get_free_portgroups_and_ports_neutron(*args, **keywargs)[source]
test__get_free_portgroups_and_ports_neutron_missed(*args, **keywargs)[source]
test__get_free_portgroups_and_ports_no_matching_physnet()[source]
test__get_free_portgroups_and_ports_no_physnets()[source]
test__get_free_portgroups_and_ports_no_port_physnets()[source]
test__get_free_portgroups_and_ports_physnet1()[source]
test__get_free_portgroups_and_ports_physnet2()[source]
test__get_free_portgroups_and_ports_physnet3()[source]
test_get_free_port_like_object_ignores_empty_portgroup(*args, **keywargs)[source]
test_get_free_port_like_object_ignores_standalone_portgroup(*args, **keywargs)[source]
test_get_free_port_like_object_no_matching_physnets(*args, **keywargs)[source]
test_get_free_port_like_object_nothing_free(*args, **keywargs)[source]
test_get_free_port_like_object_portgroup_first(*args, **keywargs)[source]
test_get_free_port_like_object_portgroup_physnet_match_first(*args, **keywargs)[source]
test_get_free_port_like_object_ports(*args, **keywargs)[source]
test_get_free_port_like_object_ports_physnet_match_first(*args, **keywargs)[source]
test_get_free_port_like_object_ports_physnet_match_first2(*args, **keywargs)[source]
test_get_free_port_like_object_ports_pxe_enabled_first(*args, **keywargs)[source]
test_get_free_port_like_object_vif_attached_to_port(*args, **keywargs)[source]
test_get_free_port_like_object_vif_attached_to_port_extra(*args, **keywargs)[source]
test_get_free_port_like_object_vif_attached_to_portgroup(*args, **keywargs)[source]
test_get_free_port_like_object_vif_attached_to_portgroup_extra(*args, **keywargs)[source]
test_plug_port_to_tenant_network_client(*args, **keywargs)[source]
test_plug_port_to_tenant_network_no_client(*args, **keywargs)[source]
test_plug_port_to_tenant_network_no_tenant_vif(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.network.test_common.TestNeutronVifPortIDMixin(*args, **kwds)[source]

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

setUp()[source]
test_port_changed_address(*args, **keywargs)[source]
test_port_changed_address_VIF_MAC_update_fail(*args, **keywargs)[source]
test_port_changed_address_no_vif_id(*args, **keywargs)[source]
test_port_changed_client_id(*args, **keywargs)[source]
test_port_changed_client_id_fail(*args, **keywargs)[source]
test_port_changed_client_id_no_vif_id(*args, **keywargs)[source]
test_port_changed_extra_add_new_key(*args, **keywargs)[source]
test_port_changed_extra_no_deprecation_if_removing_vif(*args, **keywargs)[source]
test_port_changed_message_format_failure(*args, **keywargs)[source]
test_port_changed_novif_nopxe_noportgroup()[source]
test_port_changed_novif_nopxe_portgroup_nostandalone_ports()[source]
test_port_changed_novif_nopxe_portgroup_standalone_ports()[source]
test_port_changed_novif_pxe_noportgroup()[source]
test_port_changed_novif_pxe_portgroup_nostandalone_ports()[source]
test_port_changed_novif_pxe_portgroup_standalone_ports()[source]
test_port_changed_vif(*args, **keywargs)[source]
test_port_changed_vif_nopxe_noportgroup()[source]
test_port_changed_vif_nopxe_portgroup_nostandalone_ports()[source]
test_port_changed_vif_nopxe_portgroup_standalone_ports()[source]
test_port_changed_vif_pxe_noportgroup()[source]
test_port_changed_vif_pxe_portgroup_nostandalone_ports()[source]
test_port_changed_vif_pxe_portgroup_standalone_ports()[source]
test_update_portgroup_address(*args, **keywargs)[source]
test_update_portgroup_address_fail(*args, **keywargs)[source]
test_update_portgroup_address_no_vif(*args, **keywargs)[source]
test_update_portgroup_extra_new_key(*args, **keywargs)[source]
test_update_portgroup_nostandalone_ports_novif_nopxe_ports()[source]
test_update_portgroup_nostandalone_ports_novif_pxe_ports()[source]
test_update_portgroup_nostandalone_ports_pxe_ports_exc(*args, **keywargs)[source]
test_update_portgroup_nostandalone_ports_vif_nopxe_ports()[source]
test_update_portgroup_nostandalone_ports_vif_pxe_ports()[source]
test_update_portgroup_remove_address(*args, **keywargs)[source]
test_update_portgroup_standalone_ports_noports()[source]
test_update_portgroup_standalone_ports_novif_nopxe_ports()[source]
test_update_portgroup_standalone_ports_novif_pxe_ports()[source]
test_update_portgroup_standalone_ports_vif_nopxe_ports()[source]
test_update_portgroup_standalone_ports_vif_pxe_ports()[source]
test_update_portgroup_vif(*args, **keywargs)[source]
test_update_portgroup_vif_removal_no_deprecation(*args, **keywargs)[source]
test_vif_attach(*args, **keywargs)[source]
test_vif_attach_active_node(*args, **keywargs)[source]
test_vif_attach_active_node_failure(*args, **keywargs)[source]
test_vif_attach_failure(*args, **keywargs)[source]
test_vif_attach_multiple_segment_mappings(*args, **keywargs)[source]
test_vif_attach_portgroup_no_address(*args, **keywargs)[source]
test_vif_attach_portgroup_physnet_inconsistent(*args, **keywargs)[source]
test_vif_attach_update_port_exception(*args, **keywargs)[source]
test_vif_attach_with_physnet(*args, **keywargs)[source]
test_vif_detach(*args, **keywargs)[source]
test_vif_detach_active_node(*args, **keywargs)[source]
test_vif_detach_active_node_failure(*args, **keywargs)[source]
test_vif_detach_deleting_node(*args, **keywargs)[source]
test_vif_detach_not_attached(*args, **keywargs)[source]
test_vif_detach_portgroup(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.network.test_common.TestVifPortIDMixin(*args, **kwds)[source]

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

setUp()[source]
test__clear_vif_from_port_like_obj_in_extra_port()[source]
test__clear_vif_from_port_like_obj_in_extra_portgroup()[source]
test__clear_vif_from_port_like_obj_in_internal_info_port()[source]
test__clear_vif_from_port_like_obj_in_internal_info_portgroup()[source]
test__get_port_like_obj_by_vif_id_in_extra()[source]
test__get_port_like_obj_by_vif_id_in_internal_info()[source]
test__get_port_like_obj_by_vif_id_not_attached()[source]
test__get_vif_id_by_port_like_obj_in_extra()[source]
test__get_vif_id_by_port_like_obj_in_internal_info()[source]
test__get_vif_id_by_port_like_obj_not_attached()[source]
test__save_vif_to_port_like_obj_port()[source]
test__save_vif_to_port_like_obj_portgroup()[source]
test_get_current_vif_extra_vif_port_id()[source]
test_get_current_vif_internal_info_cleaning()[source]
test_get_current_vif_internal_info_provisioning()[source]
test_get_current_vif_internal_info_rescuing()[source]
test_get_current_vif_internal_info_tenant_vif()[source]
test_get_current_vif_none()[source]
test_vif_list_extra()[source]
test_vif_list_extra_and_internal_priority()[source]
test_vif_list_internal()[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.