mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
netmngr: Align with bbfdm
This commit is contained in:
parent
16f1276346
commit
c6e8454989
2 changed files with 34 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=netmngr
|
||||
PKG_VERSION:=1.0.7
|
||||
PKG_VERSION:=1.0.8
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
|
|
@ -38,6 +38,7 @@ MAKE_PATH:=src
|
|||
TARGET_CFLAGS += -DBBF_VENDOR_PREFIX=\\\"$(CONFIG_BBF_VENDOR_PREFIX)\\\"
|
||||
|
||||
define Package/netmngr/install
|
||||
$(BBFDM_REGISTER_SERVICES) ./bbfdm_service.json $(1) $(PKG_NAME)
|
||||
$(BBFDM_INSTALL_MS_DM) -u Network $(PKG_BUILD_DIR)/src/libnetmngr.so $(1) $(PKG_NAME)
|
||||
$(BBFDM_INSTALL_CORE_PLUGIN) $(PKG_BUILD_DIR)/src/libinterface_stack.so $(1)
|
||||
endef
|
||||
|
|
|
|||
32
netmngr/bbfdm_service.json
Normal file
32
netmngr/bbfdm_service.json
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"daemon": {
|
||||
"enable": "1",
|
||||
"service_name": "netmngr",
|
||||
"unified_daemon": false,
|
||||
"services": [
|
||||
{
|
||||
"parent_dm": "Device.",
|
||||
"object": "IP"
|
||||
},
|
||||
{
|
||||
"parent_dm": "Device.",
|
||||
"object": "GRE"
|
||||
},
|
||||
{
|
||||
"parent_dm": "Device.",
|
||||
"object": "PPP"
|
||||
},
|
||||
{
|
||||
"parent_dm": "Device.",
|
||||
"object": "Routing"
|
||||
},
|
||||
{
|
||||
"parent_dm": "Device.",
|
||||
"object": "RouterAdvertisement"
|
||||
}
|
||||
],
|
||||
"config": {
|
||||
"loglevel": "3"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue