]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: table_id election with the vrf backend
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 28 Mar 2018 08:46:14 +0000 (10:46 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 1 Jun 2018 13:24:13 +0000 (15:24 +0200)
commite9748a89019f03cffd1ba2fcc87543171cbe3a26
tree66ebed6690278df17ca69d64c2b65f9edb97b893
parentb3b086026b8910768c81d0ba9b3146f72780f270
zebra: table_id election with the vrf backend

As table_id for VRF with netns backend is main table ( RT_TABLE_MAIN or
zebrad.rtm_table_default), this makes possible to return the table id
that wants to be configured for those cases. ( in addition to default
VRF). In other cases ( VRF Lite presumably), then vrf table_id is
returned.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zebra_static.c
zebra/zebra_vrf.c
zebra/zebra_vty.c