Devstack plugin to perform Database migrations.

Small devstack plugin to ensure Database migration is performed during
stacking.

Change-Id: Ic4931a25248c63701ee3c4d3dcf3aca6ce5710e4
This commit is contained in:
Deirdre O'Connor 2018-01-30 13:48:39 +00:00
parent e88886c05c
commit cf533d1c4b
2 changed files with 4 additions and 0 deletions

3
devstack/plugin.sh Normal file
View File

@ -0,0 +1,3 @@
if [[ "$1" == "stack" && "$2" == "install" ]]; then
setup_develop $NEUTRON_CLASSIFIER_DIR
fi

1
devstack/settings Normal file
View File

@ -0,0 +1 @@
NEUTRON_CLASSIFIER_DIR=${NEUTRON_CLASSIFIER_DIR:-"$DEST/neutron-classifier"}