]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: add the 'redistribute table' internal support
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 3 Jul 2023 16:01:52 +0000 (18:01 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 12 Jul 2023 12:06:00 +0000 (14:06 +0200)
commit4aee03bfd5767a8eebbcf0a99cd55d82605ebda5
tree430ca1a1d13af5bd866bb940641633dc0c6243cc
parent2150647069903840ef76353a5085eb5afc96cfaf
isisd: add the 'redistribute table' internal support

The 'redistribute table' command does not create the internal
contexts with the appropriate table identifier.

Redistributed prefixes in IS-IS do not care about the
table identifier. Add a linked list of redistribution
contexts, and map the nb configuration to the linked list.

- A new 'table' attribute is added in the 'struct
isis_redist' context.
- The 'isis_redist_update_zebra_subscriptions()' function
is removed and is replaced by direct call to zebra API
for turning on/off redirection.
- The redistributed routes coming from zebra import the
'tableid' information.
- The fabricd redistribute running-config is reworked,
and the 'get_redist_settings()' function is removed.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
isisd/isis_nb_config.c
isisd/isis_redist.c
isisd/isis_redist.h
isisd/isis_zebra.c
isisd/isis_zebra.h
isisd/isisd.c
isisd/isisd.h