From a0f31832cd3862bf236ba8525f17fe5a58405758 Mon Sep 17 00:00:00 2001 From: Taarini Date: Fri, 6 Oct 2023 15:19:35 -0400 Subject: [PATCH] Renamed the keyword extranet as used in genieparser --- pkgs/ops-pkg/src/genie/libs/ops/lisp/iosxe/lisp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/ops-pkg/src/genie/libs/ops/lisp/iosxe/lisp.py b/pkgs/ops-pkg/src/genie/libs/ops/lisp/iosxe/lisp.py index b50987c3f..17707e3c3 100644 --- a/pkgs/ops-pkg/src/genie/libs/ops/lisp/iosxe/lisp.py +++ b/pkgs/ops-pkg/src/genie/libs/ops/lisp/iosxe/lisp.py @@ -151,10 +151,10 @@ def learn(self): # eid_record # bidirectional for key in ['vni', 'extranets']: - self.add_leaf(cmd='show lisp all extranet {extranet} instance-id {instance_id}'.format(instance_id=instance_id, extranet='ext1'), + self.add_leaf(cmd='show lisp all extranet {extranet_name} instance-id {instance_id}'.format(instance_id=instance_id, extranet_name='ext1'), src=vni_src+'[{key}]'.format(key=key), dest=vni_dest+'[{key}]'.format(key=key), - instance_id=instance_id, extranet='ext1') + instance_id=instance_id, extranet_name='ext1') # map_server # virtual_network_ids