From d65da6a72887238eae5dd3b7eb4e53055ef516c3 Mon Sep 17 00:00:00 2001 From: Yulong Pei Date: Mon, 22 Aug 2022 02:41:12 +0000 Subject: Add 10k tunnels IPSec policy mode test suites Also add 10k tunnels IPSec policy mode test with spd fast path enabled. spd fast path is to reduce policy adding time, refer to patchset [1] & [2] for details. [1] https://gerrit.fd.io/r/c/vpp/+/36095 [2] https://gerrit.fd.io/r/c/vpp/+/36097 Signed-off-by: xinfeng zhao Signed-off-by: yulong pei Change-Id: I211b38a60d273c46e68a5b5f712090037977c6e6 --- resources/libraries/robot/crypto/ipsec.robot | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'resources/libraries/robot') diff --git a/resources/libraries/robot/crypto/ipsec.robot b/resources/libraries/robot/crypto/ipsec.robot index 7ee8748bbe..52a0e5fb66 100644 --- a/resources/libraries/robot/crypto/ipsec.robot +++ b/resources/libraries/robot/crypto/ipsec.robot @@ -251,3 +251,17 @@ | | 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 -- cgit 1.2.3-korg