diff options
author | mortenhillbom <mortenhillbom@gmail.com> | 2017-09-19 15:58:02 -0700 |
---|---|---|
committer | ahothan <ahothan@cisco.com> | 2017-10-20 00:37:13 -0700 |
commit | 8ce067b17e3a4af300ea99ef3015ba6f7e46ea43 (patch) | |
tree | 91973da260658f656eccb5aea8913dde04af18e7 /nfvbench/nfvbench.py | |
parent | ac8dcddc9e11c958a1e42839793a5fa1e207143c (diff) |
NFVBENCH-29 Add a user-provided label option to the fluentd perf records
Change-Id: Ic8bece88a3235130cb0322bff41a09035e7c6d9f
Signed-off-by: mortenhillbom <mortenhillbom@gmail.com>
Diffstat (limited to 'nfvbench/nfvbench.py')
-rw-r--r-- | nfvbench/nfvbench.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nfvbench/nfvbench.py b/nfvbench/nfvbench.py index 920838a..4256f24 100644 --- a/nfvbench/nfvbench.py +++ b/nfvbench/nfvbench.py @@ -377,7 +377,11 @@ def parse_opts_from_cli(): parser.add_argument('--log-file', '--logfile', dest='log_file', action='store', help='Filename for saving logs', - metavar='<log_file>') + metavar='<log_file>'), + + parser.add_argument('--user-label', '--userlabel', dest='user_label', + action='store', + help='Custom label for performance records') opts, unknown_opts = parser.parse_known_args() return opts, unknown_opts |