]> git.puffer.fish Git - mirror/frr.git/commit
isisd: Start Label Manager safer
authorOlivier Dugeon <olivier.dugeon@orange.com>
Thu, 4 Jun 2020 16:03:04 +0000 (18:03 +0200)
committerOlivier Dugeon <olivier.dugeon@orange.com>
Tue, 23 Jun 2020 14:36:56 +0000 (16:36 +0200)
commit58fbcdf2faa7d987977068938468d32704ebe623
treee9830226c8f940c218daa44e7ea0005ed6adb7b9
parentd8391312733858591cd13f36f6ba6e5411f34a69
isisd: Start Label Manager safer

Initial attempt to connect to the Label Manager used an infinite loop with
a sleep statement which block isisd until Label Manager connection fire up.

This commit changes the way Label Manager connection is established and uses
a `thread_add_timer()` call to re-attempt to establish the connection in case
of failure (zebra or label manager not ready).

New variables are added to the SRDB in order to control the request of SRGB
and SRLB to the Label Manager to start Segment Routing in a safe way.

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
isisd/isis_nb_config.c
isisd/isis_sr.c
isisd/isis_sr.h
isisd/isis_zebra.c
isisd/isis_zebra.h