From: Narinder Gupta Date: Sun, 5 Jun 2016 06:11:37 +0000 (-0500) Subject: xextended the external port to the 5 mac address in case gateway X-Git-Tag: colorado.1.0~157 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=joid.git;a=commitdiff_plain;h=63840b4c5860c1c0f35d82287d0aaf74cf22d7e1 xextended the external port to the 5 mac address in case gateway node gets picked by any of the node in pod. Change-Id: I08e4629cec92454cba3672508b1bf5f2450b47fd Signed-off-by: Narinder Gupta --- diff --git a/ci/01-deploybundle.sh b/ci/01-deploybundle.sh index a889b06f..7aceab34 100755 --- a/ci/01-deploybundle.sh +++ b/ci/01-deploybundle.sh @@ -37,7 +37,7 @@ if [ -e ~/.juju/deployment.yaml ]; then if [ -e ~/.juju/deployment.yaml ]; then cp ~/.juju/deployconfig.yaml ./deployconfig.yaml - extport=`grep "ext-port" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //'` + extport=`grep "ext-port" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //' | tr ',' ' '` sed --i "s@#ext-port: \"eth1\"@ext-port: \"$extport\"@g" ./bundles.yaml datanet=`grep "dataNetwork" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //'` diff --git a/labconfig/intel/pod5/labconfig.yaml b/labconfig/intel/pod5/labconfig.yaml index 3617ac72..f1758c1a 100644 --- a/labconfig/intel/pod5/labconfig.yaml +++ b/labconfig/intel/pod5/labconfig.yaml @@ -79,7 +79,7 @@ lab: user: root pass: root floating-ip-range: 10.5.15.6,10.5.15.250,10.5.15.254,10.5.15.0/24 - ext-port: "90:E2:BA:85:4E:2D" + ext-port: "90:E2:BA:85:4E:2D,90:E2:BA:84:08:B9,90:E2:BA:84:07:0E,90:E2:BA:83:FD:81,90:E2:BA:75:22:75" dns: 8.8.8.8 opnfv: release: c diff --git a/labconfig/intel/pod6/labconfig.yaml b/labconfig/intel/pod6/labconfig.yaml index 58b8af66..0b9b266b 100644 --- a/labconfig/intel/pod6/labconfig.yaml +++ b/labconfig/intel/pod6/labconfig.yaml @@ -79,7 +79,7 @@ lab: user: root pass: root floating-ip-range: 10.6.15.6,10.6.15.250,10.6.15.254,10.6.15.0/24 - ext-port: "90:E2:BA:83:FD:20" + ext-port: "90:E2:BA:83:FD:21,90:E2:BA:75:30:F5,90:E2:BA:83:FE:75,90:E2:BA:84:15:7D,90:E2:BA:84:08:F5" dns: 8.8.8.8 opnfv: release: c