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

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

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

setUp()[source]
test__get_free_portgroups_and_ports()[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_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_nothing_free(*args, **keywargs)[source]
test_get_free_port_like_object_portgroup_first(*args, **keywargs)[source]
test_get_free_port_like_object_ports(*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]
class ironic.tests.unit.drivers.modules.network.test_common.TestVifPortIDMixin(*args, **kwargs)[source]

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

setUp()[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_tenant_vif()[source]
test_get_current_vif_none()[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_portgroup_no_address(*args, **keywargs)[source]
test_vif_attach_update_port_exception(*args, **keywargs)[source]
test_vif_detach_in_extra()[source]
test_vif_detach_in_extra_portgroup()[source]
test_vif_detach_in_extra_portgroup_manually_attached_to_port()[source]
test_vif_detach_in_internal_info()[source]
test_vif_detach_in_internal_info_portgroup()[source]
test_vif_detach_not_attached()[source]
test_vif_list_extra()[source]
test_vif_list_extra_and_internal_priority()[source]
test_vif_list_internal()[source]