]> git.proxmox.com Git - mirror_frr.git/commit
ripd: split northbound callbacks into multiple files
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 17 Oct 2019 18:46:54 +0000 (15:46 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 30 Oct 2019 00:49:14 +0000 (21:49 -0300)
commitf80ec39e52e3932aa75e836cc741677f5e5cd0fb
tree251a0f0bba5030597cbec5839e6a76918b1d3ec6
parent2a1c520e9f105b1a1bbdb89d59ad3c3953f46f49
ripd: split northbound callbacks into multiple files

Rearrange the ripd northbound callbacks as following:
* rip_nb.h: prototypes of all northbound callbacks.
* rip_nb.c: definition of all northbound callbacks and their
  associated YANG data paths.
* rip_nb_config.c: implementation of YANG configuration nodes.
* rip_nb_state.c: implementation of YANG state nodes.
* rip_nb_rpcs.c: implementation of YANG RPCs.
* rip_nb_notifications.c: implementation of YANG notifications.

This should help to keep to code more organized and easier to
maintain.

No behavior changes intended.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
13 files changed:
ripd/rip_cli.c
ripd/rip_cli.h [deleted file]
ripd/rip_main.c
ripd/rip_nb.c [new file with mode: 0644]
ripd/rip_nb.h [new file with mode: 0644]
ripd/rip_nb_config.c [new file with mode: 0644]
ripd/rip_nb_notifications.c [new file with mode: 0644]
ripd/rip_nb_rpcs.c [new file with mode: 0644]
ripd/rip_nb_state.c [new file with mode: 0644]
ripd/rip_northbound.c [deleted file]
ripd/ripd.c
ripd/ripd.h
ripd/subdir.am