]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Add 'match source-instance' to allow finer grained control
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 17 May 2018 14:29:49 +0000 (10:29 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 17 May 2018 14:57:59 +0000 (10:57 -0400)
commit633a66a58657f3dfef76c61d4ff805fc2c5b1808
treeeb8deb7de40eefa1440b4f536caa1e7eeaa6090f
parent51f9d3e70ffa6e27fdb51ecc10b618091d518c28
zebra: Add 'match source-instance' to allow finer grained control

Add to zebra route-maps the ability to match on a source-instance

route-map FOO deny 55
 match source-instance 5
route-map FOO permit 60

ip protocol any route-map FOO

This will match any protocol route installation with a source-instance of 5.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/redistribute.c
zebra/zebra_rib.c
zebra/zebra_routemap.c
zebra/zebra_routemap.h