mcastmngr: align with bbfdm

This commit is contained in:
Vivek Kumar Dutta 2024-12-05 16:17:41 +05:30
parent 5d223f5909
commit 16f1276346
2 changed files with 22 additions and 1 deletions

View file

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=mcastmngr PKG_NAME:=mcastmngr
PKG_VERSION:=1.2.7 PKG_VERSION:=1.2.8
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
LOCAL_DEV:=0 LOCAL_DEV:=0
@ -52,6 +52,7 @@ ifneq ($(CONFIG_TARGET_brcmbca),)
else else
$(CP) ./files/linux/* $(1)/ $(CP) ./files/linux/* $(1)/
endif endif
$(BBFDM_REGISTER_SERVICES) ./bbfdm_service.json $(1) $(PKG_NAME)
$(BBFDM_INSTALL_MS_DM) $(PKG_BUILD_DIR)/bbf_plugin/libmcast_bbf.so $(1) $(PKG_NAME) $(BBFDM_INSTALL_MS_DM) $(PKG_BUILD_DIR)/bbf_plugin/libmcast_bbf.so $(1) $(PKG_NAME)
endef endef

View file

@ -0,0 +1,20 @@
{
"daemon": {
"enable": "1",
"service_name": "mcastmngr",
"unified_daemon": false,
"services": [
{
"parent_dm": "Device.",
"object": "{BBF_VENDOR_PREFIX}IGMP"
},
{
"parent_dm": "Device.",
"object": "{BBF_VENDOR_PREFIX}MLD"
}
],
"config": {
"loglevel": "3"
}
}
}