summaryrefslogtreecommitdiffstats
path: root/testsuites/posca/testcase_cfg
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/posca/testcase_cfg')
-rw-r--r--testsuites/posca/testcase_cfg/posca_factor_system_bandwidth.yaml34
-rw-r--r--testsuites/posca/testcase_cfg/posca_factor_vnf_scale_up.yaml29
2 files changed, 48 insertions, 15 deletions
diff --git a/testsuites/posca/testcase_cfg/posca_factor_system_bandwidth.yaml b/testsuites/posca/testcase_cfg/posca_factor_system_bandwidth.yaml
index de2966b7..04115eda 100644
--- a/testsuites/posca/testcase_cfg/posca_factor_system_bandwidth.yaml
+++ b/testsuites/posca/testcase_cfg/posca_factor_system_bandwidth.yaml
@@ -7,18 +7,22 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-test_config:
- tool: netperf
- protocol: tcp
- test_time: 20
- tx_pkt_sizes: 64, 256, 1024, 4096, 8192, 16384, 32768, 65536
- rx_pkt_sizes: 64, 256, 1024, 4096, 8192, 16384, 32768, 65536
- cpu_load: 0.9
- latency: 100000
-runner_config:
- dashboard: "y"
- dashboard_ip:
- stack_create: yardstick
- yardstick_test_ip:
- yardstick_test_dir: "samples"
- yardstick_testcase: "netperf_bottlenecks"
+load_manager:
+ scenarios:
+ tool: netperf
+ test_times: 20
+ tx_pkt_sizes: 64, 256, 1024, 4096, 8192, 16384, 32768, 65536
+ rx_pkt_sizes: 64, 256, 1024, 4096, 8192, 16384, 32768, 65536
+ cpu_load: 0.9
+ latency: 100000
+
+ runners:
+ stack_create: yardstick
+ flavor:
+ yardstick_test_dir: "samples"
+ yardstick_testcase: "netperf_bottlenecks"
+
+contexts:
+ dashboard: "Bottlenecks-ELK"
+ yardstick: "Bottlenecks-Yardstick"
+ yardstick_envpre: Flase \ No newline at end of file
diff --git a/testsuites/posca/testcase_cfg/posca_factor_vnf_scale_up.yaml b/testsuites/posca/testcase_cfg/posca_factor_vnf_scale_up.yaml
new file mode 100644
index 00000000..4fd200a5
--- /dev/null
+++ b/testsuites/posca/testcase_cfg/posca_factor_vnf_scale_up.yaml
@@ -0,0 +1,29 @@
+##############################################################################
+# 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:
+ scale_up_values:
+ cpus_min: 8
+ cpus_max: 80
+ cpus_incr: 2
+ mem_min: 8
+ mem_max: 128
+ mem_incr: 2
+ mem_unit: 1024
+ # optionally allow for static list of CPU, MEM values
+# scale_up_values_list:
+# - [8, 8192]
+# - [10, 10240]
+runner_config:
+ dashboard: "y"
+ dashboard_ip:
+ stack_create: yardstick
+ yardstick_test_ip:
+ yardstick_test_dir: "samples/vnf_samples/nsut/acl"
+ yardstick_testcase: "tc_heat_rfc2544_ipv4_1rule_1flow_64B_packetsize_scale_up.yaml"