8219637dc583160f48a1a86d9d983cbaffd5ea62
[fuel.git] / mcp / reclass / classes / cluster / mcp-common-noha / openstack_control_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 {%- import 'net_map.j2' as nm with context %}
9 ---
10 parameters:
11   linux:
12     network:
13       interface:
14         dhcp_int:
15           enabled: true
16           name: {{ nm.ctl01.nic_admin }}
17           proto: dhcp
18           type: eth
19         single_int:
20           enabled: true
21           name: {{ nm.ctl01.nic_mgmt }}
22           type: eth
23           proto: static
24           address: ${_param:single_address}
25           netmask: 255.255.255.0
26         public_int:
27           enabled: true
28           name: {{ nm.ctl01.nic_public }}
29           type: eth
30           proto: static
31           address: ${_param:cluster_public_host}
32           netmask: 255.255.255.0