Commit graph

121 commits

Author SHA1 Message Date
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
Vivek Kumar Dutta
2d65ca3a36 Remove redundant func 2024-05-29 17:30:42 +00:00
Amin Ben Romdhane
13104160ee Micro-service: Fix set method issue using usp proto 2024-05-27 16:06:22 +00:00
Amin Ben Romdhane
8f787e35dc Fix set method with multiple references 2024-05-22 15:27:12 +02:00
Amin Ben Romdhane
4f24925492 Set/Operate methods: Stop parsing micro-services once they have been successfully operated 2024-05-22 15:23:33 +02:00
Amin Ben Romdhane
3a2ffcf318 Move TR-471 Data Model to tr471d 2024-05-18 21:50:47 +02:00
Amin Ben Romdhane
c35c1da0b2 F#14418: Generic API to datamodel reference handling 2024-05-16 09:47:58 +00:00
Amin Ben Romdhane
90f58787c5 Move Device.Bridging. to bridgemngr 2024-05-14 14:45:20 +00:00
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