Commit graph

188 commits

Author SHA1 Message Date
Amin Ben Romdhane
72c3307651 Store object name when parsing multi-instance object without section 2025-12-07 23:26:17 +01:00
Suvendhu Hansa
8f72146f0f Handling sections with missing instance in dmmap 2025-11-28 17:18:59 +05:30
Vivek Dutta
adfdb54d62
Update ubus call logs 2025-10-30 10:45:49 +05:30
Xiaofeng Meng
1a86b8a443
fix bbfdm_resolve_external_reference_via_dmmap 2025-10-24 16:26:10 +05:30
Xiaofeng Meng
165deef400
support dmmap for bbfdm_get_reference_linker 2025-10-23 09:38:32 +05:30
Amin Ben Romdhane
21f4b19cda
bbfdm methods are not working for objects exposed from parent object different to 'Device.' 2025-10-22 18:45:19 +05:30
Amin Ben Romdhane
1596a6a8c1 libbbf-api: Add a new ubus API to get the response based on blob_msg input 2025-10-01 17:34:12 +02:00
Suvendhu Hansa
ba2fc7dc21 execute sync handler on bbfdm.apply event 2025-09-17 19:52:11 +05:30
Vivek Kumar Dutta
252da0b834
Fix setting debug log level 2025-09-14 18:03:13 +05:30
Suvendhu Hansa
2cd0a1ef6b
Register external handler 2025-09-11 13:29:19 +05:30
Suvendhu Hansa
19db3c2d17
dmctx aware bbfdm api 2025-09-05 18:49:59 +05:30
Suvendhu Hansa
2f3a0805b0
rename unnamed dmmap section 2025-09-04 18:56:38 +05:30
Vivek Kumar Dutta
2e6debc04b
Updated some logs 2025-08-26 18:33:15 +05:30
Suvendhu Hansa
09f95d7edd Fix instance number check 2025-08-22 22:02:27 +05:30
Suvendhu Hansa
97320a95ab Fix string handling 2025-08-22 21:59:42 +05:30
Xiaofeng Meng
5d7b4d759e
Fix generic error message for 9007 fault code 2025-08-22 15:06:08 +05:30
Amin Ben Romdhane
d4bc6eea94 Redesign dmmap to be portable and structured 2025-08-04 14:04:52 +02:00
Amin Ben Romdhane
a4f6108138
Improve references database 2025-07-21 15:28:45 +05:30
Amin Ben Romdhane
7acb5cb2f4
Set dm_type for internal API calls 2025-07-18 12:24:07 +05:30
Amin Ben Romdhane
b6fdc87df8 Ensure UCI savedir paths are created before initialization 2025-07-14 00:34:31 +02:00
Amin Ben Romdhane
549a296cbf
Set an empty value as a reference value when the path exists but its linker is empty 2025-06-30 14:37:59 +00:00
Amin Ben Romdhane
aa74995f9b
Added a mechanism to recover blacklisted ubus methods 2025-06-20 18:35:05 +05:30
Suvendhu Hansa
ad2602f114 Blacklist ubus object only in timed out 2025-06-13 12:42:10 +05:30
Amin Ben Romdhane
571a4335a9 Added support for ubus blob API with timeout 2025-06-11 14:03:38 +02:00
Vivek Kumar Dutta
cb405b3b88 Added dependency based on directory 2025-05-27 19:55:08 +05:30
Amin Ben Romdhane
7cce094e03
ubus: Blacklist unsupported or slow methods after repeated failures 2025-05-27 19:54:41 +05:30
Vivek Dutta
dd0c6433aa
Revert "depcheck to check non-zero file" 2025-05-27 19:53:16 +05:30
Vivek Kumar Dutta
6cbfa27973
depcheck to check non-zero file 2025-05-27 14:26:24 +05:30
Amin Ben Romdhane
79a91515e5 Add detailed error logging for ubus_invoke failures 2025-05-20 11:42:02 +00:00
Suvendhu Hansa
3f56ad4595 bbfdm api for reverting dmmap changes 2025-05-14 20:51:16 +05:30
Amin Ben Romdhane
c7e783aecd
Update pipeline to cover all micro-services 2025-05-08 17:34:23 +00:00
Amin Ben Romdhane
ccc15bd9e1
Fix tools to show available datamodel correctly 2025-05-01 17:24:36 +05:30
Amin Ben Romdhane
4a3a7ca0b1 Reference DB: add file lock to prevent race condition when updating reference DB file
Added an exclusive file locking mechanism using `flock()` to ensure that
only one process at a time can update the '/var/state/bbfdm_reference_db' file.
This prevents data loss or corruption caused by concurrent access.

This change improves robustness when `bbfdm_refresh_references()` is called
by multiple processes in parallel.
2025-04-25 12:13:20 +02:00
Amin Ben Romdhane
ab5cde2c42 Introduce a new ubus API with timeout 2025-04-23 07:15:22 +00:00
Amin Ben Romdhane
56937cd498
Update reference db refresh 2025-04-15 15:20:55 +00:00
Amin Ben Romdhane
45a6d7e0c7 Redesign the handling of references based on uci reference_translation 2025-04-08 09:29:09 +02:00
Amin Ben Romdhane
e3757b5f37
Remove bbfdm.linker request and response events 2025-03-20 11:56:23 +00:00
Vivek Kumar Dutta
53fdfcfa28
Updated logs 2025-03-16 11:52:42 +05:30
Vivek Kumar Dutta
1fa64da324 Update buffer size of set to 4096 2025-03-13 13:24:10 +00:00
Vivek Kumar Dutta
38636715ad
Fix Max instance log and uci list buffer size 2025-03-04 18:05:30 +05:30
Amin Ben Romdhane
1c417534a8 Added support for setting a list of references 2025-02-26 16:34:54 +01:00
Amin Ben Romdhane
0ad7ad1021 Flags array is missing in get commands 2025-02-24 13:59:06 +01:00
Amin Ben Romdhane
35faf181a9 Fix the Set method comparison 2025-02-24 13:51:09 +01:00
Amin Ben Romdhane
f21814dd4e
Optimize bbfdmd
* All core Data Model move to core micro-service
* New bbfdmd daemon to use async call to optimize RPCs handling
2025-02-21 09:55:09 +00:00
Vivek Kumar Dutta
c8967d6bf4 log when max instance reached 2025-02-05 17:01:29 +05:30
Amin Ben Romdhane
31d8d5d28e Include method name in the error log to improve debugging of UBUS object lookups 2025-01-31 14:54:46 +01:00
Amin Ben Romdhane
b7e5e0de5a Introduce a new libbbfdm-api library version 2 2025-01-27 15:29:04 +01:00
Amin Ben Romdhane
bfe8db9f6d Save uci changes whenever a set/add/del operation is called 2025-01-21 20:04:20 +01:00
Suvendhu Hansa
e82527cd48
Fix function name dm_base64_decode
base64_decode API is also exist in libeasy, so this name gives conflict error in compilation of the package which includes libbbfdm and libeasy both
2025-01-07 14:13:32 +00:00
Vivek Kumar Dutta
f08359f40d
Add support to filter micro-service ubus calls based on proto 2024-12-06 12:20:34 +00:00