qosmngr: align with bbfdm

This commit is contained in:
Vivek Kumar Dutta 2024-12-05 16:22:56 +05:30
parent 090795699d
commit 54f75846ca
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:=qosmngr
PKG_VERSION:=1.0.16
PKG_VERSION:=1.0.17
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)
@ -56,6 +56,7 @@ else
endif
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/qosmngr $(1)/usr/sbin
$(BBFDM_REGISTER_SERVICES) ./bbfdm_service.json $(1) $(PKG_NAME)
$(BBFDM_INSTALL_MS_DM) $(PKG_BUILD_DIR)/bbf_plugin/libqos_bbf.so $(1) $(PKG_NAME)
$(BBFDM_INSTALL_MS_PLUGIN) $(PKG_BUILD_DIR)/bbf_plugin/libqos_vendor_bbf.so $(1) $(PKG_NAME)
endef

View file

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