aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j2
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-07-18 14:07:50 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-07-23 13:22:02 +0400
commite5d54bfdddc6b501e74a7d13be19e69724e20adb (patch)
tree73bd6737642550aedabc1e6812ae148282c37e13 /mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j2
parentf06c752bd1f95df30efbe147a362e612a49e469f (diff)
Rectify control address on compute nodes
Change-Id: I5734431d54c0d0ad9fb337fc37ce3b31a3c58e0a Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j2')
-rw-r--r--mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j230
1 files changed, 11 insertions, 19 deletions
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