diff options
author | Louis Scalbert <louis.scalbert@6wind.com> | 2022-11-10 16:36:08 +0100 |
---|---|---|
committer | Louis Scalbert <louis.scalbert@6wind.com> | 2023-04-18 11:33:15 +0200 |
commit | 9a65cf35da1d5653202a5355d60663a408ebdfa3 (patch) | |
tree | 8b1eaea84d4284bd972bd6aa50435ae16a0e0656 /isisd/isis_main.c | |
parent | isisd: add support of (ti-)lfa to flex-algo (diff) | |
download | frr-9a65cf35da1d5653202a5355d60663a408ebdfa3.tar.xz frr-9a65cf35da1d5653202a5355d60663a408ebdfa3.zip |
isisd: add affinity-map configuration hooks
Add affinity-map hooks to check the utilization of affinity-map in
flex-algo contexts before its deletion and to update local TLVs when the
affinity-map bit-position is updated.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'isisd/isis_main.c')
-rw-r--r-- | isisd/isis_main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/isisd/isis_main.c b/isisd/isis_main.c index 2f4e4e0bd..8e40882e5 100644 --- a/isisd/isis_main.c +++ b/isisd/isis_main.c @@ -29,6 +29,7 @@ #include "routemap.h" #include "affinitymap.h" +#include "isisd/isis_affinitymap.h" #include "isisd/isis_constants.h" #include "isisd/isis_common.h" #include "isisd/isis_flags.h" @@ -290,7 +291,9 @@ int main(int argc, char **argv, char **envp) lsp_init(); mt_init(); - affinity_map_init(); +#ifndef FABRICD + isis_affinity_map_init(); +#endif /* ifndef FABRICD */ isis_zebra_init(master, instance); isis_bfd_init(master); |