perf: Clean up Hoststack tests
[csit.git] / tests / vpp / perf / hoststack / 10ge2p1x710-eth-ip4udpquicscale10cl10s-vppecho-bps.robot
1 # Copyright (c) 2020 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 | Library  | resources.libraries.python.HoststackUtil
16 | Resource | resources/libraries/robot/shared/default.robot
17 | Resource | resources/libraries/robot/hoststack/hoststack.robot
18 |
19 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
20 | ... | NIC_Intel-X710 | DRV_VFIO_PCI | UDP | QUIC | VPPECHO
21 | ... | HOSTSTACK | 10CLIENT | 10STREAM | 9000B
22 | ... | eth-ip4udpquicscale10cl10s-vppecho
23 |
24 | Suite Setup | Setup suite single link no tg
25 | Suite Teardown | Tear down suite
26 | Test Setup | Setup test
27 | Test Teardown | Tear down test
28 |
29 | Test Template | Local template
30 |
31 | Documentation | *QUIC Unidirectional Echo Client -> Echo Server throughput.
32 |
33 | ... | *[Top] Network Topologies:* DUT-DUT 2-node topology
34 | ... | with single link between nodes.
35 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-UDP-QUIC
36 | ... | *[Cfg] DUT configuration:*
37 | ... | *[Ref] Applicable standard specifications:*
38
39 *** Variables ***
40 | @{plugins_to_enable}= | dpdk_plugin.so | quic_plugin.so
41 | ${nic_name}= | Intel-X710
42 | ${nic_driver}= | vfio-pci
43 | ${overhead}= | ${0}
44 | ${frame_size}= | ${9000}
45 | ${crypto_type}= | ${None}
46 | ${clients}= | ${10}
47 | ${streams}= | ${10}
48 | ${bytes}= | 100M
49
50 *** Keywords ***
51 | Local template
52 | | [Arguments] | ${phy_cores}
53 | |
54 | | Set VPP Hoststack Attributes | phy_cores=${phy_cores}
55 | | Set VPP Echo Server Attributes | cfg_vpp_feature=quic | nclients=${clients}
56 | | ... | quic_streams=${streams} | rx_bytes=${bytes}
57 | | Set VPP Echo Client Attributes | cfg_vpp_feature=quic | nclients=${clients}
58 | | ... | quic_streams=${streams} | tx_bytes=${bytes}
59 | | ${defer_fail}= | Get Test Results From Hoststack VPP Echo Test
60 | | Run Keyword If | ${defer_fail}==True | FAIL
61 | | ... | Defered Failure From Hoststack VPP Echo Test Program
62
63 *** Test Cases ***
64 | tc01-9000B-1c-eth-ip4udpquicscale10cl10s-vppecho-bps
65 | | [Tags] | 1C
66 | | phy_cores=${1}