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
Vivek Kumar Dutta
c715185237
Pre-register micro-services
2024-12-05 15:15:51 +05:30
Amin Ben Romdhane
311609a16f
Added a new API that synchronizes uci config sections with dmmap sections based on specific option
2024-12-04 13:03:05 +00:00
Vivek Kumar Dutta
a0e6cab227
Critical service definition
2024-11-15 17:43:14 +00:00
Amin Ben Romdhane
94fd8ccbb7
Improve pipeline to run external modules as micro-service
2024-11-07 10:26:54 +00:00
Amin Ben Romdhane
062c13e833
Move DeviceInfo to sysmngr package
2024-11-06 11:30:31 +01:00
Amin Ben Romdhane
5aa1298df5
Improve event handling
2024-10-22 04:17:05 +00:00
Vivek Kumar Dutta
52dd299af2
Added -g flag for debugging
2024-10-15 14:22:32 +05:30
Vivek Kumar Dutta
2d9c87e5c6
Support to fork a task
2024-10-15 04:17:32 +00:00
Vivek Kumar Dutta
5ea49eb360
Api to schedule a task
2024-10-15 04:17:32 +00:00
Amin Ben Romdhane
e40c677444
Add support for init and clean module
2024-10-14 17:58:04 +02:00
Amin Ben Romdhane
47537bb4ab
Feature #15266 : Add support to assign list of references using JSON plugins
2024-10-07 14:49:59 +00:00
Amin Ben Romdhane
af2b0c0203
Align with new code-analysis docker image
2024-09-20 06:18:52 +00:00
Amin Ben Romdhane
2a97435094
static-analysis: Fix issues reported in libbbfdm-api
2024-09-16 12:22:55 +00:00
Amin Ben Romdhane
17d89ad513
Ensure the validity of reference path when trying to set a reference path with an empty reference value
2024-09-11 19:48:19 +02:00
Suvendhu Hansa
c9c4fd2d8a
Validate datatype on set request
2024-09-02 21:03:15 +05:30
Amin Ben Romdhane
a21c3b36b8
B#15082: bbfdm does not fault on invalid wildcard usages
2024-08-30 15:51:51 +00:00
Amin Ben Romdhane
1537993fc8
Introduce a new library: libbbfdm-ubus
2024-08-29 10:11:30 +00:00
Amin Ben Romdhane
50dfaa491d
Move network related datamodel to netmngr
2024-08-20 10:38:10 +00:00
Vivek Kumar Dutta
3856d77dfd
Align event schema
2024-08-19 21:37:46 +05:30
Amin Ben Romdhane
72207e3aa1
JSON Plugin: Cannot Set an empty value
2024-08-19 10:07:35 +00:00
Amin Ben Romdhane
fa69524868
Multiple updates
...
- Transaction APIs removed
- Use different save dirs per proto
- In process instance update notifier
- Use event based refresh timer
- Commit changes from main daemon for default proto
- For add request commit changes without reload for default proto
- extend bbf.config to monitor based on input
- extend bbf.config to reload/commit based on input
- extend bb.config to provide list of service changes based on proto
2024-08-17 07:18:35 +00:00
Amin Ben Romdhane
75195a112e
T#14683: reduce cpu usages
2024-08-07 11:12:13 +00:00
Amin Ben Romdhane
3a3b00b8e4
Remove support for deleting all instances since cwmp and usp protocols do not require it
2024-08-06 14:08:27 +00:00
Amin Ben Romdhane
93a6f6f51c
B#14917: Fix setting list of datamodel refrences
2024-08-01 12:24:43 +02:00
Amin Ben Romdhane
2d8844df87
Operate/event: Store output data in blob message
2024-07-31 11:49:09 +02:00
Suvendhu Hansa
c252002089
Added alias value in schema for cwmp GPN
2024-07-12 18:52:06 +05:30
Amin Ben Romdhane
1eaf1298af
Move Instance Alias handling to icwmp
2024-07-12 14:50:47 +05:30
Amin Ben Romdhane
0636a0f457
Cleanup code
2024-06-12 08:53:42 +00:00
Amin Ben Romdhane
ff0a481c58
Update log level for few logs
2024-06-05 14:03:46 +02:00
Amin Ben Romdhane
40d22bedaf
Introduce bbf.config with C code
2024-06-04 12:18:02 +02:00
Amin Ben Romdhane
0d16ce491a
B#14541: micro-services not getting re-registered if bbfdmd restarts
2024-06-04 09:48:08 +00:00
Amin Ben Romdhane
6df8fecbcc
Move Device.WiFi. to wifidmd
2024-05-30 07:51:00 +00:00