Merge "[salt-formulas] opnfv: Drop obsolete route_wrapper"
[fuel.git] / mcp / reclass / classes / cluster / mcp-common-noha / openstack_gateway_pdf.yml.j2
1 ##############################################################################
2 # Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 ---
9 {%- import 'net_map.j2' as nm with context %}
10 parameters:
11   _param:
12     primary_interface: {{ nm.ctl01.nic_mgmt }}
13     tenant_interface: {{ nm.ctl01.nic_private }}
14     external_interface: {{ nm.ctl01.nic_public }}
15   linux:
16     network:
17       bridge: openvswitch
18       interface:
19         pxe_admin_int:
20           enabled: true
21           name: {{ nm.ctl01.nic_admin }}
22           proto: static
23           type: eth
24           address: ${_param:pxe_admin_address}
25           netmask: ${_param:opnfv_net_admin_mask}
26           mtu: ${_param:interface_mtu}
27         primary_interface:
28           enabled: true
29           name: ${_param:primary_interface}
30           mtu: ${_param:interface_mtu}
31           proto: manual
32           type: eth
33         tenant_interface:
34           enabled: true
35           name: ${_param:tenant_interface}
36           mtu: ${_param:interface_mtu}
37           proto: manual
38           type: eth
39         external_interface:
40           enabled: true
41           name: ${_param:external_interface}
42           proto: manual
43           ovs_port_type: OVSPort
44           type: ovs_port
45           ovs_bridge: br-floating
46           bridge: br-floating
47         br-floating:
48           enabled: true
49           type: ovs_bridge
50           mtu: ${_param:interface_mtu}
51           proto: static
52           address: ${_param:external_address}
53           netmask: ${_param:opnfv_net_public_mask}
54           use_interfaces:
55             - ${_param:external_interface}
56           gateway: ${_param:opnfv_net_public_gw}
57           name_servers: {{ nm.dns_public }}
58         br-mgmt:
59           enabled: true
60           type: bridge
61           proto: static
62           address: ${_param:single_address}
63           netmask: ${_param:opnfv_net_mgmt_mask}
64           mtu: ${_param:interface_mtu}
65           use_interfaces:
66             - ${_param:primary_interface}