X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=nfvbench%2Fnfvbench.py;h=f09af9010d15be5a50df34dac920057904bef1db;hb=5511522fce8d3d394f2d9b73fbd910032f75f53d;hp=84f98381c7538fd0600329e67533206447232cfd;hpb=9114d2d93d637b563ae15dd61b6c22ea01c2d8db;p=nfvbench.git diff --git a/nfvbench/nfvbench.py b/nfvbench/nfvbench.py index 84f9838..f09af90 100644 --- a/nfvbench/nfvbench.py +++ b/nfvbench/nfvbench.py @@ -464,7 +464,10 @@ def main(): if opts.summary: with open(opts.summary) as json_data: - print NFVBenchSummarizer(json.load(json_data), None) + result = json.load(json_data) + if opts.user_label: + result['config']['user_label'] = opts.user_label + print NFVBenchSummarizer(result, fluent_logger) sys.exit(0) # show default config in text/yaml format