aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/utils
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-21 15:22:44 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-21 15:25:33 +0800
commit3e443dff14a2be02b914e66f27b549d0ed4cc600 (patch)
tree704edf5368e322ca0c723425714ef4ddbf562d1c /legacy/utils
parent642ccf1b4f905d779b33b224ace16c3c0abf25a1 (diff)
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 <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'legacy/utils')
-rw-r--r--legacy/utils/dashboard/pushtoDB.py8
-rw-r--r--legacy/utils/report/get_indices.py8
-rw-r--r--legacy/utils/report/get_results.py8
-rw-r--r--legacy/utils/report/qtip_graph.py8
-rw-r--r--legacy/utils/report/qtip_report.py8
-rw-r--r--legacy/utils/transform/dpi_transform.py8
-rw-r--r--legacy/utils/transform/final_report.py8
-rw-r--r--[-rwxr-xr-x]legacy/utils/transform/fio_transform.py8
-rw-r--r--legacy/utils/transform/iperf_transform.py8
-rw-r--r--legacy/utils/transform/ramspeed_transform.py8
-rw-r--r--legacy/utils/transform/ssl_transform.py8
-rw-r--r--legacy/utils/transform/ubench_transform.py8
12 files changed, 96 insertions, 0 deletions
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
index 5ecac823..e8de2f9a 100755..100644
--- 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