1 ##############################################################################
2 # Copyright (c) 2017 ZTE Corporation and others.
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 ##############################################################################
12 adapter: {{ conf['jumphost']['remote_params']['type'] }}
14 - name: 'controller01'
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'
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'
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 %}
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 %}
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 %}
56 daisy_passwd: 'r00tme'
57 {% if 'fixed_ips' in conf['jumphost'] -%}
58 daisy_gateway: {{ conf['jumphost']['fixed_ips']['admin'] }}
60 daisy_gateway: {{ conf['jumphost']['interfaces'][0]['address'][0] }}
62 ceph_disk_name: '/dev/sdb'