Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Pipe: fix double count on TX (TX counting is done in interface-output)
[vpp.git]
/
test
/
bfd.py
diff --git
a/test/bfd.py
b/test/bfd.py
index
d99bbf6
..
84ef7b0
100644
(file)
--- a/
test/bfd.py
+++ b/
test/bfd.py
@@
-222,9
+222,6
@@
class VppBFDAuthKey(VppObject):
def object_id(self):
return "bfd-auth-key-%s" % self._conf_key_id
def object_id(self):
return "bfd-auth-key-%s" % self._conf_key_id
- def __str__(self):
- return self.object_id()
-
class VppBFDUDPSession(VppObject):
""" Represents BFD UDP session in VPP """
class VppBFDUDPSession(VppObject):
""" Represents BFD UDP session in VPP """
@@
-430,9
+427,6
@@
class VppBFDUDPSession(VppObject):
self.peer_addr,
self.af)
self.peer_addr,
self.af)
- def __str__(self):
- return self.object_id()
-
def admin_up(self):
""" set bfd session admin-up """
is_ipv6 = 1 if AF_INET6 == self._af else 0
def admin_up(self):
""" set bfd session admin-up """
is_ipv6 = 1 if AF_INET6 == self._af else 0