ponmngr: align with bbfdm

This commit is contained in:
Vivek Kumar Dutta 2024-12-05 16:22:15 +05:30
parent 551033461a
commit 090795699d
2 changed files with 18 additions and 1 deletions

View file

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=ponmngr
PKG_VERSION:=1.0.2
PKG_VERSION:=1.0.3
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_LICENSE:=GPL-2.0-only
@ -39,6 +39,7 @@ ifneq ($(CONFIG_TARGET_brcmbca),)
else ifneq ($(CONFIG_TARGET_airoha),)
$(CP) ./files/airoha/* $(1)/
endif
$(BBFDM_REGISTER_SERVICES) ./bbfdm_service.json $(1) $(PKG_NAME)
$(BBFDM_INSTALL_MS_DM) ./files/etc/ponmngr/xpon.json $(1) $(PKG_NAME)
endef

View file

@ -0,0 +1,16 @@
{
"daemon": {
"enable": "1",
"service_name": "ponmngr",
"unified_daemon": false,
"services": [
{
"parent_dm": "Device.",
"object": "XPON"
}
],
"config": {
"loglevel": "3"
}
}
}