summaryrefslogtreecommitdiffstats
path: root/babeld
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 /babeld
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 'babeld')
-rw-r--r--babeld/babel_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c
index c92d46354..eaff97a49 100644
--- a/babeld/babel_main.c
+++ b/babeld/babel_main.c
@@ -138,6 +138,7 @@ struct option longopts[] =
static const struct frr_yang_module_info *babeld_yang_modules[] =
{
+ &frr_interface_info,
};
FRR_DAEMON_INFO(babeld, BABELD,