Add 10k tunnels IPSec policy mode test suites
[csit.git] / resources / libraries / robot / crypto / ipsec.robot
index 2990b84..52a0e5f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2022 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
 | | ... | ${nodes} | prefix=${EMPTY} | workers=${cpu_dp}
 | | VPP IPSec Crypto SW Scheduler Set Worker on all DUTs
 | | ... | ${nodes} | workers=${cpu_dp} | crypto_enable=${False}
+
+| Enable SPD flow cache IPv4 Outbound
+| | [Documentation]
+| | ... | Enable IPv4 Outbound SPD flow cache in VPP configuration file.
+| |
+| | FOR | ${dut} | IN | @{duts}
+| | | Run Keyword | ${dut}.Add SPD Flow Cache IPv4 Outbound
+| | END
+
+| Enable IPsec SPD Fast Path IPv4 Outbound
+| | [Documentation]
+| | ... | Enable IPsec SPD fast path IPv4 outbound in VPP configuration file.
+| |
+| | ... | *Arguments:*
+| | ... | - value - The number buckets for spd fast path. Type: int
+| |
+| | [Arguments] | ${value}
+| |
+| | FOR | ${dut} | IN | @{duts}
+| | | Run Keyword | ${dut}.Add IPsec SPD Fast Path IPv4 Outbound | on
+| | | Run Keyword | ${dut}.Add IPsec SPD Fast Path Num Buckets | ${value}
+| | END