@ -18,10 +18,11 @@
# http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/networking-ovn.yaml
#
OVS_BRANCH=$1
OVN_OPTS=$@
OVERRIDE_ENABLED_SERVICES=key,n-api,n-cpu,n-cond,n-sch,n-crt,n-cauth,n-obj,n-api-meta,placement-api,g-api,g-reg,c-sch,c-api,c-vol,rabbit,mysql,dstat,ovn-northd,ovn-controller,q-svc
# FIXME(dalvarez): Remove this once OVS 2.8 is released. Metadata support depends on it.
if [[ "${OVS_BRANCH }" != "latest-release" ]] ; then
if [[ "${OVN_OPT S}" != * "latest-release"* ]] ; then
OVERRIDE_ENABLED_SERVICES=${OVERRIDE_ENABLED_SERVICES},networking-ovn-metadata-agent
fi
export OVERRIDE_ENABLED_SERVICES
@ -30,22 +31,25 @@ if [ -z "${RALLY_SCENARIO}" ] ; then
# Only include tempest if this is not a rally job.
export OVERRIDE_ENABLED_SERVICES=${OVERRIDE_ENABLED_SERVICES},tempest
# FIXME(dalvarez): Remove this once OVS 2.8 is released. Metadata support depends on it.
if [[ "${OVS_BRANCH }" == "latest-release" ]] ; then
if [[ "${OVN_OPT S}" == * "latest-release"* ]] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_RUN_VALIDATION=False"
fi
fi
export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_USE_PROVIDERNET_FOR_PUBLIC=True"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"PHYSICAL_NETWORK=public"
if [[ "${OVS_BRANCH }" == "latest-release" ]] ; then
if [[ "${OVN_OPT S}" == * "latest-release"* ]] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OVN_BRANCH=branch-2.7"
elif [[ "${OVS_BRANCH}" == "master" ]] ; then
elif [[ "${OVN_OPTS}" == *"master"* ]] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"OVN_BRANCH=master"
elif [[ -z "${OVS_BRANCH}" ]] ; then
: # Use the default specified in the devstack plugin
else
echo "Unexpected value to ovs branch argument to devstackgaterc: \"${OVS_BRANCH}\""
exit 1
echo "No ovs branch specified, using the default from the devstack plugin"
fi
if [[ "${OVN_OPTS}" == *"neutron-api-tests"* ]] ; then
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron.tests.tempest.api\."
fi
if [[ "$DEVSTACK_GATE_TOPOLOGY" == "multinode" ]] ; then