Bases: neutron.tests.unit.extensions.test_extra_dhcp_opt.TestExtraDhcpOpt, vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase
Bases: vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase, neutron.tests.unit.extensions.test_l3_ext_gw_mode.ExtGwModeIntTestCase
Bases: object
Bases: neutron.tests.unit.extensions.test_l3.L3BaseForIntTests, vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase
Bases: neutron.tests.unit.extensions.test_l3.L3NatTestCaseMixin
Ensure unique IPv6 router ports per network id. Adding a router port containing one or more IPv6 subnets with the same network id as an existing router port should fail. This is so there is no ambiguity regarding on which port to add an IPv6 subnet when executing router-interface-add with a subnet and no port.
Test router-interface-add for multiple ipv6 subnets on a network.
Verify that adding multiple ipv6 subnets from the same network to a router places them all on the same router interface.
Bases: neutron.tests.unit.db.test_db_base_plugin_v2.NeutronDbPluginV2TestCase
Override list actions to skip metadata internal objects This will allow most tests to run with mdproxy
Bases: neutron.tests.unit.extensions.test_securitygroup.SecurityGroupDBTestCase
Bases: neutron.tests.unit.extensions.test_securitygroup.TestSecurityGroups, vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVSecurityGroupsTestCase
Verify that bulk rule create updates the backend section once
Bases: neutron.tests.unit.db.test_db_base_plugin_v2.TestBasicGet, vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase
Bases: vmware_nsx.tests.unit.nsx_v.test_plugin.L3NatTest, vmware_nsx.tests.unit.nsx_v.test_plugin.L3NatTestCaseBase, neutron.tests.unit.extensions.test_l3.L3NatDBIntTestCase, vmware_nsx.tests.unit.nsx_v.test_plugin.IPv6ExpectedFailuresTestMixin, vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase, neutron.tests.unit.extensions.test_address_scope.AddressScopeTestCase
Cannot add floating ips to a router with disabled snat
This tests that if multiple routers add one port as their interfaces. Only the first router’s interface would be added to this port. All the later requests would return exceptions.
Ensure unique IPv6 router ports per network id. Adding a router port containing one or more IPv6 subnets with the same network id as an existing router port should fail. This is so there is no ambiguity regarding on which port to add an IPv6 subnet when executing router-interface-add with a subnet and no port.
Test router-interface-add for multiple ipv4 subnets.
Verify that adding multiple ipv4 subnets from the same network to a router places them all on different router interfaces.
Test router-interface-add for ipv6 subnets on different networks.
Verify that adding multiple ipv6 subnets from different networks to a router places them on different router interfaces.
Test that if the router interfaces has different address scope there are separate fw rules
Test that if the router interface had the same address scope as the gateway - snat rule is not added, but firewall rule is.
Test the metadata proxy firewall rule with configured ports
Test that if the router has no snat, you cannot add an interface from a different address scope than the gateway.
Test that if the router has no snat, you can add an interface from the same address scope as the gateway.
Bases: object
Bases: neutron.tests.unit.extensions.test_portsecurity.TestPortSecurity, vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase
Bases: vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase, neutron.tests.unit.db.test_allowedaddresspairs_db.TestAllowedAddressPairs
Bases: neutron.tests.unit.db.test_db_base_plugin_v2.TestNetworksV2, vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase
Bases: vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase, neutron.tests.unit.db.test_db_base_plugin_v2.TestPortsV2, neutron.tests.unit._test_extension_portbindings.PortBindingsTestCase, neutron.tests.unit._test_extension_portbindings.PortBindingsHostTestCaseMixin, neutron.tests.unit._test_extension_portbindings.PortBindingsVnicTestCaseMixin
Test that creation of port with additional IP fails.
Tests that we continue to gracefully delete the network even if a neutron:dhcp-owned port was deleted concurrently.
Test update of port with additional IP fails.
Test update of port IP.
Check that a configured IP 10.0.0.2 is replaced by 10.0.0.10.
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 that DHCP binding is created when ports ‘device_owner’ is updated to compute, for example when attaching an interface to a instance with existing port.
Bases: neutron.tests.unit.extensions.base.ExtensionTestCase, neutron.tests.unit.extensions.test_l3.L3NatTestCaseMixin, vmware_nsx.tests.unit.nsx_v.test_plugin.L3NatTest
Verify syslog was updated in fake driver
Test assumes edge ids are created sequentially starting from edge-1
Create exclusive router with availability zone in flavor
Create exclusive router with size in flavor
Create distributed router with availability zone and type in flavor
Create exclusive router with size and type in flavor
Create shared router with availability zone and type in flavor
Create exclusive router with syslog config in flavor
Create router based on flavor with badly formed syslog metadata
Syslog metadata should be ignored
Use the wrong format for the flavor metainfo
It should be ignored, and default values are used
Bases: vmware_nsx.tests.unit.nsx_v.test_plugin.L3NatTest, vmware_nsx.tests.unit.nsx_v.test_plugin.L3NatTestCaseBase, neutron.tests.unit.extensions.test_l3.L3NatTestCaseMixin, vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase
Ensure unique IPv6 router ports per network id. Adding a router port containing one or more IPv6 subnets with the same network id as an existing router port should fail. This is so there is no ambiguity regarding on which port to add an IPv6 subnet when executing router-interface-add with a subnet and no port.
Shared router currently does not support static routes
Bases: vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase, neutron.tests.unit.db.test_db_base_plugin_v2.TestSubnetsV2
Expect subnet-create to keep semantic with default pools.
Expect subnet-create to keep semantic with default pools.
Test update alloc pool to something outside subnet.cidr.
This makes sure that an erroneous allocation_pool specified in a subnet update (outside subnet cidr) will result in an error.
Bases: vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase, neutron.tests.unit.db.test_db_base_plugin_v2.TestSubnetsV2
Expect subnet-create to keep semantic with default pools.
Expect subnet-create to keep semantic with default pools.
Test update alloc pool to something outside subnet.cidr.
This makes sure that an erroneous allocation_pool specified in a subnet update (outside subnet cidr) will result in an error.
Bases: neutron.tests.unit.db.test_db_base_plugin_v2.TestV2HTTPResponse, vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase
If a field used by policy is selected, do not duplicate it.
Verifies that if the field parameter explicitly specifies a field which is used by the policy engine, then it is not duplicated in the response.
Bases: vmware_nsx.tests.unit.nsx_v.test_plugin.L3NatTest, vmware_nsx.tests.unit.nsx_v.test_plugin.L3NatTestCaseBase, neutron.tests.unit.extensions.test_l3.L3NatDBIntTestCase, vmware_nsx.tests.unit.nsx_v.test_plugin.IPv6ExpectedFailuresTestMixin, vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase
This tests that if multiple routers add one port as their interfaces. Only the first router’s interface would be added to this port. All the later requests would return exceptions.
Ensure unique IPv6 router ports per network id. Adding a router port containing one or more IPv6 subnets with the same network id as an existing router port should fail. This is so there is no ambiguity regarding on which port to add an IPv6 subnet when executing router-interface-add with a subnet and no port.
Check distributed router creation with an availability zone
Check distributed router cannot change it’s type
Bases: vmware_nsx.tests.unit.nsx_v.test_plugin.NsxVPluginV2TestCase, vmware_nsx.tests.unit.extensions.test_vnic_index.VnicIndexDbTestCase
Tests that updates which does not modify the port vnic index association do not produce any errors