summaryrefslogtreecommitdiffstats
path: root/nfvbench/nfvbench.py
diff options
context:
space:
mode:
authormortenhillbom <mortenhillbom@gmail.com>2017-09-19 15:58:02 -0700
committermortenhillbom <mortenhillbom@gmail.com>2017-09-19 15:59:41 -0700
commitea51c75ee0a48a6ccfda70fa6792d011461c8044 (patch)
tree79490230a1f6fd864bc5209ffe74c508250aa0fe /nfvbench/nfvbench.py
parent230d84f20f70ebcbafa1f8f3d32461649c8c49b1 (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.py6
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