[salt-formulas] Also switch reclass to 'testing'
[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           mtu: ${_param:interface_mtu}
43           proto: manual
44           type: eth
45           gateway: ${_param:opnfv_net_public_gw}
46           name_servers: {{ nm.dns_public }}
47         br-floating:
48           enabled: true
49           type: ovs_bridge
50           mtu: ${_param:interface_mtu}
51         br-mgmt:
52           enabled: true
53           type: bridge
54           proto: static
55           address: ${_param:single_address}
56           netmask: ${_param:opnfv_net_mgmt_mask}
57           mtu: ${_param:interface_mtu}
58           use_interfaces:
59             - ${_param:primary_interface}
60         float-to-ex:
61           enabled: true
62           type: ovs_port
63           mtu: ${_param:interface_mtu}
64           bridge: br-floating
65         br-ex:
66           enabled: true
67           type: bridge
68           mtu: ${_param:interface_mtu}
69           address: ${_param:external_address}
70           netmask: ${_param:opnfv_net_public_mask}
71           use_interfaces:
72             - ${_param:external_interface}
73           use_ovs_ports:
74             - float-to-ex