Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed by adding support for ext comm in asa show bgp summary #1325

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Start
^\d+\/\d+\s+BGP\s+path\/bestpath\s+attribute\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$
^\d+\s+BGP\s+AS-PATH\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$
^\d+\s+BGP\s+community\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$
^\d+\s+BGP\s+extended\s+community\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$
^\d+\s+BGP\s+route-map\s+cache\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$
^\d+\s+BGP\s+filter-list\s+cache\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$
^BGP\s+using\s\d+\s+total\s+bytes\s+of\s+memory\s*$$
Expand Down
4 changes: 2 additions & 2 deletions tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ parsed_sample:
local_as: "65045"
bgp_neigh: "172.16.243.53"
neigh_as: "186"
state_pfxrcd: "111"
up_down: "4d06h"
state_pfxrcd: "111"
- router_id: "172.25.40.2"
local_as: "65045"
bgp_neigh: "172.16.248.53"
neigh_as: "196"
state_pfxrcd: "Idle"
up_down: "never"
state_pfxrcd: "Idle"
14 changes: 14 additions & 0 deletions tests/cisco_asa/show_bgp_summary/show_bgp_summary1.raw
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
BGP router identifier 10.10.254.1, local AS number 65101
BGP table version is 9, main routing table version 9
8 network entries using 1600 bytes of memory
8 path entries using 640 bytes of memory
8/7 BGP path/bestpath attribute entries using 1664 bytes of memory
4 BGP extended community entries using 96 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 4000 total bytes of memory
BGP activity 8/0 prefixes, 8/0 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.10.254.1 4 65101 961788 961836 9 0 0 4w6d 5
10.10.254.9 4 65101 961784 961836 9 0 0 4w6d 1
14 changes: 14 additions & 0 deletions tests/cisco_asa/show_bgp_summary/show_bgp_summary1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
parsed_sample:
- router_id: "10.10.254.1"
local_as: "65101"
bgp_neigh: "10.10.254.1"
neigh_as: "65101"
up_down: "4w6d"
state_pfxrcd: "5"
- router_id: "10.10.254.1"
local_as: "65101"
bgp_neigh: "10.10.254.9"
neigh_as: "65101"
up_down: "4w6d"
state_pfxrcd: "1"