feat(api): Use newest API messages after rls2402
[csit.git] / tests / trex / perf / ip6 / 1n1l-10ge2p1x710-ethip6-ip6scale2m-tg-ndrpdr.robot
1 # Copyright (c) 2022 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/shared/default.robot
16 |
17 | Force Tags | 1_NODE_SINGLE_LINK_TOPO | 2_NODE_SINGLE_LINK_TOPO
18 | ... | 3_NODE_SINGLE_LINK_TOPO
19 | ... | PERFTEST | HW_ENV | NDRPDR | NIC_Intel-X710 | TREX | ETH | IP6SCALE2M
20 | ... | N2N | BASE | IP6BASE | TG_DRV_IGB_UIO
21 | ... | ethip6-ip6scale2m-tg
22 |
23 | Suite Setup | Setup suite topology interfaces with no DUT | performance_tg_nic
24 | Suite Teardown | Tear down suite | performance
25 | Test Setup | Start Test Export
26 | Test Teardown | Tear down test raw | performance
27 |
28 | Test Template | Local Template
29 |
30 | Documentation | **RFC2544: Pkt throughput for cross connected NICs with IPv6 \
31 | ... | traffic profile.**
32 | ... |
33 | ... | - **[Top] Network Topologies:** TG-TG 1-node circular topology \
34 | ... | with single link between.
35 | ... |
36 | ... | - **[Enc] Packet Encapsulations:** Eth-IPv6 for L1 cross connect patch.
37 | ... |
38 | ... | - **[Ver] TG verification:** TG finds and reports throughput NDR (Non \
39 | ... | Drop Rate) with zero packet loss tolerance and throughput PDR \
40 | ... | (Partial Drop Rate) with non-zero packet loss tolerance (LT) \
41 | ... | expressed in percentage of packets transmitted. NDR and PDR are \
42 | ... | discovered for different Ethernet L2 frame sizes using MLRsearch \
43 | ... | library.
44 | ... | Test packets are generated by TG on links to TG. \
45 | ... | TG traffic profile contains two L3 flow-groups (flow-group per \
46 | ... | direction, 254 flows per flow-group) with all packets containing \
47 | ... | Ethernet header, IPv6 header with static payload. \
48 | ... | MAC addresses are matching MAC addresses of the TG node interfaces.
49 | ... |
50 | ... | - **[Ref] Applicable standard specifications:** RFC2544.
51
52 *** Variables ***
53 | ${nic_name}= | Intel-X710
54 | ${nic_pfs}= | 2
55 | ${osi_layer}= | L3
56 | ${overhead}= | ${0}
57 | ${rts_per_flow}= | ${1000000}
58 # Traffic profile:
59 | ${traffic_profile}= | trex-stl-ethip6-ip6dst${rts_per_flow}
60
61 *** Keywords ***
62 | Local Template
63 | | [Documentation]
64 | | ... | - **[Cfg]** TG runs L1 cross connect config.
65 | | ... | - **[Ver]** Measure NDR and PDR values using MLRsearch algorithm.
66 | |
67 | | ... | *Arguments:*
68 | | ... | - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1).
69 | | ... | Type: integer, string
70 | |
71 | | [Arguments] | ${frame_size}
72 | |
73 | | Set Test Variable | \${frame_size}
74 | |
75 | | Given Set Max Rate And Jumbo
76 | | Then Find NDR and PDR intervals using optimized search
77
78 *** Test Cases ***
79 | 78B--ethip6-ip6scale2m-tg-ndrpdr
80 | | [Tags] | 78B
81 | | frame_size=${78}
82
83 | 1518B--ethip6-ip6scale2m-tg-ndrpdr
84 | | [Tags] | 1518B
85 | | frame_size=${1518}
86
87 | 9000B--ethip6-ip6scale2m-tg-ndrpdr
88 | | [Tags] | 9000B
89 | | frame_size=${9000}
90
91 | IMIX--ethip6-ip6scale2m-tg-ndrpdr
92 | | [Tags] | IMIX
93 | | frame_size=IMIX_v4_1