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
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