]> 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>
Fri, 22 Jun 2018 14:21:09 +0000 (10:21 -0400)
commit8e9d8034dd03de4d69f45a6c6d463d46bbed5725
tree3e2fe418021477db430cb697bdf6df3bd580aabe
parenteb9be4a94a65b8117effd42f10ea62e19c350a92
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