-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Account for additional lines in cisco_nxos_bgp_summary (#1877)
Co-authored-by: Michael Bear <[email protected]>
- Loading branch information
Showing
3 changed files
with
134 additions
and
3 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
26 changes: 26 additions & 0 deletions
26
tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary2.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,26 @@ | ||
BGP router identifier 10.0.0.1, local AS number 6230 | ||
BGP table version is 39619, main routing table version 39619 | ||
972 network entries using 241056 bytes of memory | ||
2762 path entries using 375632 bytes of memory | ||
124/52 BGP path/bestpath attribute entries using 34720 bytes of memory | ||
48 BGP AS-PATH entries using 1888 bytes of memory | ||
4 BGP community entries using 144 bytes of memory | ||
1 BGP extended community entries using 24 bytes of memory | ||
0 BGP route-map cache entries using 0 bytes of memory | ||
0 BGP filter-list cache entries using 0 bytes of memory | ||
BGP using 653464 total bytes of memory | ||
905 received paths for inbound soft reconfiguration | ||
BGP attribute entries [9/3240], BGP AS path entries [1/6] | ||
BGP community entries [0/0], BGP clusterlist entries [0/0] | ||
BGP activity 2303/1331 prefixes, 43670/40908 paths, scan interval 60 secs | ||
|
||
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd | ||
10.0.0.81 4 132 0 0 1 0 0 never Idle (Admin) | ||
10.0.0.66 4 6230 363273 392165 39619 0 0 6w1d 9 | ||
10.0.0.67 4 6230 363277 392110 39619 0 0 6w1d 9 | ||
10.0.0.74 4 6230 363274 392168 39619 0 0 6w1d 10 | ||
10.0.0.75 4 6230 363277 392137 39619 0 0 6w1d 10 | ||
10.0.0.82 4 6230 363272 392239 39619 0 0 6w1d 2 | ||
10.0.0.83 4 6230 363274 392149 39619 0 0 6w1d 2 | ||
10.0.0.90 4 6230 363272 392205 39619 0 0 6w1d 1 | ||
10.0.0.91 4 6230 363274 392176 39619 0 0 6w1d 1 |
101 changes: 101 additions & 0 deletions
101
tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary2.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,101 @@ | ||
--- | ||
parsed_sample: | ||
- bgp_neigh: "10.0.0.81" | ||
in_queue: "0" | ||
local_as: "6230" | ||
msg_rcvd: "0" | ||
msg_sent: "0" | ||
neigh_as: "132" | ||
out_queue: "0" | ||
router_id: "10.0.0.1" | ||
state_pfxrcd: "Idle (Admin)" | ||
up_down: "never" | ||
vrf: "" | ||
- bgp_neigh: "10.0.0.66" | ||
in_queue: "0" | ||
local_as: "6230" | ||
msg_rcvd: "363273" | ||
msg_sent: "392165" | ||
neigh_as: "6230" | ||
out_queue: "0" | ||
router_id: "10.0.0.1" | ||
state_pfxrcd: "9" | ||
up_down: "6w1d" | ||
vrf: "" | ||
- bgp_neigh: "10.0.0.67" | ||
in_queue: "0" | ||
local_as: "6230" | ||
msg_rcvd: "363277" | ||
msg_sent: "392110" | ||
neigh_as: "6230" | ||
out_queue: "0" | ||
router_id: "10.0.0.1" | ||
state_pfxrcd: "9" | ||
up_down: "6w1d" | ||
vrf: "" | ||
- bgp_neigh: "10.0.0.74" | ||
in_queue: "0" | ||
local_as: "6230" | ||
msg_rcvd: "363274" | ||
msg_sent: "392168" | ||
neigh_as: "6230" | ||
out_queue: "0" | ||
router_id: "10.0.0.1" | ||
state_pfxrcd: "10" | ||
up_down: "6w1d" | ||
vrf: "" | ||
- bgp_neigh: "10.0.0.75" | ||
in_queue: "0" | ||
local_as: "6230" | ||
msg_rcvd: "363277" | ||
msg_sent: "392137" | ||
neigh_as: "6230" | ||
out_queue: "0" | ||
router_id: "10.0.0.1" | ||
state_pfxrcd: "10" | ||
up_down: "6w1d" | ||
vrf: "" | ||
- bgp_neigh: "10.0.0.82" | ||
in_queue: "0" | ||
local_as: "6230" | ||
msg_rcvd: "363272" | ||
msg_sent: "392239" | ||
neigh_as: "6230" | ||
out_queue: "0" | ||
router_id: "10.0.0.1" | ||
state_pfxrcd: "2" | ||
up_down: "6w1d" | ||
vrf: "" | ||
- bgp_neigh: "10.0.0.83" | ||
in_queue: "0" | ||
local_as: "6230" | ||
msg_rcvd: "363274" | ||
msg_sent: "392149" | ||
neigh_as: "6230" | ||
out_queue: "0" | ||
router_id: "10.0.0.1" | ||
state_pfxrcd: "2" | ||
up_down: "6w1d" | ||
vrf: "" | ||
- bgp_neigh: "10.0.0.90" | ||
in_queue: "0" | ||
local_as: "6230" | ||
msg_rcvd: "363272" | ||
msg_sent: "392205" | ||
neigh_as: "6230" | ||
out_queue: "0" | ||
router_id: "10.0.0.1" | ||
state_pfxrcd: "1" | ||
up_down: "6w1d" | ||
vrf: "" | ||
- bgp_neigh: "10.0.0.91" | ||
in_queue: "0" | ||
local_as: "6230" | ||
msg_rcvd: "363274" | ||
msg_sent: "392176" | ||
neigh_as: "6230" | ||
out_queue: "0" | ||
router_id: "10.0.0.1" | ||
state_pfxrcd: "1" | ||
up_down: "6w1d" | ||
vrf: "" |