neutron: trigger gate hooks for dvr scenario job

Note: the job will pass the same first argument into the gate hook as
non-DVR job. We will use DEVSTACK_GATE_NEUTRON_DVR to distinguish the
flavour if needed.

Change-Id: I1fa3eaa3788a844f662adc98de1ec8d11f221d6b
This commit is contained in:
Ihar Hrachyshka 2016-12-16 11:45:22 +00:00
parent b75e44e19c
commit a2ed24904f

View File

@ -680,6 +680,16 @@
fi fi
export DEVSTACK_GATE_TOPOLOGY="multinode" export DEVSTACK_GATE_TOPOLOGY="multinode"
function gate_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh dsvm-scenario
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh dsvm-scenario
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh