diff options
author | Vratko Polak <vrpolak@cisco.com> | 2023-08-17 14:53:26 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2023-08-17 14:53:26 +0200 |
commit | 38c04b2566c3ecf2109611628783dd1c8a1be99a (patch) | |
tree | 730f7624a6182904279e84594b71e5b8b1c03253 /resources/libraries/python/PapiExecutor.py | |
parent | 0634490c0557d94856f6061c323cf6a2592f294b (diff) |
feat(swasync): switch to polling mode
Performance of adaptive mode is bad (different bug),
keep continuity of ipsec swasync tests (when VPP allows).
As 23.06-release does not have the new API message,
the new CSIT code needs to be more careful around CRC checking.
+ Add new crc collection with the new API call used.
+ Also keep the old collection so older VPP does not fail.
+ Document how papi executor works with VPP without a message.
+ Prevent CRC checker from raising bodus errors with old VPP.
Change-Id: I9ff933a8a9558289d22d55526905d63e7894378c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/PapiExecutor.py')
-rw-r--r-- | resources/libraries/python/PapiExecutor.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/libraries/python/PapiExecutor.py b/resources/libraries/python/PapiExecutor.py index b0fe6f5b7b..b629996042 100644 --- a/resources/libraries/python/PapiExecutor.py +++ b/resources/libraries/python/PapiExecutor.py @@ -995,6 +995,7 @@ class PapiSocketExecutor: :returns: Papi replies parsed into a dict-like object, with fields due to API (possibly including retval). :rtype: List[UserDict] + :raises AttributeError: If VPP does not know the command. :raises RuntimeError: If the replies are not all correct. """ vpp_instance = self.get_connected_client() |