summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-08-25 13:45:59 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-08-25 13:45:59 -0500
commitfccdc12c3a2fce1a100cc55b1e8a4ecc6078cb2a (patch)
tree6c539817e9cb1f071c0ae26bcbc1ac412c021909 /ci/config_tpl
parent4b7bbc9613bf8cab6b918b5f97b1712d7a5226bf (diff)
modified to use correct VIP address for internet api.
Change-Id: I75fb70280b73feecf00fe8400c1e57f7ea3f3a4d Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl')
-rw-r--r--ci/config_tpl/juju2/deployconfig.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/config_tpl/juju2/deployconfig.yaml b/ci/config_tpl/juju2/deployconfig.yaml
index 8e7d3a05..9accba06 100644
--- a/ci/config_tpl/juju2/deployconfig.yaml
+++ b/ci/config_tpl/juju2/deployconfig.yaml
@@ -1,6 +1,10 @@
opnfv-{{ lab.location }}{{ lab.racks[0].rack }}-maas:
opnfv:
+{% if opnfv.spaces_dict.osapi is defined %}
+{% set net_prefix = opnfv.spaces_dict.osapi.cidr[:-4] %}
+{% else %}
{% set net_prefix = opnfv.spaces_dict.admin.cidr[:-4] %}
+{% endif %}
admNetgway: {{ opnfv.spaces_dict.admin.gateway }}
admNetwork: {{ net_prefix }}2
admin_password: openstack