summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-07-08 03:04:33 +0200
committerRenato Westphal <renato@opensourcerouting.org>2018-10-27 20:16:12 +0200
commita4bed468f9603da8199fdd828f5523c3b29ca15c (patch)
treee23e6d612e1a790fb0e109eed7b8e78cf63f926e /ripd
parentlib: add a new northbound plugin for Sysrepo (diff)
downloadfrr-a4bed468f9603da8199fdd828f5523c3b29ca15c.tar.xz
frr-a4bed468f9603da8199fdd828f5523c3b29ca15c.zip
yang, lib: add 'frr-interface.yang' and associated stub callbacks
Introduce frr-interface.yang, which defines a model for managing FRR interfaces. Update the 'frr_yang_module_info' array of all daemons that will implement this module. Add automatically generated stub callbacks in if.c. These callbacks will be implemented in the following commit. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ripd/rip_main.c b/ripd/rip_main.c
index 79d1cca4a..b47b111bc 100644
--- a/ripd/rip_main.c
+++ b/ripd/rip_main.c
@@ -120,6 +120,7 @@ static struct quagga_signal_t ripd_signals[] = {
};
static const struct frr_yang_module_info *ripd_yang_modules[] = {
+ &frr_interface_info,
};
FRR_DAEMON_INFO(ripd, RIP, .vty_port = RIP_VTY_PORT,