Renaming of all perf TCs.
[csit.git] / tests / perf / 10ge2p1x520-ethip6lispip6-ip6base-ndrchk.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
14 *** Settings ***
15 | Resource | resources/libraries/robot/performance.robot
16 | Resource | resources/libraries/robot/lisp/lisp_static_adjacency.robot
17 # import additional Lisp settings from resource file
18 | Variables | resources/test_data/lisp/performance/lisp_static_adjacency.py
19 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRCHK
20 | ... | NIC_Intel-X520-DA2 | IP6FWD | ENCAP | LISP | IP6UNRLAY | IP6OVRLAY
21 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
22 | ... | L3 | Intel-X520-DA2
23 | Suite Teardown | 3-node Performance Suite Teardown
24 | Test Setup | Setup all DUTs before test
25 | Test Teardown | Run Keyword | Remove startup configuration of VPP from all DUTs
26 | Documentation | *Reference NDR throughput Lisp tunnel verify test cases*
27 | ...
28 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology\
29 | ... | with single links between nodes.
30 | ... | *[Enc] Packet Encapsulations:* Eth-IPv6-LISP-IPv6 on DUT1-DUT2,\
31 | ... | Eth-IPv6-ICMPv6 on TG-DUTn for IPv6 routing over LISPoIPv6 tunnel.
32 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv6\
33 | ... | routing and static routes. LISPoIPv6 tunnel is configured\
34 | ... | between DUT1 and DUT2. DUT1 and DUT2 tested with 2p10GE NIC X520\
35 | ... | Niantic by Intel.
36 | ... | *[Ver] TG verification:* In short performance tests, TG verifies\
37 | ... | DUTs' throughput at ref-NDR (reference Non Drop Rate) with zero packet\
38 | ... | loss tolerance. Ref-NDR value is periodically updated acording to\
39 | ... | formula: ref-NDR = 0.9x NDR, where NDR is found in RFC2544 long\
40 | ... | performance tests for the same DUT confiiguration. Test packets are\
41 | ... | generated by TG on links to DUTs. TG traffic profile contains two L3\
42 | ... | flow-groups (flow-group per direction, 253 flows per flow-group) with\
43 | ... | all packets containing Ethernet header, IPv6 header with\
44 | ... | IP protocol=61 and generated payload.
45 | ... | *[Ref] Applicable standard specifications:* RFC2544.
46
47 *** Test Cases ***
48 | tc01-78B-1t1c-ethip6lispip6-ip6base-ndrchk
49 | | [Documentation]
50 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,\
51 | | ... | 1 receive queue per NIC port.
52 | | ... | [Ver] Verify ref-NDR for 78 Byte frames using single trial\
53 | | ... | throughput test at 2x 1.56mpps.
54 | | [Tags] | 1T1C | STHREAD
55 | | ${framesize}= | Set Variable | 78
56 | | ${duration}= | Set Variable | 10
57 | | ${rate}= | Set Variable | 1.56mpps
58 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
59 | | And   Add PCI devices to DUTs from 3-node single link topology
60 | | And   Add No Multi Seg to all DUTs
61 | | And   Apply startup configuration on all VPP DUTs
62 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
63 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
64 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
65 | | And  Set up Lisp topology
66 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
67 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
68 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
69 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
70 | | Then Traffic should pass with no loss | ${duration} | ${rate}
71 | | ...                                   | ${framesize} | 3-node-IPv6
72
73 | tc02-1460B-1t1c-ethip6lispip6-ip6base-ndrchk
74 | | [Documentation]
75 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,\
76 | | ... | 1 receive queue per NIC port.
77 | | ... | [Ver] Verify ref-NDR for 1460 Byte frames using single trial\
78 | | ... | throughput test at 2x 740000pps.
79 | | [Tags] | 1T1C | STHREAD
80 | | ${framesize}= | Set Variable | 1460
81 | | ${duration}= | Set Variable | 10
82 | | ${rate}= | Set Variable | 740000pps
83 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
84 | | And   Add PCI devices to DUTs from 3-node single link topology
85 | | And   Add No Multi Seg to all DUTs
86 | | And   Apply startup configuration on all VPP DUTs
87 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
88 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
89 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
90 | | And  Set up Lisp topology
91 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
92 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
93 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
94 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
95 | | Then Traffic should pass with no loss | ${duration} | ${rate}
96 | | ...                                   | ${framesize} | 3-node-IPv6
97
98 | tc03-9000B-1t1c-ethip6lispip6-ip6base-ndrchk
99 | | [Documentation]
100 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,\
101 | | ... | 1 receive queue per NIC port.
102 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial\
103 | | ... | throughput test at 2x 120000pps.
104 | | [Tags] | 1T1C | STHREAD
105 | | ${framesize}= | Set Variable | 9000
106 | | ${duration}= | Set Variable | 10
107 | | ${rate}= | Set Variable | 120000pps
108 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
109 | | And   Add PCI devices to DUTs from 3-node single link topology
110 | | And   Apply startup configuration on all VPP DUTs
111 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
112 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
113 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
114 | | And  Set up Lisp topology
115 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
116 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
117 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
118 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
119 | | Then Traffic should pass with no loss | ${duration} | ${rate}
120 | | ...                                   | ${framesize} | 3-node-IPv6
121
122 | tc04-78B-2t2c-ethip6lispip6-ip6base-ndrchk
123 | | [Documentation]
124 | | ... | [Cfg] DUT runs LISP tunnel config with 2 thread, 2 phy core,\
125 | | ... | 1 receive queue per NIC port.
126 | | ... | [Ver] Verify ref-NDR for 78 Byte frames using single trial\
127 | | ... | throughput test at 2x 3.2mpps.
128 | | [Tags] | 2T2C | MTHREAD
129 | | ${framesize}= | Set Variable | 78
130 | | ${duration}= | Set Variable | 10
131 | | ${rate}= | Set Variable | 3.2mpps
132 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
133 | | And   Add PCI devices to DUTs from 3-node single link topology
134 | | And   Add No Multi Seg to all DUTs
135 | | And   Apply startup configuration on all VPP DUTs
136 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
137 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
138 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
139 | | And  Set up Lisp topology
140 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
141 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
142 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
143 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
144 | | Then Traffic should pass with no loss | ${duration} | ${rate}
145 | | ...                                   | ${framesize} | 3-node-IPv6
146
147 | tc05-1460B-2t2c-ethip6lispip6-ip6base-ndrchk
148 | | [Documentation]
149 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,\
150 | | ... | 1 receive queue per NIC port.
151 | | ... | [Ver] Verify ref-NDR for 1460 Byte frames using single trial\
152 | | ... | throughput test at 2x 740000pps.
153 | | [Tags] | 2T2C | MTHREAD
154 | | ${framesize}= | Set Variable | 1460
155 | | ${duration}= | Set Variable | 10
156 | | ${rate}= | Set Variable | 740000pps
157 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
158 | | And   Add PCI devices to DUTs from 3-node single link topology
159 | | And   Add No Multi Seg to all DUTs
160 | | And   Apply startup configuration on all VPP DUTs
161 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
162 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
163 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
164 | | And  Set up Lisp topology
165 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
166 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
167 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
168 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
169 | | Then Traffic should pass with no loss | ${duration} | ${rate}
170 | | ...                                   | ${framesize} | 3-node-IPv6
171
172 | tc06-9000B-2t2c-ethip6lispip6-ip6base-ndrchk
173 | | [Documentation]
174 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,\
175 | | ... | 1 receive queue per NIC port.
176 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial\
177 | | ... | throughput test at 2x 120000pps.
178 | | [Tags] | 2T2C | MTHREAD
179 | | ${framesize}= | Set Variable | 9000
180 | | ${duration}= | Set Variable | 10
181 | | ${rate}= | Set Variable | 120000pps
182 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
183 | | And   Add PCI devices to DUTs from 3-node single link topology
184 | | And   Apply startup configuration on all VPP DUTs
185 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
186 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
187 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
188 | | And  Set up Lisp topology
189 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
190 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
191 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
192 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
193 | | Then Traffic should pass with no loss | ${duration} | ${rate}
194 | | ...                                   | ${framesize} | 3-node-IPv6
195
196 | tc07-78B-4t4c-ethip6lispip6-ip6base-ndrchk
197 | | [Documentation]
198 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,\
199 | | ... | 2 receive queues per NIC port.
200 | | ... | [Ver] Verify ref-NDR for 78 Byte frames using single trial\
201 | | ... | throughput test at 2x 3.2mpps.
202 | | [Tags] | 4T4C | MTHREAD
203 | | ${framesize}= | Set Variable | 78
204 | | ${duration}= | Set Variable | 10
205 | | ${rate}= | Set Variable | 3.2mpps
206 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
207 | | And   Add PCI devices to DUTs from 3-node single link topology
208 | | And   Add No Multi Seg to all DUTs
209 | | And   Apply startup configuration on all VPP DUTs
210 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
211 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
212 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
213 | | And  Set up Lisp topology
214 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
215 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
216 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
217 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
218 | | Then Traffic should pass with no loss | ${duration} | ${rate}
219 | | ...                                   | ${framesize} | 3-node-IPv6
220
221 | tc08-1460B-4t4c-ethip6lispip6-ip6base-ndrchk
222 | | [Documentation]
223 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,\
224 | | ... | 2 receive queues per NIC port.
225 | | ... | [Ver] Verify ref-NDR for 1460 Byte frames using single trial\
226 | | ... | throughput test at 2x 740000pps.
227 | | [Tags] | 4T4C | MTHREAD
228 | | ${framesize}= | Set Variable | 1460
229 | | ${duration}= | Set Variable | 10
230 | | ${rate}= | Set Variable | 740000pps
231 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
232 | | And   Add PCI devices to DUTs from 3-node single link topology
233 | | And   Add No Multi Seg to all DUTs
234 | | And   Apply startup configuration on all VPP DUTs
235 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
236 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
237 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
238 | | And  Set up Lisp topology
239 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
240 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
241 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
242 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
243 | | Then Traffic should pass with no loss | ${duration} | ${rate}
244 | | ...                                   | ${framesize} | 3-node-IPv6
245
246 | tc09-9000B-4t4c-ethip6lispip6-ip6base-ndrchk
247 | | [Documentation]
248 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,\
249 | | ... | 2 receive queues per NIC port.
250 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial\
251 | | ... | throughput test at 2x 120000pps.
252 | | [Tags] | 4T4C | MTHREAD
253 | | ${framesize}= | Set Variable | 9000
254 | | ${duration}= | Set Variable | 10
255 | | ${rate}= | Set Variable | 120000pps
256 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
257 | | And   Add PCI devices to DUTs from 3-node single link topology
258 | | And   Apply startup configuration on all VPP DUTs
259 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
260 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
261 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
262 | | And  Set up Lisp topology
263 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
264 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
265 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
266 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
267 | | Then Traffic should pass with no loss | ${duration} | ${rate}
268 | | ...                                   | ${framesize} | 3-node-IPv6
269