From 6d9e045b00e12c1e195342925c444a8d3756acbd Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Sun, 20 Jan 2019 17:11:48 -0800 Subject: [PATCH] VTL: test/lisp.py. Add missing method: object_id(). Change-Id: I7609a7b173cbfc1de10b346cc8075bca5a40ef3a Signed-off-by: Paul Vinciguerra --- test/lisp.py | 4 ++++ 1 file changed, 4 insertions(+) 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 """ -- 2.16.6