diff options
author | Juraj Linkeš <juraj.linkes@pantheon.tech> | 2021-06-24 18:00:02 +0200 |
---|---|---|
committer | Juraj Linke? <juraj.linkes@pantheon.tech> | 2021-10-25 09:06:38 +0000 |
commit | 12bf78f5a47ac4490a207c3dc4f4d689b09835e3 (patch) | |
tree | 4e65c7f94ec0e266d2d19543ce5fda77dc45ad67 /resources/libraries/python/VppConfigGenerator.py | |
parent | eac16f638b0363a7351480405a372fde005422f0 (diff) |
IPsec: add nth SPD entry outbound flow cache TCs
Add 1, 10, 100 and 1000 SPD entries using IPv4 outbound flow cache
optimization.
Change-Id: I7abb65a82454c17ef754cb11386186610f0c27e8
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Diffstat (limited to 'resources/libraries/python/VppConfigGenerator.py')
-rw-r--r-- | resources/libraries/python/VppConfigGenerator.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py index b5f36c69a0..4943c1aae6 100644 --- a/resources/libraries/python/VppConfigGenerator.py +++ b/resources/libraries/python/VppConfigGenerator.py @@ -456,6 +456,11 @@ class VppConfigGenerator: path = [u"ip6", u"heap-size"] self.add_config_item(self._nodeconfig, value, path) + def add_spd_flow_cache_ipv4_outbound(self): + """Add SPD flow cache for IP4 outbound traffic""" + path = [u"ipsec", u"ipv4-outbound-spd-flow-cache"] + self.add_config_item(self._nodeconfig, "on", path) + def add_statseg_size(self, value): """Add Stats Heap Size configuration. |