Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ipsec: add per-SA error counters
[vpp.git]
/
test
/
vpp_ipsec.py
diff --git
a/test/vpp_ipsec.py
b/test/vpp_ipsec.py
index
f50d491
..
7a5a95a
100644
(file)
--- a/
test/vpp_ipsec.py
+++ b/
test/vpp_ipsec.py
@@
-358,8
+358,8
@@
class VppIpsecSA(VppObject):
# +1 to skip main thread
return c[worker + 1][self.stat_index]
# +1 to skip main thread
return c[worker + 1][self.stat_index]
- def get_
lost(self
, worker=None):
- c = self.test.statistics.get_counter("/net/ipsec/sa/
lost"
)
+ def get_
err(self, name
, worker=None):
+ c = self.test.statistics.get_counter("/net/ipsec/sa/
err/" + name
)
if worker is None:
total = 0
for t in c:
if worker is None:
total = 0
for t in c: