diff options
Diffstat (limited to 'tools/report')
-rw-r--r-- | tools/report/report.jinja | 5 | ||||
-rw-r--r-- | tools/report/report.py | 5 | ||||
-rw-r--r-- | tools/report/report_foot.rst | 3 | ||||
-rw-r--r-- | tools/report/report_rst.jinja | 9 |
4 files changed, 20 insertions, 2 deletions
diff --git a/tools/report/report.jinja b/tools/report/report.jinja index c9588565..90cd43d7 100644 --- a/tools/report/report.jinja +++ b/tools/report/report.jinja @@ -1,3 +1,8 @@ +{# +This work is licensed under a Creative Commons Attribution 4.0 International License. +http://creativecommons.org/licenses/by/4.0 +#} + # CHARACTERIZE VSWITCH PERFORMANCE FOR TELCO NFV USE CASES LEVEL TEST REPORT ## Table of Contents diff --git a/tools/report/report.py b/tools/report/report.py index 1115f052..e2914fdf 100644 --- a/tools/report/report.py +++ b/tools/report/report.py @@ -1,4 +1,4 @@ -# Copyright 2015-2016 Intel Corporation. +# Copyright 2015-2017 Intel Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -131,9 +131,10 @@ def generate(input_file, tc_results, tc_stats, test_type='performance'): 'tests': tests, } i = 0 + # pylint: disable=no-member for output_file in output_files: template = template_env.get_template(_TEMPLATE_FILES[i]) - output_text = template.render(template_vars) #pylint: disable=no-member + output_text = template.render(template_vars) with open(output_file, 'w') as file_: file_.write(output_text) logging.info('Test report written to "%s"', output_file) diff --git a/tools/report/report_foot.rst b/tools/report/report_foot.rst index f0e51876..5045e186 100644 --- a/tools/report/report_foot.rst +++ b/tools/report/report_foot.rst @@ -1,3 +1,6 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. + http://creativecommons.org/licenses/by/4.0 + .. _rationale: Rationale for decisions diff --git a/tools/report/report_rst.jinja b/tools/report/report_rst.jinja index 545dd493..e2cb4c83 100644 --- a/tools/report/report_rst.jinja +++ b/tools/report/report_rst.jinja @@ -1,3 +1,12 @@ +{# + Copyright (c) 2016-2017 Intel corporation. + + All rights reserved. This program and the accompanying materials + are made available under the terms of the Apache License, Version 2.0 + which accompanies this distribution, and is available at + http://www.apache.org/licenses/LICENSE-2.0 +#} + Test ID: {{ tests[0].ID }} -------------------------- |