[odl/noha] Simplify net scheme on compute nodes
[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         single_int:
22           enabled: true
23           name: {{ nm.ctl01.nic_mgmt }}
24           type: eth
25           proto: static
26           address: ${_param:single_address}
27           netmask: ${_param:opnfv_net_mgmt_mask}
28         public_int:
29           enabled: true
30           name: {{ nm.ctl01.nic_public }}
31           type: eth
32           proto: static
33           address: ${_param:cluster_public_host}
34           netmask: ${_param:opnfv_net_public_mask}
35           gateway: ${_param:opnfv_net_public_gw}
36           name_servers: {{ nm.dns_public }}