Commit graph

210 commits

Author SHA1 Message Date
suvendhu
d895f2d4cd Support of event and operates from json plugin 2021-10-29 12:55:21 +00:00
vdutta
0f3a18aef6 Fix get schema for dynamic plugins 2021-10-29 10:46:22 +05:30
Neeraj Bijalwan
aa17126d32 Added API to get supported datamodel
- New API "bbf_dm_get_supported_dm" to get the schema for all
  objects/params/events/commands at once
2021-10-27 06:16:33 +00:00
Amin Ben Ramdhane
7f8d825a52 Improve memory api 2021-10-22 12:35:32 +01:00
Amin Ben Ramdhane
d04a757b2c Add input value validation to vendor extension mechanisms 2021-10-22 12:35:02 +01:00
vdutta
7bda46a39a Fix CurrentLocalTime format 2021-10-05 19:11:26 +05:30
Omar Kallel
6b1eca2873 get varstate uci option with confdir instead of savedir 2021-10-05 14:31:44 +01:00
Amin Ben Ramdhane
c56a828512 Ticket refs #6166: vendorid, hostname and clientid cannot be set via TR069 2021-10-01 17:35:35 +01:00
Amin Ben Ramdhane
4226c94946 Add more configs to cover all datamdoel and fix some memory leaks 2021-09-30 14:55:32 +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
d285f7df07 Ticket refs #5832: Improve date time validation 2021-08-31 10:00:31 +01:00
Amin Ben Ramdhane
ec78e61128 Ticket refs #5626: Add in-tree definitions for usp events 2021-08-17 19:08:31 +01:00
Amin Ben Ramdhane
dc618bc473 Reduce the memory allocation/free in the browse function 2021-08-17 19:07:40 +01:00
Amin Ben Ramdhane
fd1b8d55f8 Ticket refs #5579: Add module dependency on opkg 2021-08-16 11:25:58 +01:00
Amin Ben Ramdhane
ed22bfbe0f Ticket refs #5710: Adapt Provider Bridge Object to OpenWrt 21.02 network stack 2021-08-12 14:08:20 +01:00
vdutta
f25f6816e2 Fix compilation warnings 2021-08-10 15:31:46 +05:30
Omar Kallel
365410dbff Ticket refs #5566: icwmp: move notifications feature from bbf to icwmp package 2021-08-09 17:22:47 +01:00
Arun Muthusamy
87b3664f95 Bug_5668: Fix time refrences in dm object
Add preferred shift time to the UTC time

ValidLifetime parameter: Replace localtime with UTC time

RouteLifetime parameter: Replace localtime with UTC time

IPv6 PreferredLifetime parameter: Replace localtime with UTC time

Security LastModif parameter: Replace localtime with UTC time

AssociationTime parameter: Replace localtime with UTC time

IPV6 PreferredLifetime, ValidLifetime parameter: Replace localtime with UTC time

DHCPv6 PreferredLifetime, ValidLifetime parameter: Replace localtime with UTC time

Add dm_time_utc_format function to get UTC time format

DHCPv4 LeaseTimeRemaining parameter: Replace localtime with UTC time

DeviceInfo Date parameter: Replace localtime with UTC time

DynamicDNS LastUpdate parameter: Replace localtime with UTC time

VoiceService ExpireTime parameter: Replace localtime with UTC time

