From 0da38af84cfb82d43adc768f985268471a2f1bfd Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Tue, 5 Mar 2024 00:03:27 +0000 Subject: [PATCH] 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 --- neutron_tempest_plugin/api/test_subnets.py | 3 +++ zuul.d/master_jobs.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/neutron_tempest_plugin/api/test_subnets.py b/neutron_tempest_plugin/api/test_subnets.py index 3b075d5d..f7a38a47 100644 --- a/neutron_tempest_plugin/api/test_subnets.py +++ b/neutron_tempest_plugin/api/test_subnets.py @@ -11,6 +11,7 @@ # under the License. import netaddr +from tempest.common import utils as tutils from tempest.lib import decorators from neutron_tempest_plugin.api import base @@ -24,6 +25,8 @@ class SubnetsSearchCriteriaTest(base.BaseSearchCriteriaTest): @classmethod def resource_setup(cls): + if tutils.is_extension_enabled('subnet-external-network', 'network'): + cls.list_kwargs['router:external'] = False super(SubnetsSearchCriteriaTest, cls).resource_setup() net = cls.create_network(network_name='subnet-search-test-net') for name in cls.resource_names: diff --git a/zuul.d/master_jobs.yaml b/zuul.d/master_jobs.yaml index 6b41f872..adfa5b0b 100644 --- a/zuul.d/master_jobs.yaml +++ b/zuul.d/master_jobs.yaml @@ -147,6 +147,7 @@ neutron-conntrack-helper: true neutron-tag-ports-during-bulk-creation: true neutron-ndp-proxy: true + neutron-subnet-external-network: true br-ex-tcpdump: true br-int-flows: true # Cinder services @@ -236,6 +237,7 @@ q-ovn-metadata-agent: false # Neutron services neutron-local-ip-static: true + neutron-subnet-external-network: true q-agt: true q-dhcp: true q-l3: true @@ -331,6 +333,7 @@ q-ovn-metadata-agent: false # Neutron services neutron-local-ip: true + neutron-subnet-external-network: true q-agt: true q-dhcp: true q-l3: true