99e5dbd4705d8af3d679c6dacb9aab26bae3cb04
[csit.git] / tests / suites / performance / short_xconnect_Intel-X520-DA2.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.InterfaceUtil
16 | Library | resources.libraries.python.NodePath
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_SHORT
18 | ...        | NIC_Intel-X520-DA2
19 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
20 | ... | L2 | Intel-X520-DA2
21 | Suite Teardown | 3-node Performance Suite Teardown
22 | Test Setup | Setup all DUTs before test
23 | Test Teardown | Run Keyword | Show statistics on all DUTs
24 | Documentation | Minimal throughput acceptance test cases
25
26 *** Test Cases ***
27 | 1core VPP passes 64B frames through L2 cross connect at 2x 3.6Mpps in 3-node topology
28 | | [Documentation]
29 | | ... | VPP with 1 core should pass 64B frames through L2 cross connect
30 | | ... | at 2x3.6Mpps in 3-node topology
31 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
32 | | ${framesize}= | Set Variable | 64
33 | | ${duration}= | Set Variable | 10
34 | | ${rate}= | Set Variable | 3.6mpps
35 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
36 | | AND   L2 xconnect initialized in a 3-node circular topology
37 | | Then Traffic should pass with no loss | ${duration} | ${rate}
38 | | ...                                   | ${framesize} | 3-node-xconnect
39
40 | 1core VPP passes 1518B frames through L2 cross connect at 2x 10Gbps in 3-node topology
41 | | [Documentation]
42 | | ... | VPP with 1 core should pass 1518B frames through L2 cross connect
43 | | ... | at 2x10Gbps in 3-node topology
44 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
45 | | ${framesize}= | Set Variable | 1518
46 | | ${duration}= | Set Variable | 10
47 | | ${rate}= | Set Variable | 10gbps
48 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
49 | | AND   L2 xconnect initialized in a 3-node circular topology
50 | | Then Traffic should pass with no loss | ${duration} | ${rate}
51 | | ...                                   | ${framesize} | 3-node-xconnect
52
53 | 1core VPP passes 9000B frames through L2 cross connect at 2x 10Gbps in 3-node topology
54 | | [Documentation]
55 | | ... | VPP with 1 core should pass 9000B frames through L2 cross connect
56 | | ... | at 2x10Gbps in 3-node topology
57 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
58 | | ${framesize}= | Set Variable | 9000
59 | | ${duration}= | Set Variable | 10
60 | | ${rate}= | Set Variable | 10gbps
61 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
62 | | AND   L2 xconnect initialized in a 3-node circular topology
63 | | Then Traffic should pass with no loss | ${duration} | ${rate}
64 | | ...                                   | ${framesize} | 3-node-xconnect
65
66 | 2core VPP with rss 1 passes 64B frames through L2 cross connect at 2x 8.3Mpps in 3-node topology
67 | | [Documentation]
68 | | ... | VPP with 2 cores should pass 64B frames through L2 cross connect
69 | | ... | at 2x8.3Mpps in 3-node topology
70 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
71 | | ${framesize}= | Set Variable | 64
72 | | ${duration}= | Set Variable | 10
73 | | ${rate}= | Set Variable | 8.3mpps
74 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
75 | | AND   L2 xconnect initialized in a 3-node circular topology
76 | | Then Traffic should pass with no loss | ${duration} | ${rate}
77 | | ...                                   | ${framesize} | 3-node-xconnect
78
79 | 2core VPP with rss 1 passes 1518B frames through L2 cross connect at 2x 10Gbps in 3-node topology
80 | | [Documentation]
81 | | ... | VPP with 2 cores should pass 1518B frames through L2 cross connect
82 | | ... | at 2x10Gbps in 3-node topology
83 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
84 | | ${framesize}= | Set Variable | 1518
85 | | ${duration}= | Set Variable | 10
86 | | ${rate}= | Set Variable | 10gbps
87 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
88 | | AND   L2 xconnect initialized in a 3-node circular topology
89 | | Then Traffic should pass with no loss | ${duration} | ${rate}
90 | | ...                                   | ${framesize} | 3-node-xconnect
91
92 | 2core VPP with rss 1 passes 9000B frames through L2 cross connect at 2x 10Gbps in 3-node topology
93 | | [Documentation]
94 | | ... | VPP with 2 cores should pass 9000B frames through L2 cross connect
95 | | ... | at 2x10Gbps in 3-node topology
96 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
97 | | ${framesize}= | Set Variable | 9000
98 | | ${duration}= | Set Variable | 10
99 | | ${rate}= | Set Variable | 10gbps
100 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
101 | | AND   L2 xconnect initialized in a 3-node circular topology
102 | | Then Traffic should pass with no loss | ${duration} | ${rate}
103 | | ...                                   | ${framesize} | 3-node-xconnect
104
105 | 4core VPP with rss 2 passes 64B frames through L2 cross connect at 2x 9.3Mpps in 3-node topology
106 | | [Documentation]
107 | | ... | VPP with 4 cores and rss 2 should pass 64B frames through L2 cross
108 | | ... | connect at 2x9.3Mpps in 3-node topology
109 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
110 | | ${framesize}= | Set Variable | 64
111 | | ${duration}= | Set Variable | 10
112 | | ${rate}= | Set Variable | 9.3mpps
113 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
114 | | AND   L2 xconnect initialized in a 3-node circular topology
115 | | Then Traffic should pass with no loss | ${duration} | ${rate}
116 | | ...                                   | ${framesize} | 3-node-xconnect
117
118 | 4core VPP with rss 2 passes 1518B frames through L2 cross connect at 2x 10Gbps in 3-node topology
119 | | [Documentation]
120 | | ... | VPP with 4 cores and rss 2 should pass 1518B frames through L2 cross
121 | | ... | connect at 2x10Gbps in 3-node topology
122 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
123 | | ${framesize}= | Set Variable | 1518
124 | | ${duration}= | Set Variable | 10
125 | | ${rate}= | Set Variable | 10gbps
126 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
127 | | AND   L2 xconnect initialized in a 3-node circular topology
128 | | Then Traffic should pass with no loss | ${duration} | ${rate}
129 | | ...                                   | ${framesize} | 3-node-xconnect
130
131 | 4core VPP with rss 2 passes 9000B frames through L2 cross connect at 2x 10Gbps in 3-node topology
132 | | [Documentation]
133 | | ... | VPP with 4 cores and rss 2 should pass 9000B frames through L2 cross
134 | | ... | connect at 2x10Gbps in 3-node topology
135 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
136 | | ${framesize}= | Set Variable | 9000
137 | | ${duration}= | Set Variable | 10
138 | | ${rate}= | Set Variable | 10gbps
139 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
140 | | AND   L2 xconnect initialized in a 3-node circular topology
141 | | Then Traffic should pass with no loss | ${duration} | ${rate}
142 | | ...                                   | ${framesize} | 3-node-xconnect