summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <bcafarel@redhat.com>2021-07-23 11:23:22 +0200
committerAkihiro Motoki <amotoki@gmail.com>2021-07-27 15:29:10 +0900
commit2f047b15957308e84dcb72baee3415b8bf5a470a (patch)
tree380453751616d1c883e60d1d0326496fb0a538df
parent23fb666f923e9fa117ce5744e9abe00d3874d3fc (diff)
downloadpython-neutronclient-2f047b15957308e84dcb72baee3415b8bf5a470a.tar.gz
Set ML2/OVS backend explicitly for functional job
After default backend change to OVN, some client tests related to DHCP or L3 agents are not working fine. Switch the job to ML2/OVS, as it was done in openstack-client in changeset Idf6466a59c6cf96be2f1d53e696f0564584fa233 test_neutron_dhcp_agent_list_hosting_net was skipped temporarily to pass the gate in the parent commit. It is re-enabled now. Change-Id: I91d03d13adcd38d46ba1b042239a290ae2c99ea4 Closes-Bug: #1936965
-rw-r--r--.zuul.yaml22
-rw-r--r--neutronclient/tests/functional/core/test_readonly_neutron.py2
2 files changed, 22 insertions, 2 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 061a600..58f54df 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -38,9 +38,31 @@
# NOTE: neutronclient.tests.functional.base.ClientTestBase does not
# support HTTPS endpoints now, so tls-proxy needs to be disabled.
tls-proxy: false
+ # Disable OVN services
+ br-ex-tcpdump: false
+ br-int-flows: false
+ ovn-controller: false
+ ovn-northd: false
+ ovs-vswitchd: false
+ ovsdb-server: false
+ q-ovn-metadata-agent: false
+ # Neutron services
+ q-agt: true
+ q-dhcp: true
+ q-l3: true
+ q-meta: true
+ neutron-network-segment-range: true
+ neutron-segments: true
+ q-metering: true
+ q-qos: true
+ neutron-tag-ports-during-bulk-creation: true
+ neutron-conntrack-helper: true
devstack_localrc:
USE_PYTHON3: true
LIBS_FROM_GIT: python-neutronclient
+ Q_AGENT: openvswitch
+ Q_ML2_TENANT_NETWORK_TYPE: vxlan
+ Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
devstack_plugins:
neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas
diff --git a/neutronclient/tests/functional/core/test_readonly_neutron.py b/neutronclient/tests/functional/core/test_readonly_neutron.py
index 41ee524..4fe9897 100644
--- a/neutronclient/tests/functional/core/test_readonly_neutron.py
+++ b/neutronclient/tests/functional/core/test_readonly_neutron.py
@@ -13,7 +13,6 @@
import re
from tempest.lib import exceptions
-import testtools
from neutronclient.tests.functional import base
@@ -52,7 +51,6 @@ class SimpleReadOnlyNeutronClientTest(base.ClientTestBase):
ext = self.parser.listing(self.neutron('ext-list'))
self.assertTableStruct(ext, ['alias', 'name'])
- @testtools.skip('Skipped until ML2/OVS is enabled')
def test_neutron_dhcp_agent_list_hosting_net(self):
self.neutron('dhcp-agent-list-hosting-net',
params='private')