Commit graph

1681 commits

Author SHA1 Message Date
Amin Ben Romdhane
928443c5c8 Make sure to refresh references db before calling set method to ensure that all references are stored in the database 2025-06-24 14:50:23 +02:00
Amin Ben Romdhane
aa74995f9b
Added a mechanism to recover blacklisted ubus methods 2025-06-20 18:35:05 +05:30
Amin Ben Romdhane
ae1c44524d bbfdmd: make ubus timeout configurable for every service using JSON register service 2025-06-16 18:53:16 +05:30
Amin Ben Romdhane
22cc348d27 Added a mechanism to recover blacklisted services 2025-06-16 12:22:42 +00:00
Suvendhu Hansa
4bfeedf7bc
Added wifidmd DM vendor extension description 2025-06-16 12:21:52 +00:00
Suvendhu Hansa
ad2602f114 Blacklist ubus object only in timed out 2025-06-13 12:42:10 +05:30
Amin Ben Romdhane
25e2d0bab6 bbf.config: handle wifi configs reload from external script 2025-06-11 14:08:44 +02:00
Amin Ben Romdhane
571a4335a9 Added support for ubus blob API with timeout 2025-06-11 14:03:38 +02:00
Amin Ben Romdhane
67c6e502a2 Pipeline: Fix parental-control compilation 2025-06-11 13:41:52 +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
08cf6a9725 bbfdmd: Show only usp schema when registering the services 2025-05-22 10:55:57 +02:00
Amin Ben Romdhane
a20a15888b
Store data model schema during service registration 2025-05-21 15:50:18 +00:00
Amin Ben Romdhane
79a91515e5 Add detailed error logging for ubus_invoke failures 2025-05-20 11:42:02 +00:00
Amin Ben Romdhane
cbe727e54e
Enable all micro-services in Pipeline 2025-05-20 15:12:48 +05:30
Amin Ben Romdhane
d017aa025c
bbfdmd: Prevent repeated async calls to unstable services 2025-05-19 19:22:48 +05:30
Amin Ben Romdhane
cba4ccc25c Tools: added gateway-info module 2025-05-15 11:44:39 +02:00
Suvendhu Hansa
3f56ad4595 bbfdm api for reverting dmmap changes 2025-05-14 20:51:16 +05:30
Amin Ben Romdhane
7d89e82de3
Tools: added netmode module 2025-05-14 09:01:55 +00:00
Amin Ben Romdhane
a32a9a2bfc
Commit dmmap changes during reference DB refresh 2025-05-13 14:09:14 +00:00
Amin Ben Romdhane
ea3fa033e7 Revise get_ip_addr_used API to give the correct IP address used 2025-05-09 17:10:16 +02:00
Amin Ben Romdhane
c7e783aecd
Update pipeline to cover all micro-services 2025-05-08 17:34:23 +00:00
Amin Ben Romdhane
c4701f0968 Add support for data model schema 2025-05-06 15:24:40 +02:00
Amin Ben Romdhane
ccc15bd9e1
Fix tools to show available datamodel correctly 2025-05-01 17:24:36 +05:30
Vivek Kumar Dutta
2f5059d7de
Change build type to debug 2025-04-29 09:12:36 +05:30
Vivek Kumar Dutta
805bfc19d7
Updated tr181 xml to 2.19.1 2025-04-26 15:10:57 +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
4e32948acc
Reboot(): Increase sleep duration after reboot calls to ensure proper system state 2025-04-23 03:31:37 +00:00
Vivek Kumar Dutta
0448fbc7e9
Bump RootDataModelVersion to 2.19 2025-04-22 19:05:19 +05:30
Amin Ben Romdhane
56937cd498
Update reference db refresh 2025-04-15 15:20:55 +00:00
Vivek Kumar Dutta
cecb673d82
Updated tools to use tr181-2.19 2025-04-12 18:31:44 +05:30
Vivek Kumar Dutta
4ec1489532
update tools for qos 2025-04-12 18:15:49 +05:30
Amin Ben Romdhane
cb75a1e027
Register wifidmd as unified daemon 2025-04-12 14:27:24 +05:30
Amin Ben Romdhane
4d520ceb62 Make refresh references API visible from micro-services 2025-04-11 13:17:51 +02: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
Amin Ben Romdhane
bd9f7db4fb Optimize Device.Security. Object 2025-03-20 01:45:12 +01:00
Amin Ben Romdhane
09882ba799 Update documentation 2025-03-18 12:56:15 +01:00
Amin Ben Romdhane
d8842b9968 Fix the protocol value for objects that have restrictions on the service protocol 2025-03-18 12:53:53 +01:00
Amin Ben Romdhane
948a3771c1 Operate: Fix JSON format output in case of output failure 2025-03-18 12:52:19 +01: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
Amin Ben Romdhane
95848b941b bbfdmd: Increase ubus timeout '5' -> '10' 2025-03-13 11:38:34 +01: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
2976fdda4a
Increase ubus timeout to 5s for sync calls 2025-03-04 09:19:09 +00:00
Amin Ben Romdhane
1c417534a8 Added support for setting a list of references 2025-02-26 16:34:54 +01:00
Amin Ben Romdhane
0327469ad8
Get RPC: Added support for pretty format 2025-02-26 12:23:51 +00:00