diff options
author | 2018-02-22 18:47:28 +0400 | |
---|---|---|
committer | 2018-03-02 17:24:24 +0400 | |
commit | 9214e85db2f15984f7d49d855834f218feaf1164 (patch) | |
tree | 09f63594ee7bd746325e3caa8b7d239ab3d2716c /mcp/reclass/classes/cluster/mcp-pike-common-ha | |
parent | 5812aed26f2c56f5e1e06260d60618d019248684 (diff) |
Conform network scheme to tagged public interface
Change-Id: I503c8ad32900406e1fa375cec9a91b454889d8bf
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-pike-common-ha')
-rw-r--r-- | mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 b/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 index d0457bafc..48b9a9286 100644 --- a/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 @@ -71,23 +71,17 @@ parameters: enabled: true type: ovs_bridge mtu: ${_param:interface_mtu} - br-ex: - enabled: true - type: ovs_port - bridge: br-floating proto: static - {%- if nm.vlan_public and nm.vlan_public != 'native' %} - ovs_options: tag={{ nm.vlan_public }} - {%- endif %} address: ${_param:external_address} - netmask: 255.255.255.0 + netmask: ${_param:opnfv_net_public_mask} route: public: address: 0.0.0.0 netmask: 0.0.0.0 gateway: ${_param:opnfv_net_public_gw} - {{ nm.cmp001.nic_public }}: + ovs_port_{{ nm.cmp001.nic_public }}: enabled: true + name: {{ nm.cmp001.nic_public }}{% if nm.vlan_public and nm.vlan_public != 'native' %}.{{ nm.vlan_public }}{% endif %} proto: manual ovs_port_type: OVSPort type: ovs_port |