]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Speedup vtysh handling of 'show bgp afi safi json' display
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 14 Dec 2017 14:31:26 +0000 (09:31 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 14 Dec 2017 14:31:26 +0000 (09:31 -0500)
commit23b2a7ef524c9fe083b217c7f6ebaec0effc8f52
tree712f114fc0b1a5db11c2e933c0dfc8e6280f6e21
parentcb9cef73bd72113762ce9807c6623adb31427894
bgpd: Speedup vtysh handling of 'show bgp afi safi json' display

When bgp has a metric butt-load of routes w/ ecmp, this command
can take an inordinate amount of time to run and complete via
vtysh.

Converting the bgp route output in this case back to not
using the json pretty-print drops ~2 minutes of runtime
off.

It is assumed that if users would like pretty output they
can run it through an appropriate tool via a pipe command.

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