modified for Kubernetes. 57/27257/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 19 Jan 2017 23:02:57 +0000 (17:02 -0600)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 19 Jan 2017 23:03:22 +0000 (17:03 -0600)
Change-Id: Ibe3c04f7988bfb1f9907ecd82c04ea5d22575eef
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/02-deploybundle.sh
ci/default_deployment_config.yaml
ci/deploy.sh
ci/genK8Bundle.py

index 6d2ead1..26946bd 100755 (executable)
@@ -16,7 +16,7 @@ if [[ "$opnfvmodel" = "openstack" ]]; then
     #copy and download charms
     cp $opnfvsdn/fetch-charms.sh ./fetch-charms.sh
 else
-    cp kubernates/fetch-charms.sh ./fetch-charms.sh
+    cp kubernetes/fetch-charms.sh ./fetch-charms.sh
 fi
 
 jujuver=`juju --version`
index 61bd9f0..aa1ca08 100644 (file)
@@ -31,5 +31,6 @@ os:
         congress: True
         promise: True
         bindings: False
-    kubernetes:
+k8:
+    feature:
         loadbalancer: False
index 9d24d2f..c44eaba 100755 (executable)
@@ -32,7 +32,7 @@ usage() { echo "Usage: $0 [-s <nosdn|odl|opencontrail>]
                          [-f <ipv6,dpdk,lxd,dvr>]
                          [-d <trusty|xenial>]
                          [-a <amd64>]
-                         [-m <openstack|kubernates>]
+                         [-m <openstack|kubernetes>]
                          [-r <a|b>]" 1>&2 exit 1; }
 
 while getopts ":s:t:o:l:h:r:f:d:a:m:" opt; do
index cfbb6ea..81deb5c 100644 (file)
@@ -163,13 +163,13 @@ except ValueError as err:
 if 'dpdk' in features:
     config['os']['network']['dpdk'] = True
 if 'lb' in features:
-    config['os']['kubernetes']['loadbalancer'] = True
+    config['k8']['feature']['loadbalancer'] = True
 
 # Set beta option from extra
 if 'hugepages' in extra:
     config['os']['beta']['huge_pages'] = True
 if 'lb' in extra:
-    config['os']['kubernetes']['loadbalancer'] = True
+    config['k8']['feature']['loadbalancer'] = True
 if 'mitaka' in extra:
     config['os']['release'] = 'mitaka'
 if 'xenial' in extra: