summaryrefslogtreecommitdiffstats
path: root/testsuites/posca
diff options
context:
space:
mode:
authoryuyang <Gabriel.yuyang@huawei.com>2017-02-20 11:28:17 +0800
committeryuyang <Gabriel.yuyang@huawei.com>2017-03-09 19:54:56 +0800
commitc5162f01bb54eab6b3c4056074e28e0080dc4d08 (patch)
tree62c3c6b08fd54e25deb22949a009bc7ce3ac9612 /testsuites/posca
parent5938133db9d2a4a8796c45eeeeef2c74da3ddeba (diff)
Add liscense to file headers
JIRA: BOTTLENECK-133 Some Yaml, XML and __init__.py file do not have liscense headers. This patch is to add headers to those files or delete those are deprecated. Change-Id: Ie059b1f1879eb420eec171f96985247510c74642 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'testsuites/posca')
-rw-r--r--testsuites/posca/__init__.py8
-rw-r--r--testsuites/posca/testcase_cfg/__init__.py9
-rw-r--r--testsuites/posca/testcase_cfg/posca_factor_cpu_burden.yaml9
-rw-r--r--testsuites/posca/testcase_cfg/posca_factor_rx_cache_size.yaml9
-rw-r--r--testsuites/posca/testcase_cfg/posca_factor_rx_pkt_size.yaml9
-rw-r--r--[-rwxr-xr-x]testsuites/posca/testcase_cfg/posca_factor_system_bandwidth.yaml9
-rw-r--r--testsuites/posca/testcase_cfg/posca_factor_tx_cache_size.yaml9
-rw-r--r--testsuites/posca/testcase_cfg/posca_factor_tx_pkt_size.yaml9
-rw-r--r--testsuites/posca/testcase_cfg/posca_stress_ping.yaml9
-rw-r--r--testsuites/posca/testcase_script/__init__.py8
-rw-r--r--testsuites/posca/testsuite_story/__init__.py9
11 files changed, 63 insertions, 34 deletions
diff --git a/testsuites/posca/__init__.py b/testsuites/posca/__init__.py
index b124dfa9..e69de29b 100644
--- a/testsuites/posca/__init__.py
+++ b/testsuites/posca/__init__.py
@@ -1,8 +0,0 @@
-##############################################################################
-# Copyright (c) 2017 Huawei Technologies Co.,Ltd 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/testsuites/posca/testcase_cfg/__init__.py b/testsuites/posca/testcase_cfg/__init__.py
index efcda782..e69de29b 100644
--- a/testsuites/posca/testcase_cfg/__init__.py
+++ b/testsuites/posca/testcase_cfg/__init__.py
@@ -1,9 +0,0 @@
-##############################################################################
-# Copyright (c) 2017 Huawei Technologies Co.,Ltd 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/testsuites/posca/testcase_cfg/posca_factor_cpu_burden.yaml b/testsuites/posca/testcase_cfg/posca_factor_cpu_burden.yaml
index fb4dcba9..5b97b9e1 100644
--- a/testsuites/posca/testcase_cfg/posca_factor_cpu_burden.yaml
+++ b/testsuites/posca/testcase_cfg/posca_factor_cpu_burden.yaml
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD 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
+##############################################################################
+
[config]
test_ip:
dashboard: y
diff --git a/testsuites/posca/testcase_cfg/posca_factor_rx_cache_size.yaml b/testsuites/posca/testcase_cfg/posca_factor_rx_cache_size.yaml
index 2dfb1fe8..0cee6859 100644
--- a/testsuites/posca/testcase_cfg/posca_factor_rx_cache_size.yaml
+++ b/testsuites/posca/testcase_cfg/posca_factor_rx_cache_size.yaml
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD 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
+##############################################################################
+
[config]
test_ip: 192.168.23.2:8888
throughput: 1000
diff --git a/testsuites/posca/testcase_cfg/posca_factor_rx_pkt_size.yaml b/testsuites/posca/testcase_cfg/posca_factor_rx_pkt_size.yaml
index 86068b8a..b94aa710 100644
--- a/testsuites/posca/testcase_cfg/posca_factor_rx_pkt_size.yaml
+++ b/testsuites/posca/testcase_cfg/posca_factor_rx_pkt_size.yaml
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD 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
+##############################################################################
+
[config]
test_ip: 192.168.23.2:8888
throughput: 1000
diff --git a/testsuites/posca/testcase_cfg/posca_factor_system_bandwidth.yaml b/testsuites/posca/testcase_cfg/posca_factor_system_bandwidth.yaml
index dcea7275..de2966b7 100755..100644
--- a/testsuites/posca/testcase_cfg/posca_factor_system_bandwidth.yaml
+++ b/testsuites/posca/testcase_cfg/posca_factor_system_bandwidth.yaml
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD 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
+##############################################################################
+
test_config:
tool: netperf
protocol: tcp
diff --git a/testsuites/posca/testcase_cfg/posca_factor_tx_cache_size.yaml b/testsuites/posca/testcase_cfg/posca_factor_tx_cache_size.yaml
index f2379bcc..9b69c105 100644
--- a/testsuites/posca/testcase_cfg/posca_factor_tx_cache_size.yaml
+++ b/testsuites/posca/testcase_cfg/posca_factor_tx_cache_size.yaml
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD 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
+##############################################################################
+
[config]
test_ip: 192.168.23.2:8888
throughput: 1000
diff --git a/testsuites/posca/testcase_cfg/posca_factor_tx_pkt_size.yaml b/testsuites/posca/testcase_cfg/posca_factor_tx_pkt_size.yaml
index dcceee02..06b07796 100644
--- a/testsuites/posca/testcase_cfg/posca_factor_tx_pkt_size.yaml
+++ b/testsuites/posca/testcase_cfg/posca_factor_tx_pkt_size.yaml
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD 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
+##############################################################################
+
[config]
test_ip: 192.168.23.2:8888
throughput: 1000
diff --git a/testsuites/posca/testcase_cfg/posca_stress_ping.yaml b/testsuites/posca/testcase_cfg/posca_stress_ping.yaml
index 75eba97d..7e6bf027 100644
--- a/testsuites/posca/testcase_cfg/posca_stress_ping.yaml
+++ b/testsuites/posca/testcase_cfg/posca_stress_ping.yaml
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD 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
+##############################################################################
+
# Sample stress task config file
# Three scenarios run in parallel pinging one target vm.
# Multiple context are used to specify the host and target VMs.
diff --git a/testsuites/posca/testcase_script/__init__.py b/testsuites/posca/testcase_script/__init__.py
index 83b8d15d..e69de29b 100644
--- a/testsuites/posca/testcase_script/__init__.py
+++ b/testsuites/posca/testcase_script/__init__.py
@@ -1,8 +0,0 @@
-##############################################################################
-# Copyright (c) 2015 Huawei Technologies Co.,Ltd 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/testsuites/posca/testsuite_story/__init__.py b/testsuites/posca/testsuite_story/__init__.py
index efcda782..e69de29b 100644
--- a/testsuites/posca/testsuite_story/__init__.py
+++ b/testsuites/posca/testsuite_story/__init__.py
@@ -1,9 +0,0 @@
-##############################################################################
-# Copyright (c) 2017 Huawei Technologies Co.,Ltd 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
-##############################################################################
-