networktocode / ntc-templates

TextFSM templates for parsing show commands of network devices
https://ntc-templates.readthedocs.io/
Other
1.12k stars 730 forks source link

Created cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes.textfsm #1907

Closed jorlandobr closed 22 hours ago

jorlandobr commented 6 days ago

Added new template cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes . Included test case and Index modification.

mjbear commented 6 days ago

@jorlandobr Probably a good idea to split out the PREFIX_LENGTH separate from the network or route? Thoughts?

This is a reminder to me of another area (BGP and routing) that could use some capture group normalization. https://github.com/networktocode/ntc-templates/blob/master/docs/dev/data_model.md#common-capture-groups

jorlandobr commented 6 days ago

@mjbear ,

good idea! Updated template with a separeted field for PREFIX_LENGTH.

mjbear commented 1 day ago

@jorlandobr I opened jorlandobr/ntc-templates/pull/1 with some test data changes. Thank you!

This documentation on workflow and branching might be helpful too. It's generally a pain to develop on one's primary branch (ex: master or main are common primary branches).

jorlandobr commented 1 day ago

@jorlandobr I opened jorlandobr/pull/1 with some test data changes. Thank you!

This documentation on workflow and branching might be helpful too. It's generally a pain to develop on one's primary branch (ex: master or main are common primary branches).

Thanks for your help!

I'll start to learn this new tool :-)