776dd5f34266608e8f02ad441f799235f9df2737
[csit.git] / tests / suites / performance / short_ipv6.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 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_SHORT
16 | Suite Setup | 3-node Performance Suite Setup | L3
17 | Suite Teardown | 3-node Performance Suite Teardown
18 | Test Setup | Setup all DUTs before test
19 | Test Teardown | Run Keyword | Show statistics on all DUTs
20 | Documentation | Minimal throughput acceptance test cases
21
22 *** Test Cases ***
23 | 1core VPP passes 78B frames through IPv6 forwarding at 2x 2.9Mpps in 3-node topology
24 | | [Documentation]
25 | | ... | VPP with 1 core should pass 78B frames through IPv6 forwarding
26 | | ... | at 2x2.9Mpps in 3-node topology
27 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
28 | | ${framesize}= | Set Variable | 78
29 | | ${duration}= | Set Variable | 10
30 | | ${rate}= | Set Variable | 2.9mpps
31 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
32 | | And   IPv6 forwarding initialized in a 3-node circular topology
33 | | Then Traffic should pass with no loss | ${duration} | ${rate}
34 | | ...                                   | ${framesize} | 3-node-IPv6
35
36 | 1core VPP passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology
37 | | [Documentation]
38 | | ... | VPP with 1 core should pass 1518B frames through IPv6 forwarding
39 | | ... | at 2x812,743pps (2x 10Gbps) in 3-node topology
40 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
41 | | ${framesize}= | Set Variable | 1518
42 | | ${duration}= | Set Variable | 10
43 | | ${rate}= | Set Variable | 812743pps
44 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
45 | | And   IPv6 forwarding initialized in a 3-node circular topology
46 | | Then Traffic should pass with no loss | ${duration} | ${rate}
47 | | ...                                   | ${framesize} | 3-node-IPv6
48
49 | 1core VPP passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology
50 | | [Documentation]
51 | | ... | VPP with 1 core should pass 9000B frames through IPv6 forwarding
52 | | ... | at 2x138,580pps (2x 10Gbps) in 3-node topology
53 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD
54 | | ${framesize}= | Set Variable | 9000
55 | | ${duration}= | Set Variable | 10
56 | | ${rate}= | Set Variable | 138580pps
57 | | Given Setup '1' worker threads and rss '1' without HTT on all DUTs
58 | | And   IPv6 forwarding initialized in a 3-node circular topology
59 | | Then Traffic should pass with no loss | ${duration} | ${rate}
60 | | ...                                   | ${framesize} | 3-node-IPv6
61
62 | 2core VPP with rss 1 passes 78B frames through IPv6 forwarding at 2x 5.9Mpps in 3-node topology
63 | | [Documentation]
64 | | ... | VPP with 2 cores should pass 78B frames through IPv6 forwarding
65 | | ... | at 2x5.9Mpps in 3-node topology
66 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
67 | | ${framesize}= | Set Variable | 78
68 | | ${duration}= | Set Variable | 10
69 | | ${rate}= | Set Variable | 5.9mpps
70 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
71 | | And   IPv6 forwarding initialized in a 3-node circular topology
72 | | Then Traffic should pass with no loss | ${duration} | ${rate}
73 | | ...                                   | ${framesize} | 3-node-IPv6
74
75 | 2core VPP with rss 1 passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology
76 | | [Documentation]
77 | | ... | VPP with 2 cores should pass 1518B frames through IPv6 forwarding
78 | | ... | at 2x812,743pps (2x 10Gbps) in 3-node topology
79 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
80 | | ${framesize}= | Set Variable | 1518
81 | | ${duration}= | Set Variable | 10
82 | | ${rate}= | Set Variable | 812743pps
83 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
84 | | And   IPv6 forwarding initialized in a 3-node circular topology
85 | | Then Traffic should pass with no loss | ${duration} | ${rate}
86 | | ...                                   | ${framesize} | 3-node-IPv6
87
88 | 2core VPP with rss 1 passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology
89 | | [Documentation]
90 | | ... | VPP with 2 cores should pass 9000B frames through IPv6 forwarding
91 | | ... | at 2x138,580pps (2x 10Gbps) in 3-node topology
92 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD
93 | | ${framesize}= | Set Variable | 9000
94 | | ${duration}= | Set Variable | 10
95 | | ${rate}= | Set Variable | 138580pps
96 | | Given Setup '2' worker threads and rss '1' without HTT on all DUTs
97 | | And   IPv6 forwarding initialized in a 3-node circular topology
98 | | Then Traffic should pass with no loss | ${duration} | ${rate}
99 | | ...                                   | ${framesize} | 3-node-IPv6
100
101 | 4core VPP with rss 2 passes 78B frames through IPv6 forwarding at 2x 7.3Mpps in 3-node topology
102 | | [Documentation]
103 | | ... | VPP with 4 cores and rss 2 should pass 78B frames through IPv6
104 | | ... | forwarding at 2x7.3Mpps in 3-node topology
105 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
106 | | ${framesize}= | Set Variable | 78
107 | | ${duration}= | Set Variable | 10
108 | | ${rate}= | Set Variable | 7.3mpps
109 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
110 | | And   IPv6 forwarding initialized in a 3-node circular topology
111 | | Then Traffic should pass with no loss | ${duration} | ${rate}
112 | | ...                                   | ${framesize} | 3-node-IPv6
113
114 | 4core VPP with rss 2 passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology
115 | | [Documentation]
116 | | ... | VPP with 4 cores and rss 2 should pass 1518B frames through IPv6
117 | | ... | forwarding at 2x812,743pps (2x 10Gbps) in 3-node topology
118 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
119 | | ${framesize}= | Set Variable | 1518
120 | | ${duration}= | Set Variable | 10
121 | | ${rate}= | Set Variable | 812743pps
122 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
123 | | And   IPv6 forwarding initialized in a 3-node circular topology
124 | | Then Traffic should pass with no loss | ${duration} | ${rate}
125 | | ...                                   | ${framesize} | 3-node-IPv6
126
127 | 4core VPP with rss 2 passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology
128 | | [Documentation]
129 | | ... | VPP with 4 cores and rss 2 should pass 9000B frames through IPv6
130 | | ... | forwarding at 2x138,580pps (2x 10Gbps) in 3-node topology
131 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD
132 | | ${framesize}= | Set Variable | 9000
133 | | ${duration}= | Set Variable | 10
134 | | ${rate}= | Set Variable | 138580pps
135 | | Given Setup '4' worker threads and rss '2' without HTT on all DUTs
136 | | And   IPv6 forwarding initialized in a 3-node circular topology
137 | | Then Traffic should pass with no loss | ${duration} | ${rate}
138 | | ...                                   | ${framesize} | 3-node-IPv6