Commit graph

99 commits

Author SHA1 Message Date
Amin Ben Romdhane
eee1130299 B#14347: usp events not working for multi-instance objects 2024-05-07 19:23:54 +02:00
Amin Ben Romdhane
41d4e915e3 Get Name: Don't return micro-service error when calling 'Device.' or empty path with next-level is false 2024-04-25 17:37:03 +02:00
Vivek Kumar Dutta
d5d84ae1da Fix crash with operate without input 2024-04-25 11:03:49 +05:30
Amin Ben Romdhane
3ce214e8f1 Commit dmmap changes even if there is no service to restart 2024-04-24 10:51:10 +02:00
Amin Ben Romdhane
73356e08a4 Introduce a new ubus obj 'bbf.config' to commit/revert uci config/dmmap changes and restart the required services
- Delete dmmap commit from Get Value/Get Name/ Get Instances methods
- dmmap changes can only be committed if restart_services is set to true during transaction commit
2024-04-23 17:15:03 +00:00
Amin Ben Romdhane
8126bc908a Fix the path of activate handler file 2024-04-18 17:49:52 +02:00
Vivek Kumar Dutta
63fad00eee Multiple improvements
- New input daemon option, 'service_name' to easily configure micro-service
- service_name used with 'dm_' prefix in process name
- service_name with 'dm_' prefix and '_inst' suffix for forked instance updater
- Unified signal handler for micro-service and main process
- Cli argument '-m' overloaded to support module name in place of plugin path
- Test alignments and improvements
2024-04-15 13:46:49 +00:00
Amin Ben Romdhane
bf86ab992c Fix 'LowerLayers' value issue after moving 'Ethernet' Object as micro-service
- Fix get value of Device.IP.Interface.*.LowerLayers
- Fix get value of Device.Bridging.Bridge.*.Port.*.LowerLayers
- Fix get value of Device.InterfaceStack.*.LowerLayer
- Fix set method for external parameter via micro-service
2024-03-25 12:02:34 +00:00
Amin Ben Romdhane
abe210ee92 Get Name: Add support for root micro-service object 2024-03-22 13:11:18 +01:00
Amin Ben Romdhane
ae765a8f8f Feature #13323: Use ciphertext to store and retrive password 2024-03-21 12:27:24 +00:00
Amin Ben Romdhane
2120b2d27b JSON Plugin: use ubus blocking API to run operate command 2024-03-21 10:37:57 +01:00
Vivek Kumar Dutta
8c998e886c Fix probable crash and signal handler 2024-03-19 12:51:11 +00:00
Amin Ben Romdhane
7997de62b7 Define memhead list inside bbf context structure 2024-03-18 15:31:20 +00:00
Vivek Kumar Dutta
afe17e7b3a Support external datamodel reference from json plugin 2024-03-15 11:28:37 +00:00
Amin Ben Romdhane
f168a34598 Call micro-service with its register path when calling get method for the whole tree 2024-03-13 15:30:37 +01:00
Amin Ben Romdhane
70c0665f95 T#13822: Add support for linker, dmmap and list for json_plugin_v2 2024-03-08 04:43:57 +00:00
Vivek Kumar Dutta
45a5ba0c08 Add support for linker in json plugin v2 2024-03-07 12:21:25 +05:30
Amin Ben Romdhane
8acd70acf1 T#13729: Use generic structure dm_data for multi-instance objects 2024-03-06 04:34:31 +00:00
Vivek Kumar Dutta
3d83590251 microservice: add support to register multiple objects 2024-03-06 04:17:26 +00:00
Jeff Lyons
f6aa50879f HF-8055: BBFDM Microservice DotSo plugin gives 9005 Invalid Parameter Name 2024-02-29 09:57:37 +00:00
Amin Ben Romdhane
e22698c246 Use the correct version when running JSON Plugin as micro-service 2024-02-23 12:10:50 +01:00
Amin Ben Romdhane
c26fa5d295 JSON Plugin: Added support for extending/overwriting/excluding in version 2 2024-02-21 16:57:37 +01:00
Amin Ben Romdhane
249b9d564d B#13660: Update the handling of DHCP Option 55 2024-02-19 16:11:39 +01:00
Suvendhu Hansa
4062ae5b64 Fix default value of plugin params 2024-02-15 21:14:15 +05:30
Amin Ben Romdhane
52c40d635b B#13539: Setting SIP Client Network to same Network generates fault 2024-02-06 13:32:27 +00:00
Amin Ben Romdhane
0bde2364b6 Added support for OpenVPN Object 2024-02-06 09:08:01 +00:00
Amin Ben Romdhane
379f492041 T#13540: Support Overwriting/Disabling/Extending core datamodel using JSON Plugins 2024-02-06 06:20:59 +00:00
Amin Ben Romdhane
b1be97457c bbfdm-api: Enhance replace_str API to utilize provided buffer 2024-02-05 16:11:22 +01:00
Amin Ben Romdhane
eddef9c116 Get Name Method: Several fixes 2024-01-31 16:15:36 +01:00
Amin Ben Romdhane
09d0adde8e Stop browsing the rest of micro-services when calling Get Name RPC for a parameter and receive a successful response 2024-01-31 12:24:17 +01:00
Amin Ben Romdhane
8f0e8f3d24 Feature #13372: move diagnostics api part to libbbfdm-api 2024-01-25 11:26:37 +01:00
Amin Ben Romdhane
147168fcd5 Micro-service via JSON plugin: remove dot from the main object when loading the tree 2024-01-24 10:57:19 +00:00
Amin Ben Romdhane
b3945f8b0e Feature #13148: Replace vendor implementation with DotSo plugin 2024-01-23 20:52:37 +00:00
Amin Ben Romdhane
36a805cac4 Feature #13149: Move event notification mappings to micro-services 2024-01-23 14:53:42 +01:00
Vivek Kumar Dutta
6beb5e0e91 Avoid uci commit when restart_service is false 2024-01-23 13:51:09 +00:00
Amin Ben Romdhane
cd2066de67 B#13293: JSON mapping gets cause high CPU % and memory leak 2024-01-10 13:16:58 +01:00
Amin Ben Romdhane
8d32f02f35 T#12237: Add support to show password for SecuredRoles 2024-01-09 12:37:39 +00:00
Vivek Kumar Dutta
4a942dbf11 Align with tr104 requirement 2023-12-27 16:57:40 +00:00
Amin Ben Romdhane
282c802308 B#12831: Top down configuration for DHCPv4 Server pool 2023-12-26 10:22:35 +00:00
Suvendhu Hansa
c66b1b1168 Fix warnings 2023-12-15 14:39:40 +00:00
Amin Ben Romdhane
003490a28c B#12980: Can't get the linker for object exposed through micro-services 2023-12-13 17:05:03 +00:00
Amin Ben Romdhane
1a7d15e1c5 T#12957: minimize tools dependency 2023-12-13 14:26:52 +00:00
suvendhu
753e6893b2 Optimization of wifi channel scan algo 2023-12-08 12:54:31 +05:30
Suvendhu Hansa
cc3bb93280 Use Firmware upgrade events 2023-12-07 08:05:17 +00:00
Amin Ben Romdhane
b05a69ec54 B#12795: don't convert clientid option to hex 2023-11-29 15:45:02 +00:00
Amin Ben Romdhane
f43885b47d T#11633: bbfdm: Support transaction commit/abort for microservices 2023-11-28 14:47:36 +00:00
Amin Ben Romdhane
01c0c3769e Get method: Show only the first resolved reference for micro-service object 2023-11-28 13:20:23 +00:00
Michael Polyntsov
5b52a9c6c3 Fix warnings found when compilling with glibc 2023-11-27 10:28:04 +00:00
Amin Ben Romdhane
7ecae3f6d1 Update bbfdm tools 2023-11-20 13:36:36 +00:00
Amin Ben Romdhane
afb64324cc Fix the set method for parameters exposed over a micro-service and use object reference as values 2023-11-13 17:42:03 +01:00