Commit graph

79 commits

Author SHA1 Message Date
vdutta
00d5c0849c uspd: module test enhancements 2021-09-22 19:56:41 +05:30
vdutta
85fbea1d40 Revert "uspd: Fix memory leak"
This reverts commit bb6131b1f7.
2021-09-21 22:28:19 +05:30
vdutta
bb6131b1f7 uspd: Fix memory leak 2021-09-21 19:51:21 +05:30
suvendhu
fa7ef67b91 uspd: Added config option for max blob msg len 2021-09-17 14:36:05 +05:30
vdutta
b9ef557a02 uspd: Update module tests 2021-08-17 19:07:32 +05:30
vdutta
c55f8790ff uspd: Align with bbf changes 2021-08-09 22:51:17 +05:30
vdutta
04b0490017 uspd: Align with bbf changes 2021-07-23 16:23:36 +05:30
vdutta
cdb6bed47c uspd: Updated logging 2021-06-29 10:21:02 +05:30
vdutta
cd3c3669c3 uspd: Allow DynOperate to call dmoperate functions 2021-06-26 23:48:16 +05:30
vdutta
156fd4f766 uspd: Transaction commit with restart service option 2021-06-18 16:10:53 +05:30
vdutta
ab22b4c6b1 uspd: Added longjump to prevent segfaults 2021-06-04 20:03:39 +05:30
vdutta
0c8cdd6297 uspd: ubus notifications for add/del instances 2021-05-26 21:25:00 +05:30
vdutta
d5071bf28d uspd: Fix uspd service entry 2021-05-12 23:40:37 +05:30
vdutta
5915f5a7c3 uspd: Align with ubus and event support 2021-05-12 13:27:56 +05:30
vdutta
defb23338a uspd: Fix vendor extn in parallel calls 2021-03-26 17:47:37 +05:30
Sukru Senli
84b63deafa uspd: correct commit hash 2021-03-25 20:26:47 +01:00
Amin Ben Ramdhane
1ffc4255ad bbf: new vendor extension mechanism 2021-03-25 19:37:47 +01:00
vdutta
69fc6842c2 uspd: Align error message format 2021-03-24 18:04:53 +05:30
Andreas Gnau
d2b9140468 treewide: Add PKG_MIRROR_HASH:=skip to pkgs downloaded from git
OpenWrt 21.02 will redownload from git over and over if PKG_MIRROR_HASH
is not set. Set it to skip to prevent it from happening.
2021-03-15 10:57:13 +01:00
vdutta
1732abca49 uspd: Change intra process ipc to mmap 2021-03-12 20:41:50 +05:30
vdutta
b84fb8e456 uspd: Notify schema updates on usp.raw object 2021-01-27 19:12:28 +05:30
vdutta
4482e7defd uspd: Change startup sequence 2021-01-13 19:44:50 +05:30
vdutta
898455ceee uspd: Multiple fixes
- Handle SIGSEGV while access libbbf API
 - Logic improvement for result printing
2021-01-07 16:14:16 +05:30
vdutta
86bab4da22 uspd: Multiple fixes
- Uci Schema updated
- Ubus schema updated
- Config option for sock path
- config option for transaction_timeout
- config option to disable uspd
- Align with latest bbf
- Added tests
2020-12-16 15:53:19 +05:30
vdutta
c3157ef44e uspd: Enhancement in transaction APIs 2020-12-11 16:15:17 +05:30
vdutta
07ca78f548 uspd: Multiple fixes
- Initialise and commit dmmap on startup
- Fix transaction_ api related issues
- Configure socket buf size as per blob len
- Added option to register with named ubus sockets
- list_notify: Added method to list notification params
- Fix usp.raw schema and tests
2020-12-09 18:21:52 +05:30
vdutta
3ad8ef4b40 uspd: Apply changes only if no fault for cwmp proto 2020-12-04 00:00:12 +05:30
Vivek Dutta
1ed5f0c0f6 uspd: update to transaction support 2020-12-03 16:01:47 +01:00
vdutta
a77deb3f36 uspd: Transaction support and setm_values improvements 2020-12-02 17:09:18 +05:30
vdutta
2f333148b2 uspd: Multiple fixes
- 'transaction_*' apis with usp.raw object
 - new method 'setm_values' to set multiple values at once
 - 'dump_schema' with usp specific proto
 - Fix multiple output in 'getm_*' methods
 - Generate fault when set/add/del operations called without transaction
   using usp.raw object
 - Generate fault when set/add/del operation called using usp object and
   another transaction is in progress
