mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
ponmngr: align with bbfdm
This commit is contained in:
parent
161c89060e
commit
b2c5d21322
2 changed files with 2 additions and 21 deletions
|
|
@ -9,7 +9,6 @@ PKG_NAME:=ponmngr
|
|||
PKG_VERSION:=1.0.2
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
PKG_LICENSE:=GPL-2.0-only
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
|
|
@ -19,7 +18,7 @@ include ../bbfdm/bbfdm.mk
|
|||
define Package/ponmngr
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=PON Manager
|
||||
DEPENDS:=@(TARGET_brcmbca||TARGET_airoha)
|
||||
DEPENDS:=@(TARGET_brcmbca||TARGET_airoha) +libbbfdm-api
|
||||
endef
|
||||
|
||||
define Package/ponmngr/description
|
||||
|
|
@ -40,8 +39,7 @@ ifneq ($(CONFIG_TARGET_brcmbca),)
|
|||
else ifneq ($(CONFIG_TARGET_airoha),)
|
||||
$(CP) ./files/airoha/* $(1)/
|
||||
endif
|
||||
$(call BbfdmInstallPluginInMicroservice,$(1)/etc/ponmngr,./files/etc/ponmngr/xpon.json)
|
||||
$(call BbfdmInstallMicroServiceInputFile,$(1),./files/etc/ponmngr/input.json)
|
||||
$(BBFDM_INSTALL_MS_DM) ./files/etc/ponmngr/xpon.json $(1) $(PKG_NAME)
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,ponmngr))
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
"daemon": {
|
||||
"config": {
|
||||
"loglevel": "1"
|
||||
},
|
||||
"input": {
|
||||
"type": "JSON",
|
||||
"name": "/etc/ponmngr/xpon.json"
|
||||
},
|
||||
"output": {
|
||||
"type": "UBUS",
|
||||
"parent_dm": "Device.",
|
||||
"object": "XPON",
|
||||
"root_obj": "bbfdm"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue