Add testcase tc0075 and mofify testcsuite 03/18503/2
authorrexlee8776 <limingjiang@huawei.com>
Fri, 12 Aug 2016 05:58:37 +0000 (05:58 +0000)
committerrexlee8776 <limingjiang@huawei.com>
Mon, 15 Aug 2016 01:53:44 +0000 (01:53 +0000)
Change-Id: Icbe2815c0fd0890c579d49a4180854ceb7487ecf
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
20 files changed:
docs/userguide/opnfv_yardstick_tc075.rst [new file with mode: 0644]
tests/opnfv/test_cases/opnfv_yardstick_tc075.yaml [new file with mode: 0644]
tests/opnfv/test_suites/opnfv_os-nosdn-kvm-ha_daily.yaml
tests/opnfv/test_suites/opnfv_os-nosdn-kvm_ovs-ha_daily.yaml
tests/opnfv/test_suites/opnfv_os-nosdn-lxd-ha_daily.yaml
tests/opnfv/test_suites/opnfv_os-nosdn-lxd-noha_daily.yaml
tests/opnfv/test_suites/opnfv_os-nosdn-nofeature-ha_daily.yaml
tests/opnfv/test_suites/opnfv_os-nosdn-nofeature-noha_daily.yaml
tests/opnfv/test_suites/opnfv_os-nosdn-ovs-ha_daily.yaml
tests/opnfv/test_suites/opnfv_os-ocl-nofeature-ha_daily.yaml
tests/opnfv/test_suites/opnfv_os-ocl-nofeature-noha_daily.yaml
tests/opnfv/test_suites/opnfv_os-odl_l2-bgpvpn-ha_daily.yaml
tests/opnfv/test_suites/opnfv_os-odl_l2-nofeature-ha_daily.yaml
tests/opnfv/test_suites/opnfv_os-odl_l2-nofeature-noha_daily.yaml
tests/opnfv/test_suites/opnfv_os-odl_l2-sfc-ha_daily.yaml
tests/opnfv/test_suites/opnfv_os-odl_l2-sfc-noha_daily.yaml
tests/opnfv/test_suites/opnfv_os-odl_l3-nofeature-ha_daily.yaml
tests/opnfv/test_suites/opnfv_os-onos-nofeature-ha_daily.yaml
tests/opnfv/test_suites/opnfv_os-onos-nofeature-noha_daily.yaml
tests/opnfv/test_suites/opnfv_os-onos-sfc-ha_daily.yaml

diff --git a/docs/userguide/opnfv_yardstick_tc075.rst b/docs/userguide/opnfv_yardstick_tc075.rst
new file mode 100644 (file)
index 0000000..cbc3c2e
--- /dev/null
@@ -0,0 +1,64 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International
+.. License.
+.. http://creativecommons.org/licenses/by/4.0
+.. (c) OPNFV, Huawei Technologies Co.,Ltd and others.
+
+*************************************
+Yardstick Test Case Description TC075
+*************************************
+
+
++-----------------------------------------------------------------------------+
+|Network Capacity and Scale Testing                                                                                      |
+|                                                                             |
++--------------+--------------------------------------------------------------+
+|test case id  | OPNFV_YARDSTICK_TC075_Network_Capacity_and_Scale_testing     |
+|              |                                                                                                                         |
++--------------+--------------------------------------------------------------+
+|metric        | Number of connections, Number of frames sent/received        |
+|              |                                                              |
++--------------+--------------------------------------------------------------+
+|test purpose  | To evaluate the network capacity and scale with regards to   | 
+|              | connections and frmaes.                                                                         | 
+|              |                                                              |
+|              |                                                              |
++--------------+--------------------------------------------------------------+
+|configuration | file: opnfv_yardstick_tc075.yaml                             |
+|              |                                                              |
+|              | There is no additional configuration to be set for this TC.  | 
+|              |                                                              |
+|              |                                                              |
++--------------+--------------------------------------------------------------+
+|test tool     | netstar                                                      |
+|              |                                                              |
+|              | Netstat is normally part of any Linux distribution, hence it | 
+|              | doesn't need to be installed.                                | 
+|              |                                                              |
+|              |                                                              |
++--------------+--------------------------------------------------------------+
+|references    | Netstat man page                                             |
+|              |                                                              |
+|              | ETSI-NFV-TST001                                              |
+|              |                                                              |
++--------------+--------------------------------------------------------------+
+|applicability | This test case is mainly for evaluating network performance. | 
+|              |                                                              |
+|              |                                                              |
++--------------+--------------------------------------------------------------+
+|pre_test      | Each pod node must have netstat included in it.              |
+|conditions    |                                                              |
+|              |                                                              |
++--------------+--------------------------------------------------------------+
+|test sequence | description and expected result                              |
+|              |                                                              |
++--------------+--------------------------------------------------------------+
+|step 1        | The pod is available.                                        |
+|              | Netstat is invoked and logs are produced and stored.         |
+|              |                                                              |
+|              | Result: Logs are stored.                                     |
+|              |                                                              |
++--------------+--------------------------------------------------------------+
+|test verdict  | None. Number of connections and frames are fetched and       | 
+|              | stored.                                                      |
+|              |                                                              |
++--------------+--------------------------------------------------------------+
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc075.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc075.yaml
new file mode 100644 (file)
index 0000000..d4a978c
--- /dev/null
@@ -0,0 +1,23 @@
+---
+# Yardstick TC075 config file
+# Measure compute capacity and scale.
+# Including number of cores, number of threads, available memory size and
+# cache size.
+
+schema: "yardstick:task:0.1"
+{% set host = host or "node1.LF" %}
+{% set pod_info = pod_info or "etc/yardstick/nodes/compass_sclab_virtual/pod.yaml" %}
+
+scenarios:
+-
+  type: NetworkCapacity
+  host: {{host}}
+
+  runner:
+    type: Iteration
+    iterations: 1
+
+context:
+  type: Node
+  name: LF
+  file: {{pod_info}}
index 331cb10..eb1226f 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index 8a840a9..27accf4 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index 5a15815..cbb2069 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index 4a0cb9b..cbbf8c1 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index f53ef09..024fb69 100644 (file)
@@ -103,3 +103,11 @@ test_cases:
     task_args:
         huawei-pod1: '{"public_network": "ext-net",
         "StorPerf_ip": "192.168.200.2"}'
+-
+       file_name: opnfv_yardstick_tc075.yaml
+    constraint:
+        installer: compass
+        pod: huawei-pod1
+    task_args:
+        huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+        "host": "node1.LF"}'
index 78cd558..567e8bf 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index cac5bfc..6cf5b38 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index d289cb4..7106a13 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index 691c146..42781a8 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index dc823b3..639e18e 100644 (file)
@@ -36,3 +36,11 @@ test_cases:
   task_args:
       huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
       "host": "node5.yardstick-TC063"}'
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index f1845ca..1de157a 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index e7e1681..1661e08 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index dbdd63d..9e0e418 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index c575298..1ebd732 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index c5dcf95..4bcf81b 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index ba90761..48718ab 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index 0a3bc14..0e9ff81 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'
index 8933846..bfb02cf 100644 (file)
@@ -44,3 +44,11 @@ test_cases:
   file_name: opnfv_yardstick_tc071.yaml
 -
   file_name: opnfv_yardstick_tc072.yaml
+-
+  file_name: opnfv_yardstick_tc075.yaml
+  constraint:
+      installer: compass
+      pod: huawei-pod1
+  task_args:
+      huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+      "host": "node1.LF"}'