diff options
author | Vratko Polak <vrpolak@cisco.com> | 2024-07-19 10:14:49 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2024-07-19 10:14:49 +0200 |
commit | 901fba157df6da09800866c7eb80014ae2ffbf5b (patch) | |
tree | 27d82016e0914a38e2cf2ac766482925e3b23a75 /resources/libraries | |
parent | 8cb54f29a244f8349b0774d60ea878a0defb3d3a (diff) |
fix(api): Remove support for old behaviors
The 2406 cycle did not upgrade any messages used by CSIT.
But there were few workarounds in CSIT code
to accomodate vehavior of older VPP builds.
Two removed.
One (re PAPI) stays, as that needs more testing.
Change-Id: I0595cf1d8b9d9ea80113f59130cbbdf00a249157
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries')
-rw-r--r-- | resources/libraries/python/IPsecUtil.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/resources/libraries/python/IPsecUtil.py b/resources/libraries/python/IPsecUtil.py index 1abfee2cec..e93ae28142 100644 --- a/resources/libraries/python/IPsecUtil.py +++ b/resources/libraries/python/IPsecUtil.py @@ -348,13 +348,7 @@ class IPsecUtil: cmd = "crypto_set_async_dispatch_v2" err_msg = "Failed to set dispatch mode." args = dict(mode=0, adaptive=False) - try: - papi_exec.add(cmd, **args).get_reply(err_msg) - except (AttributeError, RuntimeError): - # Expected when VPP build does not have the _v2 yet - # (after and before the first CRC check). - # TODO: Fail here when testing of pre-23.10 builds is over. - pass + papi_exec.add(cmd, **args).get_reply(err_msg) @staticmethod def vpp_ipsec_crypto_sw_scheduler_set_worker( |