diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-10-13 03:47:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-10-13 03:47:35 +0000 |
commit | e096baafac0e6594b6ff69c0e296641066583327 (patch) | |
tree | 25b94b5e41bf60dba639a4e96ba740074e386959 | |
parent | 962fb77e5823c8bd399a06f5b26ede7caa35563d (diff) | |
parent | ea349b4ef08f3640d93c5fbec545de274238ee56 (diff) |
Merge "Updating NSBperf to print right testcase"
-rwxr-xr-x | yardstick/cmd/NSBperf.py | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/yardstick/cmd/NSBperf.py b/yardstick/cmd/NSBperf.py index 2dc0f65e7..5d0aa746d 100755 --- a/yardstick/cmd/NSBperf.py +++ b/yardstick/cmd/NSBperf.py @@ -150,8 +150,24 @@ class YardstickNSCli(object): testcases = os.listdir(test_path + vnf) print(("VNF :(%s)" % vnf)) print("================") - for testcase in [tc for tc in testcases if "tc_" in tc]: - print('%s' % testcase) + test_cases = [tc for tc in testcases if "tc_" in tc and "template" not in tc] + + print("\tBareMetal Testcase:") + print("\t===================") + for testcase in [tc for tc in test_cases if "baremetal" in tc]: + print("\t%s" % testcase) + + print(os.linesep) + print("\tStandalone Virtualization Testcase:") + print("\t===================================") + for testcase in [tc for tc in test_cases if "ovs" in tc or "sriov" in tc]: + print("\t%s" % testcase) + + print(os.linesep) + print("\tOpenstack Testcase:") + print("\t===================") + for testcase in [tc for tc in test_cases if "heat" in tc]: + print("\t%s" % testcase) print(os.linesep) raise SystemExit(0) |