summaryrefslogtreecommitdiffstats
path: root/test/lisp.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp.py')
-rw-r--r--test/lisp.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp.py b/test/lisp.py
index a1f0c1675a0..7b803adb072 100644
--- a/test/lisp.py
+++ b/test/lisp.py
@@ -184,6 +184,10 @@ class VppLispMapping(VppObject):
mapping = self.get_lisp_mapping_dump_entry()
return mapping
+ def object_id(self):
+ return 'lisp-mapping-[%s]-%s-%s-%s' % (
+ self.vni, self.eid, self.priority, self.weight)
+
class VppLocalMapping(VppLispMapping):
""" LISP Local mapping """