mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
obuspa: 10.0.0.4
This commit is contained in:
parent
29e9ba389a
commit
7097827eb8
2 changed files with 2 additions and 59 deletions
|
|
@ -5,13 +5,13 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=obuspa
|
||||
PKG_VERSION:=10.0.0.3
|
||||
PKG_VERSION:=10.0.0.4
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/obuspa.git
|
||||
PKG_SOURCE_VERSION:=38b2ab47516bb2e6dd673406109b5df7af004a05
|
||||
PKG_SOURCE_VERSION:=484474cebd0491c700fb1560271132f7a4536fa3
|
||||
PKG_MAINTAINER:=Vivek Dutta <vivek.dutta@iopsys.eu>
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_MIRROR_HASH:=skip
|
||||
|
|
|
|||
|
|
@ -174,63 +174,6 @@ Index: obuspa-10.0.0.2/src/core/device_ctrust.c
|
|||
+
|
||||
+ return false;
|
||||
+}
|
||||
Index: obuspa-10.0.0.2/src/vendor/bbf_plugin/stomp_dm.c
|
||||
===================================================================
|
||||
--- obuspa-10.0.0.2.orig/src/vendor/bbf_plugin/stomp_dm.c
|
||||
+++ obuspa-10.0.0.2/src/vendor/bbf_plugin/stomp_dm.c
|
||||
@@ -661,44 +661,6 @@ static int set_STOMPConnection_EnableEnc
|
||||
return ret;
|
||||
}
|
||||
|
||||
-static int get_STOMPConnection_ArrisEnableEncryption(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value)
|
||||
-{
|
||||
- struct dm_data *ob_data = (struct dm_data *)data;
|
||||
-
|
||||
- *value = dmjson_get_value(ob_data->json_object, 1, "X_ARRIS-COM_EnableEncryption");
|
||||
- return 0;
|
||||
-}
|
||||
-
|
||||
-static int set_STOMPConnection_ArrisEnableEncryption(char *refparam, struct dmctx *ctx, void *data, char *instance, char *value, int action)
|
||||
-{
|
||||
- char param_path[MAX_PATH_LEN] = {0};
|
||||
- int ret = FAULT_9002;
|
||||
-
|
||||
- struct dm_data *ob_data = (struct dm_data *)data;
|
||||
- char *dm_path = (char *)ob_data->additional_data;
|
||||
-
|
||||
- if (DM_STRLEN(dm_path) == 0) {
|
||||
- return ret;
|
||||
- }
|
||||
-
|
||||
- switch (action) {
|
||||
- case VALUECHECK:
|
||||
- if (bbfdm_validate_boolean(ctx, value)) {
|
||||
- ret = FAULT_9007;
|
||||
- break;
|
||||
- }
|
||||
-
|
||||
- ret = 0;
|
||||
- break;
|
||||
- case VALUESET:
|
||||
- snprintf(param_path, sizeof(param_path), "%s.X_ARRIS-COM_EnableEncryption", dm_path);
|
||||
- ret = set_succeed(param_path, value);
|
||||
- break;
|
||||
- }
|
||||
-
|
||||
- return ret;
|
||||
-}
|
||||
-
|
||||
/**********************************************************************************************************************************
|
||||
* OBJ & PARAM DEFINITION
|
||||
***********************************************************************************************************************************/
|
||||
@@ -734,7 +696,6 @@ DMLEAF tSTOMPConnectionParams[] = {
|
||||
{"ServerRetryIntervalMultiplier", &DMWRITE, DMT_UNINT, get_STOMPConnection_ServerRetryIntervalMultiplier, set_STOMPConnection_ServerRetryIntervalMultiplier, BBFDM_CWMP},
|
||||
{"ServerRetryMaxInterval", &DMWRITE, DMT_UNINT, get_STOMPConnection_ServerRetryMaxInterval, set_STOMPConnection_ServerRetryMaxInterval, BBFDM_CWMP},
|
||||
{"EnableEncryption", &DMWRITE, DMT_BOOL, get_STOMPConnection_EnableEncryption, set_STOMPConnection_EnableEncryption, BBFDM_CWMP},
|
||||
-{"X_ARRIS-COM_EnableEncryption", &DMWRITE, DMT_BOOL, get_STOMPConnection_ArrisEnableEncryption, set_STOMPConnection_ArrisEnableEncryption, BBFDM_CWMP},
|
||||
{0}
|
||||
};
|
||||
#endif
|
||||
Index: obuspa-10.0.0.2/src/vendor/vendor_datamodel_ext.c
|
||||
===================================================================
|
||||
--- obuspa-10.0.0.2.orig/src/vendor/vendor_datamodel_ext.c
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue