CSIT-1539 Aligning FUNC/PERF keywords - Phase III
[csit.git] / resources / libraries / python / Constants.py
index 62c5693..cb66a5d 100644 (file)
@@ -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 = {
@@ -108,6 +111,7 @@ class Constants(object):
         "Intel-X710": 10000000000,
         "Intel-XL710": 24500000000,
         "Intel-XXV710": 24500000000,
+        "virtual": 100000000,
     }
 
     # Suite file names use somewhat more rich (less readable) codes for NICs.