summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorsarita patra <saritap@vmware.com>2022-01-18 07:01:18 +0100
committersarita patra <saritap@vmware.com>2022-02-25 15:08:42 +0100
commite8515e32a484cad42f4e0f3ef817fdd9aaa99e75 (patch)
tree953cb1424ecdc5413c4da8c243354571f7489b21 /pimd
parentMerge pull request #10409 from idryzhov/zebra-mq-clean-crash (diff)
downloadfrr-e8515e32a484cad42f4e0f3ef817fdd9aaa99e75.tar.xz
frr-e8515e32a484cad42f4e0f3ef817fdd9aaa99e75.zip
pim6d: Adding PIMV6 as VTYSH client
Co-authored-by: Mobashshera Rasool <mrasool@vmware.com> Signed-off-by: sarita patra <saritap@vmware.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim6_main.c4
-rw-r--r--pimd/subdir.am7
2 files changed, 11 insertions, 0 deletions
diff --git a/pimd/pim6_main.c b/pimd/pim6_main.c
index 3d8ebd0d8..ba161915b 100644
--- a/pimd/pim6_main.c
+++ b/pimd/pim6_main.c
@@ -36,6 +36,7 @@
#include "pim_errors.h"
#include "pim_iface.h"
#include "pim_zebra.h"
+#include "pim_nb.h"
zebra_capabilities_t _caps_p[] = {
ZCAP_SYS_ADMIN,
@@ -109,6 +110,9 @@ static const struct frr_yang_module_info *const pim6d_yang_modules[] = {
&frr_route_map_info,
&frr_vrf_info,
&frr_routing_info,
+ &frr_pim_info,
+ &frr_pim_rp_info,
+ &frr_gmp_info,
};
/* clang-format off */
diff --git a/pimd/subdir.am b/pimd/subdir.am
index 6c267f290..c2b7b54ac 100644
--- a/pimd/subdir.am
+++ b/pimd/subdir.am
@@ -7,7 +7,11 @@ sbin_PROGRAMS += pimd/pimd
bin_PROGRAMS += pimd/mtracebis
noinst_PROGRAMS += pimd/test_igmpv3_join
vtysh_scan += pimd/pim_cmd.c
+
+# Add pim6_cmd.c under vtysh_scan, once the file is merged
+
vtysh_daemons += pimd
+vtysh_daemons += pim6d
man8 += $(MANBUILD)/frr-pimd.8
man8 += $(MANBUILD)/mtracebis.8
endif
@@ -85,6 +89,9 @@ pimd_pim6d_SOURCES = \
# end
nodist_pimd_pim6d_SOURCES = \
+ yang/frr-pim.yang.c \
+ yang/frr-pim-rp.yang.c \
+ yang/frr-gmp.yang.c \
# end
noinst_HEADERS += \