diff options
Diffstat (limited to 'samples')
53 files changed, 498 insertions, 0 deletions
diff --git a/samples/background-task.yaml b/samples/background-task.yaml index 11cfdd567..397d75e94 100644 --- a/samples/background-task.yaml +++ b/samples/background-task.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 Ericsson AB 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 benchmark task config file # Demonstrate use of background scenarios diff --git a/samples/cachestat.yaml b/samples/cachestat.yaml index d736793e3..2dc621be3 100644 --- a/samples/cachestat.yaml +++ b/samples/cachestat.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # Reading cache hit/miss ratio and usage statistics diff --git a/samples/computecapacity.yaml b/samples/computecapacity.yaml index ae527d2ca..bf6a2ade7 100644 --- a/samples/computecapacity.yaml +++ b/samples/computecapacity.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # compute capacity and scale. diff --git a/samples/cpuload.yaml b/samples/cpuload.yaml index 21d068205..0097f88ed 100644 --- a/samples/cpuload.yaml +++ b/samples/cpuload.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 Ericsson AB 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 benchmark task config file # Reading processor load/statistics diff --git a/samples/cyclictest-node-context.yaml b/samples/cyclictest-node-context.yaml index d74d1e5e3..6f161a5e8 100644 --- a/samples/cyclictest-node-context.yaml +++ b/samples/cyclictest-node-context.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # Measure system high resolution by using Cyclictest diff --git a/samples/cyclictest.yaml b/samples/cyclictest.yaml index eaf74893e..20cdab2ee 100644 --- a/samples/cyclictest.yaml +++ b/samples/cyclictest.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # Measure system high resolution by using Cyclictest diff --git a/samples/dummy-no-context.yaml b/samples/dummy-no-context.yaml index 5ab97a3a8..7667e5a16 100644 --- a/samples/dummy-no-context.yaml +++ b/samples/dummy-no-context.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file diff --git a/samples/dummy.yaml b/samples/dummy.yaml index e41ab9fba..fde2907cd 100644 --- a/samples/dummy.yaml +++ b/samples/dummy.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file diff --git a/samples/fio-template.yaml b/samples/fio-template.yaml index 00c35ce23..2ac40306f 100644 --- a/samples/fio-template.yaml +++ b/samples/fio-template.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # measure storage performance using fio diff --git a/samples/fio.yaml b/samples/fio.yaml index 5ccbc1954..b6e5a282f 100644 --- a/samples/fio.yaml +++ b/samples/fio.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # measure storage performance using fio diff --git a/samples/ha-baremetal.yaml b/samples/ha-baremetal.yaml index 9f9baf50c..5ff0378ca 100755 --- a/samples/ha-baremetal.yaml +++ b/samples/ha-baremetal.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 test case for ha diff --git a/samples/ha-service.yaml b/samples/ha-service.yaml index e624f531e..ee7c8f4ba 100755 --- a/samples/ha-service.yaml +++ b/samples/ha-service.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 test case for ha diff --git a/samples/iperf3-jitter.yaml b/samples/iperf3-jitter.yaml index 366a57152..e3e4c9c9a 100644 --- a/samples/iperf3-jitter.yaml +++ b/samples/iperf3-jitter.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # measure packet delay variation (jitter) using iperf3 diff --git a/samples/iperf3.yaml b/samples/iperf3.yaml index 6741c767e..c3ae625c2 100644 --- a/samples/iperf3.yaml +++ b/samples/iperf3.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 Ericsson AB 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 benchmark task config file # measure network throughput using iperf3 diff --git a/samples/lmbench.yaml b/samples/lmbench.yaml index 595a393b7..ea2966b24 100644 --- a/samples/lmbench.yaml +++ b/samples/lmbench.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 kristian.hunt@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 +############################################################################## --- # Sample benchmark task config file # measure memory read latency and memory bandwidth using lmbench diff --git a/samples/lmbench_cache.yaml b/samples/lmbench_cache.yaml index bf5086b3c..9dc58e94d 100644 --- a/samples/lmbench_cache.yaml +++ b/samples/lmbench_cache.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # measure memory cache latency using lmbench diff --git a/samples/memload.yaml b/samples/memload.yaml index 5e988986a..bbc46da8d 100644 --- a/samples/memload.yaml +++ b/samples/memload.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # Reading memory load/statistics diff --git a/samples/netperf.yaml b/samples/netperf.yaml index 0dd56348b..a3df3f4d3 100755 --- a/samples/netperf.yaml +++ b/samples/netperf.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # measure network latency and throughput using netperf diff --git a/samples/netperf_bottlenecks.yaml b/samples/netperf_bottlenecks.yaml index 4b6348109..c20fe62d5 100644 --- a/samples/netperf_bottlenecks.yaml +++ b/samples/netperf_bottlenecks.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 +############################################################################## --- # measure network latency and throughput using netperf # This test case is suite for bottlenecks project. diff --git a/samples/netperf_node.yaml b/samples/netperf_node.yaml index d59bbf235..400400e2b 100755 --- a/samples/netperf_node.yaml +++ b/samples/netperf_node.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # measure network latency and throughput using netperf diff --git a/samples/netutilization.yaml b/samples/netutilization.yaml index 794342d29..dd867eb89 100644 --- a/samples/netutilization.yaml +++ b/samples/netutilization.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # Reading network interface utilization statistics diff --git a/samples/networkcapacity.yaml b/samples/networkcapacity.yaml index 7c62cc2b5..1432d3a2d 100644 --- a/samples/networkcapacity.yaml +++ b/samples/networkcapacity.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # Measure compute capacity and scale. diff --git a/samples/nstat.yaml b/samples/nstat.yaml new file mode 100644 index 000000000..0a5aa80c9 --- /dev/null +++ b/samples/nstat.yaml @@ -0,0 +1,35 @@ +--- + +schema: "yardstick:task:0.1" + +description: > + Sample benchmark task config file; + Monitor network metrics provided by the kernel in a host and calculate + IP datagram error rate, ICMP message error rate, TCP segment error rate and + UDP datagram error rate. + +scenarios: +- + type: Nstat + options: + duration: 60 + + host: poseidon.demo + + runner: + type: Iteration + iterations: 1 + +context: + name: demo + image: yardstick-image + flavor: yardstick-flavor + user: ubuntu + + servers: + poseidon: + floating_ip: true + + networks: + test: + cidr: '10.0.1.0/24' diff --git a/samples/parser.yaml b/samples/parser.yaml index 32d9abed1..e2e4b66ce 100644 --- a/samples/parser.yaml +++ b/samples/parser.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 task config file # running Parser Yang-to-Tosca module as a tool diff --git a/samples/perf.yaml b/samples/perf.yaml index b8979b511..96ca0d413 100644 --- a/samples/perf.yaml +++ b/samples/perf.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 kristian.hunt@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 +############################################################################## --- # Sample benchmark task config file # use perf to perform Linux performance measurements diff --git a/samples/ping-ext-ip.yaml b/samples/ping-ext-ip.yaml index 3ce71e8a7..86cb799cd 100644 --- a/samples/ping-ext-ip.yaml +++ b/samples/ping-ext-ip.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 Ericsson AB 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 benchmark task config file # Measure network latency using ping, destination is an external server diff --git a/samples/ping-ext-stimuli.yaml b/samples/ping-ext-stimuli.yaml index d7efe063f..5de528198 100644 --- a/samples/ping-ext-stimuli.yaml +++ b/samples/ping-ext-stimuli.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 Ericsson AB 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 benchmark task config file # Measure network latency using ping, destination is an external server diff --git a/samples/ping-heat-context.yaml b/samples/ping-heat-context.yaml index 913912e50..dd22d58a7 100644 --- a/samples/ping-heat-context.yaml +++ b/samples/ping-heat-context.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # measure network latency using ping diff --git a/samples/ping-hot.yaml b/samples/ping-hot.yaml index 1619a561f..418251809 100644 --- a/samples/ping-hot.yaml +++ b/samples/ping-hot.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 Ericsson AB 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 benchmark task config file to measure network latency using ping # An external HOT template (file) is configured in the context section using diff --git a/samples/ping-iteration.yaml b/samples/ping-iteration.yaml index d399b399a..dea2396cf 100755 --- a/samples/ping-iteration.yaml +++ b/samples/ping-iteration.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # measure network latency using ping diff --git a/samples/ping-multiple-context.yaml b/samples/ping-multiple-context.yaml index 71b7994ff..557b384f2 100644 --- a/samples/ping-multiple-context.yaml +++ b/samples/ping-multiple-context.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 Ericsson AB 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 benchmark task config file to measure network latency using ping # Client/server parts are located in different contexts(stacks) diff --git a/samples/ping-multiple-vm.yaml b/samples/ping-multiple-vm.yaml index e8ebf495e..993c82f49 100644 --- a/samples/ping-multiple-vm.yaml +++ b/samples/ping-multiple-vm.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file measure network latency using ping # between mutiple virtual machines diff --git a/samples/ping-node-context.yaml b/samples/ping-node-context.yaml index f9c642e66..15a07ee50 100644 --- a/samples/ping-node-context.yaml +++ b/samples/ping-node-context.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # measure network latency using ping diff --git a/samples/ping-option-list.yaml b/samples/ping-option-list.yaml index 1c31677ac..fa81fdac2 100644 --- a/samples/ping-option-list.yaml +++ b/samples/ping-option-list.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 kristian.hunt@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 +############################################################################## --- # Sample benchmark task config file # A list of input values for a chosen parameter using Sequence runner diff --git a/samples/ping-parallel.yaml b/samples/ping-parallel.yaml index 5761543b4..0da57ec19 100644 --- a/samples/ping-parallel.yaml +++ b/samples/ping-parallel.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 Ericsson AB 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 benchmark task config file # Two scenarios run in parallel using different type of runners diff --git a/samples/ping-serial.yaml b/samples/ping-serial.yaml index 59653db34..ab06167c7 100644 --- a/samples/ping-serial.yaml +++ b/samples/ping-serial.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 Ericsson AB 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 benchmark task config file # Two scenarios run serially using different types of runners diff --git a/samples/ping-template.yaml b/samples/ping-template.yaml index 825dde285..fabee07bd 100644 --- a/samples/ping-template.yaml +++ b/samples/ping-template.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # measure network latency using ping diff --git a/samples/ping.yaml b/samples/ping.yaml index 5e922ea56..b95c135eb 100644 --- a/samples/ping.yaml +++ b/samples/ping.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 Ericsson AB 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 benchmark task config file # measure network latency using ping diff --git a/samples/ping6.yaml b/samples/ping6.yaml index 2fb99dfb4..bc7cb27a2 100644 --- a/samples/ping6.yaml +++ b/samples/ping6.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 test case for ipv6 diff --git a/samples/ping6_odl.yaml b/samples/ping6_odl.yaml index cfb556e51..d66353054 100644 --- a/samples/ping6_odl.yaml +++ b/samples/ping6_odl.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 test case for ipv6 diff --git a/samples/ping_bottlenecks.yaml b/samples/ping_bottlenecks.yaml new file mode 100644 index 000000000..910bcff73 --- /dev/null +++ b/samples/ping_bottlenecks.yaml @@ -0,0 +1,55 @@ +############################################################################## +# 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 +############################################################################## + +--- + +schema: "yardstick:task:0.1" +description: > + bottlenecks stress test config file; + measure VMs latency using ping; +run_in_parallel: true +{% set stack_num = stack_num or 1 %} + +scenarios: +{% for num in range(stack_num) %} +- + type: Ping + options: + packetsize: 100 + host: demo1.demo{{num}} + target: demo2.demo{{num}} + runner: + type: Duration + duration: 60 + interval: 1 +{% endfor %} + +contexts: +{% for num in range(stack_num) %} +- + name: demo{{num}} + image: cirros-0.3.3 + flavor: yardstick-flavor + user: cirros + + placement_groups: + pgrp1: + policy: "availability" + + servers: + demo1: + floating_ip: true + placement: "pgrp1" + demo2: + placement: "pgrp1" + + networks: + test: + cidr: '10.0.1.0/24' +{% endfor %} diff --git a/samples/ping_load.yaml b/samples/ping_load.yaml index 370916822..805ae8f27 100644 --- a/samples/ping_load.yaml +++ b/samples/ping_load.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # Three scenarios run in parallel pinging one target vm. diff --git a/samples/pktgen.yaml b/samples/pktgen.yaml index 6acb8ab92..13464a84d 100644 --- a/samples/pktgen.yaml +++ b/samples/pktgen.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 Ericsson AB 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 benchmark task config file # measure network throughput using pktgen diff --git a/samples/plugintest.yaml b/samples/plugintest.yaml index dc3b29d63..684547853 100644 --- a/samples/plugintest.yaml +++ b/samples/plugintest.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # Used for testing sample plugin diff --git a/samples/ramspeed.yaml b/samples/ramspeed.yaml index e754fc9fa..2b48b95e3 100644 --- a/samples/ramspeed.yaml +++ b/samples/ramspeed.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # measure cache and memory bandwidth using Ramspeed diff --git a/samples/serviceha.yaml b/samples/serviceha.yaml index e624f531e..ee7c8f4ba 100755 --- a/samples/serviceha.yaml +++ b/samples/serviceha.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 test case for ha diff --git a/samples/sfc.yaml b/samples/sfc.yaml index 07c59cbc2..8b1e89ffc 100644 --- a/samples/sfc.yaml +++ b/samples/sfc.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 Ericsson AB 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 +############################################################################## #SFC test case using Tacker as Orchestrator and Netvirt as classifier schema: "yardstick:task:0.1" diff --git a/samples/storagecapacity.yaml b/samples/storagecapacity.yaml index e3b282d14..f05061133 100644 --- a/samples/storagecapacity.yaml +++ b/samples/storagecapacity.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # Measure storage capacity and scale. diff --git a/samples/storperf.yaml b/samples/storperf.yaml index 815ef0d97..5848512ed 100644 --- a/samples/storperf.yaml +++ b/samples/storperf.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 StorPerf benchmark task config file # StorPerf is a tool to measure block and object storage performance in an NFVI diff --git a/samples/test_suite.yaml b/samples/test_suite.yaml index 1cb6d3ea0..9a766b06a 100644 --- a/samples/test_suite.yaml +++ b/samples/test_suite.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 kristian.hunt@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 +############################################################################## --- # Sample test suite file # Test cases listed in the suite file should be in the tests/opnfv/test_cases directory diff --git a/samples/tosca.yaml b/samples/tosca.yaml index 21c789133..6b918ac66 100644 --- a/samples/tosca.yaml +++ b/samples/tosca.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 +############################################################################## tosca_definitions_version:tosca_simple_yaml_1_0_0 description: This module defines a VNF Deployment Unit. diff --git a/samples/unixbench.yaml b/samples/unixbench.yaml index b7ab88190..71aa7b75d 100644 --- a/samples/unixbench.yaml +++ b/samples/unixbench.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 benchmark task config file # measure CPU performance diff --git a/samples/yang.yaml b/samples/yang.yaml index 86b7b2f31..3b1ce27dd 100644 --- a/samples/yang.yaml +++ b/samples/yang.yaml @@ -1,3 +1,11 @@ +############################################################################## +# 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 +############################################################################## module clearwater { namespace "http://localhost/ietf-inet-types.yang"; |