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:

committed by
Florin Coras

parent
d6c15af33f
commit
6d9e045b00
@ -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 """
|
||||
|
Reference in New Issue
Block a user