Long perf tests
[csit.git] / tests / suites / performance / short_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_SHORT
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
22 *** Test Cases ***
23 | 1core VPP passes 64B frames through bridge domain at 3.5mpps in 3-node topology
24 | | ${framesize}= | Set Variable | 64
25 | | ${duration}= | Set Variable | 10
26 | | ${rate}= | Set Variable | 3.5mpps
27 | | Given L2 bridge domain initialized in a 3-node circular topology
28 | | Then Traffic should pass with no loss | ${duration} | ${rate} | ${framesize} | 3-node-bridge
29
30 | 1core VPP passes 1518B frames through bridge domain at 10gbps in 3-node topology
31 | | ${framesize}= | Set Variable | 1518
32 | | ${duration}= | Set Variable | 10
33 | | ${rate}= | Set Variable | 10gbps
34 | | Given L2 bridge domain initialized in a 3-node circular topology
35 | | Then Traffic should pass with no loss | ${duration} | ${rate} | ${framesize} | 3-node-bridge
36
37 | 1core VPP passes 9000B frames through bridge domain at 10gbps in 3-node topology
38 | | ${framesize}= | Set Variable | 9000
39 | | ${duration}= | Set Variable | 10
40 | | ${rate}= | Set Variable | 10gbps
41 | | Given L2 bridge domain initialized in a 3-node circular topology
42 | | Then Traffic should pass with no loss | ${duration} | ${rate} | ${framesize} | 3-node-bridge