Merge "fix some typos"
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 10 Aug 2017 03:15:27 +0000 (03:15 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 10 Aug 2017 03:15:27 +0000 (03:15 +0000)
ci/02-deploybundle.sh
ci/03-maasdeploy.sh
ci/config_tpl/juju2/deployconfig.yaml
labconfig/lenovo/pod1/labconfig.yaml

index 517c4e4..974d65a 100755 (executable)
@@ -133,7 +133,7 @@ if [[ "$opnfvmodel" = "openstack" ]]; then
     #update source if trusty is target distribution
     var=os-$opnfvsdn-$fea-$opnfvtype"-"$opnfvdistro"_"$openstack
 
-    if [ "$osdomname" != "None" ]; then
+    if ([ $osdomname ] && [ $osdomname != "null" ] && [ $osdomname != "None"]); then
         var=$var"_"publicapi
     fi
 else
index c92a747..198d248 100755 (executable)
@@ -96,8 +96,8 @@ python -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, i
 
 MAAS_IP=$(grep " ip_address" deployconfig.yaml | cut -d ':' -f 2 | sed -e 's/ //')
 MAAS_NAME=`grep "maas_name" deployconfig.yaml | cut -d ':' -f 2 | sed -e 's/ //'`
-API_SERVER="http://$MAAS_IP/MAAS/api/2.0"
-API_SERVERMAAS="http://$MAAS_IP/MAAS/"
+API_SERVER="http://$MAAS_IP:5240/MAAS/api/2.0"
+API_SERVERMAAS="http://$MAAS_IP:5240/MAAS/"
 PROFILE=ubuntu
 MY_UPSTREAM_DNS=`grep "upstream_dns" deployconfig.yaml | cut -d ':' -f 2 | sed -e 's/ //'`
 SSH_KEY=`cat ~/.ssh/id_rsa.pub`
index 844ede6..bc2e127 100644 (file)
@@ -15,12 +15,14 @@ opnfv:
 {% set netdata_prefix = opnfv.spaces_dict.data.cidr[:-4] %}
   dataNetwork: {{ opnfv.spaces_dict.data.cidr }}
 {% endif %}
+{% if lab.racks[0].osdomainname is defined %}
   domain: {{ lab.racks[0].osdomainname }}
+  os-domain-name: {{ lab.racks[0].osdomainname }}
+{% endif %}
   ext-port: {{ lab.racks[0]['ext-port'] }}
   ext_port: {{ lab.racks[0]['ext-port'] }}
   floating-ip-range: {{ lab.racks[0]['floating-ip-range'] }}
   interface-enable: {{ lab.racks[0].ifnamelist }}
-  os-domain-name: {{ lab.racks[0].osdomainname }}
 {% if opnfv.spaces_dict.public is defined %}
 {% set netpublic_prefix = opnfv.spaces_dict.public.cidr[:-4] %}
   publicNetwork: {{ opnfv.spaces_dict.public.cidr }}
index ba56362..a29282d 100644 (file)
@@ -39,10 +39,10 @@ lab:
       nics:
       - ifname: intf100
         spaces: [admin]
-        mac: ["24:8a:07:3f:95:b6"]
+        mac: ["24:8a:07:3f:84:c4"]
       - ifname: intf101
         spaces: [floating]
-        mac: ["24:8a:07:3f:95:b7"]
+        mac: ["24:8a:07:3f:84:c5"]
       power:
         type: ipmi
         address: 192.0.5.127
@@ -78,8 +78,8 @@ lab:
         address: 192.0.5.129
         user: USERID
         pass: PASSW0RD
-    floating-ip-range: 172.21.159.6,172.21.159.100,172.21.159.1,172.21.159.0/24
-    ext-port: "br-intf101"
+    floating-ip-range: 172.21.159.6,172.21.159.100,172.21.159.5,172.21.159.0/24
+    ext-port: "intf101"
     dns: 8.8.8.8
     osdomainname:
 opnfv: