diff options
author | Patrice Buriez <patrice.buriez@intel.com> | 2018-08-28 17:45:03 +0200 |
---|---|---|
committer | Patrice Buriez <patrice.buriez@intel.com> | 2018-09-04 17:27:25 +0000 |
commit | 1f0f973e791962c2282f9f564769a14152d12a25 (patch) | |
tree | 27dcba8fa3317e9b90de23dbe5ce513c0181e5b0 /samples/ping-one-exising-network.yaml | |
parent | 00f9e63336b0af1e11dc4048e74cba0fb690e906 (diff) |
Fix CLI argument handling in nsb_setup.sh
CLI argument $1 was used for both admin-openrc file with OpenStack
credentials and Yardstick Docker image, so obviously one of them would
be wrong, and NSB setup would fail at some point.
Historically, admin-openrc could be supplied as CLI argument $1, but
change https://gerrit.opnfv.org/gerrit/56493 broke it, which means
specifying Yardstick Docker image as CLI argument never worked.
This fix implements support for the following CLI options:
-o openrc Specify admin-openrc file with OpenStack credentials
-i image Specify Yardstick Docker image
-h Provide usage information
For backward compatibility reasons, admin-openrc file can be supplied
either with the -o option, or as a CLI argument.
JIRA: YARDSTICK-1137
Change-Id: I3e9904970560468c24b21738203bc67b7591f9e4
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
Diffstat (limited to 'samples/ping-one-exising-network.yaml')
0 files changed, 0 insertions, 0 deletions