From: Narinder Gupta Date: Fri, 25 Aug 2017 18:45:59 +0000 (-0500) Subject: modified to use correct VIP address for internet api. X-Git-Tag: opnfv-5.0.RC1~29 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F40273%2F1;p=joid.git modified to use correct VIP address for internet api. Change-Id: I75fb70280b73feecf00fe8400c1e57f7ea3f3a4d Signed-off-by: Narinder Gupta --- 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