The ironic.tests.unit.common.test_neutron Module

class ironic.tests.unit.common.test_neutron.TestNeutronClient(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_get_neutron_client_noauth(*args, **keywargs)[source]
test_get_neutron_client_with_region(*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, **kwargs)[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_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_node_portmap()[source]
test_remove_neutron_ports()[source]
test_remove_neutron_ports_delete_fail()[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_neutron_interface(*args, **keywargs)[source]
test_validate_port_info_neutron_interface_missed_info(*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, **kwargs)[source]

Bases: ironic.tests.base.TestCase

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, **kwargs)[source]

Bases: ironic.tests.base.TestCase

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, **kwargs)[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]