[noha] Fix gtw private NIC name in j2 templates
[fuel.git] / mcp / reclass / classes / cluster / mcp-odl-noha / openstack / compute.yml.j2
index 1c4ee7a..3e912c1 100644 (file)
@@ -12,7 +12,7 @@
 classes:
   - service.neutron.compute.single
   - service.neutron.compute.opendaylight.single
-{%- if conf.MCP_DPDK_MODE %}
+{%- if '-ovs-' in conf.MCP_DEPLOY_SCENARIO %}
   - system.nova.compute.nfv.hugepages
   - system.neutron.compute.nfv.dpdk
 {%- endif %}
@@ -22,7 +22,7 @@ parameters:
   linux:
     network:
       interface:
-{%- if conf.MCP_DPDK_MODE %}
+{%- if '-ovs-' in conf.MCP_DEPLOY_SCENARIO %}
         dpdk0:
           name: ${_param:dpdk0_name}
           pci: ${_param:dpdk0_pci}
@@ -53,6 +53,7 @@ parameters:
           type: ovs_port
           mtu: ${_param:interface_mtu}
           bridge: br-floating
+          noifupdown: true
         br-ex:
           enabled: true
           type: bridge
@@ -64,6 +65,7 @@ parameters:
             - float-to-ex
           gateway: ${_param:opnfv_net_public_gw}
           name_servers: {{ nm.dns_public }}
+          noifupdown: true
 {%- else %}
         br-mesh:
           enabled: true