Check for ODLNEXUSPROXY and export ODL_URL_PREFIX to be used as proxy 96/16396/3
authorFlavio Fernandes <ffernand@redhat.com>
Fri, 20 Mar 2015 12:51:15 +0000 (08:51 -0400)
committerFlavio Fernandes <ffernand@redhat.com>
Fri, 20 Mar 2015 13:43:24 +0000 (09:43 -0400)
Patch 2: Use ODL_URL_PREFIX instead of ODL_URL
Patch 3: Use ODLNEXUSPROXY instead of ODL_NEXUSPROXY

Change-Id: I64f238e2d1eda7a9b85ae95dd30b70036be509c7
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
jjb/ovsdb/include-raw-openstack-ci.sh

index f816b7ea19c5135a0cfebb29f38458ac93255665..201e340726f5c2b5bae725344f0d2825fd6b1fc3 100644 (file)
@@ -63,6 +63,11 @@ DEVSTACK_LOCAL_CONFIG+="ODL_JAVA_MIN_MEM=512m;"
 DEVSTACK_LOCAL_CONFIG+="ODL_JAVA_MAX_MEM=784m;"
 DEVSTACK_LOCAL_CONFIG+="ODL_JAVA_MAX_PERM_MEM=784m;"
 
+# Set ODL_URL_PREFIX if "nexus proxy" is provided
+if [ -n "$ODLNEXUSPROXY" ] ; then
+    DEVSTACK_LOCAL_CONFIG+="ODL_URL_PREFIX=$ODLNEXUSPROXY;"
+fi
+
 ## # Trim down the boot wait time
 ## export ODL_BOOT_WAIT=30