Commit graph

436 commits

Author SHA1 Message Date
Feten Besbes
56fa2ec2f1 TR181 : Set/GET DHCP Client/Server options values in hexbinary format 2021-10-29 12:01:48 +01:00
Amin Ben Ramdhane
0ddc89bda0 Revert "Ticket refs #4386: dm_validate_string in libbbf_api requires length of enumeration and pattern arrays to be hardcoded at caller"
This reverts commit 2a44343127.
2021-02-26 15:21:52 +01:00
Amin Ben Ramdhane
2a44343127 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-22 12:32:58 +01:00
Amin Ben Ramdhane
7e150c9910 bbf: allow setting a pathname object without '.' at the end 2021-02-18 18:04:29 +01:00
Amin Ben Ramdhane
7c1ef7bd87 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-18 18:04:20 +01:00
Feten Besbes
cc35c959c1 update init of br_inst 2021-02-01 19:42:00 +01:00
Feten Besbes
1249617333 TR181 segmentation fault with Bridging 2021-02-01 17:50:47 +01:00
Amin Ben Ramdhane
64b34f0d1b Ticket refs #4084: TR181: A bridge proto interface can't be set to static 2021-01-20 09:38:39 +01:00
Rahul
951cdfac6e bbf: extend mld data object
To add support for:
- immediate leave
- last member query interval
2021-01-13 12:23:57 +05:30
Rahul
a2f4b759f1 bbf: extend igmp snooping
Add support for configuration of immediate leave and last member
query interval in snooping as well.
2021-01-12 22:18:21 +01:00
jjoseph
196d11e8df bbf : Bug#4038-QoS: tr181, inner vid not configurable in l2 scenario
-Changes done to add support of configuring inner_vid via TR181 for the
 cases mentioned in the bug description.
- Changes done to support L3 Q-in-Q changes.
2020-12-23 17:49:51 +05:30
Rohit Topno
6738968953 bbf: Added support for get of provider bridge max entries and no. of entries. 2020-12-03 11:33:55 +05:30
Rohit Topno
a20d7e0c85 bbf: Made provider bridge configurable through tr181. 2020-12-02 11:17:44 +05:30
Amin Ben Ramdhane
44995c0085 TR-104: add the default value for some parameters 2020-11-30 17:09:01 +01:00
Amin Ben Ramdhane
d3e02617ee bbf: accept dateTime type with microsecond precision
Some parameters must be specified with microsecond precision such as:
 - Device.IP.Diagnostics.DownloadDiagnostics.(ROMTime, BOMTime, EOMTime, TCPOpenResponseTime, etc)
 - Device.IP.Diagnostics.UploadDiagnostics.(ROMTime, BOMTime, EOMTime, TCPOpenResponseTime, etc)
2020-11-30 16:51:23 +01:00
Amin Ben Ramdhane
86a7d49044 Ticket refs #3879: bbf: dmtype check missing for all parameters 2020-11-21 14:11:22 +01:00
Amin Ben Ramdhane
bd5ec47a0c bbf: if the value is empty -> get default value by type 2020-11-21 14:09:47 +01:00
Amin Ben Ramdhane
2250d4a547 IP.Interface: don't remove Ethernet.Link object when calling delete IP.Interface object
According to the standard, each object deletion should have no effect on other objects, so we remove the deletion of Ethernet.Link when calling delete object of the IP.Interface object
2020-11-20 21:44:01 +01:00
Amin Ben Ramdhane
fe6c5ec71a Ethernet.VLANTermination: set LowerLayers has no effect on the IP.Interface section related to it
if we have an IP.Interface.{i}. links to -> Ethernet.VLANTermination.{i}. which link to -> Ethernet.Link.1. and we need to update Ethernet.VLANTermination.{i}.LowerLayers to Ethernet.Link.2.

the issue is IP.Interface.{i}. was not updated when setting Ethernet.VLANTermination.{i}.LowerLayers to Ethernet.Link.2.

So this commit fixes this issue
2020-11-20 21:43:50 +01:00
Amin Ben Ramdhane
192a2f48b0 Ticket refs #3772 && #3773
- #3772: IP.Interfaces connected to Ehternet object is transparent
 - #3773: TR-181: Not possible to set IP.Interface.LowerLayers to an existing Ethernet.Link object
