Commit graph

54 commits

Author SHA1 Message Date
Amin Ben Ramdhane
da60243b30 Ticket refs #3629: TR-181: Device.DHCPv4.Server.Pool.{i}.StaticAddress. implementation has incorrect behavior
Fix multiple issues in StaticAddress implementation

 - "StaticAddress.{i}.Yiaddr" accepting any IP address -> According to standard, It should accept IP address from DHCP IP pool
 - Same IP address can be assigned to multiple MAC address -> According to standard, Once a IP got bind to a MAC, it should not get bind to other MAC
 - Able to create multiple entry for same MAC -> According to standard, It should accept only one entry for one MAC
 - Able to create multiple object with same Alias -> According to standard, Alias should be unique
2020-11-26 11:06:56 +01:00
Amin Ben Ramdhane
91879726a6 TR-181: Remove deprecated Device.Hosts.Host.{i}. parameters: AddressSource, LeaseTimeRemaining
- These parameters are obsolete in TR-181 2.14
2020-11-16 10:15:03 +01:00
Sukru Senli
b49dff1ecb wifi: remove deprecated Device.WiFi.AccessPoint.{i}.MaxAssociatedDevices parameter 2020-11-15 18:52:25 +01:00
Amin Ben Ramdhane
1495c4277e Update json files: remove space from the end of each line 2020-11-13 19:56:46 +01:00
Amin Ben Ramdhane
38bbb5e455 Ticket refs #2920: TR-181: Device.IP.Interface.{i}. IPv4Address, IPv6Address and IPv6Prefix multi-instance objects are treated as single-instance 2020-11-07 19:12:29 +01:00
Amin Ben Ramdhane
a07102c32b Get_schema: add the missing unique keys for TR181 and TR104
- Update JSON files for tr181 and tr104
- Update the generator
2020-10-14 16:33:02 +01:00
sverma
2a88a4c5af bbf: Added support for Device.WiFi.DataElements.Network. 2020-10-13 19:14:15 +05:30
Shubham Sharma
a9fc190ed1 get_schema: Get unique keys from multi instance objects
- As per TR181, there could be one or more unique keys for each
   multi-instance object. Added support to get the unique keys
   associated with the multi-instance object.
 - Changes for generate_source_code.sh to have unique keys as
   extra object parameter.
