Code Review
/
nfvbench.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
NFVBENCH-29 Add a user-provided label option to the fluentd perf records
[nfvbench.git]
/
nfvbench
/
nfvbench.py
diff --git
a/nfvbench/nfvbench.py
b/nfvbench/nfvbench.py
index
920838a
..
4256f24
100644
(file)
--- 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',
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
opts, unknown_opts = parser.parse_known_args()
return opts, unknown_opts