]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: Replace LSDB callbacks with LSA Update/Delete hooks. 18046/head
authorAcee Lindem <acee@lindem.com>
Thu, 6 Feb 2025 18:36:06 +0000 (18:36 +0000)
committerAcee <aceelindem@gmail.com>
Wed, 12 Feb 2025 13:21:34 +0000 (08:21 -0500)
commitb44258413f4b6569f8f94869b207ee655bac70ae
tree5c90d14f16a0c29817948793cd3f1a6ca7a0dc2b
parentcea55c9223a4bff308238c97541c7d75c8bd88cd
ospfd: Replace LSDB callbacks with LSA Update/Delete hooks.

Replace the LSDB callbacks with LSA update and delete hooks using the
the FRR hook mechanism. Remove redundant callbacks by placing the LSA
update and delete hooks in a single place so that deletes don't need
to be handled by the update hook. Simplify existing OSPF TE and OSPF
API Server callbacks now that there is no ambiguity or redundancy.
Also cleanup the debugging by separating out opaque-lsa debugging
from the overloaded event debugging.

Signed-off-by: Acee Lindem <acee@lindem.com>
doc/user/ospfd.rst
ospfd/ospf_apiserver.c
ospfd/ospf_dump.c
ospfd/ospf_dump.h
ospfd/ospf_lsa.c
ospfd/ospf_lsa.h
ospfd/ospf_lsdb.c
ospfd/ospf_lsdb.h
ospfd/ospf_opaque.c
ospfd/ospf_te.c