diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-04-27 02:27:39 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2017-04-27 02:27:39 +0000 |
commit | 48ad9b5dfa80c8d05d07c6f7fa12d53deddcf3a2 (patch) | |
tree | 65e821366bafc773565d02bde23ad2981f76ced3 /nsb_setup.sh | |
parent | 50a5d0cb28d95d8edb47b1775569fcdf52dd1c96 (diff) |
Bugfix: yardstick env prepare cmd do not support other installer
JIRA: YARDSTICK-629
Currently yardstick env prepare do not support other installer.
I will add follow support:
1. Environment variable already exists: then do not fetch openrc file
and do not add EXTERNAL_NETWORK variable.
2. Already have openrc file in /etc/yardstick/openstack.creds: only
source this file in API.
3.Environment variable not exists and openrc file not in
/etc/yardstick/openstack.creds: fetch openrc file and append
EXTERNAL_NETWORK variable.
Change-Id: I4ce98f2e17ef8e0a0a1c33c3862ca301c53bb6c2
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'nsb_setup.sh')
0 files changed, 0 insertions, 0 deletions