Commit graph

77 commits

Author SHA1 Message Date
Amin Ben Ramdhane
794104a974 bbf: Add support for Device.FAST.Line.{i}.Stats, Device.DSL.Line.{i}.Stats and Device.DSL.Channel.{i}.Stats parameters 2021-03-05 15:05:04 +01:00
Amin Ben Ramdhane
8f681b3e86 NAT: add support for LeaseDuration parameter 2021-02-21 20:59:10 +01:00
Sukru Senli
4287403de7 Revert "NAT: add support for LeaseDuration parameter"
This reverts commit dca35827c7.
2021-02-19 19:25:52 +01:00
Amin Ben Ramdhane
dca35827c7 NAT: add support for LeaseDuration parameter 2021-02-19 15:43:49 +01:00
Amin Ben Ramdhane
fcbe0daf80 Ticket refs #3392: implement Device.Firewall.Chain.{i}.Rule.{i}.ExpiryDate parameter 2021-02-19 15:43:41 +01:00
Amin Ben Ramdhane
14f638fa53 Ticket refs #3794: implement Device.DHCPv4.Server.Enable parameter 2021-02-18 10:59:53 +01:00
Amin Ben Ramdhane
844f19b794 bbf: wrong behavior when configuring interface section with dhcp proto
- Device.DHCPv{4,6}.Client.{i}: fix add/delete method
 - Device.DHCPv4.Client.{i}: fix set method of Interface parameter
 - Remove automatic and unwanted DHCPv4.Client instances from the config
 - Creation of new Device.DHCPv4.Client object should not automatically create a new Device.IP.Interface object instance
 - Align DHCPv{4,6}.Client parameters with the new changes
 - Comment out Device.IP.Interface.{i}.AutoIPEnable parameter
2021-02-12 17:40:17 +01:00
Amin Ben Ramdhane
20d5f3bf82 ATM,PTM: Add support for Enable parameter 2021-02-11 14:13:22 +01:00
Amin Ben Ramdhane
9d3f12e527 ATM,PTM: get Status value from sysfs instead of hard coding it 2021-02-11 11:55:07 +01:00
Amin Ben Ramdhane
a528164bad NAT: Correct UCI mapping for PortMapping object 2021-02-09 21:54:01 +01:00
Amin Ben Ramdhane
fde0ce36bc NAT: update the mapping of some parameters
- Device.NAT.PortMapping.{i}.RemoteHost
 - Device.NAT.PortMapping.{i}.ExternalPort
 - Device.NAT.PortMapping.{i}.ExternalPortEndRange
 - Device.NAT.PortMapping.{i}.InternalPort
2021-02-09 15:54:01 +01:00
Amin Ben Ramdhane
70c5c51bf0 bbf: upgrade to 2.14 2021-02-01 15:56:20 +01:00
Amin Ben Ramdhane
9c70a16884 bbf: add the missing pattern => "^$" 2021-02-01 15:55:51 +01:00
Amin Ben Ramdhane
f17dfc929a Device.IP.Interface.{i}.MaxMTUSize: read its value from sysfs 2021-01-28 11:45:18 +01:00
Amin Ben Ramdhane
4631504931 Ticket refs #4282: Device.IP.Interface.{i}.MaxMTUSize parameter is mapped incorrectly 2021-01-26 14:49:53 +01:00
Amin Ben Ramdhane
01817a9ae0 WiFi: Add support for WPA3 security modes 2021-01-25 09:50:11 +01:00
Sukru Senli
b569a78b65 firewall: add support for Rule.{i}.Log parameter 2021-01-22 13:26:50 +01:00
Amin Ben Ramdhane
eb6cfb5418 Device.DHCPv6.Server.Pool.{i}. list includes dhcp sections which are ignored by dnsmasq 2020-12-29 13:57:59 +01:00
Amin Ben Ramdhane
0a9402b179 Ticket refs #4072: Device.DHCPv4.Client.{i}. object IPRouters and SubnetMask parameters are not implemented correctly 2020-12-29 10:33:15 +01:00
Amin Ben Ramdhane
7b308da4d7 Device.WiFi.SSID.{i}.MACAddress: read the value from sysfs instead of ubus 2020-12-23 15:29:04 +01:00
Jani Juvan
ae432c536d bbf: #902 - Add G.fast support to TR-181 2020-12-16 17:25:57 +01:00
Jani Juvan
ffc89e9218 bbf: update indexing and some minor bugfixes for DSL in TR-181 2020-12-16 15:22:01 +01:00
Sukru Senli
0e78372bbc ip: add Device.IP.Interface.{i}.ULAEnable parameter support 2020-12-08 08:44:04 +01:00
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