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 0000000000..e4a9ab10ee --- /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 diff --git a/src/genie/libs/parser/iosxe/show_ospf.py b/src/genie/libs/parser/iosxe/show_ospf.py index d0b1180f27..3143d41304 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