forked from networktocode/ntc-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BugFix: IOS CDP - Better handling of output (networktocode#735)
- Loading branch information
1 parent
e4e6f5b
commit 966b406
Showing
4 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge | ||
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, | ||
D - Remote, C - CVTA, M - Two-port Mac Relay | ||
|
||
Device ID Local Intrfce Holdtme Capability Platform Port ID | ||
acc-sw101 | ||
Ten 3/7 175 R AS5610-52 0/47 | ||
|
||
Total cdp entries displayed : 1 | ||
|
7 changes: 7 additions & 0 deletions
7
tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
parsed_sample: | ||
- neighbor: "acc-sw101" | ||
local_interface: "Ten 3/7" | ||
capability: "R" | ||
platform: "AS5610-52" | ||
neighbor_interface: "0/47" |