summaryrefslogtreecommitdiffstats
path: root/lib/yang.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-11-29 02:51:34 +0100
committerRenato Westphal <renato@opensourcerouting.org>2018-12-03 16:47:58 +0100
commite9ce224b8543c0e432c4eb29240ffc1300bbdf6e (patch)
tree055a17df4ebfc24409c1a291e2543abbd8305629 /lib/yang.c
parentMerge pull request #3409 from opensourcerouting/feature/cleanup-topotest-dock... (diff)
downloadfrr-e9ce224b8543c0e432c4eb29240ffc1300bbdf6e.tar.xz
frr-e9ce224b8543c0e432c4eb29240ffc1300bbdf6e.zip
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>
Diffstat (limited to 'lib/yang.c')
-rw-r--r--lib/yang.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/yang.c b/lib/yang.c
index 462e69354..780b98610 100644
--- a/lib/yang.c
+++ b/lib/yang.c
@@ -74,6 +74,7 @@ static const char *yang_module_imp_clb(const char *mod_name,
static const char * const frr_native_modules[] = {
"frr-interface",
"frr-ripd",
+ "frr-ripngd",
};
/* Generate the yang_modules tree. */