aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2017-06-22 16:27:34 +0800
committerAlex Yang <yangyang1@zte.com.cn>2017-06-22 16:27:34 +0800
commit2e633246b6dd5d460fe4863b0c687a6dbc461a00 (patch)
tree9f36c92e05bb4ff9f90a9572d8651ed469a75c72
parentb9798e16865df40b37d9bc2f965ed24acc01b60f (diff)
Use POD descriptor file in daisy
Change-Id: Ie043eb252e2bfdbf42f1403b218958190a1070a8 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
-rw-r--r--installers/daisy/pod_config.yaml.j237
1 files changed, 37 insertions, 0 deletions
diff --git a/installers/daisy/pod_config.yaml.j2 b/installers/daisy/pod_config.yaml.j2
new file mode 100644
index 0000000..af24b2a
--- /dev/null
+++ b/installers/daisy/pod_config.yaml.j2
@@ -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'