The ironic.tests.unit.common.test_network Module

The ironic.tests.unit.common.test_network Module

class ironic.tests.unit.common.test_network.GetPhysnetsByPortgroupID(*args, **kwds)[source]

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

setUp()[source]
test_empty()[source]
test_exclude_port()[source]
test_exclude_port_no_id()[source]
test_one_port()[source]
test_two_ports()[source]
test_two_ports_inconsistent()[source]
class ironic.tests.unit.common.test_network.GetPhysnetsForNodeTestCase(*args, **kwds)[source]

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

test_get_physnets_for_node_excludes_None()[source]
test_get_physnets_for_node_multiple_ports()[source]
test_get_physnets_for_node_no_ports()[source]
class ironic.tests.unit.common.test_network.GetPortgroupByIdTestCase(*args, **kwds)[source]

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

test_portgroup_by_id()[source]
test_portgroup_by_id_no_such_portgroup()[source]
class ironic.tests.unit.common.test_network.GetPortsByPortgroupIdTestCase(*args, **kwds)[source]

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

test_ports_by_portgroup_id()[source]
test_ports_by_portgroup_id_empty()[source]
class ironic.tests.unit.common.test_network.TestNetwork(*args, **kwds)[source]

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

setUp()[source]
test_get_node_vif_ids_during_cleaning()[source]
test_get_node_vif_ids_during_provisioning()[source]
test_get_node_vif_ids_during_rescuing()[source]
test_get_node_vif_ids_no_ports_no_portgroups()[source]
test_get_node_vif_ids_one_port_extra()[source]
test_get_node_vif_ids_one_port_int_info()[source]
test_get_node_vif_ids_one_portgroup_extra()[source]
test_get_node_vif_ids_one_portgroup_int_info()[source]
test_get_node_vif_ids_two_portgroups_extra()[source]
test_get_node_vif_ids_two_portgroups_int_info()[source]
test_get_node_vif_ids_two_ports_extra()[source]
test_get_node_vif_ids_two_ports_int_info()[source]
test_remove_vifs_from_node()[source]
class ironic.tests.unit.common.test_network.TestRemoveVifsTestCase(*args, **kwds)[source]

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

setUp()[source]
test_remove_vifs_from_node_failure(*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.