summaryrefslogtreecommitdiff
path: root/isisd/isisd.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-07-03 18:01:52 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-07-12 14:06:00 +0200
commit4aee03bfd5767a8eebbcf0a99cd55d82605ebda5 (patch)
tree430ca1a1d13af5bd866bb940641633dc0c6243cc /isisd/isisd.h
parent2150647069903840ef76353a5085eb5afc96cfaf (diff)
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>
Diffstat (limited to 'isisd/isisd.h')
-rw-r--r--isisd/isisd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h
index f0d236b643..cd2a694453 100644
--- a/isisd/isisd.h
+++ b/isisd/isisd.h
@@ -230,8 +230,8 @@ struct isis_area {
#endif /* ifndef FABRICD */
/* Counters */
uint32_t circuit_state_changes;
- struct isis_redist redist_settings[REDIST_PROTOCOL_COUNT]
- [ZEBRA_ROUTE_MAX + 1][ISIS_LEVELS];
+ struct list *redist_settings[REDIST_PROTOCOL_COUNT][ZEBRA_ROUTE_MAX + 1]
+ [ISIS_LEVELS];
struct route_table *ext_reach[REDIST_PROTOCOL_COUNT][ISIS_LEVELS];
struct spf_backoff *spf_delay_ietf[ISIS_LEVELS]; /*Structure with IETF