blob: fbb7f7e536475d729d8d64bd1974ffdfa9e5919d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#!/usr/bin/env bash
set -xe
# Drop a token that marks the build as coming from openstack infra
GATE_DEST=$BASE/new
DEVSTACK_PATH=$GATE_DEST/devstack
case "$ODL_RELEASE_BASE" in
boron-snapshot)
ODL_RELEASE=boron-snapshot-0.5.0
;;
beryllium-snapshot)
ODL_RELEASE=beryllium-snapshot-0.4.2
;;
lithium-snapshot)
ODL_RELEASE=lithium-snapshot-0.3.5
;;
*)
echo "Unknown ODL release base: $ODL_RELEASE_BASE"
exit 1
;;
esac
cat <<EOF >> $DEVSTACK_PATH/localrc
IS_GATE=True
# Set here the ODL release to use for the Gate job
ODL_RELEASE=${ODL_RELEASE}
# Switch to using the ODL's L3 implementation
ODL_L3=True
# Enable debug logs for odl ovsdb
ODL_NETVIRT_DEBUG_LOGS=True
EOF
|