Backup() parameter: Replace localtime with UTC time
2021-08-04 09:44:02 +02:00
Amin Ben Ramdhane
f7c10416b3 Ticket refs #6550: Adapt data models to OpenWrt 21.02 network stack 2021-08-02 10:31:17 +01:00
Amin Ben Ramdhane
6a252f514c Ticket refs #5505: Move operate commands to there own datamodel files 2021-07-22 15:18:01 +01:00
jjoseph
800d216222 bbf : Fix Inconsistent MACAddress case 2021-06-29 11:00:37 +05:30
Amin Ben Ramdhane
b37728698f Device.DeviceInfo.BootFirmwareImage: return error in case the set method does not work properly 2021-06-22 15:21:43 +01:00
Vivek Kumar Dutta
e0d497f2ac Revert "Added default value for hexbin type"
This reverts commit 5d7d8d86a2
2021-06-10 10:58:52 +00:00
vdutta
5d7d8d86a2 Added default value for hexbin type 2021-06-08 17:53:34 +05:30
Amin Ben Ramdhane
1c9316e665 IEEE1905: Align with new ubus object 2021-06-04 16:20:04 +01:00
vdutta
4231b2cfa5 Added dm_debug_browse_path API to get last access path 2021-06-04 17:06:26 +05:30
Amin Ben Ramdhane
27cd8b3518 Add missing dependencies for objects and enhancement the code 2021-06-03 10:18:33 +01:00
vdutta
f2eebc829d Update base64 default value 2021-05-27 12:28:54 +05:30
Amin Ben Ramdhane
c21c955236 Ticket refs #3467: Device.WiFi.Radio.{i}. object OperatingStandards and OperatingChannelBandwidth Set handling is wrong 2021-05-26 19:09:28 +01:00
Amin Ben Ramdhane
a82500080a Device.DeviceInfo.FirmwareImage: add support for Download() and Activate() commands 2021-05-25 10:49:17 +01:00
Amin Ben Ramdhane
9290c10b63 RouterAdvertisement: add support for Device.RouterAdvertisement.InterfaceSetting.{i}.AdvMobileAgentFlag parameter 2021-05-20 12:54:57 +01:00
Amin Ben Ramdhane
e9fb75eb97 bbf: implement unit and functional tests 2021-05-03 18:29:28 +01:00
Amin Ben Ramdhane
f27fe021d1 Ticket #4939: Implement Device.RouterAdvertisement. object 2021-05-03 13:50:23 +01:00
Amin Ben Ramdhane
8c85cf9059 Dynamic library: add support for input and output arguments 2021-04-23 10:33:30 +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
5e97bdb5e4 bbf: add support for vendor extension 2021-03-25 16:06:31 +01:00
Amin Ben Ramdhane
cdad11d92d Ticket refs #4386: dm_validate_string in libbbf_api requires length of enumeration and pattern arrays to be hardcoded at caller
- use NULL-terminated arrays instead of providing length by the caller
2021-02-15 21:13:18 +01:00
Amin Ben Ramdhane
679083337d move get_net_device_status function to dmcommon.c file 2021-02-11 19:17:58 +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
9c70a16884 bbf: add the missing pattern => "^$" 2021-02-01 15:55:51 +01:00
Amin Ben Ramdhane
ed06627492 Ticket refs #3890: Device.IP.Interface.{i}.IPv6Address.{i}. object is not listing Link-Local addresses 2021-01-21 14:47:51 +01:00
Jomily K Joseph
26c684593c bbf : #3969 TR-181: Add Device.Bridging.ProviderBridge.{i} support (REBASE)
- Add support for provider bridge on devel
2021-01-17 17:05:59 +00:00
Amin Ben Ramdhane
764fff3088 Device.DHCPv4.Relay.Forwarding.{i}.: Improve browse function 2021-01-11 12:08:47 +01:00
Amin Ben Ramdhane
8a369fda5d DHCP: fix a crash when dhcp_option has a wrong value 2021-01-06 23:01:38 +01:00
Amin Ben Ramdhane
eef08e0770 bbf: remove the call to icwmp shell script 2021-01-04 10:22:12 +01:00
Omar Kallel
301cbd0bed Fix libbbf_api warning 2020-12-17 12:50:20 +01:00
Omar Kallel
e73024d706 remove the use of dm_enabled_notify file && other cleanup 2020-12-17 12:34:34 +01:00
Amin Ben Ramdhane
b9a12b057b remove tr064 feature and cleanup 2020-12-16 10:03:25 +01:00
Amin Ben Ramdhane
3906faa12d Ticket refs #3730: bbf: fix Static Code Analysis 2020-12-16 10:00:19 +01:00
Omar Kallel
3d4ac802c2 Delete some unused functions && get ip_version from cwmp uci config 2020-12-15 15:25:43 +01:00