Add Dragonflow fullstack test for ML2 module
Dragonflow can be used in two modes: core-plugin and ml2 mechanism driver. In an effort to support ML2 better, we would like to have a continuous integration testing done on that configuration. Change-Id: I5d54d022fc1fa4a0e87b946c37a2c3fb6d620886
This commit is contained in:
parent
0d42333948
commit
14068f5d4a
@ -139,3 +139,58 @@
|
||||
- test-results
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job-template:
|
||||
name: '{pipeline}-dragonflow-dsvm-fullstack-ml2{job-suffix}'
|
||||
node: '{node}'
|
||||
|
||||
wrappers:
|
||||
- build-timeout:
|
||||
timeout: 130
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- print-template-name:
|
||||
template-name: "{template-name}"
|
||||
- link-logs
|
||||
- net-info
|
||||
- devstack-checkout
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
export PYTHONUNBUFFERED=true
|
||||
export DEVSTACK_GATE_TEMPEST=0
|
||||
export DEVSTACK_GATE_NEUTRON=1
|
||||
export DEVSTACK_GATE_INSTALL_TESTONLY=1
|
||||
|
||||
|
||||
export BRANCH_OVERRIDE={branch-override}
|
||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||
fi
|
||||
|
||||
export PROJECTS="openstack/dragonflow $PROJECTS"
|
||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin dragonflow git://git.openstack.org/openstack/dragonflow"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER=True"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"USE_ML2_PLUGIN=True"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_ML2_PLUGIN_MECHANISM_DRIVERS=df"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"ML2_L3_PLUGIN=df-l3"
|
||||
|
||||
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/dragonflow/devstack/devstackgaterc
|
||||
|
||||
function gate_hook {{
|
||||
bash -xe $BASE/new/dragonflow/dragonflow/tests/contrib/gate_hook.sh fullstack
|
||||
}}
|
||||
export -f gate_hook
|
||||
|
||||
function post_test_hook {{
|
||||
bash -xe $BASE/new/dragonflow/dragonflow/tests/contrib/post_test_hook.sh fullstack
|
||||
}}
|
||||
export -f post_test_hook
|
||||
|
||||
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||
./safe-devstack-vm-gate-wrap.sh
|
||||
|
||||
publishers:
|
||||
- test-results
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
@ -3756,6 +3756,11 @@
|
||||
node: ubuntu-trusty
|
||||
job-suffix: '-nv'
|
||||
branch-override: default
|
||||
- '{pipeline}-dragonflow-dsvm-fullstack-ml2{job-suffix}':
|
||||
pipeline: gate
|
||||
node: ubuntu-xenial
|
||||
job-suffix: '-nv'
|
||||
branch-override: default
|
||||
|
||||
- project:
|
||||
name: drbd-devstack
|
||||
|
@ -8077,6 +8077,7 @@ projects:
|
||||
- gate-tempest-dsvm-dragonflow
|
||||
- gate-dragonflow-dsvm-rally-nv
|
||||
- gate-dragonflow-dsvm-fullstack-nv
|
||||
- gate-dragonflow-dsvm-fullstack-ml2-nv
|
||||
|
||||
- name: openstack/drbd-devstack
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user