Autodeploy inspired on Prototype #2
[genesis.git] / fuel / deploy / libvirt / dha.yaml
1 title: Deployment Hardware Adapter (DHA)
2 # DHA API version supported
3 version: 1.1
4 created: Sat Apr 25 16:26:22 UTC 2015
5 comment: Small libvirt setup
6
7 # Adapter to use for this definition
8 adapter: libvirt
9
10 # Node list.
11 # Mandatory fields are id and role.
12 # The MAC address of the PXE boot interface is not mandatory
13 #   to be set, but the field must be present.
14 # All other fields are adapter specific.
15
16 nodes:
17 - id: 1
18   pxeMac: 52:54:00:aa:dd:84
19   libvirtName: controller1
20   libvirtTemplate: controller
21   role: controller
22 - id: 2
23   pxeMac: 52:54:00:aa:dd:84
24   libvirtName: controller2
25   libvirtTemplate: controller
26   role: controller
27 - id: 3
28   pxeMac: 52:54:00:aa:dd:84
29   libvirtName: controller3
30   libvirtTemplate: controller
31   role: controller
32 - id: 4
33   pxeMac: 52:54:00:41:64:f3
34   libvirtName: compute1
35   libvirtTemplate: compute
36   role: compute
37 - id: 5
38   pxeMac: 52:54:00:69:a0:79
39   libvirtName: compute2
40   libvirtTemplate: compute
41   role: compute
42 - id: 6
43   pxeMac: 52:54:00:69:a0:79
44   libvirtName: compute3
45   libvirtTemplate: compute
46   role: compute
47 - id: 7
48   pxeMac: 52:54:00:f8:b0:75
49   libvirtName: fuel-master
50   libvirtTemplate: fuel-master
51   isFuel: yes
52   nodeCanZeroMBR: yes
53   nodeCanSetBootOrderLive: yes
54   username: root
55   password: r00tme
56
57 disks:
58   fuel: 30G
59   controller: 30G
60   compute: 30G
61
62 # Deployment power on strategy
63 # all:      Turn on all nodes at once. There will be no correlation
64 #           between the DHA and DEA node numbering. MAC addresses
65 #           will be used to select the node roles though.
66 # sequence: Turn on the nodes in sequence starting with the lowest order
67 #           node and wait for the node to be detected by Fuel. Not until
68 #           the node has been detected and assigned a role will the next
69 #           node be turned on.
70 powerOnStrategy: all
71
72 # If fuelCustomInstall is set to true, Fuel is assumed to be installed by
73 # calling the DHA adapter function "dha_fuelCustomInstall()"  with two
74 # arguments: node ID and the ISO file name to deploy. The custom install
75 # function is then to handle all necessary logic to boot the Fuel master
76 # from the ISO and then return.
77 # Allowed values: true, false
78
79 fuelCustomInstall: false
80