X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FVppConfigGenerator.py;h=dc1529033ba321d8a24017345bdf521736711203;hp=e1830147d8662e60c7d1ee05842befeada58a8f4;hb=d5e75e153fe6d0abb6f3bbf0911de09957ea0d8c;hpb=68cbb8912bff78aa7d478e9af54ee1bc199fdc59 diff --git a/resources/libraries/python/VppConfigGenerator.py b/resources/libraries/python/VppConfigGenerator.py index e1830147d8..dc1529033b 100644 --- a/resources/libraries/python/VppConfigGenerator.py +++ b/resources/libraries/python/VppConfigGenerator.py @@ -438,6 +438,24 @@ class VppConfigGenerator: path = [u"ipsec", u"ipv4-outbound-spd-flow-cache"] self.add_config_item(self._nodeconfig, "on", path) + def add_ipsec_spd_fast_path_ipv4_outbound(self, value): + """Add IPsec spd fast path for IP4 outbound. + + :param value: "on" to enable spd fast path. + :type value: str + """ + path = [u"ipsec", u"ipv4-outbound-spd-fast-path"] + self.add_config_item(self._nodeconfig, value, path) + + def add_ipsec_spd_fast_path_num_buckets(self, value): + """Add num buckets for IPsec spd fast path. + + :param value: Number of buckets. + :type value: int + """ + path = [u"ipsec", u"spd-fast-path-num-buckets"] + self.add_config_item(self._nodeconfig, value, path) + def add_statseg_size(self, value): """Add Stats Heap Size configuration.