refacort deploy.yml and add jsonschema to validate it 65/34465/2
authorAlex Yang <yangyang1@zte.com.cn>
Tue, 9 May 2017 03:11:53 +0000 (11:11 +0800)
committerAlex Yang <yangyang1@zte.com.cn>
Wed, 10 May 2017 15:14:42 +0000 (23:14 +0800)
commitfb09a7ed97707b6a007721ff4b72a904c4204e93
treeba626025fdb12d185a183521c9313dea5a14976f
parent568edb9d5ed462672d5a5c53ac735e04d8f687c4
refacort deploy.yml and add jsonschema to validate it

1. add adapter type in deploy.yml
Do not rely on the pod's name to detemine whether impi or libvirt
should be used.

2. increase disk size in deploy.yml
The disk sizes should be bigger than 102400 mega-bytes according to
the minimum of root_lv_size in upstream openstack/daisycloud-core.

3. add schemas.py
Use jsonschema to validate deploy.yml

Change-Id: I3f197f93403caece75460147c8df49b95e0ae9d3
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
deploy/config/bm_environment/zte-baremetal1/deploy.yml
deploy/config/schemas.py [new file with mode: 0644]
deploy/config/vm_environment/zte-virtual1/deploy.yml
deploy/config/vm_environment/zte-virtual2/deploy.yml
deploy/deploy.py
deploy/environment.py
requirements.txt
test-requirements.txt