Eliminate hard coding about ipmi info 57/41057/2
authorAlex Yang <yangyang1@zte.com.cn>
Tue, 5 Sep 2017 09:32:23 +0000 (17:32 +0800)
committerAlex Yang <yangyang1@zte.com.cn>
Wed, 6 Sep 2017 02:08:28 +0000 (10:08 +0800)
commit95aec0a10931ecc61981dba49c93c5bea8d48960
tree638ad1910ec68a1f58f9c1006439938525595b77
parent81c6480386c45b9909b1de50970717a5f5f3533e
Eliminate hard coding about ipmi info

1. Eliminate hard coding
2. Add ipmi info in schemas
3. Add unit test

Change-Id: I4561bbc9454e02fd1de2106645db341a4129245b
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
deploy/config/schemas.py
deploy/environment.py
tests/data/lab_conf/deploy_baremetal.yml [new file with mode: 0644]
tests/unit/config/test_schemas.py