From 81745df63ef48b86b52a6f9fb50911e875fdc20e Mon Sep 17 00:00:00 2001 From: Zachary Puls Date: Mon, 16 Sep 2024 10:45:30 -0500 Subject: [PATCH 1/2] Update show_ospf.py Fix for Issue #887 --- src/genie/libs/parser/iosxe/show_ospf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/genie/libs/parser/iosxe/show_ospf.py b/src/genie/libs/parser/iosxe/show_ospf.py index d0b1180f2..3143d4130 100755 --- a/src/genie/libs/parser/iosxe/show_ospf.py +++ b/src/genie/libs/parser/iosxe/show_ospf.py @@ -5224,7 +5224,7 @@ def cli(self, output=None): ' +(?P(\d+))\. +Link +instance +is' ' +(?P(\d+))$') - p6 = re.compile(r'^Link +connected +to +(?P([a-zA-Z\s]+))$') + p6 = re.compile(r'^Link +connected +to +(?P([a-zA-Z-\s]+))$') p7 = re.compile(r'^Link +ID *: +(?P(\S+))$') @@ -9122,4 +9122,4 @@ def cli(self, process_id=None, route=None, output=None): repair_dict['cost'] = int(cost) continue - return ret_dict \ No newline at end of file + return ret_dict From 3d8a9123cad41d277c9aa09d1e6d64856328597f Mon Sep 17 00:00:00 2001 From: Zachary Puls Date: Mon, 16 Sep 2024 12:22:46 -0500 Subject: [PATCH 2/2] Create changelog_show_ip_ospf_iosxe_20240916121912.rst --- .../changelog_show_ip_ospf_iosxe_20240916121912.rst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changelog/undistributed/changelog_show_ip_ospf_iosxe_20240916121912.rst diff --git a/changelog/undistributed/changelog_show_ip_ospf_iosxe_20240916121912.rst b/changelog/undistributed/changelog_show_ip_ospf_iosxe_20240916121912.rst new file mode 100644 index 000000000..e4a9ab10e --- /dev/null +++ b/changelog/undistributed/changelog_show_ip_ospf_iosxe_20240916121912.rst @@ -0,0 +1,6 @@ +-------------------------------------------------------------------------------- + Fix +-------------------------------------------------------------------------------- +* IOSXE + * Modified ShowIpOspfMplsTrafficEngLink: + * Update 'show ip ospf mpls traffic-eng link' RegEx pattern to include hyphen