9938cce5d3b3eda84b1eb7a12a3a99236cbca844
[csit.git] / tests / suites / performance / long_bridge_domain.robot
1 # Copyright (c) 2016 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13 *** Settings ***
14 | Resource | resources/libraries/robot/performance.robot
15 | Library | resources.libraries.python.NodePath
16 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
17 | Suite Setup | 3-node Performance Suite Setup | L2
18 | Suite Teardown | 3-node Performance Suite Teardown
19 | Test Setup | Setup all DUTs before test
20 | Test Teardown  | Run Keyword If Test Failed | Show statistics on all DUTs
21 | Documentation | Throughput search suite (long running test suite based on RFC2544).
22
23 *** Test Cases ***
24 | Find NDR by using linear search and 64B frames through bridge domain in 3-node topology
25 | | ${framesize}= | Set Variable | 64
26 | | ${start_rate}= | Set Variable | 5000000
27 | | ${step_rate}= | Set Variable | 100000
28 | | ${min_rate}= | Set Variable | 100000
29 | | ${max_rate}= | Set Variable | 14880952
30 | | Given L2 bridge domain initialized in a 3-node circular topology
31 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate} | ${step_rate}
32 | | ...                                       | 3-node-bridge | ${min_rate} | ${max_rate}
33
34 | Find NDR by using linear search and 1518B frames through bridge domain in 3-node topology
35 | | ${framesize}= | Set Variable | 1518
36 | | ${start_rate}= | Set Variable | 812743
37 | | ${step_rate}= | Set Variable | 10000
38 | | ${min_rate}= | Set Variable | 10000
39 | | ${max_rate}= | Set Variable | 812743
40 | | Given L2 bridge domain initialized in a 3-node circular topology
41 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate} | ${step_rate}
42 | | ...                                       | 3-node-bridge | ${min_rate} | ${max_rate}
43
44 | Find NDR by using linear search and 9000B frames through bridge domain in 3-node topology
45 | | ${framesize}= | Set Variable | 9000
46 | | ${start_rate}= | Set Variable | 138580
47 | | ${step_rate}= | Set Variable | 5000
48 | | ${min_rate}= | Set Variable | 5000
49 | | ${max_rate}= | Set Variable | 138580
50 | | Given L2 bridge domain initialized in a 3-node circular topology
51 | | Then Find NDR using linear search and pps | ${framesize} | ${start_rate} | ${step_rate}
52 | | ...                                       | 3-node-bridge | ${min_rate} | ${max_rate}