Merge "Fix barbican integration on compute nodes"
[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           noifupdown: true
28         primary_interface:
29           enabled: true
30           name: ${_param:primary_interface}
31           mtu: ${_param:interface_mtu}
32           proto: manual
33           type: eth
34         tenant_interface:
35           enabled: true
36           name: ${_param:tenant_interface}
37           mtu: ${_param:interface_mtu}
38           proto: manual
39           type: eth
40         external_interface:
41           enabled: true
42           name: ${_param:external_interface}
43           proto: manual
44           ovs_port_type: OVSPort
45           type: ovs_port
46           ovs_bridge: br-floating
47           bridge: br-floating
48         br-floating:
49           enabled: true
50           type: ovs_bridge
51           mtu: ${_param:interface_mtu}
52           proto: static
53           address: ${_param:external_address}
54           netmask: ${_param:opnfv_net_public_mask}
55           use_interfaces:
56             - ${_param:external_interface}
57           gateway: ${_param:opnfv_net_public_gw}
58           name_servers: {{ nm.dns_public }}
59         br-mgmt:
60           enabled: true
61           type: bridge
62           proto: static
63           address: ${_param:single_address}
64           netmask: ${_param:opnfv_net_mgmt_mask}
65           mtu: ${_param:interface_mtu}
66           use_interfaces:
67             - ${_param:primary_interface}