]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Enable VPN plugin for API test
authorPaul Michali <pc@michali.net>
Wed, 5 Aug 2015 20:51:46 +0000 (16:51 -0400)
committerPaul Michali <pc@michali.net>
Wed, 5 Aug 2015 20:56:58 +0000 (16:56 -0400)
Since API tests still contain VPN test cases, enable the VPN devstack
plugin, so that the service is enabled.

Change-Id: Icc3c4038a0772a85a2377bc10d50ab84927c4bad

neutron/tests/contrib/gate_hook.sh

index c5399e82b4b597e4e6d1d812d4d5b66266d43e5a..3da5775c03299418d9e8a70dd15d8b3b07fa85e5 100644 (file)
@@ -26,5 +26,10 @@ then
     configure_host_for_func_testing
 elif [ "$VENV" == "api" ]
 then
+    if [[ -z "$DEVSTACK_LOCAL_CONFIG" ]]; then
+        export DEVSTACK_LOCAL_CONFIG="enable_plugin neutron-vpnaas git://git.openstack.org/openstack/neutron-vpnaas"
+    else
+        export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron-vpnaas git://git.openstack.org/openstack/neutron-vpnaas"
+    fi
     $BASE/new/devstack-gate/devstack-vm-gate.sh
 fi