Auto Generated INFO.yaml file
[pharos.git] / config / installers / compass4nfv / os-onos-nofeature-ha.yml.j2
1 ##############################################################################
2 # Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD 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 TYPE: baremetal
11 FLAVOR: cluster
12 POWER_TOOL: '{{ conf['jumphost']['remote_params']['type'] }}tool'  #expects string ipmitool
13
14 ipmiUser: {{ conf['jumphost']['remote_params']['user'] }}
15 ipmiPass: {{ conf['jumphost']['remote_params']['pass'] }}
16 ipmiVer: '{{ conf['jumphost']['remote_params']['versions'][0] }}'
17
18 hosts:
19   - name: {{ conf['nodes'][0]['name'] }}
20     mac: '{{ conf['nodes'][0]['remote_management']['mac_address'] }}' #is this the ipmi mac address?
21     interfaces:
22       - eth1: '{{ conf['nodes'][0]['interfaces'][0]['mac_address'] }}'
23       - eth2: '{{ conf['nodes'][0]['interfaces'][1]['mac_address'] }}'
24       - eth3: '{{ conf['nodes'][0]['interfaces'][2]['mac_address'] }}'
25     ipmiIp: {{ conf['nodes'][0]['remote_management']['address'] }}
26     roles:
27       - controller
28       - ha
29       - onos
30       - ceph-adm
31       - ceph-mon
32
33   - name: {{ conf['nodes'][1]['name'] }}
34     mac: '{{ conf['nodes'][1]['remote_management']['mac_address'] }}' #is this the ipmi mac address?
35     interfaces:
36       - eth1: '{{ conf['nodes'][1]['interfaces'][0]['mac_address'] }}'
37       - eth2: '{{ conf['nodes'][1]['interfaces'][1]['mac_address'] }}'
38       - eth3: '{{ conf['nodes'][1]['interfaces'][2]['mac_address'] }}'
39     ipmiIp: {{ conf['nodes'][1]['remote_management']['address'] }}
40     roles:
41       - controller
42       - ha
43       - onos
44       - ceph-mon
45
46   - name: {{ conf['nodes'][2]['name'] }}
47     mac: '{{ conf['nodes'][2]['remote_management']['mac_address'] }}' #is this the ipmi mac address?
48     interfaces:
49       - eth1: '{{ conf['nodes'][2]['interfaces'][0]['mac_address'] }}'
50       - eth2: '{{ conf['nodes'][2]['interfaces'][1]['mac_address'] }}'
51       - eth3: '{{ conf['nodes'][2]['interfaces'][2]['mac_address'] }}'
52     ipmiIp: {{ conf['nodes'][2]['remote_management']['address'] }}
53     roles:
54       - controller
55       - ha
56       - onos
57       - ceph-mon
58
59   - name: {{ conf['nodes'][3]['name'] }}
60     mac: '{{ conf['nodes'][3]['remote_management']['mac_address'] }}' #is this the ipmi mac address?
61     interfaces:
62       - eth1: '{{ conf['nodes'][3]['interfaces'][0]['mac_address'] }}'
63       - eth2: '{{ conf['nodes'][3]['interfaces'][1]['mac_address'] }}'
64       - eth3: '{{ conf['nodes'][3]['interfaces'][2]['mac_address'] }}'
65     ipmiIp: {{ conf['nodes'][3]['remote_management']['address'] }}
66     roles:
67       - compute
68       - ceph-osd
69
70   - name: {{ conf['nodes'][4]['name'] }}
71     mac: '{{ conf['nodes'][4]['remote_management']['mac_address'] }}' #is this the ipmi mac address?
72     interfaces:
73       - eth1: '{{ conf['nodes'][4]['interfaces'][0]['mac_address'] }}'
74       - eth2: '{{ conf['nodes'][4]['interfaces'][1]['mac_address'] }}'
75       - eth3: '{{ conf['nodes'][4]['interfaces'][2]['mac_address'] }}'
76     ipmiIp: {{ conf['nodes'][4]['remote_management']['address'] }}
77     roles:
78       - compute
79       - ceph-osd