VTL: test/lisp.py. Add missing method: object_id().

Change-Id: I7609a7b173cbfc1de10b346cc8075bca5a40ef3a
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:
Paul Vinciguerra
2019-01-20 17:11:48 -08:00
committed by Florin Coras
parent d6c15af33f
commit 6d9e045b00

View File

@ -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 """