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
return not (self == other)
-class VppFibPathNextHop(object):
+class VppFibPathNextHop:
def __init__(self, addr,
via_label=MPLS_LABEL_INVALID,
next_hop_id=INVALID_INDEX):
self.obj_id == other.obj_id)
-class VppRoutePath(object):
+class VppRoutePath:
def __init__(
self,
return c[0][self.stats_index]
-class VppMFibSignal(object):
+class VppMFibSignal:
def __init__(self, test, route, interface, packet):
self.route = route
self.interface = interface