diff options
author | Chirag Shah <chirag@cumulusnetworks.com> | 2020-03-11 21:14:08 +0100 |
---|---|---|
committer | Santosh P K <sapk@vmware.com> | 2020-04-16 17:00:15 +0200 |
commit | 6fd8972aef60be1b329831ecf8b0394a59bf2159 (patch) | |
tree | a6f0c85ac321fcfcae6211bba2cf98ab6c74e7f1 | |
parent | lib: vrf northbound callbacks (diff) | |
download | frr-6fd8972aef60be1b329831ecf8b0394a59bf2159.tar.xz frr-6fd8972aef60be1b329831ecf8b0394a59bf2159.zip |
*: include vrf northbound module in init
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
-rw-r--r-- | babeld/babel_main.c | 8 | ||||
-rw-r--r-- | bfdd/bfdd.c | 1 | ||||
-rw-r--r-- | bgpd/bgp_main.c | 1 | ||||
-rw-r--r-- | eigrpd/eigrp_main.c | 1 | ||||
-rw-r--r-- | isisd/isis_main.c | 1 | ||||
-rw-r--r-- | ldpd/ldpd.c | 1 | ||||
-rw-r--r-- | ospf6d/ospf6_main.c | 1 | ||||
-rw-r--r-- | ospfd/ospf_main.c | 1 | ||||
-rw-r--r-- | pimd/pim_main.c | 1 | ||||
-rw-r--r-- | ripd/rip_main.c | 1 | ||||
-rw-r--r-- | ripngd/ripng_main.c | 1 | ||||
-rw-r--r-- | sharpd/sharp_main.c | 1 | ||||
-rw-r--r-- | staticd/static_main.c | 1 | ||||
-rw-r--r-- | zebra/main.c | 1 |
14 files changed, 17 insertions, 4 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c index 6f4b905c1..e7ba29ed0 100644 --- a/babeld/babel_main.c +++ b/babeld/babel_main.c @@ -136,10 +136,10 @@ struct option longopts[] = { 0 } }; -static const struct frr_yang_module_info *const babeld_yang_modules[] = - { - &frr_interface_info, - }; +static const struct frr_yang_module_info *const babeld_yang_modules[] = { + &frr_interface_info, + &frr_vrf_info, +}; FRR_DAEMON_INFO(babeld, BABELD, .vty_port = BABEL_VTY_PORT, diff --git a/bfdd/bfdd.c b/bfdd/bfdd.c index bed6ccd14..6922ad366 100644 --- a/bfdd/bfdd.c +++ b/bfdd/bfdd.c @@ -112,6 +112,7 @@ static struct quagga_signal_t bfd_signals[] = { static const struct frr_yang_module_info *const bfdd_yang_modules[] = { &frr_interface_info, &frr_bfdd_info, + &frr_vrf_info, }; FRR_DAEMON_INFO(bfdd, BFD, .vty_port = 2617, diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index 8f0ccca74..04be8d83e 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -361,6 +361,7 @@ static void bgp_vrf_terminate(void) static const struct frr_yang_module_info *const bgpd_yang_modules[] = { &frr_interface_info, &frr_route_map_info, + &frr_vrf_info, }; FRR_DAEMON_INFO(bgpd, BGP, .vty_port = BGP_VTY_PORT, diff --git a/eigrpd/eigrp_main.c b/eigrpd/eigrp_main.c index add758fa2..cdf1c6acd 100644 --- a/eigrpd/eigrp_main.c +++ b/eigrpd/eigrp_main.c @@ -141,6 +141,7 @@ static const struct frr_yang_module_info *const eigrpd_yang_modules[] = { &frr_eigrpd_info, &frr_interface_info, &frr_route_map_info, + &frr_vrf_info, }; FRR_DAEMON_INFO(eigrpd, EIGRP, .vty_port = EIGRP_VTY_PORT, diff --git a/isisd/isis_main.c b/isisd/isis_main.c index f7fe089b9..4c841dffe 100644 --- a/isisd/isis_main.c +++ b/isisd/isis_main.c @@ -168,6 +168,7 @@ static const struct frr_yang_module_info *const isisd_yang_modules[] = { &frr_isisd_info, #endif /* ifndef FABRICD */ &frr_route_map_info, + &frr_vrf_info, }; #ifdef FABRICD diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c index 741c8c465..a8fe756df 100644 --- a/ldpd/ldpd.c +++ b/ldpd/ldpd.c @@ -180,6 +180,7 @@ static struct quagga_signal_t ldp_signals[] = }; static const struct frr_yang_module_info *const ldpd_yang_modules[] = { + &frr_vrf_info, }; FRR_DAEMON_INFO(ldpd, LDP, diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index e4bed7a79..4dbe5ca32 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c @@ -168,6 +168,7 @@ struct quagga_signal_t ospf6_signals[] = { static const struct frr_yang_module_info *const ospf6d_yang_modules[] = { &frr_interface_info, &frr_route_map_info, + &frr_vrf_info, }; FRR_DAEMON_INFO(ospf6d, OSPF6, .vty_port = OSPF6_VTY_PORT, diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c index 4d6ebb40e..6a3ba9902 100644 --- a/ospfd/ospf_main.c +++ b/ospfd/ospf_main.c @@ -128,6 +128,7 @@ struct quagga_signal_t ospf_signals[] = { static const struct frr_yang_module_info *const ospfd_yang_modules[] = { &frr_interface_info, &frr_route_map_info, + &frr_vrf_info, }; FRR_DAEMON_INFO(ospfd, OSPF, .vty_port = OSPF_VTY_PORT, diff --git a/pimd/pim_main.c b/pimd/pim_main.c index 93b561ba0..5c4c7151a 100644 --- a/pimd/pim_main.c +++ b/pimd/pim_main.c @@ -75,6 +75,7 @@ struct zebra_privs_t pimd_privs = { static const struct frr_yang_module_info *const pimd_yang_modules[] = { &frr_interface_info, &frr_route_map_info, + &frr_vrf_info, }; FRR_DAEMON_INFO(pimd, PIM, .vty_port = PIMD_VTY_PORT, diff --git a/ripd/rip_main.c b/ripd/rip_main.c index 73e94deef..9ec32a53e 100644 --- a/ripd/rip_main.c +++ b/ripd/rip_main.c @@ -117,6 +117,7 @@ static const struct frr_yang_module_info *const ripd_yang_modules[] = { &frr_interface_info, &frr_ripd_info, &frr_route_map_info, + &frr_vrf_info, }; FRR_DAEMON_INFO(ripd, RIP, .vty_port = RIP_VTY_PORT, diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c index 99adb2cba..fbac750db 100644 --- a/ripngd/ripng_main.c +++ b/ripngd/ripng_main.c @@ -117,6 +117,7 @@ static const struct frr_yang_module_info *const ripngd_yang_modules[] = { &frr_interface_info, &frr_ripngd_info, &frr_route_map_info, + &frr_vrf_info, }; FRR_DAEMON_INFO(ripngd, RIPNG, .vty_port = RIPNG_VTY_PORT, diff --git a/sharpd/sharp_main.c b/sharpd/sharp_main.c index 5133523f0..120d70491 100644 --- a/sharpd/sharp_main.c +++ b/sharpd/sharp_main.c @@ -114,6 +114,7 @@ struct quagga_signal_t sharp_signals[] = { static const struct frr_yang_module_info *const sharpd_yang_modules[] = { &frr_interface_info, &frr_route_map_info, + &frr_vrf_info, }; FRR_DAEMON_INFO(sharpd, SHARP, .vty_port = SHARP_VTY_PORT, diff --git a/staticd/static_main.c b/staticd/static_main.c index 3aa8a8db3..c77a99f28 100644 --- a/staticd/static_main.c +++ b/staticd/static_main.c @@ -104,6 +104,7 @@ struct quagga_signal_t static_signals[] = { }; static const struct frr_yang_module_info *const staticd_yang_modules[] = { + &frr_vrf_info, }; #define STATIC_VTY_PORT 2616 diff --git a/zebra/main.c b/zebra/main.c index fb7e926c5..380d44644 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -247,6 +247,7 @@ static const struct frr_yang_module_info *const zebra_yang_modules[] = { &frr_interface_info, &frr_route_map_info, &frr_zebra_info, + &frr_vrf_info, }; FRR_DAEMON_INFO( |