+
+ def query_vpp_config(self):
+ dump = self._test.vapi.mpls_tunnel_dump()
+ for t in dump:
+ if self.sw_if_index == t.mt_sw_if_index:
+ return True
+ return False
+
+ def __str__(self):
+ return self.object_id()
+
+ def object_id(self):
+ return ("mpls-tunnel%d" % self.sw_if_index)