Experimental gate for namespace subnet driver

It adds a experimental gate to check the namespace subnet driver
functionality

Depends-On: Iafc08ede300aecf1dc52135c6e51b89875e729d6

Change-Id: I79f47a7b915f310b728a50322ee0cbaa0f23c5b1
This commit is contained in:
Luis Tomas Bolivar 2018-05-24 12:22:04 +02:00
parent fad08a9d1c
commit 471f613613
2 changed files with 16 additions and 0 deletions

View File

@ -44,6 +44,7 @@
- kuryr-kubernetes-tempest-daemon-pools-lbaasv2
- kuryr-kubernetes-tempest-daemon-containerized-lbaasv2
- kuryr-kubernetes-tempest-daemon-containerized-octavia-l2
- kuryr-kubernetes-tempest-daemon-containerized-octavia-namespace
- nodeset:
name: openstack-centos-7-single-node
@ -364,6 +365,18 @@
devstack_localrc:
KURYR_K8S_CONTAINERIZED_DEPLOYMENT: true
- job:
name: kuryr-kubernetes-tempest-daemon-containerized-octavia-namespace
description: |
Tempest with Octavia, CNI daemon, containers and namespace subnet driver
parent: kuryr-kubernetes-tempest-daemon-containerized-octavia
vars:
tempest_test_regex: '^(kuryr_tempest_plugin.tests.scenario.test_namespace.TestNamespaceScenario.test_namespace)'
devstack_localrc:
KURYR_SUBNET_DRIVER: namespace
KURYR_ENABLED_HANDLERS: vif,lb,lbaasspec,namespace
voting: false
- job:
name: kuryr-kubernetes-tempest-daemon-containerized-openshift-lbaasv2
description: Tempest with LBaaS v2, CNI daemon enabled, containers and OpenShift

View File

@ -785,6 +785,9 @@ elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
if is_service_enabled tempest && [[ "$KURYR_K8S_CONTAINERIZED_DEPLOYMENT" == "True" ]]; then
iniset $TEMPEST_CONFIG kuryr_kubernetes containerized True
fi
if is_service_enabled tempest && [[ "$KURYR_SUBNET_DRIVER" == "namespace" ]]; then
iniset $TEMPEST_CONFIG kuryr_kubernetes namespace_enabled True
fi
fi
if [[ "$1" == "unstack" ]]; then