The networking_cisco.tests.unit.ml2.drivers.cisco.ncs.test_mechanism_ncs
Module¶
-
class
networking_cisco.tests.unit.ml2.drivers.cisco.ncs.test_mechanism_ncs.
NCSMechanismTestBasicGet
(*args, **kwds)¶ Bases:
neutron.tests.unit.plugins.ml2.test_plugin.TestMl2BasicGet
,networking_cisco.tests.unit.ml2.drivers.cisco.ncs.test_mechanism_ncs.NCSTestCase
-
test_single_get_admin
(*args, **kwargs)¶
-
test_single_get_tenant
(*args, **kwargs)¶
-
-
class
networking_cisco.tests.unit.ml2.drivers.cisco.ncs.test_mechanism_ncs.
NCSMechanismTestNetworksV2
(*args, **kwds)¶ Bases:
neutron.tests.unit.plugins.ml2.test_plugin.TestMl2NetworksV2
,networking_cisco.tests.unit.ml2.drivers.cisco.ncs.test_mechanism_ncs.NCSTestCase
-
test_bulk_network_before_and_after_events_outside_of_txn
(*args, **kwargs)¶
-
test_create_network
(*args, **kwargs)¶
-
test_create_network_segment_allocation_fails
(*args, **kwargs)¶
-
test_create_networks_bulk_emulated
(*args, **kwargs)¶
-
test_create_networks_bulk_emulated_plugin_failure
(*args, **kwargs)¶
-
test_create_networks_bulk_native
(*args, **kwargs)¶
-
test_create_networks_bulk_native_plugin_failure
(*args, **kwargs)¶
-
test_create_networks_bulk_native_quotas
(*args, **kwargs)¶
-
test_create_networks_bulk_tenants_and_quotas
(*args, **kwargs)¶
-
test_create_networks_bulk_tenants_and_quotas_fail
(*args, **kwargs)¶
-
test_create_networks_bulk_wrong_input
(*args, **kwargs)¶
-
test_create_networks_native_quotas
(*args, **kwargs)¶
-
test_create_public_network
(*args, **kwargs)¶
-
test_create_public_network_no_admin_tenant
(*args, **kwargs)¶
-
test_invalid_admin_status
(*args, **kwargs)¶
-
test_list_mpnetworks_with_segmentation_id
(*args, **kwargs)¶
-
test_list_networks
(*args, **kwargs)¶
-
test_list_networks_with_fields
(*args, **kwargs)¶
-
test_list_networks_with_pagination_emulated
(*args, **kwargs)¶
-
test_list_networks_with_pagination_native
(*args, **kwargs)¶
-
test_list_networks_with_pagination_reverse_emulated
(*args, **kwargs)¶
-
test_list_networks_with_pagination_reverse_native
(*args, **kwargs)¶
-
test_list_networks_with_parameters
(*args, **kwargs)¶
-
test_list_networks_with_parameters_invalid_values
(*args, **kwargs)¶
-
test_list_networks_with_segmentation_id
(*args, **kwargs)¶
-
test_list_networks_with_sort_emulated
(*args, **kwargs)¶
-
test_list_networks_with_sort_extended_attr_native_returns_400
(*args, **kwargs)¶
-
test_list_networks_with_sort_native
(*args, **kwargs)¶
-
test_list_networks_with_sort_remote_key_native_returns_400
(*args, **kwargs)¶
-
test_list_networks_without_pk_in_fields_pagination_emulated
(*args, **kwargs)¶
-
test_list_networks_without_pk_in_fields_pagination_native
(*args, **kwargs)¶
-
test_network_after_create_callback
(*args, **kwargs)¶
-
test_network_after_delete_callback
(*args, **kwargs)¶
-
test_network_after_update_callback
(*args, **kwargs)¶
-
test_network_precommit_create_callback
(*args, **kwargs)¶
-
test_network_precommit_create_callback_aborts
(*args, **kwargs)¶
-
test_network_precommit_update_includes_req
(*args, **kwargs)¶
-
test_show_network
(*args, **kwargs)¶
-
test_show_network_with_subnet
(*args, **kwargs)¶
-
test_update_network
(*args, **kwargs)¶
-
-
class
networking_cisco.tests.unit.ml2.drivers.cisco.ncs.test_mechanism_ncs.
NCSMechanismTestPortsV2
(*args, **kwds)¶ Bases:
neutron.tests.unit.plugins.ml2.test_plugin.TestMl2PortsV2
,networking_cisco.tests.unit.ml2.drivers.cisco.ncs.test_mechanism_ncs.NCSTestCase
-
test__port_provisioned_no_binding
(*args, **kwargs)¶
-
test__port_provisioned_with_blocks
(*args, **kwargs)¶
-
test_bad_mac_format
(*args, **kwargs)¶
-
test_bulk_ports_before_and_after_events_outside_of_txn
(*args, **kwargs)¶
-
test_check_if_compute_port_serviced_by_dvr
(*args, **kwargs)¶
-
test_check_if_dhcp_port_serviced_by_dvr
(*args, **kwargs)¶
-
test_check_if_lbaas_vip_port_serviced_by_dvr
(*args, **kwargs)¶
-
test_check_if_lbaasv2_vip_port_serviced_by_dvr
(*args, **kwargs)¶
-
test_check_if_port_not_serviced_by_dvr
(*args, **kwargs)¶
-
test_create_port_None_values
(*args, **kwargs)¶
-
test_create_port_anticipating_allocation
(*args, **kwargs)¶
-
test_create_port_as_admin
(*args, **kwargs)¶
-
test_create_port_bad_tenant
(*args, **kwargs)¶
-
test_create_port_invalid_fixed_ip_address_v6_pd_slaac
(*args, **kwargs)¶
-
test_create_port_json
(*args, **kwargs)¶
-
test_create_port_public_network
(*args, **kwargs)¶
-
test_create_port_public_network_with_invalid_ip_and_subnet_id
(*args, **kwargs)¶
-
test_create_port_public_network_with_invalid_ip_no_subnet_id
(*args, **kwargs)¶
-
test_create_port_public_network_with_ip
(*args, **kwargs)¶
-
test_create_port_tolerates_db_deadlock
(*args, **kwargs)¶
-
test_create_port_with_ipv6_dhcp_stateful_subnet_in_fixed_ips
(*args, **kwargs)¶
-
test_create_port_with_ipv6_pd_subnet_in_fixed_ips
(*args, **kwargs)¶
-
test_create_port_with_ipv6_slaac_subnet_in_fixed_ips
(*args, **kwargs)¶
-
test_create_port_with_multiple_ipv4_and_ipv6_subnets
(*args, **kwargs)¶ Test port create with multiple IPv4, IPv6 DHCP/SLAAC subnets.
-
test_create_ports_bulk_emulated
(*args, **kwargs)¶
-
test_create_ports_bulk_emulated_plugin_failure
(*args, **kwargs)¶
-
test_create_ports_bulk_native
(*args, **kwargs)¶
-
test_create_ports_bulk_native_plugin_failure
(*args, **kwargs)¶
-
test_create_ports_bulk_native_quotas
(*args, **kwargs)¶
-
test_create_ports_bulk_port_binding_failure
(*args, **kwargs)¶
-
test_create_ports_bulk_with_sec_grp
(*args, **kwargs)¶
-
test_create_ports_bulk_with_sec_grp_member_provider_update
(*args, **kwargs)¶
-
test_create_ports_bulk_with_sec_grp_provider_update_ipv6
(*args, **kwargs)¶
-
test_create_ports_bulk_wrong_input
(*args, **kwargs)¶
-
test_create_ports_native_quotas
(*args, **kwargs)¶
-
test_create_router_port_and_fail_bind_port_if_needed
(*args, **kwargs)¶
-
test_create_router_port_and_fail_create_postcommit
(*args, **kwargs)¶
-
test_create_router_port_ipv4_and_ipv6_slaac_no_fixed_ips
(*args, **kwargs)¶
-
test_create_update_get_port_same_fixed_ips_order
(*args, **kwargs)¶
-
test_delete_network_if_port_exists
(*args, **kwargs)¶
-
test_delete_network_port_exists_owned_by_network
(*args, **kwargs)¶
-
test_delete_network_port_exists_owned_by_network_port_not_found
(*args, **kwargs)¶ Tests that we continue to gracefully delete the network even if a neutron:dhcp-owned port was deleted concurrently.
-
test_delete_network_port_exists_owned_by_network_race
(*args, **kwargs)¶
-
test_delete_non_existent_port
(*args, **kwargs)¶
-
test_delete_port
(*args, **kwargs)¶
-
test_delete_port_by_network_owner
(*args, **kwargs)¶
-
test_delete_port_no_notify_in_disassociate_floatingips
(*args, **kwargs)¶
-
test_delete_port_public_network
(*args, **kwargs)¶
-
test_delete_port_tolerates_db_deadlock
(*args, **kwargs)¶
-
test_delete_port_with_ipv6_slaac_address
(*args, **kwargs)¶ Test that a port with an IPv6 SLAAC address can be deleted.
-
test_delete_ports_by_device_id
(*args, **kwargs)¶
-
test_delete_ports_by_device_id_second_call_failure
(*args, **kwargs)¶
-
test_delete_ports_ignores_port_not_found
(*args, **kwargs)¶
-
test_dhcp_port_ips_prefer_next_available_ip
(*args, **kwargs)¶
-
test_dhcp_provisioning_blocks_inserted_on_create_with_agents
(*args, **kwargs)¶
-
test_dhcp_provisioning_blocks_inserted_on_update
(*args, **kwargs)¶
-
test_dhcp_provisioning_blocks_removed_without_dhcp_agents
(*args, **kwargs)¶
-
test_dhcp_provisioning_blocks_skipped_on_create_with_no_dhcp
(*args, **kwargs)¶
-
test_disassociate_floatingips_do_notify_returns_nothing
(*args, **kwargs)¶
-
test_duplicate_ips
(*args, **kwargs)¶
-
test_duplicate_mac_generation
(*args, **kwargs)¶
-
test_fixed_ip_invalid_ip
(*args, **kwargs)¶
-
test_fixed_ip_invalid_subnet_id
(*args, **kwargs)¶
-
test_get_ports_count
(*args, **kwargs)¶
-
test_invalid_admin_state
(*args, **kwargs)¶
-
test_invalid_ip
(*args, **kwargs)¶
-
test_invalid_mac_address
(*args, **kwargs)¶
-
test_ip_allocation_for_ipv6_2_subnet_slaac_mode
(*args, **kwargs)¶
-
test_ip_allocation_for_ipv6_subnet_slaac_address_mode
(*args, **kwargs)¶
-
test_is_mac_in_use
(*args, **kwargs)¶
-
test_l3_cleanup_on_net_delete
(*args, **kwargs)¶
-
test_list_ports
(*args, **kwargs)¶
-
test_list_ports_filtered_by_fixed_ip
(*args, **kwargs)¶
-
test_list_ports_for_network_owner
(*args, **kwargs)¶
-
test_list_ports_public_network
(*args, **kwargs)¶
-
test_list_ports_with_pagination_emulated
(*args, **kwargs)¶
-
test_list_ports_with_pagination_native
(*args, **kwargs)¶
-
test_list_ports_with_pagination_reverse_emulated
(*args, **kwargs)¶
-
test_list_ports_with_pagination_reverse_native
(*args, **kwargs)¶
-
test_list_ports_with_sort_emulated
(*args, **kwargs)¶
-
test_list_ports_with_sort_native
(*args, **kwargs)¶
-
test_mac_generation
(*args, **kwargs)¶
-
test_mac_generation_4octet
(*args, **kwargs)¶
-
test_no_more_port_exception
(*args, **kwargs)¶
-
test_overlapping_subnets
(*args, **kwargs)¶
-
test_port_after_create_outside_transaction
(*args, **kwargs)¶
-
test_port_after_delete_outside_transaction
(*args, **kwargs)¶
-
test_port_after_update_outside_transaction
(*args, **kwargs)¶
-
test_port_create_resillient_to_duplicate_records
(*args, **kwargs)¶
-
test_port_update_resillient_to_duplicate_records
(*args, **kwargs)¶
-
test_port_update_with_ipam_error
(*args, **kwargs)¶
-
test_range_allocation
(*args, **kwargs)¶
-
test_registry_notify_before_after_port_binding
(*args, **kwargs)¶
-
test_requested_duplicate_ip
(*args, **kwargs)¶
-
test_requested_duplicate_mac
(*args, **kwargs)¶
-
test_requested_fixed_ip_address_v6_slaac_router_iface
(*args, **kwargs)¶
-
test_requested_invalid_fixed_ip_address_v6_slaac
(*args, **kwargs)¶
-
test_requested_invalid_fixed_ips
(*args, **kwargs)¶
-
test_requested_ips_only
(*args, **kwargs)¶
-
test_requested_subnet_id
(*args, **kwargs)¶
-
test_requested_subnet_id_not_on_network
(*args, **kwargs)¶
-
test_requested_subnet_id_v4_and_v6
(*args, **kwargs)¶
-
test_requested_subnet_id_v4_and_v6_slaac
(*args, **kwargs)¶
-
test_requested_subnet_id_v6_slaac
(*args, **kwargs)¶
-
test_show_port
(*args, **kwargs)¶
-
test_update_device_id_null
(*args, **kwargs)¶
-
test_update_device_id_unchanged
(*args, **kwargs)¶
-
test_update_non_existent_port
(*args, **kwargs)¶
-
test_update_port
(*args, **kwargs)¶
-
test_update_port_add_additional_ip
(*args, **kwargs)¶ Test update of port with additional IP.
-
test_update_port_delete_ip
(*args, **kwargs)¶
-
test_update_port_excluding_ipv6_slaac_subnet_from_fixed_ips
(*args, **kwargs)¶ Test port update excluding IPv6 SLAAC subnet from fixed ips.
-
test_update_port_fixed_ip_changed
(*args, **kwargs)¶
-
test_update_port_invalid_fixed_ip_address_v6_pd_slaac
(*args, **kwargs)¶
-
test_update_port_invalid_fixed_ip_address_v6_slaac
(*args, **kwargs)¶
-
test_update_port_invalid_subnet_v6_pd_slaac
(*args, **kwargs)¶
-
test_update_port_mac
(*args, **kwargs)¶
-
test_update_port_mac_bad_owner
(*args, **kwargs)¶
-
test_update_port_mac_ip
(*args, **kwargs)¶
-
test_update_port_mac_used
(*args, **kwargs)¶
-
test_update_port_mac_v6_slaac
(*args, **kwargs)¶
-
test_update_port_not_admin
(*args, **kwargs)¶
-
test_update_port_status_build
(*args, **kwargs)¶
-
test_update_port_status_short_id
(*args, **kwargs)¶
-
test_update_port_status_with_network
(*args, **kwargs)¶
-
test_update_port_update_ip
(*args, **kwargs)¶ Test update of port IP.
Check that a configured IP 10.0.0.2 is replaced by 10.0.0.10.
-
test_update_port_update_ip_address_only
(*args, **kwargs)¶
-
test_update_port_update_ips
(*args, **kwargs)¶ Update IP and associate new IP on port.
Check a port update with the specified subnet_id’s. A IP address will be allocated for each subnet_id.
-
test_update_port_with_ipv6_slaac_subnet_in_fixed_ips
(*args, **kwargs)¶ Test port update with an IPv6 SLAAC subnet in fixed IPs.
-
test_update_port_with_new_ipv6_slaac_subnet_in_fixed_ips
(*args, **kwargs)¶ Test port update with a new IPv6 SLAAC subnet in fixed IPs.
-
test_update_port_with_stale_subnet
(*args, **kwargs)¶
-