2020-11-13 16:18:30 +01:00
Amin Ben Ramdhane
40f7c52554 Ticket refs #3774: Deleting Interface linked to Ethernet.link causes corrupt config 2020-11-13 13:28:46 +01:00
Amin Ben Ramdhane
c522ce40c7 Ticket refs #2920: TR-181: Device.IP.Interface.{i}. IPv4Address, IPv6Address and IPv6Prefix multi-instance objects are treated as single-instance 2020-11-13 13:25:15 +01:00
Amin Ben Ramdhane
b0cd558808 QoS: remove unused variables 2020-10-26 11:01:58 +01:00
Shubham Sharma
ddfe105103 bbf: Added Device.QoS.Classification parameters for DHCP options 60,61,77 2020-10-26 10:48:42 +01:00
Amin Ben Ramdhane
4d03744879 QoS: Fix invalid parameter values 2020-10-26 10:48:24 +01:00
Amin Ben Ramdhane
ec3b032d0f bbf: Fixed crash on QEMU 2020-10-23 11:51:39 +01:00
Amin Ben Ramdhane
33ac58dd2f QoS: Fix compilation on OpenWrt platform 2020-10-12 09:21:59 +01:00
Rahul
5e659f5337 bbf: add support for QoS.Policer 2020-10-12 09:21:40 +01:00
nevadita.chatterjee
57951e7f16 bbf: Added CUSTOM_PREFIX param in ieee1905 2020-10-10 16:18:25 +01:00
Amin Ben Ramdhane
faa12a3431 DHCPv4: fix SentOption segfault issue
- Device.DHCPv4.Client.{i}.SentOption.1.Enable : fix get/set segfault issue
- Device.DHCPv4.Client.{i}.SentOption.1.Tag : fix get/set segfault issue
- Device.DHCPv4.Client.{i}.SentOption.1.Value : fix get/set segfault issue
- Device.DHCPv4.Client.{i}.SentOption.: fix add/del segfault issue
2020-10-10 11:55:40 +01:00
Amin Ben Ramdhane
802d575b3f DHCPv4: fix MaxAddress param value 2020-10-10 11:11:32 +01:00
Sukru Senli
020218dccc Revert "DHCPv4: fix segfault issue"
This reverts commit 13455ee4a2.
2020-10-10 11:23:07 +02:00
Amin Ben Ramdhane
3877ea5b78 ServerSelectionDiagnostics: add a custom_prefix to port parameter 2020-10-09 14:48:39 +01:00
Amin Ben Ramdhane
13455ee4a2 DHCPv4: fix segfault issue
- Device.DHCPv4.Server.Pool.{i}.MaxAddress: fix its value
- Device.DHCPv4.Client.{i}.SentOption.1.Enable : fix get/set segfault issue
- Device.DHCPv4.Client.{i}.SentOption.1.Tag : fix get/set segfault issue
- Device.DHCPv4.Client.{i}.SentOption.1.Value : fix get/set segfault issue
- Device.DHCPv4.Client.{i}.ReqOption.: fix add/del segfault issue
2020-10-09 14:48:14 +01:00
Amin Ben Ramdhane
fd2354a9c5 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-09 14:15:05 +01:00
Amin Ben Ramdhane
2d863094c9 InterfaceStack: fix the value of LowerAlias parameter when it's mapped to VLANTermination 2020-10-09 14:14:44 +01:00
Amin Ben Ramdhane
56f692fdb1 DynamicDNS: fix ServerPort & LastUpdate issues 2020-10-09 14:14:32 +01:00
Amin Ben Ramdhane
6dc269f56f Ethernet: change the type of UnknownProtoPacketsReceived parameter 2020-10-09 14:14:03 +01:00
Omar Kallel
994d5e6466 Clean just parameters list from the context 2020-10-07 16:26:16 +01:00
Omar Kallel
3bd148f3c4 Extract end_session_flag from bbf to icwmp 2020-10-05 09:56:46 +01:00
Omar Kallel
128e5b0900 Fix warnings 2020-10-02 11:22:51 +01:00
Omar Kallel
8f712c4567 cleanup: remove unused notification functions 2020-10-02 11:22:41 +01:00
Omar Kallel
86392e2603 Add entry get_value function for full path parameter 2020-10-02 11:22:31 +01:00
Omar Kallel
17c4877646 add function to update .dm_enabled_file called from external program 2020-10-02 11:22:15 +01:00
Amin Ben Ramdhane
b20b692736 Voice: fix the Get/Set value of CodecList parameter 2020-09-29 19:14:54 +01:00
Yalu Zhang
bcaaf37e0f Solve problems found in the second round of internal test
Make CallStatus and CallLog's parameters more TR-104 compliant.
2020-09-29 19:14:43 +01:00
Amin Ben Ramdhane
44abfbbc53 Ticket refs #3228: QEMU - ICWMP is segfaulting
Fix missing objects
2020-09-26 17:26:22 +01:00
Amin Ben Ramdhane
fed4c978e7 Voice: remove unsupported object 2020-09-26 17:26:08 +01:00
Amin Ben Ramdhane
61b0038372 Voice: enhance code 2020-09-26 17:25:58 +01:00
Yalu Zhang
85eca6e6dc Solve problems found in the first round of internal test
The major changes are for more TR-104 compliant.
- Changes those static objects to dynamic ones although they can have only one instance
- Make some paraters' values compliant to the data model
2020-09-26 17:25:50 +01:00