Enable BGP extension in gate_hook.sh instead of devstack/settings

This reverts commit "Enable BGP extension" and enables BGP extension
more safely.

It may affect other neutron projects to set NETWORK_API_EXTENSIONS
in devstack/settings.

Change-Id: I0737cb057a93fc17e045a8a2f777bee7ed9b13cf
This commit is contained in:
fumihiko kakuma 2017-04-25 11:20:57 +09:00
parent 29cb04c5e1
commit 25e61a1868
2 changed files with 1 additions and 3 deletions

View File

@ -7,9 +7,6 @@
# q-dr-agent - Add this config flag indicate that dynamic routing agent
# will be running
# This enables BGP extension
NETWORK_API_EXTENSIONS=all
# This can be overridden in the localrc file
DR_MODE=${DR_MODE:-allinone}

View File

@ -28,5 +28,6 @@ then
sudo chown -R $STACK_USER:$STACK_USER $BASE
elif [[ "$VENV" == dsvm-api* ]]
then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NETWORK_API_EXTENSIONS=all"
$GATE_DEST/devstack-gate/devstack-vm-gate.sh
fi