code refactor: create_zones.py 31/22831/4
authorwu.zhihui <wu.zhihui1@zte.com.cn>
Sat, 8 Oct 2016 08:16:33 +0000 (16:16 +0800)
committerwu.zhihui <wu.zhihui1@zte.com.cn>
Sun, 9 Oct 2016 01:29:03 +0000 (09:29 +0800)
commit9c5468b5c14730b2e72fac736115eb2184a402c6
tree1565c16d10c8698b8b1b06e483289437bd3eec73
parent62023f676d9801d53dfc1525bebb45f4e88f6fc4
code refactor: create_zones.py

1. simply the process of creating aggregates in create_zones.py.
2. before creating aggregates, it will clean all aggregates firstly.

TODO:
It should clean up the created aggregates. It needs a big structure
modification in args_handler.py. Let's do it step by step.

Change-Id: I31e09e917ba83d4676f7f95d9f5186bce8d2a449
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
func/create_zones.py
func/spawn_vm.py
tests/create_zones_test.py
tests/spawn_vm_test.py