From 2e633246b6dd5d460fe4863b0c687a6dbc461a00 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Thu, 22 Jun 2017 16:27:34 +0800 Subject: Use POD descriptor file in daisy Change-Id: Ie043eb252e2bfdbf42f1403b218958190a1070a8 Signed-off-by: Alex Yang --- installers/daisy/pod_config.yaml.j2 | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 installers/daisy/pod_config.yaml.j2 (limited to 'installers/daisy') 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' -- cgit 1.2.3-korg