CSIT-1087: Add SRv6 MRR tests
[csit.git] / resources / libraries / robot / performance / performance_setup.robot
index 8a17a6a..f42d964 100644 (file)
@@ -16,6 +16,7 @@
 | Library | resources.tools.wrk.wrk
 | Resource | resources/libraries/robot/performance/performance_configuration.robot
 | Resource | resources/libraries/robot/performance/performance_utils.robot
+| Resource | resources/libraries/robot/tcp/tcp_setup.robot
 | Documentation | Performance suite keywords - Suite and test setups and
 | ... | teardowns.
 
 | | Reset VAT History On All DUTs | ${nodes}
 | | Create base startup configuration of VPP on all DUTs
 
+| Set up tcp performance test
+| | [Documentation] | Common test setup for TCP performance tests.
+| | ...
+| | Reset VAT History On All DUTs | ${nodes}
+| | Create base startup configuration of VPP for TCP tests on all DUTs
+
 | Set up performance test with Ligato Kubernetes
 | | [Documentation] | Common test setup for performance tests with Ligato \
 | | ... | Kubernetes.
 | | ...
 | | ... | *Arguments:*
 | | ... | - rate - Rate for sending packets. Type: string
-| | ... | - framesize - L2 Frame Size [B]. Type: integer
+| | ... | - framesize - L2 Frame Size [B]. Type: integer/string
 | | ... | - traffic_profile - Traffic profile. Type: string
 | | ...
 | | ... | *Example:*
 | | ...
-| | ... | \| Tear down performance test with MACIP ACL \| 100000pps \| 64 \
-| | ... | \| ${traffic_profile} \|
+| | ... | \| Tear down performance test with SRv6 with encapsulation \
+| | ... | \| 100000pps \| 64 \| ${traffic_profile} \|
 | | ...
 | | [Arguments] | ${rate} | ${framesize} | ${traffic_profile}
 | | ...
 | | Run Keyword If Test Failed
 | | ... | Show SR Steering Policies on all DUTs | ${nodes}
 | | Run Keyword If Test Failed | Show SR LocalSIDs on all DUTs | ${nodes}
+
+| Tear down mrr test with SRv6 with encapsulation
+| | [Documentation] | Common test teardown for mrr tests with SRv6 with \
+| | ... | encapsulation feature used.
+| | ...
+| | ... | *Example:*
+| | ...
+| | ... | \| Tear down mrr test with SRv6 with encapsulation \|
+| | ...
+| | Remove All Added Ports On All DUTs From Topology | ${nodes}
+| | Show VAT History On All DUTs | ${nodes}
+| | Run Keyword If Test Failed | Show SR Policies on all DUTs | ${nodes}
+| | Run Keyword If Test Failed
+| | ... | Show SR Steering Policies on all DUTs | ${nodes}
+| | Run Keyword If Test Failed | Show SR LocalSIDs on all DUTs | ${nodes}