]> git.proxmox.com Git - mirror_frr.git/commit - ripngd/ripng_cli.c
yang, ripngd: add 'frr-ripngd.yang' and associated stub callbacks
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 29 Nov 2018 01:51:34 +0000 (23:51 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 3 Dec 2018 15:47:58 +0000 (13:47 -0200)
commite9ce224b8543c0e432c4eb29240ffc1300bbdf6e
tree055a17df4ebfc24409c1a291e2543abbd8305629
parentd801bfae853353a18b55801bfbd90c9ca90f95f2
yang, ripngd: add 'frr-ripngd.yang' and associated stub callbacks

Introduce frr-ripngd.yang, which defines a model for managing the
FRR ripngd daemon.

Update the 'frr_yang_module_info' array of ripngd with the new
'frr-ripngd' module.

Add two new files (ripng_cli.[ch]) which should contain all ripngd
commands converted to the new northbound model. Centralizing all
commands in a single place will facilitate the process of moving
the CLI to a separate program in the future.

Add automatically generated stub callbacks in
ripng_northbound.c. These callbacks will be implemented gradually
in the following commits.

Add the confd.frr-ripngd.yang YANG module with annotations specific
to the ConfD daemon.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/yang.c
ripngd/ripng_cli.c [new file with mode: 0644]
ripngd/ripng_cli.h [new file with mode: 0644]
ripngd/ripng_main.c
ripngd/ripng_northbound.c [new file with mode: 0644]
ripngd/ripngd.h
ripngd/subdir.am
yang/confd/confd.frr-ripngd.yang [new file with mode: 0644]
yang/frr-ripngd.yang [new file with mode: 0644]
yang/subdir.am