The ironic.tests.unit.common.test_neutron Module

The ironic.tests.unit.common.test_neutron Module

class ironic.tests.unit.common.test_neutron.TestGetNetworkByUUIDOrName(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test__get_network_by_uuid_or_name_duplicate()[source]
test__get_network_by_uuid_or_name_failure()[source]
test__get_network_by_uuid_or_name_missing()[source]
test__get_network_by_uuid_or_name_name()[source]
test__get_network_by_uuid_or_name_uuid()[source]
class ironic.tests.unit.common.test_neutron.TestGetPhysnetsByPortUUID(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_get_physnets_by_port_uuid_multiple_segments(*args, **keywargs)[source]
test_get_physnets_by_port_uuid_multiple_segments_no_physnet(*args, **keywargs)[source]
test_get_physnets_by_port_uuid_network_failure(*args, **keywargs)[source]
test_get_physnets_by_port_uuid_network_missing(*args, **keywargs)[source]
test_get_physnets_by_port_uuid_port_failure(*args, **keywargs)[source]
test_get_physnets_by_port_uuid_port_missing(*args, **keywargs)[source]
test_get_physnets_by_port_uuid_single_segment(*args, **keywargs)[source]
test_get_physnets_by_port_uuid_single_segment_no_physnet(*args, **keywargs)[source]
class ironic.tests.unit.common.test_neutron.TestGetRandomMac(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

test_first_4_octets_unchanged(*args, **keywargs)[source]
test_first_4th_octet_generated(*args, **keywargs)[source]
class ironic.tests.unit.common.test_neutron.TestNeutronClient(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_get_neutron_client_noauth(*args, **keywargs)[source]
test_get_neutron_client_with_context(*args, **keywargs)[source]
test_get_neutron_client_with_deprecated_opts(*args, **keywargs)[source]
test_get_neutron_client_with_token(*args, **keywargs)[source]
test_get_neutron_client_without_token(*args, **keywargs)[source]
test_out_range_auth_strategy(*args, **keywargs)[source]
class ironic.tests.unit.common.test_neutron.TestNeutronNetworkActions(*args, **kwds)[source]

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

setUp()[source]
test_add_network_all_ports_fail(*args, **keywargs)[source]
test_add_network_create_some_ports_fail(*args, **keywargs)[source]
test_add_network_no_port()[source]
test_add_network_no_pxe_enabled_ports()[source]
test_add_ports_to_network()[source]
test_add_ports_to_network_instance_uuid(*args, **keywargs)[source]
test_add_ports_to_network_with_sg(*args, **keywargs)[source]
test_add_ports_with_client_id_to_network()[source]
test_get_local_group_information()[source]
test_get_node_portmap()[source]
test_remove_neutron_ports()[source]
test_remove_neutron_ports_delete_fail()[source]
test_remove_neutron_ports_delete_race()[source]
test_remove_neutron_ports_list_fail()[source]
test_remove_ports_from_network(*args, **keywargs)[source]
test_remove_ports_from_network_not_all_pxe_enabled(*args, **keywargs)[source]
test_rollback_ports(*args, **keywargs)[source]
test_rollback_ports_exception(*args, **keywargs)[source]
test_validate_port_info_flat_interface(*args, **keywargs)[source]
test_validate_port_info_flat_interface_with_client_id(*args, **keywargs)[source]
test_validate_port_info_neutron_interface(*args, **keywargs)[source]
test_validate_port_info_neutron_interface_missed_info(*args, **keywargs)[source]
test_validate_port_info_neutron_interface_with_client_id(*args, **keywargs)[source]
test_verify_sec_groups()[source]
test_verify_sec_groups_exception_by_neutronclient()[source]
test_verify_sec_groups_less_than_configured()[source]
test_verify_sec_groups_more_than_configured()[source]
test_verify_sec_groups_no_sg_from_neutron()[source]
class ironic.tests.unit.common.test_neutron.TestUnbindPort(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_unbind_neutron_port(*args, **keywargs)[source]
test_unbind_neutron_port_client_passed(*args, **keywargs)[source]
test_unbind_neutron_port_failure(*args, **keywargs)[source]
test_unbind_neutron_port_not_found(*args, **keywargs)[source]
class ironic.tests.unit.common.test_neutron.TestUpdatePortAddress(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_update_port_address(*args, **keywargs)[source]
test_update_port_address_show_failed(*args, **keywargs)[source]
test_update_port_address_unbind_port_failed(*args, **keywargs)[source]
test_update_port_address_with_binding(*args, **keywargs)[source]
test_update_port_address_with_exception(*args, **keywargs)[source]
test_update_port_address_without_binding(*args, **keywargs)[source]
class ironic.tests.unit.common.test_neutron.TestValidateNetwork(*args, **kwds)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_by_name(*args, **keywargs)[source]
test_by_uuid(*args, **keywargs)[source]
test_duplicate(*args, **keywargs)[source]
test_failure(*args, **keywargs)[source]
test_not_found(*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.