Add extension "subnet-external-network"
Added extension "subnet-external-network" to: * neutron-tempest-plugin-base * neutron-tempest-plugin-openvswitch * neutron-tempest-plugin-openvswitch-iptables_hybrid The ``SubnetsSearchCriteriaTest.test_list_validation_filters`` test case now filters the subnets by 'shared' and 'router:external' fields, same as the network test case. It should behave the same with this new extension. Related-Bug: #2051831 Change-Id: I13144e3d722c06c918cd47860f378bf4bdaa0bf7
This commit is contained in:
parent
20549ceb92
commit
0da38af84c
|
@ -11,6 +11,7 @@
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import netaddr
|
import netaddr
|
||||||
|
from tempest.common import utils as tutils
|
||||||
from tempest.lib import decorators
|
from tempest.lib import decorators
|
||||||
|
|
||||||
from neutron_tempest_plugin.api import base
|
from neutron_tempest_plugin.api import base
|
||||||
|
@ -24,6 +25,8 @@ class SubnetsSearchCriteriaTest(base.BaseSearchCriteriaTest):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def resource_setup(cls):
|
def resource_setup(cls):
|
||||||
|
if tutils.is_extension_enabled('subnet-external-network', 'network'):
|
||||||
|
cls.list_kwargs['router:external'] = False
|
||||||
super(SubnetsSearchCriteriaTest, cls).resource_setup()
|
super(SubnetsSearchCriteriaTest, cls).resource_setup()
|
||||||
net = cls.create_network(network_name='subnet-search-test-net')
|
net = cls.create_network(network_name='subnet-search-test-net')
|
||||||
for name in cls.resource_names:
|
for name in cls.resource_names:
|
||||||
|
|
|
@ -147,6 +147,7 @@
|
||||||
neutron-conntrack-helper: true
|
neutron-conntrack-helper: true
|
||||||
neutron-tag-ports-during-bulk-creation: true
|
neutron-tag-ports-during-bulk-creation: true
|
||||||
neutron-ndp-proxy: true
|
neutron-ndp-proxy: true
|
||||||
|
neutron-subnet-external-network: true
|
||||||
br-ex-tcpdump: true
|
br-ex-tcpdump: true
|
||||||
br-int-flows: true
|
br-int-flows: true
|
||||||
# Cinder services
|
# Cinder services
|
||||||
|
@ -236,6 +237,7 @@
|
||||||
q-ovn-metadata-agent: false
|
q-ovn-metadata-agent: false
|
||||||
# Neutron services
|
# Neutron services
|
||||||
neutron-local-ip-static: true
|
neutron-local-ip-static: true
|
||||||
|
neutron-subnet-external-network: true
|
||||||
q-agt: true
|
q-agt: true
|
||||||
q-dhcp: true
|
q-dhcp: true
|
||||||
q-l3: true
|
q-l3: true
|
||||||
|
@ -331,6 +333,7 @@
|
||||||
q-ovn-metadata-agent: false
|
q-ovn-metadata-agent: false
|
||||||
# Neutron services
|
# Neutron services
|
||||||
neutron-local-ip: true
|
neutron-local-ip: true
|
||||||
|
neutron-subnet-external-network: true
|
||||||
q-agt: true
|
q-agt: true
|
||||||
q-dhcp: true
|
q-dhcp: true
|
||||||
q-l3: true
|
q-l3: true
|
||||||
|
|
Loading…
Reference in New Issue