Cisco IOS 'show ip bgp summary' neighbor ASDOT format
Allow Cisco IOS 'show ip bgp summary' to capture NEIGHBOR_AS as either standard or ASDOT notation.
LOCAL_AS pattern updated in issue 986 PR987, but did not include NEIGHBOR_AS.
@kolbashj We also need test data included in this PR.
Please provide bgp summary test data that includes ASNs in asdot format. It is perfectly fine to obfuscate or modify anything that could be deemed "sensitive" information.
Example file name (doesn't exist until you create it) to place it in:
tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_asdot.raw
As long as you put the raw data in the correct spot, you can use helper scripts to generate the structured data (yaml).
The test data is in a new file necessary so that we can make sure the template is backwards compatible in the future when more changes are needed.
🎯 Please respond back if there are any questions. Thank you!
Hello @mjbear
I just added the test data results. Please let me know if I missed anything. Appreciate your help!
I just added the test data results. Please let me know if I missed anything. Appreciate your help!
This looks good.
I noticed the existing test data was not in alphabetic order. While we're working on a PR I figure we may as well get the keys reordered alphabetically. :grinning:
Thank you!
Thanks @mjbear & @jvanderaa :grinning: