diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-02-22 09:06:27 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-03-08 15:43:11 +0100 |
commit | fe29ca4b7e6c412c69f1c56404513a33236aa617 (patch) | |
tree | cedea250eb5dbc2ce52db6bb87eeddfe31792862 /tests/perf/10ge2p1x520-ethip4lispip6-ip4base-ndrdisc.robot | |
parent | 77ab7e4cc80e237331bfd7938974c74393294933 (diff) |
CSIT-530: Add common setup and teardown to perf tests
Change-Id: I2e76de710b4b758eac1d24d447a9c5938f937385
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'tests/perf/10ge2p1x520-ethip4lispip6-ip4base-ndrdisc.robot')
-rw-r--r-- | tests/perf/10ge2p1x520-ethip4lispip6-ip4base-ndrdisc.robot | 59 |
1 files changed, 29 insertions, 30 deletions
diff --git a/tests/perf/10ge2p1x520-ethip4lispip6-ip4base-ndrdisc.robot b/tests/perf/10ge2p1x520-ethip4lispip6-ip4base-ndrdisc.robot index 40077c1d78..d49ae42b60 100644 --- a/tests/perf/10ge2p1x520-ethip4lispip6-ip4base-ndrdisc.robot +++ b/tests/perf/10ge2p1x520-ethip4lispip6-ip4base-ndrdisc.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2016 Cisco and/or its affiliates. +# Copyright (c) 2017 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -15,23 +15,22 @@ | Resource | resources/libraries/robot/performance.robot | Resource | resources/libraries/robot/lisp/lisp_static_adjacency.robot | Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT1']} -| ... | WITH NAME | dut1_v4 +| ... | WITH NAME | dut1_v4 | Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT2']} -| ... | WITH NAME | dut2_v4 -# import additional Lisp settings from resource file +| ... | WITH NAME | dut2_v4 | Variables | resources/test_data/lisp/performance/lisp_static_adjacency.py +| ... | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | ... | NIC_Intel-X520-DA2 | IP4FWD | ENCAP | LISP | IP6UNRLAY | IP4OVRLAY +| ... | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model | ... | L3 | Intel-X520-DA2 | Suite Teardown | 3-node Performance Suite Teardown -| Test Setup | Setup all DUTs before test -| Test Teardown | Run Keywords -| ... | Run Keyword If Test Failed -| ... | Traffic should pass with no loss | 10 -| ... | ${min_rate}pps | ${framesize} | 3-node-IPv4 -| ... | fail_on_loss=${False} -| ... | AND | Remove startup configuration of VPP from all DUTs +| ... +| Test Setup | Performance test setup +| Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize} +| ... | 3-node-IPv4 +| ... | Documentation | *RFC6830: Pkt throughput Lisp test cases* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology\ @@ -50,7 +49,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC6830. *** Variables *** -#X520-DA2 bandwidth limit +# X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} *** Test Cases *** @@ -115,8 +114,8 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc03-1460B-1t1c-ethip4lispip6-ip4base-ndrdisc | | [Documentation] @@ -179,8 +178,8 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc05-9000B-1t1c-ethip4lispip6-ip4base-ndrdisc | | [Documentation] @@ -241,8 +240,8 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc07-64B-2t2c-ethip4lispip6-ip4base-ndrdisc | | [Documentation] @@ -305,8 +304,8 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc09-1460B-2t2c-ethip4lispip6-ip4base-ndrdisc | | [Documentation] @@ -369,8 +368,8 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc11-9000B-2t2c-ethip4lispip6-ip4base-ndrdisc | | [Documentation] @@ -431,8 +430,8 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc13-64B-4t4c-ethip4lispip6-ip4base-ndrdisc | | [Documentation] @@ -495,8 +494,8 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc15-1460B-4t4c-ethip4lispip6-ip4base-ndrdisc | | [Documentation] @@ -559,8 +558,8 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc17-9000B-4t4c-ethip4lispip6-ip4base-ndrdisc | | [Documentation] @@ -621,5 +620,5 @@ | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} +| | ... | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} |