diff options
author | Vratko Polak <vrpolak@cisco.com> | 2019-08-09 12:32:59 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2019-08-09 12:32:59 +0200 |
commit | a4c6a63b84f537b3ae660eab7d2a96ffb7740514 (patch) | |
tree | ecfa80bf2b0f3d2ef2955664fce8cd107242fa50 /resources/libraries/python/Constants.py | |
parent | 181e882d5c939cc6620545e5fde411e46fd59559 (diff) |
Bump VPP stable version: socksvr
VPP changed the default socket path in:
https://gerrit.fd.io/r/c/vpp/+/21100
Instead of "default", explicit value is used now.
It coincides with VPP default one,
and is stored in Constants.py (except documentation).
The file name for robot side forwarded socket remains,
as the path leading to is is different anyway.
Change-Id: I0058d16794a3cd04411640c2c8d5fd4ee8cb997d
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/Constants.py')
-rw-r--r-- | resources/libraries/python/Constants.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py index d8550ab27a..0473ca2090 100644 --- a/resources/libraries/python/Constants.py +++ b/resources/libraries/python/Constants.py @@ -106,6 +106,9 @@ class Constants(object): # Equivalent to ~0 used in vpp code BITWISE_NON_ZERO = 0xffffffff + # Default path to VPP API socket. + SOCKSVR_PATH = "/run/vpp/api.sock" + # 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 = { |