Add support for neutron-full and api jobs using pecan to gate_hook

Change-Id: I21ad2a901c59bb58327b5e502cf9e848b3506b56
This commit is contained in:
Doug Wiegley 2016-01-15 10:43:51 -06:00 committed by Henry Gessau
parent 6474c6efac
commit e6d71c4823
1 changed files with 12 additions and 1 deletions

View File

@ -22,7 +22,7 @@ then
sudo chown -R $STACK_USER:$STACK_USER $BASE
configure_host_for_func_testing
elif [ "$VENV" == "api" ]
elif [ "$VENV" == "api" -o "$VENV" == "api-pecan" -o "$VENV" == "full-pecan" ]
then
cat > $DEVSTACK_PATH/local.conf <<EOF
[[post-config|/etc/neutron/neutron_vpnaas.conf]]
@ -32,6 +32,17 @@ service_provider=VPN:openswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.
EOF
if [ "$VENV" == "api-pecan" -o "$VENV" == "full-pecan" ]
then
cat >> $DEVSTACK_PATH/local.conf <<EOF
[[post-config|/etc/neutron/neutron.conf]]
[default]
web_framework=pecan
EOF
fi
export DEVSTACK_LOCAL_CONFIG+="
enable_plugin neutron-vpnaas git://git.openstack.org/openstack/neutron-vpnaas
enable_plugin neutron git://git.openstack.org/openstack/neutron