From 3e443dff14a2be02b914e66f27b549d0ed4cc600 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Tue, 21 Feb 2017 15:22:44 +0800 Subject: Add licence header according to OPNFV contribution guidelines[1] by script[2] [1]: https://wiki.opnfv.org/display/DEV/Contribution+Guidelines [2]: https://github.com/Justin-chi/Lab/blob/master/add_license.sh Change-Id: I5b77394a104857bb4ee9addbe973ed239b7a59f3 Signed-off-by: Yujun Zhang --- legacy/utils/dashboard/pushtoDB.py | 8 ++++++++ legacy/utils/report/get_indices.py | 8 ++++++++ legacy/utils/report/get_results.py | 8 ++++++++ legacy/utils/report/qtip_graph.py | 8 ++++++++ legacy/utils/report/qtip_report.py | 8 ++++++++ legacy/utils/transform/dpi_transform.py | 8 ++++++++ legacy/utils/transform/final_report.py | 8 ++++++++ legacy/utils/transform/fio_transform.py | 8 ++++++++ legacy/utils/transform/iperf_transform.py | 8 ++++++++ legacy/utils/transform/ramspeed_transform.py | 8 ++++++++ legacy/utils/transform/ssl_transform.py | 8 ++++++++ legacy/utils/transform/ubench_transform.py | 8 ++++++++ 12 files changed, 96 insertions(+) mode change 100755 => 100644 legacy/utils/transform/fio_transform.py (limited to 'legacy/utils') diff --git a/legacy/utils/dashboard/pushtoDB.py b/legacy/utils/dashboard/pushtoDB.py index 427d39c4..ce54aebd 100644 --- a/legacy/utils/dashboard/pushtoDB.py +++ b/legacy/utils/dashboard/pushtoDB.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 +############################################################################## import requests import json import datetime diff --git a/legacy/utils/report/get_indices.py b/legacy/utils/report/get_indices.py index 91219c0b..42db6584 100644 --- a/legacy/utils/report/get_indices.py +++ b/legacy/utils/report/get_indices.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 +############################################################################## import json diff --git a/legacy/utils/report/get_results.py b/legacy/utils/report/get_results.py index 23fd5383..6df88235 100644 --- a/legacy/utils/report/get_results.py +++ b/legacy/utils/report/get_results.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 +############################################################################## import os import json diff --git a/legacy/utils/report/qtip_graph.py b/legacy/utils/report/qtip_graph.py index acbda40c..68ed660f 100644 --- a/legacy/utils/report/qtip_graph.py +++ b/legacy/utils/report/qtip_graph.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 +############################################################################## import matplotlib import matplotlib.pyplot as plt import numpy as np diff --git a/legacy/utils/report/qtip_report.py b/legacy/utils/report/qtip_report.py index 6809e892..1097df5f 100644 --- a/legacy/utils/report/qtip_report.py +++ b/legacy/utils/report/qtip_report.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 +############################################################################## from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, Image from reportlab.lib.styles import getSampleStyleSheet from reportlab.lib.units import inch diff --git a/legacy/utils/transform/dpi_transform.py b/legacy/utils/transform/dpi_transform.py index ee29d8e2..bc837311 100644 --- a/legacy/utils/transform/dpi_transform.py +++ b/legacy/utils/transform/dpi_transform.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 +############################################################################## import os import pickle import datetime diff --git a/legacy/utils/transform/final_report.py b/legacy/utils/transform/final_report.py index 274742d4..1d7c3001 100644 --- a/legacy/utils/transform/final_report.py +++ b/legacy/utils/transform/final_report.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 +############################################################################## import pickle import json import datetime diff --git a/legacy/utils/transform/fio_transform.py b/legacy/utils/transform/fio_transform.py old mode 100755 new mode 100644 index 5ecac823..e8de2f9a --- a/legacy/utils/transform/fio_transform.py +++ b/legacy/utils/transform/fio_transform.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 +############################################################################## import json import pickle import os diff --git a/legacy/utils/transform/iperf_transform.py b/legacy/utils/transform/iperf_transform.py index b52e4634..c5eef6f5 100644 --- a/legacy/utils/transform/iperf_transform.py +++ b/legacy/utils/transform/iperf_transform.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 +############################################################################## import json import datetime import pickle diff --git a/legacy/utils/transform/ramspeed_transform.py b/legacy/utils/transform/ramspeed_transform.py index 960f84fc..9aa713ff 100644 --- a/legacy/utils/transform/ramspeed_transform.py +++ b/legacy/utils/transform/ramspeed_transform.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 +############################################################################## import os import pickle import datetime diff --git a/legacy/utils/transform/ssl_transform.py b/legacy/utils/transform/ssl_transform.py index de84d24b..24b696e5 100644 --- a/legacy/utils/transform/ssl_transform.py +++ b/legacy/utils/transform/ssl_transform.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 +############################################################################## import os import pickle import datetime diff --git a/legacy/utils/transform/ubench_transform.py b/legacy/utils/transform/ubench_transform.py index ab5fe171..fe687118 100644 --- a/legacy/utils/transform/ubench_transform.py +++ b/legacy/utils/transform/ubench_transform.py @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# 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 +############################################################################## import os import json import pickle -- cgit 1.2.3-korg