[noha] Fix gtw private NIC name in j2 templates 43/66343/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 11 Jan 2019 18:38:41 +0000 (19:38 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 11 Jan 2019 18:38:41 +0000 (19:38 +0100)
Change-Id: Ic266864913dcac021b3e12f426e1c8a60c23fe87
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/reclass/classes/cluster/mcp-odl-noha/openstack/gateway.yml.j2
mcp/reclass/classes/cluster/mcp-ovs-dpdk-noha/openstack/gateway.yml.j2

index bbd70ca..58ba34f 100644 (file)
@@ -18,7 +18,7 @@ parameters:
     network:
       interface:
 {%- if '-ovs-' in conf.MCP_DEPLOY_SCENARIO %}
-        {{ nm.cmp001.nic_private }}:
+        {{ nm.ctl01.nic_private }}:
           ovs_bridge: br-prv
         br-prv:
           enabled: true
@@ -36,5 +36,5 @@ parameters:
           address: ${_param:tenant_address}
           netmask: ${_param:opnfv_net_private_mask}
           use_interfaces:
-            - {{ ma.interface_str(nm.cmp001.nic_private, vlan_private_start) }}
+            - {{ ma.interface_str(nm.ctl01.nic_private, vlan_private_start) }}
 {%- endif %}
index 2f89ac3..8d11eed 100644 (file)
@@ -19,7 +19,7 @@ parameters:
   linux:
     network:
       interface:
-        {{ nm.cmp001.nic_private }}:
+        {{ nm.ctl01.nic_private }}:
           ovs_bridge: br-prv
         br-prv:
           enabled: true