xextended the external port to the 5 mac address in case gateway 83/15183/2
authorNarinder Gupta <narinder.gupta@canonical.com>
Sun, 5 Jun 2016 06:11:37 +0000 (01:11 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Sun, 5 Jun 2016 06:34:45 +0000 (01:34 -0500)
node gets picked by any of the node in pod.

Change-Id: I08e4629cec92454cba3672508b1bf5f2450b47fd
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/01-deploybundle.sh
labconfig/intel/pod5/labconfig.yaml
labconfig/intel/pod6/labconfig.yaml

index a889b06..7aceab3 100755 (executable)
@@ -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/ //'`
index 3617ac7..f1758c1 100644 (file)
@@ -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
index 58b8af6..0b9b266 100644 (file)
@@ -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