diff options
Diffstat (limited to 'samples')
-rw-r--r-- | samples/netperf_bottlenecks.yaml | 43 | ||||
-rw-r--r-- | samples/ping-ext-ip.yaml | 2 | ||||
-rw-r--r-- | samples/ping-ext-stimuli.yaml | 2 | ||||
-rw-r--r-- | samples/ping-heat-context.yaml | 2 | ||||
-rw-r--r-- | samples/ping-hot.yaml | 2 | ||||
-rwxr-xr-x | samples/ping-iteration.yaml | 2 | ||||
-rw-r--r-- | samples/ping-multiple-context.yaml | 4 | ||||
-rw-r--r-- | samples/ping-multiple-vm.yaml | 2 | ||||
-rw-r--r-- | samples/ping-option-list.yaml | 2 | ||||
-rw-r--r-- | samples/ping-parallel.yaml | 2 | ||||
-rw-r--r-- | samples/ping-serial.yaml | 2 | ||||
-rw-r--r-- | samples/ping-template.yaml | 2 | ||||
-rw-r--r-- | samples/ping.yaml | 2 |
13 files changed, 56 insertions, 13 deletions
diff --git a/samples/netperf_bottlenecks.yaml b/samples/netperf_bottlenecks.yaml new file mode 100644 index 000000000..4b6348109 --- /dev/null +++ b/samples/netperf_bottlenecks.yaml @@ -0,0 +1,43 @@ +--- +# measure network latency and throughput using netperf +# This test case is suite for bottlenecks project. +# This test case is from TC073 +# we have did some parameters support + +schema: "yardstick:task:0.1" + +{% set host = host or "node1.LF" %} +{% set target = target or "node2.LF" %} +{% set pod_info = pod_info or "etc/yardstick/nodes/compass_sclab_virtual/pod.yaml" %} +{% set tx_msg_size = tx_msg_size or "65536" %} +{% set rx_msg_size = rx_msg_size or "87380" %} +{% set test_time = test_time or "20" %} +{% set out_opt = out_opt or "THROUGHPUT,THROUGHPUT_UNITS,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_TRANSPORT_RETRANS" %} + +scenarios: +- + type: NetperfNode + options: + testname: 'TCP_STREAM' + send_msg_size: {{tx_msg_size}} + recv_msg_size: {{rx_msg_size}} + duration: {{test_time}} + output_opt: {{out_opt}} + + host: {{host}} + target: {{target}} + + runner: + type: Iteration + iterations: 1 + interval: 1 + run_step: 'setup,run' + + sla: + mean_latency: 100 + action: monitor + +context: + type: Node + name: LF + file: {{pod_info}} diff --git a/samples/ping-ext-ip.yaml b/samples/ping-ext-ip.yaml index d36c29544..3ce71e8a7 100644 --- a/samples/ping-ext-ip.yaml +++ b/samples/ping-ext-ip.yaml @@ -24,7 +24,7 @@ scenarios: context: name: demo image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor user: cirros servers: hermes: diff --git a/samples/ping-ext-stimuli.yaml b/samples/ping-ext-stimuli.yaml index 451f0105f..d7efe063f 100644 --- a/samples/ping-ext-stimuli.yaml +++ b/samples/ping-ext-stimuli.yaml @@ -37,7 +37,7 @@ scenarios: context: name: demo image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor user: cirros servers: goofy: diff --git a/samples/ping-heat-context.yaml b/samples/ping-heat-context.yaml index 5a8d09fbe..913912e50 100644 --- a/samples/ping-heat-context.yaml +++ b/samples/ping-heat-context.yaml @@ -25,7 +25,7 @@ context: type: Heat name: demo image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor user: cirros placement_groups: diff --git a/samples/ping-hot.yaml b/samples/ping-hot.yaml index b4b8f5228..1619a561f 100644 --- a/samples/ping-hot.yaml +++ b/samples/ping-hot.yaml @@ -33,7 +33,7 @@ context: heat_template: /tmp/heat-templates/hot/servers_in_new_neutron_net.yaml heat_parameters: image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor key_name: yardstick public_net: "660fc7c3-7a56-4faf-91e5-3c9ebdda0104" private_net_name: "test" diff --git a/samples/ping-iteration.yaml b/samples/ping-iteration.yaml index a5e90941b..d399b399a 100755 --- a/samples/ping-iteration.yaml +++ b/samples/ping-iteration.yaml @@ -24,7 +24,7 @@ scenarios: context: name: demo image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor user: cirros placement_groups: diff --git a/samples/ping-multiple-context.yaml b/samples/ping-multiple-context.yaml index 1c27e1bf1..71b7994ff 100644 --- a/samples/ping-multiple-context.yaml +++ b/samples/ping-multiple-context.yaml @@ -24,7 +24,7 @@ contexts: - name: demo1 image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor user: cirros placement_groups: pgrp1: @@ -39,7 +39,7 @@ contexts: - name: demo2 image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor user: cirros placement_groups: pgrp1: diff --git a/samples/ping-multiple-vm.yaml b/samples/ping-multiple-vm.yaml index 4055af14b..e8ebf495e 100644 --- a/samples/ping-multiple-vm.yaml +++ b/samples/ping-multiple-vm.yaml @@ -28,7 +28,7 @@ scenarios: context: name: demo image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor user: cirros servers: diff --git a/samples/ping-option-list.yaml b/samples/ping-option-list.yaml index 30d133eb8..1c31677ac 100644 --- a/samples/ping-option-list.yaml +++ b/samples/ping-option-list.yaml @@ -22,7 +22,7 @@ scenarios: context: name: demo image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor user: cirros placement_groups: diff --git a/samples/ping-parallel.yaml b/samples/ping-parallel.yaml index 00d261383..5761543b4 100644 --- a/samples/ping-parallel.yaml +++ b/samples/ping-parallel.yaml @@ -36,7 +36,7 @@ scenarios: context: name: demo image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor user: cirros placement_groups: diff --git a/samples/ping-serial.yaml b/samples/ping-serial.yaml index 9c492e481..59653db34 100644 --- a/samples/ping-serial.yaml +++ b/samples/ping-serial.yaml @@ -35,7 +35,7 @@ scenarios: context: name: demo image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor user: cirros servers: diff --git a/samples/ping-template.yaml b/samples/ping-template.yaml index cfc79206a..825dde285 100644 --- a/samples/ping-template.yaml +++ b/samples/ping-template.yaml @@ -29,7 +29,7 @@ scenarios: context: name: demo image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor user: cirros placement_groups: diff --git a/samples/ping.yaml b/samples/ping.yaml index 845d10dcc..5e922ea56 100644 --- a/samples/ping.yaml +++ b/samples/ping.yaml @@ -24,7 +24,7 @@ scenarios: context: name: demo image: cirros-0.3.3 - flavor: m1.tiny + flavor: yardstick-flavor user: cirros placement_groups: |