refactor code related with setup env 17/29417/4
authorwu.zhihui <wu.zhihui1@zte.com.cn>
Mon, 27 Feb 2017 08:32:55 +0000 (16:32 +0800)
committerwu.zhihui <wu.zhihui1@zte.com.cn>
Tue, 28 Feb 2017 09:42:06 +0000 (17:42 +0800)
commit63e07fce71ad5f4a0b992a8583a5347e6e0aba1b
tree1ec4b88e533648a28e8cef4641e3a7a14bf7e1a9
parent5f03a1d2e5c9bf03ccdb7dc98f0429695e5e315c
refactor code related with setup env

- modify env.py and scripts
- add unit test

Change-Id: I416cd517bdddfeb907675705009d83ecada7f87c
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
qtip/scripts/generate_host_file.sh [moved from qtip/scripts/fetch_compute_ips.sh with 90% similarity]
qtip/scripts/qtip_creds.sh
qtip/util/env.py
tests/unit/util/env_test.py [new file with mode: 0644]