Suvendhu Hansa
d39873cef6
Fix pipeline error
2026-01-14 10:11:45 +05:30
Vivek Kumar Dutta
b86e64ae69
Replace localtime with thread safe function
2026-01-13 12:05:47 +05:30
Xiaofeng Meng
b956fff5dc
bbf_configd: add pre-apply hook before apply handlers
2026-01-12 17:53:18 +05:30
Suvendhu Hansa
f13c2a5a9a
commit dmmap on initial refresh instance
2026-01-07 19:16:18 +05:30
Vivek Dutta
583fa5dfb9
Revert "Revert "Do not commit in get operation""
...
This reverts merge request !1253
2026-01-07 10:56:54 +05:30
Vivek Dutta
8201f79d12
Revert "Do not commit in get operation"
2026-01-06 18:29:06 +05:30
Suvendhu Hansa
d76877c20b
Set internal root for dm-service
2026-01-06 14:33:48 +05:30
Suvendhu Hansa
9e089f57d9
Do not commit in get operation
2026-01-06 14:21:56 +05:30
Vivek Kumar Dutta
bdf1947b73
Update ci test file
2026-01-02 17:44:17 +05:30
Suvendhu Hansa
7c81bf5bd5
Added revert handler for services
2025-12-31 17:06:04 +05:30
Suvendhu Hansa
fbf01a9e30
Fix reference_db overwrite by multiple service
2025-12-19 17:40:37 +05:30
Andreas Gnau
df25ff7ce0
libbbfdm-api: proper parenthesis in macros
...
When using macros, both any occurence of arguments and the macro itself
have to be enclosed in parenthesis to prevent unintended behaviour with
operator precedence.
For now, only fix the one causing a -Wint-conversion warning in GCC 14
when using constructs like these, where two macros are used together and
expand to both two comparisons and two nested ternary expression.
dhcpmngr.c:502:41: error: pointer/integer type mismatch in conditional expression [-Wint-conversion]
502 | if (DM_STRCMP(parent_s, section_name(s)) != 0)
Given the very heavy use of macros in this project, there are probably
more instances of this issue in the code and it can cause actual logic
errors. While at it, double evaluation should also be checked for.
Link: http://web.archive.org/web/20140127211232/http://docs.freebsd.org/info/cpp/cpp.info.Macro_Parentheses.html
Link: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/macro-parentheses.html
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2025-12-15 13:22:46 +01:00
Andreas Gnau
e883c4c69b
cmake: Fix compat with CMake 4
...
CMake 4 has deprecated compatibility with old versions < 3.5, update
minimum required CMake version.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2025-12-15 13:20:50 +01:00
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 Kumar Dutta
a0347e59b6
Schedules: Fix setting alias
2025-11-25 19:24:45 +05:30
Amin Ben Romdhane
880a7583ca
libbbfdm-ubus: fix crash on large Get output
2025-11-24 14:01:18 +01:00
Vivek Dutta
adfdb54d62
Update ubus call logs
2025-10-30 10:45:49 +05:30
Amin Ben Romdhane
4855d91797
libbbfdm-ubus: free 'bbfdm_ctx' dynamic allocations only when 'ubus_ctx' is initialized
2025-10-28 17:45:23 +05:30
Xiaofeng Meng
1a86b8a443
fix bbfdm_resolve_external_reference_via_dmmap
2025-10-24 16:26:10 +05:30
Amin Ben Romdhane
293474bf1f
Operate: commit or revert only if modified UCI list is not empty
2025-10-23 21:04:12 +02:00
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
d45e57afd6
Tools: added decollector module
2025-10-22 12:44:36 +02:00
Amin Ben Romdhane
3e9faeff2b
Delete the unnecessary sync timer
2025-10-20 13:23:20 +02:00
Amin Ben Romdhane
a332ebef29
libbbfdm-ubus: refactor ubus_ctx handling for greater flexibility
2025-10-17 22:04:52 +05:30
Amin Ben Romdhane
69134df069
Correct API name typo and deprecate old APIs
2025-10-15 16:14:01 +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
acb6b1cbf2
Added opconf and gnx-l2snooping dm in tools input
2025-09-25 17:39:09 +05:30
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
786863cf0e
Multiple updates
...
- Support to notify about external uci changes
- Call uci_to_dmmap sync function on uci changes notification
- Documentation update
2025-09-14 12:10:52 +05:30
Suvendhu Hansa
2cd0a1ef6b
Register external handler
2025-09-11 13:29:19 +05:30
Vivek Kumar Dutta
227d121ee5
Pipeline improvement
2025-09-10 15:52:01 +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
ca8707b320
Fix pipeline
2025-09-02 13:09:30 +05:30
Vivek Kumar Dutta
ebe5ada3d0
dm-services: enable libeasy
2025-09-02 12:54:48 +05:30
Vivek Kumar Dutta
c9af4e50ce
Logging improvements
2025-08-27 14:28:28 +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
Vivek Kumar Dutta
42d1e14a91
ci: Fix compilation of libeasy
2025-08-22 21:57:29 +05:30
Xiaofeng Meng
5d7b4d759e
Fix generic error message for 9007 fault code
2025-08-22 15:06:08 +05:30
Amin Ben Romdhane
16ed3a79e3
Support multiple DM paths for the same UBUS event
2025-08-18 13:37:08 +05:30
Vivek Kumar Dutta
8c1517dab6
Fix branch name for micro-services
2025-08-06 14:55:59 +05:30
Vivek Kumar Dutta
51af53e2be
Fix CI for release branches
2025-08-06 13:59:59 +05:30
Vivek Kumar Dutta
47087c5941
Fix micro-service pipelines
2025-08-05 13:04:48 +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