-
Notifications
You must be signed in to change notification settings - Fork 721
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
New Template: Cisco IOS show ip bgp neighbor #583
New Template: Cisco IOS show ip bgp neighbor #583
Conversation
Add support to parse output from `show ip bgp neighbor`. A lot more output could be retrieved from this command, I only took what I needed for now.
tests/cisco_ios/show_ip_bgp_neighbor/cisco_ios_show_ip_bgp_neighbor.raw
Outdated
Show resolved
Hide resolved
f67d05c
to
872213c
Compare
============================================================================= | ||
BGP neighbor is 175.135.172.146, remote AS 65180, internal link | ||
Description: nsxe-core-rtr1 | ||
Member of peer-group HMCO-core for session parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would update any values that are using \w+ and change them to \S+. This will capture the peer_group: 'HMCO-core'
within the parsed file.
…ner in .raw test file
@kwrobert Just an FYI you can pip install tox and then just run tox command for it to run the tests locally before pushing up and waiting for Travis CI |
Closed by #590 Thanks for your work on this! |
ISSUE TYPE
COMPONENT
Template: cisco_ios_show_ip_bgp_neighbor.textfsm
OS: Cisco IOS
Command: `show ip bgp neighbor
SUMMARY
Added support to parse output from
show ip bgp neighbor
because it contains some information not available in the output ofshow ip bgp summary
.A lot more output could be retrieved from this command, I only took what I needed for now.