Skip to content

Commit 203d3f2

Browse files
author
Jamie Reid
committed
Add comment to show match, and update schema
1 parent 953a894 commit 203d3f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/genie/libs/parser/iosxe/show_ap.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ class ShowApCdpNeighborSchema(MetaParser):
11491149
Optional("neighbor_name"): str,
11501150
Optional("neighbor_port"): str,
11511151
Optional("neighbor_ip_count"): int,
1152-
Optional("neighbor_ip_addresses"): list
1152+
Optional("neighbor_ip_addresses"): ListOf(str)
11531153
}
11541154
}
11551155
}
@@ -1199,6 +1199,7 @@ def cli(self, output=None):
11991199

12001200
neighbor_count_capture = re.compile(r"^Number\s+of\s+neighbors:\s+(?P<neighbor_count>\d+)$")
12011201
# 0221-cap22 10.8.33.106 a02-21-sd-sw1.cisco.com TenGigabitEthernet3/0/47
1202+
# 0221-cap22 10.8.33.106 a02-21-sd-sw1.cisco.com 10.8.32.1 TenGigabitEthernet3/0/47
12021203
neighbor_info_capture = re.compile(
12031204
r"^(?P<ap_name>\S+)\s+(?P<ap_ip>\d+\.\d+\.\d+\.\d+)\s+(?P<neighbor_name>\S+)\s+((?P<neighbor_ip>\S+))?\s+(?P<neighbor_port>\S+)$")
12041205
# Neighbor IP Count: 1

0 commit comments

Comments
 (0)