]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Add ability to support tags -> realms in linux
authorKaloyan Kovachev <kkovachev@varna.net>
Fri, 8 Dec 2017 19:44:15 +0000 (14:44 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 14 Dec 2017 14:44:44 +0000 (09:44 -0500)
commit4e40b6d61548eda00277c1c59c5a6ace0c1d6055
tree5e397e61968602f9dfbf8d7ab86a3851b9c4c2ef
parentcb9cef73bd72113762ce9807c6623adb31427894
zebra: Add ability to support tags -> realms in linux

Linux has the ability to support a concept of 'realms'.
This concept allows you to mark routes with a realm id
value of 1-255.  If you have marked the realm
of a route then you can use the tc program to
apply policy to the routes.

This commit adds the ability of FRR to interpret
a tag from (1-255) as a realm when installing into
the kernel.  Please note that at this point in time
there is no way to set policy from within FRR.  This
must be done outside of it.

The normal methodology for setting tags is valid here
via a route-map.

Finally this is only applied if the --enable-realms configure
option is applied.

Signed-off-by: Kaloyan Kovachev <kkovachev@varna.net>
configure.ac
zebra/connected.c
zebra/kernel_socket.c
zebra/rib.h
zebra/rt_netlink.c
zebra/rtread_getmsg.c
zebra/zebra_rib.c