diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2020-06-04 18:03:04 +0200 |
|---|---|---|
| committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2020-06-23 16:36:56 +0200 |
| commit | 58fbcdf2faa7d987977068938468d32704ebe623 (patch) | |
| tree | e9830226c8f940c218daa44e7ea0005ed6adb7b9 /lib/command.c | |
| parent | d8391312733858591cd13f36f6ba6e5411f34a69 (diff) | |
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>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
