Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
tests: refactor. Replace literal constant w/ named constant.
[vpp.git]
/
test
/
vpp_vxlan_gbp_tunnel.py
diff --git
a/test/vpp_vxlan_gbp_tunnel.py
b/test/vpp_vxlan_gbp_tunnel.py
index
efeb4f9
..
47817ed
100644
(file)
--- a/
test/vpp_vxlan_gbp_tunnel.py
+++ b/
test/vpp_vxlan_gbp_tunnel.py
@@
-68,9
+68,6
@@
class VppVxlanGbpTunnel(VppInterface):
self.dst,
self.vni))
- def __str__(self):
- return self.object_id()
-
def object_id(self):
return "vxlan-gbp-%d-%d-%s-%s" % (self.sw_if_index, self.vni,
self.src, self.dst)