aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/Constants.py
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-06-20 19:49:35 +0200
committerJan Gelety <jgelety@cisco.com>2019-06-16 15:19:59 +0200
commit56c1c013bd0d632256efa4cb6b0224bf9c608afa (patch)
treecdce8cac975158c4dc44b5738935d028b40013d8 /resources/libraries/python/Constants.py
parent755842654e0d7144de9fafb836fedc6ebe794c95 (diff)
FIX: IPUtil after vpp api changes
+ do not log all ip_route_add_del api calls to PAPI history in case of scale tests + fix for SRv6 proxy tests + support of more complex structures in api calls/replies in PapiExecutor + update of vpp stable build to version 19.08-rc0~487-gb98dbb1 Change-Id: I9972e126b68ce1cb57f781e3d90ea9b3914de69e Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python/Constants.py')
-rw-r--r--resources/libraries/python/Constants.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py
index 62c5693314..da61f539da 100644
--- a/resources/libraries/python/Constants.py
+++ b/resources/libraries/python/Constants.py
@@ -97,6 +97,9 @@ class Constants(object):
# Equivalent to ~0 used in vpp code
BITWISE_NON_ZERO = 0xffffffff
+ # Maximum number of API calls per PapiExecutor execution
+ PAPI_MAX_API_BULK = 250
+
# Mapping from NIC name to its bps limit.
# TODO: Implement logic to lower limits to TG NIC or software. Or PCI.
NIC_NAME_TO_LIMIT = {