2020-11-24 16:58:14 +05:30
vdutta
7e2cdb88fb uspd: Fix getm_ method and pretty print 2020-11-20 23:11:14 +05:30
vdutta
a6a54316e8 uspd: Multiple fixes
- instance_mode parameter in usp ubus object methods
 - Remove list_inform to align with latest bbf changes
 - transaction related usp.raw methods
 - Segregate usp and usp.raw object methods
 - Support of percent escaped double quote in unique key search
 - set: Show end_session_flag for cwmp proto
 - Parallel processing support for operate and get commands
 - unique_keys in 'dump_schema' method
 - In/Out parameters in 'list_operate' method
 - Performance optimizations
2020-11-19 18:04:07 +05:30
vdutta
51a3b0ad35 uspd: Added ubus methods to list_inform and init_notify 2020-11-05 15:50:09 +05:30
vdutta
71b66376f0 uspd: Fix fault codes
- Generate fault for add_object/del_object if path is invalid
 - Generate fault in case of add_object/del_object/operate/set if the search query is failed
 - Fix set_attribute method to apply the attribute changes
2020-10-23 11:15:14 +05:30
Amin Ben Ramdhane
783fd44680 uspd: Fix compilation issue 2020-10-14 17:15:36 +01:00
vdutta
2e934a7169 uspd: B#3272 improvements in resolving paths 2020-09-24 13:38:38 +05:30
vdutta
a604987a3e uspd: Optimize to reduce cpu usages 2020-09-17 11:12:52 +05:30
vdutta
aba88e359d uspd: Fix ubus freeze issue 2020-08-31 15:28:25 +05:30
vdutta
bb996c64df uspd: Remove dependency on cwmp config 2020-08-27 18:46:13 +05:30
vdutta
181dd5039e uspd: Align with bbf trailing dot fix 2020-08-27 13:41:02 +05:30
vdutta
0c0e9f15f2 uspd: Added 2.0.0 2020-08-14 11:49:29 +05:30
vdutta
e89485f19c uspd: Added 1.0.26 2020-07-13 18:37:06 +05:30
vdutta
2d25beb3ab uspd: Multiple fixes
- bb11466 Initialise blob_buf before use
 - e23b2b4 Show "value" parameter on get_names_safe
2020-06-26 13:29:17 +05:30
vdutta
cc26f7bbe9 uspd: Added object type and permission in object_names 2020-06-19 14:31:37 +05:30
vdutta
43bd7d872f uspd: Multiple fixes
- c2d0d99 uspd: Align ut cases with next-level parameter
 - 46e9475 Add get_safe variant of object_names
 - 366e022 Add ParameterKey to set callback
 - 15b8a80 Cleanup and reuse code
 - 86d72e8 Add get_attributes call
2020-06-15 15:31:19 +05:30
vdutta
e364957074 uspd: 'next-level' parameter in 'object_names'
a8a90df object_names: add all entries returned from libbbf
0937f3c object_names: add 'next-level' parameter
2020-06-11 20:20:24 +05:30
vdutta
bf6342472a uspd: Updated Readme with log_level 2020-06-09 16:43:13 +05:30
vdutta
fbc5226978 uspd: Align operate cmd output 2020-06-08 18:32:10 +05:30
vdutta
0346ce9285 uspd: Fix table name in get output 2020-06-06 11:17:37 +05:30
vdutta
a80cff151d uspd: Added maxdepth and u64 conversion fix
- f101ef0 uspd: Fix conversion of u64 values
 - cf418dc uspd: Align resolve path syntax as per obuspa
 - 1355839 uspd: Added maxdepth in get method of usp object
2020-06-05 19:24:11 +05:30