]> git.puffer.fish Git - matthieu/frr.git/commit
isisd, ospfd: IGPs detect LDP down via zapi client close message
authorKaren Schoener <karen@voltanet.io>
Tue, 8 Dec 2020 14:44:27 +0000 (09:44 -0500)
committerKaren Schoener <karen@volta.io>
Wed, 9 Dec 2020 13:41:42 +0000 (08:41 -0500)
commitcb135cc94303d2581987645f124bd6d4cecd80a6
tree5dd374ddd2105b3a82439ec1c4e8ea686b5e55d0
parentb64e1733746a2cabb5b25b283407c095fc1c8c3a
isisd, ospfd: IGPs detect LDP down via zapi client close message

When ldp-sync is configured, IGPs take action if the LDP process goes down.

Currently, IGPs detect the LDP process is down if they do not receive a
periodic 'hello' message from LDP within 1 second.

Intermittently, this heartbeat mechanism causes false topotest failures.
When the failure occurs, LDP is busy receiving messages from zebra for a
few seconds.  During this time, LDP does not send the expected periodic
message.

With this change, IGPs detect LDP down via zapi client close message.

Signed-off-by: Karen Schoener <karen@voltanet.io>
isisd/isis_ldp_sync.c
isisd/isis_ldp_sync.h
isisd/isis_zebra.c
ospfd/ospf_ldp_sync.c
ospfd/ospf_ldp_sync.h
ospfd/ospf_zebra.c