From 8f655e59dbd5a5ed3ebb7de6e504503c84722fb2 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Mon, 11 Sep 2017 19:40:00 +0800 Subject: Eliminate hard code about ipmi info in bash script Change-Id: I642d130566137dff727b7227658afe6ace9473d6 Signed-off-by: Alex Yang (cherry picked from commit 94d3957c5aba2db70d06929ac9538280a71c6641) --- .../bm_environment/zte-baremetal1/deploy.yml | 61 ++++++++++++++-------- 1 file changed, 38 insertions(+), 23 deletions(-) (limited to 'deploy/config') diff --git a/deploy/config/bm_environment/zte-baremetal1/deploy.yml b/deploy/config/bm_environment/zte-baremetal1/deploy.yml index d24a9569..0c147280 100644 --- a/deploy/config/bm_environment/zte-baremetal1/deploy.yml +++ b/deploy/config/bm_environment/zte-baremetal1/deploy.yml @@ -1,23 +1,38 @@ -adapter: ipmi -hosts: -- name: 'controller01' - roles: - - 'CONTROLLER_LB' -- name: 'controller02' - roles: - - 'CONTROLLER_LB' -- name: 'controller03' - roles: - - 'CONTROLLER_LB' -- name: 'computer01' - roles: - - 'COMPUTER' -- name: 'computer02' - roles: - - 'COMPUTER' -disks: - daisy: 50 -daisy_passwd: 'r00tme' -daisy_ip: '10.20.7.3' -daisy_gateway: '10.20.7.1' -ceph_disk_name: '/dev/sdb' +adapter: 'ipmi' +hosts: +- name: 'controller01' + roles: + - 'CONTROLLER_LB' + ipmi_ip: '192.168.1.106' + ipmi_user: 'testuser' + ipmi_pass: 'testpass' +- name: 'controller02' + roles: + - 'CONTROLLER_LB' + ipmi_ip: '192.168.1.107' + ipmi_user: 'testuser' + ipmi_pass: 'testpass' +- name: 'controller03' + roles: + - 'CONTROLLER_LB' + ipmi_ip: '192.168.1.108' + ipmi_user: 'testuser' + ipmi_pass: 'testpass' +- name: 'computer01' + roles: + - 'COMPUTER' + ipmi_ip: '192.168.1.109' + ipmi_user: 'testuser' + ipmi_pass: 'testpass' +- name: 'computer02' + roles: + - 'COMPUTER' + ipmi_ip: '192.168.1.110' + ipmi_user: 'testuser' + ipmi_pass: 'testpass' +disks: + daisy: 50 +daisy_passwd: 'r00tme' +daisy_ip: '10.20.7.3' +daisy_gateway: '10.20.7.1' +ceph_disk_name: '/dev/sdb' -- cgit 1.2.3-korg