Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
telemetry: error message handling part2
[csit.git]
/
resources
/
tools
/
telemetry
/
constants.py
diff --git
a/resources/tools/telemetry/constants.py
b/resources/tools/telemetry/constants.py
index
fda558b
..
4b47a39
100644
(file)
--- a/
resources/tools/telemetry/constants.py
+++ b/
resources/tools/telemetry/constants.py
@@
-26,6
+26,12
@@
class Constants:
# Failed when processing data
err_telemetry_process = 1
# Failed when processing data
err_telemetry_process = 1
+ # Failed to read YAML file
+ err_telemetry_yaml = 2
+
+ # Error executing bundle
+ err_telemetry_bundle = 3
+
# Could not connect to VPP
err_vpp_connect = 11
# Could not connect to VPP
err_vpp_connect = 11
@@
-35,3
+41,9
@@
class Constants:
# Failed when executing command
err_vpp_execute = 13
# Failed when executing command
err_vpp_execute = 13
+ # Could not attach BPF events
+ err_linux_attach = 51
+
+ # Could not detach BPF events
+ err_linux_detach = 52
+