]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Start cleanup of 'show [ip] bgp ...' commands
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 24 Jan 2017 00:48:24 +0000 (19:48 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 24 Jan 2017 03:34:49 +0000 (22:34 -0500)
commitaf462945f1a46f80c857e30b72e53ad3610817ee
treebbfd971e2a0ec6925f8564e9bc431c117506ca4d
parent9fa4d336caa23066f4fa886434d2857798023945
bgpd: Start cleanup of 'show [ip] bgp ...' commands

Create bgp_vty_find_and_parse_afi_safi_vrf that
will parse the
`show [ip] bgp [<view|vrf> WORD] [<ipv4|ipv6> [<unicast|multicast|vpn|encap>]]'
part of a command and to return the correct spot we are in the command.

Cleanup 'dampening parameters' part of this command.

Consolidate the creation of the bgp data structure to be a bit cleaner.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_route.c
bgpd/bgp_vty.c
bgpd/bgp_vty.h