Make ODL_NETVIRT_DEBUG_LOGS disabled by default, enabled in pre_test_hook.sh
Also tweak pre_test_hook.sh on how it appends to localrc Change-Id: I6f3cade7d0b86a4ecc637a5e5847d93a46509ed9
This commit is contained in:
@@ -5,10 +5,18 @@ set -xe
|
||||
# Drop a token that marks the build as coming from openstack infra
|
||||
GATE_DEST=$BASE/new
|
||||
DEVSTACK_PATH=$GATE_DEST/devstack
|
||||
echo "IS_GATE=True" >> $DEVSTACK_PATH/localrc
|
||||
|
||||
cat <<EOF >> $DEVSTACK_PATH/localrc
|
||||
|
||||
IS_GATE=True
|
||||
|
||||
# Set here the ODL release to use for the Gate job
|
||||
echo "ODL_RELEASE=lithium-snapshot-0.3.1" >> $DEVSTACK_PATH/localrc
|
||||
ODL_RELEASE=lithium-snapshot-0.3.1
|
||||
|
||||
# Switch to using the ODL's L3 implementation
|
||||
echo "ODL_L3=True" >> $DEVSTACK_PATH/localrc
|
||||
ODL_L3=True
|
||||
|
||||
# Enable debug logs for odl ovsdb
|
||||
ODL_NETVIRT_DEBUG_LOGS=True
|
||||
|
||||
EOF
|
||||
|
||||
@@ -46,7 +46,7 @@ ODL_L3=${ODL_L3:-False}
|
||||
ODL_L3GW_MAC=${ODL_L3GW_MAC:-''}
|
||||
|
||||
# Enable debug logs for odl ovsdb
|
||||
ODL_NETVIRT_DEBUG_LOGS=${ODL_NETVIRT_DEBUG_LOGS:-True}
|
||||
ODL_NETVIRT_DEBUG_LOGS=${ODL_NETVIRT_DEBUG_LOGS:-False}
|
||||
|
||||
# Karaf logfile information
|
||||
ODL_KARAF_LOG_DATE=$(date +%Y-%m-%d-%H%M%S)
|
||||
|
||||
Reference in New Issue
Block a user