[virtual] Rename all to drop virtual prefix
[fuel.git] / mcp / reclass / classes / cluster / mcp-pike-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         dhcp_int:
20           enabled: true
21           name: {{ nm.ctl01.nic_admin }}
22           proto: dhcp
23           type: eth
24           mtu: ${_param:interface_mtu}
25         primary_interface:
26           enabled: true
27           name: ${_param:primary_interface}
28           mtu: ${_param:interface_mtu}
29           proto: manual
30           type: eth
31         tenant_interface:
32           enabled: true
33           name: ${_param:tenant_interface}
34           mtu: ${_param:interface_mtu}
35           proto: manual
36           type: eth
37         external_interface:
38           enabled: true
39           name: ${_param:external_interface}
40           mtu: ${_param:interface_mtu}
41           proto: manual
42           type: eth
43         br-floating:
44           enabled: true
45           type: ovs_bridge
46           mtu: ${_param:interface_mtu}
47         br-mgmt:
48           enabled: true
49           type: bridge
50           proto: static
51           address: ${_param:single_address}
52           netmask: 255.255.255.0
53           mtu: ${_param:interface_mtu}
54           use_interfaces:
55             - ${_param:primary_interface}
56         float-to-ex:
57           enabled: true
58           type: ovs_port
59           mtu: ${_param:interface_mtu}
60           bridge: br-floating
61         br-ex:
62           enabled: true
63           type: bridge
64           mtu: ${_param:interface_mtu}
65           address: ${_param:external_address}
66           netmask: 255.255.255.0
67           use_interfaces:
68             - ${_param:external_interface}
69           use_ovs_ports:
70             - float-to-ex