summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-10-31 23:50:45 +0100
committerGitHub <noreply@github.com>2018-10-31 23:50:45 +0100
commit0100dfb9c1424a7881f5cefe69309f1ff456fb96 (patch)
tree7357571678e29bb9629f314b5f0b73aaf2faf55d /pimd
parentMerge pull request #3263 from donaldsharp/pim_bsd (diff)
parentbgpd: add valgrind suppression file for to ignore libyang per dll memory leak (diff)
downloadfrr-0100dfb9c1424a7881f5cefe69309f1ff456fb96.tar.xz
frr-0100dfb9c1424a7881f5cefe69309f1ff456fb96.zip
Merge pull request #2705 from opensourcerouting/northbound-yang-v2
Northbound API
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pimd/pim_main.c b/pimd/pim_main.c
index 578794086..50ebc4003 100644
--- a/pimd/pim_main.c
+++ b/pimd/pim_main.c
@@ -71,6 +71,10 @@ struct zebra_privs_t pimd_privs = {
.cap_num_p = sizeof(_caps_p) / sizeof(_caps_p[0]),
.cap_num_i = 0};
+static const struct frr_yang_module_info *pimd_yang_modules[] = {
+ &frr_interface_info,
+};
+
FRR_DAEMON_INFO(pimd, PIM, .vty_port = PIMD_VTY_PORT,
.proghelp = "Implementation of the PIM routing protocol.",
@@ -78,7 +82,8 @@ FRR_DAEMON_INFO(pimd, PIM, .vty_port = PIMD_VTY_PORT,
.signals = pimd_signals,
.n_signals = 4 /* XXX array_size(pimd_signals) XXX*/,
- .privs = &pimd_privs, )
+ .privs = &pimd_privs, .yang_modules = pimd_yang_modules,
+ .n_yang_modules = array_size(pimd_yang_modules), )
int main(int argc, char **argv, char **envp)