diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-08-30 13:20:14 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-09-10 07:28:44 +0000 |
commit | c4528bcd137c0813d34b1b248bc92670736e78e6 (patch) | |
tree | ca5ea6a5b6846dfbc0c7c1937dd1e6a6e469a985 /resources/libraries/python/Constants.py | |
parent | 7232ab0e49554a653f3527df5a2ba055f804a4fb (diff) |
Refactor getting telemetry
+ Ability to get stats from CNF via SocketPAPI
- Remove obsolete functions
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I4d1b32a7279244592be96644e4f8a530c4f29a15
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 9606a10fad..b7f91930cb 100644 --- a/resources/libraries/python/Constants.py +++ b/resources/libraries/python/Constants.py @@ -228,6 +228,9 @@ class Constants(object): # /tmp directory is inside the DUT1 docker. DUT1_UUID = get_str_from_env("DUT1_UUID", "") + # Default path to VPP API Stats socket. + SOCKSTAT_PATH = "/run/vpp/stats.sock" + # Global "kill switch" for CRC checking during runtime. FAIL_ON_CRC_MISMATCH = get_optimistic_bool_from_env("FAIL_ON_CRC_MISMATCH") |