Use POD descriptor file in daisy 63/36363/1
authorAlex Yang <yangyang1@zte.com.cn>
Thu, 22 Jun 2017 08:27:34 +0000 (16:27 +0800)
committerAlex Yang <yangyang1@zte.com.cn>
Thu, 22 Jun 2017 08:27:34 +0000 (16:27 +0800)
Change-Id: Ie043eb252e2bfdbf42f1403b218958190a1070a8
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
installers/daisy/pod_config.yaml.j2 [new file with mode: 0644]

diff --git a/installers/daisy/pod_config.yaml.j2 b/installers/daisy/pod_config.yaml.j2
new file mode 100644 (file)
index 0000000..af24b2a
--- /dev/null
@@ -0,0 +1,37 @@
+adapter: {{ conf['jumphost']['remote_para']['type'] }}
+hosts:
+- name: 'controller01'
+  roles:
+    - 'CONTROLLER_LB'
+  ipmi_ip: {{ conf['nodes'][0]['remote_mangement']['address'] }}
+  ipmi_user: {{ conf['nodes'][0]['remote_mangement']['user'] }}
+  ipmi_pass: {{ conf['nodes'][0]['remote_mangement']['pass'] }}
+- name: 'controller02'
+  roles:
+    - 'CONTROLLER_LB'
+  ipmi_ip: {{ conf['nodes'][1]['remote_mangement']['address'] }}
+  ipmi_user: {{ conf['nodes'][1]['remote_mangement']['user'] }}
+  ipmi_pass: {{ conf['nodes'][1]['remote_mangement']['pass'] }}
+- name: 'controller03'
+  roles:
+    - 'CONTROLLER_LB'
+  ipmi_ip: {{ conf['nodes'][2]['remote_mangement']['address'] }}
+  ipmi_user: {{ conf['nodes'][2]['remote_mangement']['user'] }}
+  ipmi_pass: {{ conf['nodes'][2]['remote_mangement']['pass'] }}
+- name: 'computer01'
+  roles:
+    - 'COMPUTER'
+  ipmi_ip: {{ conf['nodes'][3]['remote_mangement']['address'] }}
+  ipmi_user: {{ conf['nodes'][3]['remote_mangement']['user'] }}
+  ipmi_pass: {{ conf['nodes'][3]['remote_mangement']['pass'] }}
+- name: 'computer02'
+  roles:
+    - 'COMPUTER'
+  ipmi_ip: {{ conf['nodes'][4]['remote_mangement']['address'] }}
+  ipmi_user: {{ conf['nodes'][4]['remote_mangement']['user'] }}
+  ipmi_pass: {{ conf['nodes'][4]['remote_mangement']['pass'] }}
+disks:
+  daisy: 50
+daisy_passwd: 'r00tme'
+daisy_gateway: {{ conf['jumphost']['interfaces'][0]['address'][0] }}
+ceph_disk_name: '/dev/sdb'