modified to give proper naming convention for floating ip network.
[joid.git] / ci / config_tpl / juju2 / deployconfig.yaml
index 0f39386..da98d02 100644 (file)
@@ -17,8 +17,8 @@ opnfv:
   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.mgmt.cidr[:-4] %}
-  publicNetwork: {{ opnfv.spaces_dict.mgmt.cidr }}
+{% set netpublic_prefix = opnfv.spaces_dict.public.cidr[:-4] %}
+  publicNetwork: {{ opnfv.spaces_dict.public.cidr }}
 {% endif %}
   spaces:
 {% for net in opnfv.spaces %}
@@ -38,7 +38,7 @@ opnfv:
 {% endif %}
   units: {{ lab.racks[0].nodes|count }}
   vip:
-{% if opnfv.spaces_dict.mgmt is defined %}
+{% if opnfv.spaces_dict.public is defined %}
 {% if opnfv.spaces_dict.data is defined %}
     ceilometer: {{ net_prefix }}24 {{ netdata_prefix }}24 {{ netpublic_prefix }}24
     cinder: {{ net_prefix }}29 {{ netdata_prefix }}29 {{ netpublic_prefix }}29