[reclass] noifupdown for cluster nodes PXE/admin
[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         pxe_admin_int:
15           enabled: true
16           name: {{ nm.ctl01.nic_admin }}
17           proto: static
18           type: eth
19           address: ${_param:pxe_admin_address}
20           netmask: ${_param:opnfv_net_admin_mask}
21           noifupdown: true
22         single_int:
23           enabled: true
24           name: {{ nm.ctl01.nic_mgmt }}
25           type: eth
26           proto: static
27           address: ${_param:single_address}
28           netmask: ${_param:opnfv_net_mgmt_mask}
29         public_int:
30           enabled: true
31           name: {{ nm.ctl01.nic_public }}
32           type: eth
33           proto: static
34           address: ${_param:cluster_public_host}
35           netmask: ${_param:opnfv_net_public_mask}
36           gateway: ${_param:opnfv_net_public_gw}
37           name_servers: {{ nm.dns_public }}