Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
l2: add per bridge domain learn limit
[vpp.git]
/
test
/
vpp_ip_route.py
diff --git
a/test/vpp_ip_route.py
b/test/vpp_ip_route.py
index
c64ad5f
..
a50693c
100644
(file)
--- a/
test/vpp_ip_route.py
+++ b/
test/vpp_ip_route.py
@@
-348,7
+348,7
@@
class VppIpInterfaceBind(VppObject):
return "interface-bind-%s-%s" % (self.intf, self.table)
return "interface-bind-%s-%s" % (self.intf, self.table)
-class VppMplsLabel
(object)
:
+class VppMplsLabel:
def __init__(self, value, mode=MplsLspMode.PIPE, ttl=64, exp=0):
self.value = value
self.mode = mode
def __init__(self, value, mode=MplsLspMode.PIPE, ttl=64, exp=0):
self.value = value
self.mode = mode
@@
-380,7
+380,7
@@
class VppMplsLabel(object):
return not (self == other)
return not (self == other)
-class VppFibPathNextHop
(object)
:
+class VppFibPathNextHop:
def __init__(self, addr,
via_label=MPLS_LABEL_INVALID,
next_hop_id=INVALID_INDEX):
def __init__(self, addr,
via_label=MPLS_LABEL_INVALID,
next_hop_id=INVALID_INDEX):
@@
-411,7
+411,7
@@
class VppFibPathNextHop(object):
self.obj_id == other.obj_id)
self.obj_id == other.obj_id)
-class VppRoutePath
(object)
:
+class VppRoutePath:
def __init__(
self,
def __init__(
self,
@@
-691,7
+691,7
@@
class VppIpMRoute(VppObject):
return c[0][self.stats_index]
return c[0][self.stats_index]
-class VppMFibSignal
(object)
:
+class VppMFibSignal:
def __init__(self, test, route, interface, packet):
self.route = route
self.interface = interface
def __init__(self, test, route, interface, packet):
self.route = route
self.interface = interface