The ironic.tests.unit.dhcp.test_neutron Module

class ironic.tests.unit.dhcp.test_neutron.TestNeutron(*args, **kwargs)[source]

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

setUp()[source]
test__build_client_noauth(*args, **keywargs)[source]
test__build_client_with_region(*args, **keywargs)[source]
test__build_client_with_token(*args, **keywargs)[source]
test__build_client_without_token(*args, **keywargs)[source]
test__get_fixed_ip_address()[source]
test__get_fixed_ip_address_invalid_ip()[source]
test__get_fixed_ip_address_with_exception()[source]
test__get_ip_addresses_portgroup(*args, **keywargs)[source]
test__get_ip_addresses_ports(*args, **keywargs)[source]
test__get_port_ip_address(*args, **keywargs)[source]
test__get_port_ip_address_for_portgroup(*args, **keywargs)[source]
test__get_port_ip_address_for_portgroup_with_exception(*args, **keywargs)[source]
test__get_port_ip_address_with_exception(*args, **keywargs)[source]
test_create_cleaning_ports(*args, **keywargs)[source]
test_create_cleaning_ports_bad_config(*args, **keywargs)[source]
test_create_cleaning_ports_fail(*args, **keywargs)[source]
test_create_cleaning_ports_fail_delayed(*args, **keywargs)[source]

Check ports are cleaned up on failure to create them

This test checks that the port clean-up occurs when the port create call was successful, but the port in fact was not created.

test_delete_cleaning_ports(*args, **keywargs)[source]
test_delete_cleaning_ports_delete_fail(*args, **keywargs)[source]
test_delete_cleaning_ports_list_fail(*args, **keywargs)[source]
test_get_ip_addresses(*args, **keywargs)[source]
test_get_ip_addresses_for_port_and_portgroup(*args, **keywargs)[source]
test_out_range_auth_strategy()[source]
test_update_dhcp(*args, **keywargs)[source]
test_update_dhcp_fails(*args, **keywargs)[source]
test_update_dhcp_no_vif_data(*args, **keywargs)[source]
test_update_dhcp_some_failures(*args, **keywargs)[source]
test_update_port_address(*args, **keywargs)[source]
test_update_port_address_show_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_dhcp_opts(*args, **keywargs)[source]
test_update_port_dhcp_opts_with_exception(*args, **keywargs)[source]

Project Source

This Page