2020-10-13 10:51:47 +01:00
Amin Ben Ramdhane
a8dc2edcfa WiFi: fix some issues
- Device.WiFi.Radio.1.SupportedStandards : fix its value
- Device.WiFi.EndPoint.1.WPS.ConfigMethodsEnabled : fix its set value
- Device.WiFi.EndPoint.1.WPS.PIN : fix its set value
- Device.WiFi.EndPoint. : fix segfault when calling delete_obj all
2020-10-08 19:19:18 +01:00
Amin Ben Ramdhane
54787c12f8 Ticket refs#3223: USP: Device.DHCPv4.Server.Pool.{i}.StaticAddress.{i}.Enable not available 2020-09-21 18:04:56 +01:00
Amin Ben Ramdhane
d26cf63d0b WiFi: fix issue and update json file 2020-09-21 00:14:23 +01:00
Amin Ben Ramdhane
e9e1f3e886 STUN: add enable option 2020-09-10 10:53:06 +01:00
Amin Ben Ramdhane
82d001806e Update config file name 2020-09-10 10:52:14 +01:00
Amin Ben Ramdhane
3a807945f9 Update bbf generator and json files 2020-09-03 14:17:04 +01:00
nevadita.chatterjee
725981c900 bbf: Added ieee1905 code 2020-09-02 18:30:16 +02:00
Amin Ben Ramdhane
452858fe1e WiFi.Radio.: fix get/set of [AutoChannelRefreshPeriod,RegulatoryDomain,SupportedOperatingChannelBandwidths] parameters 2020-07-11 09:15:13 +01:00
Amin Ben Ramdhane
712071eaaf Ticker refs #2909: TR-181: some DHCP and Firewall objects are missing Alias parameter 2020-07-10 10:57:20 +01:00
Amin Ben Ramdhane
e0334ebe18 WiFi: added add/delete object for AccessPoint object 2020-06-26 16:35:24 +01:00
Amin Ben Ramdhane
e4f1fd8653 WiFi: fix get/set value of SupportedFrequencyBands and OperatingFrequencyBand parameters 2020-06-22 16:43:17 +01:00
Sukru Senli
bea58e17e7 wifi: correct noise mapping 2020-06-18 16:04:53 +02:00
Sukru Senli
a193d35b84 hosts: add ActiveLastChange parameter support 2020-06-13 13:49:18 +02:00
Amin Ben Ramdhane
cd31a6ca60 Ticket refs #2539: TR-181: Device.Hosts.Host.{i}.WANStats. 2020-06-08 12:43:16 +01:00
Amin Ben Ramdhane
8d86290889 Ethernet.Interface.{i}.Stats: update stats values
Keep the parameters available in sysfs and read the missing ones from ubus ethernet/ifstats object
2020-06-05 18:40:32 +01:00
Sukru Senli
361a23aae1 wifi-iopsyswrt: fix AssociatedDevice Noise mapping 2020-06-05 18:23:24 +02:00
Amin Ben Ramdhane
7c43ff13a3 Ethernet.Interface.{i}.Stats: read values from ubus ethernet/stats instead of sysfs 2020-06-05 17:00:24 +01:00
Amin Ben Ramdhane
c30dd0d2db Ticket refs #2644: TR-181: Device.Ethernet.RMONStats.{i} object 2020-06-05 15:45:41 +01:00
Amin Ben Ramdhane
5b1f2885e2 Fix all blank spaces in tr181.json 2020-05-30 11:57:31 +01:00
Suru Dissanaike
b7d9ea43ad Fixed blank spaces in tr181.json 2020-05-29 20:33:02 +02:00
Sukru Senli
726824bd01 wifi: map OperatingChannelBandwidth to htmode 2020-05-21 12:04:49 +02:00
Sukru Senli
7a4470975e wifi: remove deprecated parameters and correct some mappings 2020-05-21 09:26:22 +02:00
Omar Kallel
8473242c46 Ticket refs #2584: TR-181: Device.LANConfigSecurity. object 2020-05-18 12:01:26 +01:00
Amin Ben Ramdhane
4354aa2117 Ticket refs #2511: libbbf: JSON schema support for Alias and Link 2020-05-17 15:33:52 +01:00
Amin Ben Ramdhane
80652051f5 Ticket refs#2538: TR-181: Device.Hosts.Host.{i}.InterfaceType is missing 2020-05-12 16:39:12 +01:00
Amin Ben Ramdhane
04deea2605 Update mappings of some parameters 2020-05-12 00:56:45 +01:00
Amin Ben Ramdhane
61a1c57664 Add sysfs and procfs mapping + update mapping of some parameters + clean up 2020-05-12 00:05:40 +01:00
Sukru Senli
0865b2cdae add DeviceInfo.Description and ManagementServier.UpgradesManaged parameters 2020-05-07 20:56:27 +02:00
Amin Ben Ramdhane
a42590ac71 SoftwareModules: update the object name softwaremanagement -> swmodules 2020-05-05 00:34:33 +01:00
Amin Ben Ramdhane
6c89f78545 Update mappings of some parameters 2020-04-20 16:21:31 +01:00
Sukru Senli
f462f1f54e deviceinfo: update mappings of some parameters 2020-04-20 12:06:24 +01:00
Sukru Senli
78eb9248b4 wifi: fix wrong mapping of macaddr 2020-04-15 10:37:38 +02:00
Amin Ben Ramdhane
849eff3708 Ethernet.Interface: update parameters with new options of uci ports config 2020-03-29 14:20:38 +01:00
Amin Ben Ramdhane
0db7a71e1b Ethernet.Interface object: Fix the value of some parameters
*) Device.Ethernet.Interface.{i}.Name
*) Device.Ethernet.Interface.{i}.Upstream
*) Device.Ethernet.Interface.{i}.MaxBitRate
*) Device.Ethernet.Interface.{i}.CurrentBitRate
*) Device.Ethernet.Interface.{i}.DuplexMode
*) Update JSON file
2020-03-27 21:13:25 +01:00
Amin Ben Ramdhane
e3777371b1 WiFi: update parameters with new ubus objects 2020-03-18 22:47:41 +01:00
Amin Ben Ramdhane
a1f7ce98cf Ticket refs #1254: Improvement validation parameters 2020-03-13 16:28:32 +01:00
Amin Ben Ramdhane
862c54780e Update WiFi object with new ubus calls: wifi, wifi.radio, wifi.ap 2020-03-02 19:28:07 +01:00
Amin Ben Ramdhane
fa7642d9cd Ticket refs #1845: bbf-tools: generate supported USP operate commands 2020-02-27 17:13:39 +01:00
Amin Ben Ramdhane
be7204e16e Update json file + upnp: add mapping parameters 2020-02-21 18:49:28 +01:00
Amin Ben Ramdhane
905d78844c Ticket refs #1254: TR-x69: add support for parameter validation 2020-02-20 23:25:49 +01:00
Amin Ben Ramdhane
fd60013d1a Ticket refs #1365: TR-157: Device.SoftwareModules. object 2019-12-07 13:29:43 +01:00
Amin Ben Ramdhane
a33b47b9c3 Ticket #1335: TR-181: Device.DynamicDNS. object 2019-11-02 12:18:36 +01:00