From e5d54bfdddc6b501e74a7d13be19e69724e20adb Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Wed, 18 Jul 2018 14:07:50 +0400 Subject: Rectify control address on compute nodes Change-Id: I5734431d54c0d0ad9fb337fc37ce3b31a3c58e0a Signed-off-by: Michael Polenchuk --- .../mcp-common-noha/openstack_gateway_pdf.yml.j2 | 30 ++++++++-------------- 1 file changed, 11 insertions(+), 19 deletions(-) (limited to 'mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j2') diff --git a/mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j2 b/mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j2 index 6bd61a2d4..4f22d4fa2 100644 --- a/mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j2 @@ -39,15 +39,22 @@ parameters: external_interface: enabled: true name: ${_param:external_interface} - mtu: ${_param:interface_mtu} proto: manual - type: eth - gateway: ${_param:opnfv_net_public_gw} - name_servers: {{ nm.dns_public }} + ovs_port_type: OVSPort + type: ovs_port + ovs_bridge: br-floating + bridge: br-floating br-floating: enabled: true type: ovs_bridge mtu: ${_param:interface_mtu} + proto: static + address: ${_param:external_address} + netmask: ${_param:opnfv_net_public_mask} + use_interfaces: + - ${_param:external_interface} + gateway: ${_param:opnfv_net_public_gw} + name_servers: {{ nm.dns_public }} br-mgmt: enabled: true type: bridge @@ -57,18 +64,3 @@ parameters: mtu: ${_param:interface_mtu} use_interfaces: - ${_param:primary_interface} - float-to-ex: - enabled: true - type: ovs_port - mtu: ${_param:interface_mtu} - bridge: br-floating - br-ex: - enabled: true - type: bridge - mtu: ${_param:interface_mtu} - address: ${_param:external_address} - netmask: ${_param:opnfv_net_public_mask} - use_interfaces: - - ${_param:external_interface} - use_ovs_ports: - - float-to-ex -- cgit 1.2.3-korg