]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
gate_hook: add support for dsvm-plus job type
authorIhar Hrachyshka <ihrachys@redhat.com>
Thu, 19 Nov 2015 16:17:19 +0000 (17:17 +0100)
committerIhar Hrachyshka <ihrachys@redhat.com>
Wed, 13 Jan 2016 15:55:50 +0000 (16:55 +0100)
This hook will be utilized in gate to allow neutron project to decide
what is enabled in neutron '-plus' tempest job.

For now the only difference is qos service enabled, which uses the
neutron devstack plugin.

Change-Id: I9f73b938539586022aeb22e3a32877816e1dcaba

neutron/tests/contrib/gate_hook.sh

index d92247b853cddc6788d138208630464ac47ea517..de3537eacf292c042475a1e5ef0ecbc8784f687b 100644 (file)
@@ -36,6 +36,15 @@ EOF
 enable_plugin neutron-vpnaas git://git.openstack.org/openstack/neutron-vpnaas
 enable_plugin neutron git://git.openstack.org/openstack/neutron
 enable_service q-qos
+"
+
+    $BASE/new/devstack-gate/devstack-vm-gate.sh
+elif [ "$VENV" == "dsvm-plus" ]
+then
+    # We need the qos service enabled to add corresponding scenario tests to tempest
+    export DEVSTACK_LOCAL_CONFIG+="
+enable_plugin neutron git://git.openstack.org/openstack/neutron
+enable_service qos
 "
 
     $BASE/new/devstack-gate/devstack-vm-gate.sh