diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2022-12-28 11:53:03 +0100 |
|---|---|---|
| committer | Dmytro Shytyi <dmytro.shytyi@6wind.com> | 2024-06-07 12:33:47 +0200 |
| commit | eb10a69766c68cd302f820b8c54988a46da6259e (patch) | |
| tree | 5f8fe65fd5bdc46f87605e2987786ef10acaca88 /lib/nexthop.c | |
| parent | d875dc37ee03acc1fed4e750bbba8f6137e39fba (diff) | |
zebra: handle nexthop-resolution updates
Upon reconfiguring nexthop-resolution updates, update the
lsp entries accordingly.
If fec nexthop-resolution becomes true, then call again
fec_change_update_lsp() for each fec entry available.
If fec nexthop-resolution becomes false, then call again
fec_change_update_lsp() for each fec entry available, and
if the update fails, uninstall any lsp related with the fec
entry. In the case lsp_install() and no lsp entry could be
created or updated, then consider this call as a failure, and
return -1.
Co-developed-by: Dmytro Shytyi <dmytro.shytyi@6wind.com>
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Dmytro Shytyi <dmytro.shytyi@6wind.com>
Diffstat (limited to 'lib/nexthop.c')
0 files changed, 0 insertions, 0 deletions
