]> git.puffer.fish Git - mirror/frr.git/commit
lib: Restrict redistribution cli a bit
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 13 Apr 2018 13:39:23 +0000 (09:39 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 13 Apr 2018 16:56:19 +0000 (12:56 -0400)
commit82557cf0043b0e73adecd4daedfaf60cf262839c
treef1a3e46f3dda0b813ea08bfbc9faedf047aa61d6
parenta6528075a83492062ed31564256dce010e8d1b3b
lib: Restrict redistribution cli a bit

The PBR and PIM daemons, needed the ability to connect
to zebra.  Unfortunately this connection also implied
an ability to redistribute to other valid protocols.

Add a additional hook to the route_types.pl script
to allow us to specify if the client type should
be redistributed at all.

Additionally cleanup the PIM code to not show up
as a protocol under the header for a 'show ip route'
command

Ticket: CM-20568
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/route_types.pl
lib/route_types.txt