[baremetal] Set public vlan tag on ovs port 97/48697/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Tue, 12 Dec 2017 08:48:28 +0000 (12:48 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Tue, 12 Dec 2017 08:48:28 +0000 (12:48 +0400)
Change-Id: Ia5a34d8d8a9649fc911198fed86aee51071ba568
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_compute_pdf.yml.j2

index cad407f..3c51abf 100644 (file)
@@ -112,9 +112,11 @@ parameters:
           port_type: patch
           bridge: br-ex
           peer: floating-to-ex
-        public_ovs_interface:
+        {{ nic_public }}:
           enabled: true
-          name: {{ nic_public }}{% if vlan_public and vlan_public != 'native' %}.{{ vlan_public }}{% endif %}
+          {%- if vlan_public and vlan_public != 'native' %}
+          ovs_options: tag={{ vlan_public }}
+          {%- endif %}
           proto: manual
           ovs_port_type: OVSPort
           type: ovs_port