Merge "[fuel] IPMI: Trim netmask from IP passed to MaaS"
[pharos.git] / config / installers / daisy / pod_config.yaml.j2
1 ##############################################################################
2 # Copyright (c) 2017 ZTE Corporation and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 ---
11
12 adapter: {{ conf['jumphost']['remote_params']['type'] }}
13 hosts:
14   - name: 'controller01'
15     roles:
16       - 'CONTROLLER_LB'
17     ipmi_ip: {{ conf['nodes'][0]['remote_management']['address'] }}
18     ipmi_user: {{ conf['nodes'][0]['remote_management']['user'] }}
19     ipmi_pass: {{ conf['nodes'][0]['remote_management']['pass'] }}
20     mac_addresses:{% for nic in conf['nodes'][0]['interfaces'] %}
21       - {{ nic['mac_address'] }}{% endfor %}
22   - name: 'controller02'
23     roles:
24       - 'CONTROLLER_LB'
25     ipmi_ip: {{ conf['nodes'][1]['remote_management']['address'] }}
26     ipmi_user: {{ conf['nodes'][1]['remote_management']['user'] }}
27     ipmi_pass: {{ conf['nodes'][1]['remote_management']['pass'] }}
28     mac_addresses:{% for nic in conf['nodes'][1]['interfaces'] %}
29       - {{ nic['mac_address'] }}{% endfor %}
30   - name: 'controller03'
31     roles:
32       - 'CONTROLLER_LB'
33     ipmi_ip: {{ conf['nodes'][2]['remote_management']['address'] }}
34     ipmi_user: {{ conf['nodes'][2]['remote_management']['user'] }}
35     ipmi_pass: {{ conf['nodes'][2]['remote_management']['pass'] }}
36     mac_addresses:{% for nic in conf['nodes'][2]['interfaces'] %}
37       - {{ nic['mac_address'] }}{% endfor %}
38   - name: 'computer01'
39     roles:
40       - 'COMPUTER'
41     ipmi_ip: {{ conf['nodes'][3]['remote_management']['address'] }}
42     ipmi_user: {{ conf['nodes'][3]['remote_management']['user'] }}
43     ipmi_pass: {{ conf['nodes'][3]['remote_management']['pass'] }}
44     mac_addresses:{% for nic in conf['nodes'][3]['interfaces'] %}
45       - {{ nic['mac_address'] }}{% endfor %}
46   - name: 'computer02'
47     roles:
48       - 'COMPUTER'
49     ipmi_ip: {{ conf['nodes'][4]['remote_management']['address'] }}
50     ipmi_user: {{ conf['nodes'][4]['remote_management']['user'] }}
51     ipmi_pass: {{ conf['nodes'][4]['remote_management']['pass'] }}
52     mac_addresses:{% for nic in conf['nodes'][4]['interfaces'] %}
53       - {{ nic['mac_address'] }}{% endfor %}
54 disks:
55   daisy: 50
56 daisy_passwd: 'r00tme'
57 {% if 'fixed_ips' in conf['jumphost'] -%}
58 daisy_gateway: {{ conf['jumphost']['fixed_ips']['admin'] }}
59 {%- else -%}
60 daisy_gateway: {{ conf['jumphost']['interfaces'][0]['address'][0] }}
61 {%- endif %}
62 ceph_disk_name: '/dev/sdb'