diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-02-21 15:22:44 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-02-21 15:25:33 +0800 |
commit | 3e443dff14a2be02b914e66f27b549d0ed4cc600 (patch) | |
tree | 704edf5368e322ca0c723425714ef4ddbf562d1c | |
parent | 642ccf1b4f905d779b33b224ace16c3c0abf25a1 (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>
91 files changed, 739 insertions, 0 deletions
diff --git a/legacy/__init__.py b/legacy/__init__.py index e69de29b..48893ae6 100644 --- a/legacy/__init__.py +++ b/legacy/__init__.py @@ -0,0 +1,8 @@ +############################################################################## +# 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 +############################################################################## diff --git a/legacy/api/handler/job_handler.py b/legacy/api/handler/job_handler.py index b75da5ff..4ecc1cee 100644 --- a/legacy/api/handler/job_handler.py +++ b/legacy/api/handler/job_handler.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 threading from copy import copy diff --git a/legacy/api/model/job_model.py b/legacy/api/model/job_model.py index f7eb9fda..73baf660 100644 --- a/legacy/api/model/job_model.py +++ b/legacy/api/model/job_model.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 flask_restful import fields from flask_restful_swagger import swagger diff --git a/legacy/api/router/mapper.py b/legacy/api/router/mapper.py index cd21fbe1..470d18e2 100644 --- a/legacy/api/router/mapper.py +++ b/legacy/api/router/mapper.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 legacy.api.handler.job_handler import Job, JobList diff --git a/legacy/api/router/mapper.py.orig b/legacy/api/router/mapper.py.orig new file mode 100644 index 00000000..1acb40b5 --- /dev/null +++ b/legacy/api/router/mapper.py.orig @@ -0,0 +1,19 @@ +<<<<<<< HEAD +from legacy.api.handler.job_handler import Job, JobList +======= +############################################################################## +# 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 legacy.api.handler import Job, JobList +>>>>>>> 615b529... Add licence header according to OPNFV contribution guidelines[1] by script[2] + + +mappers = [ + (JobList, '/api/v1.0/jobs'), + (Job, '/api/v1.0/jobs/<string:id>'), +] diff --git a/legacy/assets/perftest/common/git_proxy_pbook.yaml b/legacy/assets/perftest/common/git_proxy_pbook.yaml index 5cb6f450..e190162b 100644 --- a/legacy/assets/perftest/common/git_proxy_pbook.yaml +++ b/legacy/assets/perftest/common/git_proxy_pbook.yaml @@ -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 +############################################################################## #git - name: set git proxy(http) shell: "git config --global http.proxy {{ http_proxy }}" diff --git a/legacy/assets/perftest/common/sys_proxy_pbook.yaml b/legacy/assets/perftest/common/sys_proxy_pbook.yaml index bf4a8ccb..543285e3 100644 --- a/legacy/assets/perftest/common/sys_proxy_pbook.yaml +++ b/legacy/assets/perftest/common/sys_proxy_pbook.yaml @@ -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 +############################################################################## #env - name: insert shell proxy http lineinfile: dest=/etc/profile.d/proxy.sh state=present create=yes owner=root group=root mode=0644 regexp="export http_proxy={{ http_proxy }}" diff --git a/legacy/assets/perftest/dhrystone.yaml b/legacy/assets/perftest/dhrystone.yaml index 896aadfc..dd098c5e 100644 --- a/legacy/assets/perftest/dhrystone.yaml +++ b/legacy/assets/perftest/dhrystone.yaml @@ -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 +############################################################################## - hosts: localhost connection: local gather_facts: no diff --git a/legacy/assets/perftest/dpi.yaml b/legacy/assets/perftest/dpi.yaml index 2a10bef6..55a5dcb5 100644 --- a/legacy/assets/perftest/dpi.yaml +++ b/legacy/assets/perftest/dpi.yaml @@ -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 +############################################################################## - hosts: localhost connection: local gather_facts: no diff --git a/legacy/assets/perftest/etc/info_collect.py b/legacy/assets/perftest/etc/info_collect.py index 3fc35d5a..3dbe55c2 100644 --- a/legacy/assets/perftest/etc/info_collect.py +++ b/legacy/assets/perftest/etc/info_collect.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 json diff --git a/legacy/assets/perftest/fio.yaml b/legacy/assets/perftest/fio.yaml index 0da9407d..e6d1072d 100644 --- a/legacy/assets/perftest/fio.yaml +++ b/legacy/assets/perftest/fio.yaml @@ -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 +############################################################################## - hosts: localhost connection: local gather_facts: no diff --git a/legacy/assets/perftest/iperf.yaml b/legacy/assets/perftest/iperf.yaml index a1755f7c..6654c556 100644 --- a/legacy/assets/perftest/iperf.yaml +++ b/legacy/assets/perftest/iperf.yaml @@ -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 +############################################################################## - hosts: localhost connection: local gather_facts: no diff --git a/legacy/assets/perftest/ramspeed.yaml b/legacy/assets/perftest/ramspeed.yaml index 83ecd8bf..835d517a 100644 --- a/legacy/assets/perftest/ramspeed.yaml +++ b/legacy/assets/perftest/ramspeed.yaml @@ -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 +############################################################################## - hosts: localhost connection: local gather_facts: no diff --git a/legacy/assets/perftest/ssl.yaml b/legacy/assets/perftest/ssl.yaml index 6002bfff..db77a724 100644 --- a/legacy/assets/perftest/ssl.yaml +++ b/legacy/assets/perftest/ssl.yaml @@ -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 +############################################################################## - hosts: localhost connection: local gather_facts: no diff --git a/legacy/assets/perftest/whetstone.yaml b/legacy/assets/perftest/whetstone.yaml index d6eae85f..0037ded3 100644 --- a/legacy/assets/perftest/whetstone.yaml +++ b/legacy/assets/perftest/whetstone.yaml @@ -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 +############################################################################## - hosts: localhost connection: local gather_facts: no diff --git a/legacy/assets/suite/compute.yaml b/legacy/assets/suite/compute.yaml index 197d5720..ead194a4 100644 --- a/legacy/assets/suite/compute.yaml +++ b/legacy/assets/suite/compute.yaml @@ -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 +############################################################################## QPI: compute description: sample performance index of computing diff --git a/legacy/assets/testplan/default/compute/dhrystone_bm.yaml b/legacy/assets/testplan/default/compute/dhrystone_bm.yaml index 64741537..54f27fb6 100644 --- a/legacy/assets/testplan/default/compute/dhrystone_bm.yaml +++ b/legacy/assets/testplan/default/compute/dhrystone_bm.yaml @@ -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 +############################################################################## Scenario: benchmark: dhrystone diff --git a/legacy/assets/testplan/default/compute/dhrystone_vm.yaml b/legacy/assets/testplan/default/compute/dhrystone_vm.yaml index 8f5a4165..06377bea 100644 --- a/legacy/assets/testplan/default/compute/dhrystone_vm.yaml +++ b/legacy/assets/testplan/default/compute/dhrystone_vm.yaml @@ -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 +############################################################################## Scenario: benchmark: dhrystone host: virtualmachine_1, virtualmachine_2 diff --git a/legacy/assets/testplan/default/compute/dpi_bm.yaml b/legacy/assets/testplan/default/compute/dpi_bm.yaml index 14cb6d0d..deb6a874 100644 --- a/legacy/assets/testplan/default/compute/dpi_bm.yaml +++ b/legacy/assets/testplan/default/compute/dpi_bm.yaml @@ -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 +############################################################################## Scenario: benchmark: dpi host: machine_1,machine_2 diff --git a/legacy/assets/testplan/default/compute/dpi_vm.yaml b/legacy/assets/testplan/default/compute/dpi_vm.yaml index 10e86993..4fb16842 100644 --- a/legacy/assets/testplan/default/compute/dpi_vm.yaml +++ b/legacy/assets/testplan/default/compute/dpi_vm.yaml @@ -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 +############################################################################## Scenario: benchmark: dpi 1Run : virtualmachine_1, virtualmachine_2 diff --git a/legacy/assets/testplan/default/compute/ramspeed_bm.yaml b/legacy/assets/testplan/default/compute/ramspeed_bm.yaml index ed8fc700..c758c18d 100644 --- a/legacy/assets/testplan/default/compute/ramspeed_bm.yaml +++ b/legacy/assets/testplan/default/compute/ramspeed_bm.yaml @@ -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 +############################################################################## Scenario: benchmark: ramspeed host: machine_1, machine_2 diff --git a/legacy/assets/testplan/default/compute/ramspeed_vm.yaml b/legacy/assets/testplan/default/compute/ramspeed_vm.yaml index a6a4363f..5f7ab831 100644 --- a/legacy/assets/testplan/default/compute/ramspeed_vm.yaml +++ b/legacy/assets/testplan/default/compute/ramspeed_vm.yaml @@ -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 +############################################################################## Scenario: benchmark: ramspeed host: virtualmachine_1, virtualmachine_2 diff --git a/legacy/assets/testplan/default/compute/ssl_bm.yaml b/legacy/assets/testplan/default/compute/ssl_bm.yaml index cc5a8903..bb2ee64a 100644 --- a/legacy/assets/testplan/default/compute/ssl_bm.yaml +++ b/legacy/assets/testplan/default/compute/ssl_bm.yaml @@ -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 +############################################################################## Scenario: benchmark: ssl host: machine_1,machine_2 diff --git a/legacy/assets/testplan/default/compute/ssl_vm.yaml b/legacy/assets/testplan/default/compute/ssl_vm.yaml index 37824896..ca18393b 100644 --- a/legacy/assets/testplan/default/compute/ssl_vm.yaml +++ b/legacy/assets/testplan/default/compute/ssl_vm.yaml @@ -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 +############################################################################## Scenario: benchmark: ssl host: virtualmachine_1, virtualmachine_2 diff --git a/legacy/assets/testplan/default/compute/whetstone_bm.yaml b/legacy/assets/testplan/default/compute/whetstone_bm.yaml index 3c128b60..1d3add50 100644 --- a/legacy/assets/testplan/default/compute/whetstone_bm.yaml +++ b/legacy/assets/testplan/default/compute/whetstone_bm.yaml @@ -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 +############################################################################## Scenario: benchmark: whetstone host: machine_1, machine_2 diff --git a/legacy/assets/testplan/default/compute/whetstone_vm.yaml b/legacy/assets/testplan/default/compute/whetstone_vm.yaml index 0f1e8748..4e0e1d80 100644 --- a/legacy/assets/testplan/default/compute/whetstone_vm.yaml +++ b/legacy/assets/testplan/default/compute/whetstone_vm.yaml @@ -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 +############################################################################## Scenario: benchmark: whetstone host: virtualmachine_1, virtualmachine_1 diff --git a/legacy/assets/testplan/default/network/iperf_bm.yaml b/legacy/assets/testplan/default/network/iperf_bm.yaml index 3aa8310d..3b10a383 100644 --- a/legacy/assets/testplan/default/network/iperf_bm.yaml +++ b/legacy/assets/testplan/default/network/iperf_bm.yaml @@ -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 +############################################################################## Scenario: benchmark: iperf topology: Client and Server on different baremetal Compute nodes diff --git a/legacy/assets/testplan/default/network/iperf_vm.yaml b/legacy/assets/testplan/default/network/iperf_vm.yaml index 49bf13ad..e42dc0bb 100644 --- a/legacy/assets/testplan/default/network/iperf_vm.yaml +++ b/legacy/assets/testplan/default/network/iperf_vm.yaml @@ -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 +############################################################################## Scenario: benchmark: iperf topology: Client and Server on ONE compute diff --git a/legacy/assets/testplan/default/network/iperf_vm_2.yaml b/legacy/assets/testplan/default/network/iperf_vm_2.yaml index c5b94715..8a1d1a0d 100644 --- a/legacy/assets/testplan/default/network/iperf_vm_2.yaml +++ b/legacy/assets/testplan/default/network/iperf_vm_2.yaml @@ -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 +############################################################################## Scenario: benchmark: iperf topology: Client and Server on two different compute nodes diff --git a/legacy/assets/testplan/default/storage/fio_bm.yaml b/legacy/assets/testplan/default/storage/fio_bm.yaml index d0001ea2..d226b1af 100644 --- a/legacy/assets/testplan/default/storage/fio_bm.yaml +++ b/legacy/assets/testplan/default/storage/fio_bm.yaml @@ -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 +############################################################################## Scenario: benchmark: fio host: machine_1, machine_2 diff --git a/legacy/assets/testplan/default/storage/fio_vm.yaml b/legacy/assets/testplan/default/storage/fio_vm.yaml index 0e7f121b..b1cf3142 100644 --- a/legacy/assets/testplan/default/storage/fio_vm.yaml +++ b/legacy/assets/testplan/default/storage/fio_vm.yaml @@ -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 +############################################################################## Scenario: benchmark: fio host: virtualmachine_1, virtualmachine_2 diff --git a/legacy/config/SampleHeat.yaml b/legacy/config/SampleHeat.yaml index a42cdb79..05f4c0b5 100644 --- a/legacy/config/SampleHeat.yaml +++ b/legacy/config/SampleHeat.yaml @@ -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 +############################################################################## heat_template_version: 2015-04-30 description: > diff --git a/legacy/data/schema/test_bm_schema.yaml b/legacy/data/schema/test_bm_schema.yaml index a7c27e3f..af97da70 100644 --- a/legacy/data/schema/test_bm_schema.yaml +++ b/legacy/data/schema/test_bm_schema.yaml @@ -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 +############################################################################## type: map mapping: Scenario: diff --git a/legacy/data/schema/test_vm_schema.yaml b/legacy/data/schema/test_vm_schema.yaml index 524f8fe4..ca632e50 100644 --- a/legacy/data/schema/test_vm_schema.yaml +++ b/legacy/data/schema/test_vm_schema.yaml @@ -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 +############################################################################## type: map mapping: Scenario: diff --git a/legacy/data/test.yml b/legacy/data/test.yml index 270e86fd..d27bce3c 100644 --- a/legacy/data/test.yml +++ b/legacy/data/test.yml @@ -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 +############################################################################## - hosts: sample_group_name tasks: - name: just an uname diff --git a/legacy/data/testplan/bm_ping.yaml b/legacy/data/testplan/bm_ping.yaml index 41d696e2..39c05aad 100644 --- a/legacy/data/testplan/bm_ping.yaml +++ b/legacy/data/testplan/bm_ping.yaml @@ -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 +############################################################################## Scenario:
benchmark: dhrystone
diff --git a/legacy/data/testplan/bm_with_proxy.yaml b/legacy/data/testplan/bm_with_proxy.yaml index 1d73300b..ef9e651e 100644 --- a/legacy/data/testplan/bm_with_proxy.yaml +++ b/legacy/data/testplan/bm_with_proxy.yaml @@ -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 +############################################################################## Scenario:
benchmark: dhrystone
diff --git a/legacy/data/testplan/bm_without_proxy.yaml b/legacy/data/testplan/bm_without_proxy.yaml index a9ae3b71..8a1f3b05 100644 --- a/legacy/data/testplan/bm_without_proxy.yaml +++ b/legacy/data/testplan/bm_without_proxy.yaml @@ -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 +############################################################################## Scenario:
benchmark: dhrystone
diff --git a/legacy/data/testplan/vm.yaml b/legacy/data/testplan/vm.yaml index 4c8453ca..9ba13b30 100644 --- a/legacy/data/testplan/vm.yaml +++ b/legacy/data/testplan/vm.yaml @@ -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 +############################################################################## Scenario:
benchmark: iperf
topology: Client and Server on ONE compute
diff --git a/legacy/data/testplan/vm_error.yaml b/legacy/data/testplan/vm_error.yaml index f13d3a00..d5cd6df6 100644 --- a/legacy/data/testplan/vm_error.yaml +++ b/legacy/data/testplan/vm_error.yaml @@ -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 +############################################################################## Scenario:
topology: Client and Server on ONE compute
server : virtualmachine_1
diff --git a/legacy/docs/download/sample_config.yaml b/legacy/docs/download/sample_config.yaml index 13f6d3fe..72c16bf4 100644 --- a/legacy/docs/download/sample_config.yaml +++ b/legacy/docs/download/sample_config.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2016 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 +############################################################################## ## This is a sample Config.yaml file #Scenario would define the test case scenario. diff --git a/legacy/scripts/ref_results/compute_benchmarks_indices.py b/legacy/scripts/ref_results/compute_benchmarks_indices.py index 0b6eae36..936b58df 100644 --- a/legacy/scripts/ref_results/compute_benchmarks_indices.py +++ b/legacy/scripts/ref_results/compute_benchmarks_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 +############################################################################## from index_calculation import generic_index as get_index from index_calculation import get_reference from result_accum import result_concat as concat diff --git a/legacy/scripts/ref_results/index_calculation.py b/legacy/scripts/ref_results/index_calculation.py index 95c3c4a6..14c2d4d2 100644 --- a/legacy/scripts/ref_results/index_calculation.py +++ b/legacy/scripts/ref_results/index_calculation.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/scripts/ref_results/network_benchmarks_indices.py b/legacy/scripts/ref_results/network_benchmarks_indices.py index c19d18eb..67980ee9 100644 --- a/legacy/scripts/ref_results/network_benchmarks_indices.py +++ b/legacy/scripts/ref_results/network_benchmarks_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 +############################################################################## from index_calculation import generic_index as get_index from index_calculation import get_reference from result_accum import result_concat as concat diff --git a/legacy/scripts/ref_results/result_accum.py b/legacy/scripts/ref_results/result_accum.py index 6cd55886..6eb169e8 100644 --- a/legacy/scripts/ref_results/result_accum.py +++ b/legacy/scripts/ref_results/result_accum.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/scripts/ref_results/storage_benchmarks_indices.py b/legacy/scripts/ref_results/storage_benchmarks_indices.py index a5aef638..e87fe36b 100644 --- a/legacy/scripts/ref_results/storage_benchmarks_indices.py +++ b/legacy/scripts/ref_results/storage_benchmarks_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 +############################################################################## from index_calculation import generic_index as get_index from index_calculation import get_reference from result_accum import result_concat as concat diff --git a/legacy/tests/api/test_server.py b/legacy/tests/api/test_server.py index e9364d3d..bf316f5d 100644 --- a/legacy/tests/api/test_server.py +++ b/legacy/tests/api/test_server.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 time diff --git a/legacy/tests/cli_test.py b/legacy/tests/cli_test.py index 0f3e4158..5b7eac65 100644 --- a/legacy/tests/cli_test.py +++ b/legacy/tests/cli_test.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 pytest import mock import os diff --git a/legacy/tests/create_zones_test.py b/legacy/tests/create_zones_test.py index dcfff5ec..1aa37477 100644 --- a/legacy/tests/create_zones_test.py +++ b/legacy/tests/create_zones_test.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 pytest import mock from mock import Mock, MagicMock diff --git a/legacy/tests/driver_test.py b/legacy/tests/driver_test.py index 432ce1ae..abe8cfbb 100644 --- a/legacy/tests/driver_test.py +++ b/legacy/tests/driver_test.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 pytest import mock from qtip.utils.driver import Driver diff --git a/legacy/tests/functional/yaml_schema_test.py b/legacy/tests/functional/yaml_schema_test.py index a975dca6..3c7994a5 100644 --- a/legacy/tests/functional/yaml_schema_test.py +++ b/legacy/tests/functional/yaml_schema_test.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 os.path from pykwalify.core import Core diff --git a/legacy/tests/helper/perftest.yaml b/legacy/tests/helper/perftest.yaml index 26c58452..57948b62 100644 --- a/legacy/tests/helper/perftest.yaml +++ b/legacy/tests/helper/perftest.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 taseer94@gmail.com 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 +############################################################################## --- tests: diff --git a/legacy/tests/helper/suite.yaml b/legacy/tests/helper/suite.yaml index 718ae440..84bf9239 100644 --- a/legacy/tests/helper/suite.yaml +++ b/legacy/tests/helper/suite.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 taseer94@gmail.com 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 +############################################################################## --- tests: diff --git a/legacy/tests/helper/version.yaml b/legacy/tests/helper/version.yaml index b23f16f2..59be4256 100644 --- a/legacy/tests/helper/version.yaml +++ b/legacy/tests/helper/version.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 taseer94@gmail.com 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 +############################################################################## --- tests: diff --git a/legacy/tests/spawn_vm_test.py b/legacy/tests/spawn_vm_test.py index ba237378..ac58db27 100644 --- a/legacy/tests/spawn_vm_test.py +++ b/legacy/tests/spawn_vm_test.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 pytest import mock from mock import Mock, MagicMock 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 diff --git a/opt/infra/roles/docker/handlers/main.yml b/opt/infra/roles/docker/handlers/main.yml index 985f8d41..dddbdc6b 100644 --- a/opt/infra/roles/docker/handlers/main.yml +++ b/opt/infra/roles/docker/handlers/main.yml @@ -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 +############################################################################## --- - name: starting docker service become: true diff --git a/opt/infra/roles/docker/tasks/main.yml b/opt/infra/roles/docker/tasks/main.yml index 1cf3bea0..6cf0a6b5 100644 --- a/opt/infra/roles/docker/tasks/main.yml +++ b/opt/infra/roles/docker/tasks/main.yml @@ -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 +############################################################################## - name: adding keys become: true apt_key: keyserver=hkp://p80.pool.sks-keyservers.net id=0X58118E89F3A912897C070ADBF76221572C52609D diff --git a/opt/infra/roles/elk/tasks/main.yml b/opt/infra/roles/elk/tasks/main.yml index ed987f1a..12bc7bf6 100644 --- a/opt/infra/roles/elk/tasks/main.yml +++ b/opt/infra/roles/elk/tasks/main.yml @@ -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 +############################################################################## --- - name: pulling elasticsearch and kibana become: true diff --git a/opt/infra/roles/mongo/tasks/main.yml b/opt/infra/roles/mongo/tasks/main.yml index 81fb49b5..daa2b519 100644 --- a/opt/infra/roles/mongo/tasks/main.yml +++ b/opt/infra/roles/mongo/tasks/main.yml @@ -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 +############################################################################## --- - name: pulling mongo become: true diff --git a/opt/infra/roles/nginx/defaults/main.yml b/opt/infra/roles/nginx/defaults/main.yml index cdd1d773..9cd8a7b5 100644 --- a/opt/infra/roles/nginx/defaults/main.yml +++ b/opt/infra/roles/nginx/defaults/main.yml @@ -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 +############################################################################## --- services: - { name: kibana, upstream: 'http://127.0.0.1:5601' } diff --git a/opt/infra/roles/nginx/handlers/main.yml b/opt/infra/roles/nginx/handlers/main.yml index 35585363..8bbd88c9 100644 --- a/opt/infra/roles/nginx/handlers/main.yml +++ b/opt/infra/roles/nginx/handlers/main.yml @@ -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 +############################################################################## --- - name: restart nginx become: true diff --git a/opt/infra/roles/nginx/tasks/main.yml b/opt/infra/roles/nginx/tasks/main.yml index 5c78166c..99e5678e 100644 --- a/opt/infra/roles/nginx/tasks/main.yml +++ b/opt/infra/roles/nginx/tasks/main.yml @@ -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 +############################################################################## --- - name: nginx is installed become: true diff --git a/opt/infra/roles/qtip/tasks/main.yml b/opt/infra/roles/qtip/tasks/main.yml index b8292791..cbbde6cb 100644 --- a/opt/infra/roles/qtip/tasks/main.yml +++ b/opt/infra/roles/qtip/tasks/main.yml @@ -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 +############################################################################## --- # TODO:change the script to docker_container. - name: setting up qtip diff --git a/opt/infra/roles/testapi/tasks/main.yml b/opt/infra/roles/testapi/tasks/main.yml index 8ca91396..5ff176b6 100644 --- a/opt/infra/roles/testapi/tasks/main.yml +++ b/opt/infra/roles/testapi/tasks/main.yml @@ -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 +############################################################################## --- - name: setting up testapi become: true diff --git a/opt/infra/roles/user/defaults/main.yml b/opt/infra/roles/user/defaults/main.yml index ef496dd4..90e56b0b 100644 --- a/opt/infra/roles/user/defaults/main.yml +++ b/opt/infra/roles/user/defaults/main.yml @@ -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 +############################################################################## --- users: - { name: yujunz, comment: "Yujun Zhang <zhang.yujunz@zte.com.cn>" } diff --git a/opt/infra/roles/user/tasks/main.yml b/opt/infra/roles/user/tasks/main.yml index b1b5be9b..bb4ca141 100644 --- a/opt/infra/roles/user/tasks/main.yml +++ b/opt/infra/roles/user/tasks/main.yml @@ -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 +############################################################################## - name: add group qtip become: true group: name=qtip state=present diff --git a/opt/infra/test.yml b/opt/infra/test.yml index ee3ded13..c61faaf8 100644 --- a/opt/infra/test.yml +++ b/opt/infra/test.yml @@ -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 +############################################################################## --- - hosts: testing roles: diff --git a/tests/data/benchmarks/QPI/compute.yaml b/tests/data/benchmarks/QPI/compute.yaml index e28efaf9..78a2d324 100644 --- a/tests/data/benchmarks/QPI/compute.yaml +++ b/tests/data/benchmarks/QPI/compute.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2016 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 +############################################################################## title: compute description: sample performance index of computing formula: weighted arithmetic mean diff --git a/tests/data/benchmarks/QPI/fake_qpi.yaml b/tests/data/benchmarks/QPI/fake_qpi.yaml index aa1097f4..4b34a495 100644 --- a/tests/data/benchmarks/QPI/fake_qpi.yaml +++ b/tests/data/benchmarks/QPI/fake_qpi.yaml @@ -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 +############################################################################## name: Fake QPI description: a fake QPI producing random result formula: weighted arithmetic mean diff --git a/tests/data/benchmarks/metric/dhrystone.yaml b/tests/data/benchmarks/metric/dhrystone.yaml index 220b7841..e4d26248 100644 --- a/tests/data/benchmarks/metric/dhrystone.yaml +++ b/tests/data/benchmarks/metric/dhrystone.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2016 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 +############################################################################## name: dhrystone description: > A synthetic computing benchmark program intended to be representative of diff --git a/tests/data/benchmarks/metric/dpi.yaml b/tests/data/benchmarks/metric/dpi.yaml index fc24c8d1..c90075d2 100644 --- a/tests/data/benchmarks/metric/dpi.yaml +++ b/tests/data/benchmarks/metric/dpi.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2016 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 +############################################################################## name: dpi description: deep packet inspection workloads: diff --git a/tests/data/benchmarks/metric/fake-metric.yaml b/tests/data/benchmarks/metric/fake-metric.yaml index c5fcc5c2..dd2875d7 100644 --- a/tests/data/benchmarks/metric/fake-metric.yaml +++ b/tests/data/benchmarks/metric/fake-metric.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2016 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 +############################################################################## name: fake compute description: > a fake compute performance index which generate random result diff --git a/tests/data/benchmarks/metric/ramspeed.yaml b/tests/data/benchmarks/metric/ramspeed.yaml index bb7618b7..e2e2b98f 100644 --- a/tests/data/benchmarks/metric/ramspeed.yaml +++ b/tests/data/benchmarks/metric/ramspeed.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2016 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 +############################################################################## name: ramspeed description: a memory performance benchmarking workloads: diff --git a/tests/data/benchmarks/metric/ssl.yaml b/tests/data/benchmarks/metric/ssl.yaml index 21e8add7..2b01dccd 100644 --- a/tests/data/benchmarks/metric/ssl.yaml +++ b/tests/data/benchmarks/metric/ssl.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2016 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 +############################################################################## name: ssl description: a Secure Sockets Layer performance benchmarking workloads: diff --git a/tests/data/benchmarks/metric/whetstone.yaml b/tests/data/benchmarks/metric/whetstone.yaml index 448c9645..625ea87f 100644 --- a/tests/data/benchmarks/metric/whetstone.yaml +++ b/tests/data/benchmarks/metric/whetstone.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2016 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 +############################################################################## name: whetstone description: > A synthetic benchmark for evaluating the performance of computers. diff --git a/tests/data/benchmarks/plan/doctor.yaml b/tests/data/benchmarks/plan/doctor.yaml index f8dcf08d..af995dac 100644 --- a/tests/data/benchmarks/plan/doctor.yaml +++ b/tests/data/benchmarks/plan/doctor.yaml @@ -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 +############################################################################## name: doctor performance profiling description: create performance profile for OPNFV doctor notification time info: diff --git a/tests/data/yaml/invalid.yaml b/tests/data/yaml/invalid.yaml index 22e31ed1..57dc7a33 100644 --- a/tests/data/yaml/invalid.yaml +++ b/tests/data/yaml/invalid.yaml @@ -1 +1,9 @@ +############################################################################## +# 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 +############################################################################## invalid - yaml
\ No newline at end of file diff --git a/tests/data/yaml/with_name.yaml b/tests/data/yaml/with_name.yaml index 25f7f83d..0cb4fd95 100644 --- a/tests/data/yaml/with_name.yaml +++ b/tests/data/yaml/with_name.yaml @@ -1 +1,9 @@ +############################################################################## +# 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 +############################################################################## name: name in content
\ No newline at end of file diff --git a/tests/data/yaml/without_name.yaml b/tests/data/yaml/without_name.yaml index bd234bd4..cbc4a1e9 100644 --- a/tests/data/yaml/without_name.yaml +++ b/tests/data/yaml/without_name.yaml @@ -1 +1,9 @@ +############################################################################## +# 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 +############################################################################## no_name: yaml file without name
\ No newline at end of file |