few reversal changes based on test result. 77/27877/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 2 Feb 2017 06:09:51 +0000 (00:09 -0600)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 2 Feb 2017 06:11:01 +0000 (00:11 -0600)
Change-Id: I4c29ba756b66fcb777f14a632f2ec6bdcb5aea99
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/config_tpl/juju2/deployconfig.yaml

index ac4c6a7..0f39386 100644 (file)
@@ -39,15 +39,27 @@ opnfv:
   units: {{ lab.racks[0].nodes|count }}
   vip:
 {% if opnfv.spaces_dict.mgmt is defined %}
-    ceilometer: {{ netpublic_prefix }}24
-    cinder: {{ netpublic_prefix }}29
-    dashboard: {{ netpublic_prefix }}21
-    glance: {{ netpublic_prefix }}22
-    heat: {{ netpublic_prefix }}28
-    keystone: {{ netpublic_prefix }}23
+{% 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
+    dashboard: {{ net_prefix }}21 {{ netdata_prefix }}21 {{ netpublic_prefix }}21
+    glance: {{ net_prefix }}22 {{ netdata_prefix }}22 {{ netpublic_prefix }}22
+    heat: {{ net_prefix }}28 {{ netdata_prefix }}28 {{ netpublic_prefix }}28
+    keystone: {{ net_prefix }}23 {{ netdata_prefix }}23 {{ netpublic_prefix }}23
+    mysql: {{ net_prefix }}25
+    neutron: {{ net_prefix }}27 {{ netdata_prefix }}27 {{ netpublic_prefix }}27
+    nova: {{ net_prefix }}26 {{ netdata_prefix }}27 {{ netpublic_prefix }}26
+{% else %}
+    ceilometer: {{ net_prefix }}24 {{ netpublic_prefix }}24
+    cinder: {{ net_prefix }}29 {{ netpublic_prefix }}29
+    dashboard: {{ net_prefix }}21 {{ netpublic_prefix }}21
+    glance: {{ net_prefix }}22 {{ netpublic_prefix }}22
+    heat: {{ net_prefix }}28 {{ netpublic_prefix }}28
+    keystone: {{ net_prefix }}23 {{ netpublic_prefix }}23
     mysql: {{ net_prefix }}25
-    neutron: {{ netpublic_prefix }}27
-    nova: {{ netpublic_prefix }}26
+    neutron: {{ net_prefix }}27 {{ netpublic_prefix }}27
+    nova: {{ net_prefix }}26 {{ netpublic_prefix }}26
+{% endif %}
 {% else %}
     ceilometer: {{ net_prefix }}24
     cinder: {{ net_prefix }}29