mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
ponmngr: add Device.XPON. bbf object as a micro service
add Device.XPON. object as a bbf micro service instead of a plugin as is done currently
This commit is contained in:
parent
1ec66d5732
commit
b10d8e0ec6
3 changed files with 19 additions and 1 deletions
|
|
@ -40,7 +40,8 @@ ifneq ($(CONFIG_TARGET_brcmbca),)
|
|||
else ifneq ($(CONFIG_TARGET_airoha),)
|
||||
$(CP) ./files/airoha/* $(1)/
|
||||
endif
|
||||
$(call BbfdmInstallPlugin,$(1),./files/etc/bbfdm/json/xpon.json)
|
||||
$(call BbfdmInstallPluginInMicroservice,$(1)/etc/ponmngr,./files/etc/ponmngr/xpon.json)
|
||||
$(call BbfdmInstallMicroServiceInputFile,$(1),./files/etc/ponmngr/input.json)
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,ponmngr))
|
||||
|
|
|
|||
17
ponmngr/files/etc/ponmngr/input.json
Normal file
17
ponmngr/files/etc/ponmngr/input.json
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"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