Amin Ben Romdhane
0a4105c931
Add bbfdm daemon(bbfdmd)
2023-04-14 10:05:08 +00:00
Amin Ben Romdhane
591b7414c8
Json_plugin: Add/Delete/Set returns error when any operation is failing
2023-01-10 10:59:06 +00:00
Amin Ben Ramdhane
01d8dd9487
Align with new BulkData changes
2022-09-28 07:54:02 +00:00
Omar Kallel
7ca14a3fcd
Ticket #8245 : bbf: Add support for InformParameter
2022-07-21 15:47:23 +00:00
Amin Ben Ramdhane
95c7459bce
T#8408: JSON Plugin: Fixed issues when multi-instance object mapping for multiple sections
2022-07-21 13:39:57 +01:00
Amin Ben Ramdhane
b36eca90a7
Device.{BBF_VENDOR_PREFIX}URLFilter.Profile.{i}.Name: update permission
2022-06-15 09:50:14 +00:00
Amin Ben Ramdhane
bae4f6238f
bbf: replace disallowed characters from uci section name
2022-01-18 17:08:20 +01:00
vdutta
2ccba8af73
Simplify management server url
2022-01-14 20:49:06 +05:30
vdutta
29f8051364
Get DeviceId specific parameter from cwmp
...
- CWMP DeviceId specific parameters first read from cwmp uci
if not present, it fallback to default db.
2022-01-07 16:59:17 +05:30
Amin Ben Ramdhane
65939b90aa
bbf: add a header file for libbbf_api
2021-12-20 15:43:08 +00:00
vdutta
c364c99501
Stage var state uci
2021-11-09 17:21:37 +01:00
Omar Kallel
c7c87df049
Ticket #6359 : icwmp: Reduce I/O on filesystem
2021-11-09 17:21:20 +01:00
Omar Kallel
01d36c0edf
Revert "Ticket #6359 : icwmp: Reduce I/O on filesystem"
...
This reverts commit 4e512e588e .
2021-11-09 16:53:34 +01:00
Omar Kallel
dc642082f9
Revert "Stage var state uci"
...
This reverts commit 2ea9a2e311 .
2021-11-09 16:49:22 +01:00
vdutta
2ea9a2e311
Stage var state uci
2021-11-09 16:14:29 +01:00
Omar Kallel
4e512e588e
Ticket #6359 : icwmp: Reduce I/O on filesystem
2021-11-09 16:14:18 +01:00
Amin Ben Ramdhane
c88074d9c2
reduce unused memory allocation
2021-11-08 17:33:20 +01:00
Amin Ben Ramdhane
42bc8e95a7
Ticket refs #5773 : improve and simplify handle instance in browser and add functions
2021-09-09 16:56:02 +00:00
Amin Ben Ramdhane
27cd8b3518
Add missing dependencies for objects and enhancement the code
2021-06-03 10:18:33 +01:00
Amin Ben Ramdhane
5717e55ac7
save dmmap files under '/etc/bbfdm/dmmap' instead of '/etc/bbfdm'
2021-03-25 19:33:30 +01:00
Amin Ben Ramdhane
92d1f62cab
bbf: cleanup
...
- fix flawfinder and cppcheck issues
- remove all unused functions
2021-02-10 17:31:55 +01:00
Amin Ben Ramdhane
eef08e0770
bbf: remove the call to icwmp shell script
2021-01-04 10:22:12 +01:00
Amin Ben Ramdhane
d5bf04b6a2
bbf: Fix some transaction issues and improve the code
2020-12-07 22:20:12 +01:00
Amin Ben Ramdhane
5d10fba083
bbf: improve and cleanup the code
...
- update_instance_alias: read config and type section from the passed section in handle_update_instance
- remove append_dot_to_string() function
2020-12-06 22:18:18 +01:00
Amin Ben Ramdhane
15d02b20fa
bbf: commit uci changes under bbfdm repo when calling get_value, get_name, etc...
...
- commit uci changes under '/etc/bbfdm' when calling all methods except set/add/delete
- align icwmp cli with bbf changes
- remove unused functions
2020-12-02 22:37:40 +01:00
vdutta
823183c11e
Save uci changes in place of commit
2020-12-01 11:38:14 +05:30
Amin Ben Ramdhane
18643f29b3
bbf: enhance the code
...
- remove unused argument from dmuci_add_section() and dmuci_add_section_bbfdm() functions
- use snprintf instead of dmasptintf
- change function name: add_list_paramameter -> add_list_parameter
2020-11-23 10:58:48 +01:00
Amin Ben Ramdhane
027d8fb599
bbf: save diagnostics data under '/etc/bbfdm/dmmap_diagnostics' instead of '/vat/state/cwmp'
2020-09-28 10:08:13 +01:00
Amin Ben Ramdhane
8da2fd3564
db config: get config path in init call
2020-09-11 15:32:40 +01:00
Amin Ben Ramdhane
e087f42404
db config: use '/lib/db/config' if exists else '/etc/board-db/config' path
2020-09-11 14:55:25 +01:00
Amin Ben Ramdhane
8d721664e6
db config: move /lib/db -> /etc/board-db due to changes in targets
2020-09-08 12:24:55 +01:00
Amin Ben Ramdhane
2e4bc3688b
UCI: added get value functions with a default value
2020-06-28 19:02:09 +01:00
Amin Ben Ramdhane
3dd66344b3
Ticket refs #2511 : libbbf: JSON schema support for Alias and Link
2020-05-12 00:59:17 +01:00
Amin Ben Ramdhane
cd391b939b
Ticket refs#2344: TR-181: Correct implementation of Device.Ethernet.VLANTermination
2020-04-08 21:51:23 +01:00
Amin Ben Ramdhane
905d78844c
Ticket refs #1254 : TR-x69: add support for parameter validation
2020-02-20 23:25:49 +01:00
Daniel Danzberger
7ce4410723
dmuci: fix some const compiler warnings
...
Read-only values should be marked with const to help the compiler
optimize code. But this would requrire a bigger rewirte of all the code,
hence the original code did not use const at all.
This should be done in the future to ensure good code quality
and performance.
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:28 +01:00
Daniel Danzberger
fb12136904
dmuci: fix returning of invalid pointers
...
This fixes segfaults and pointers with invalid strings for:
- dmuci_add_section
- dmuci_set_value_by_section
- dmuci_set_value
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:28 +01:00
Amin Ben Ramdhane
ff14c27fc3
clean up the source code
...
- remove unused variables
- fix coding style of most function (Indentation, Tabulation, ..)
- check the source code using cppcheck tool
- change sprintf by snprintf
2020-02-12 19:08:49 +01:00
Amin Ben Ramdhane
4ab526b9f2
Ticket refs#1598: libbbfdm: plug-in based with support for dynamic loading of libraries + separate libbbfdm into two libraries: libbbf_api (API) and libbbfdm (data model)
2020-01-21 22:43:37 +01:00