X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FConstants.py;h=72310ba8cea87900a436469b01f6f61cfd78feee;hp=0f0003a763938a35e35cc69e215411cc4ea59f5f;hb=9fdc420129db69d20c8f603c15205f2aaf375d66;hpb=619cbff63ab7570bb904acccd627d65f328a1e9a diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py index 0f0003a763..72310ba8ce 100644 --- a/resources/libraries/python/Constants.py +++ b/resources/libraries/python/Constants.py @@ -91,6 +91,9 @@ class Constants(object): # Core dump directory CORE_DUMP_DIR = '/tmp' + # Equivalent to ~0 used in vpp code + BITWISE_NON_ZERO = 0xffffffff + # 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 = {