Commit graph

420 commits

Author SHA1 Message Date
vdutta
e98590509b test: Trigger uspd test on non-protected branch 2020-10-13 12:31:16 +02:00
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
nevadita.chatterjee
ec19e0c787 bbf: Added generic_phy topology param in ieee1905 2020-10-13 11:02:44 +02:00
vdutta
dca7c8f17d test: trigger uspd tests 2020-10-13 11:00:21 +02:00
Amin Ben Ramdhane
2d113c576d Ticket refs#3484: TR-181: Invalid dateTime parameter values 2020-10-12 18:57:48 +01:00
Amin Ben Ramdhane
ef0d2e9f6b Ticket refs#3480: TR-181: Invalid IPv6Adress parameter values 2020-10-12 18:56:52 +01:00
Amin Ben Ramdhane
6b10b2c8e0 QoS: Fix compilation on OpenWrt platform 2020-10-11 19:19:42 +01:00
Rahul
2f2a0ed678 bbf: add support for QoS.Policer 2020-10-11 20:17:04 +02:00
nevadita.chatterjee
0078bc882f bbf: Added CUSTOM_PREFIX param in ieee1905 2020-10-10 17:04:21 +02:00
Amin Ben Ramdhane
c395e8dd51 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 12:46:34 +01:00
Amin Ben Ramdhane
608bb009c9 DHCPv4: fix MaxAddress param value 2020-10-10 12:41:05 +01:00
Amin Ben Ramdhane
c6602debdd Revert "DHCPv4: fix segfault issue"
This reverts commit 893e27b7f9.
2020-10-10 12:35:42 +01:00
Amin Ben Ramdhane
17294eace9 ServerSelectionDiagnostics: add a custom_prefix to port parameter 2020-10-09 14:05:56 +01:00
Amin Ben Ramdhane
893e27b7f9 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-08 19:19:27 +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
5573fd538a InterfaceStack: fix the value of LowerAlias parameter when it's mapped to VLANTermination 2020-10-08 19:19:06 +01:00
Amin Ben Ramdhane
44afc16309 DynamicDNS: fix ServerPort & LastUpdate issues 2020-10-08 19:18:58 +01:00
Amin Ben Ramdhane
a92bad46c5 Ethernet: change the type of UnknownProtoPacketsReceived parameter 2020-10-08 19:18:49 +01:00
Omar Kallel
5dec85888a Clean just parameters list from the context 2020-10-08 19:00:18 +01:00
Omar Kallel
0b0e8a9bdc Extract end_session_flag from bbf to icwmp 2020-10-08 18:59:33 +01:00
Omar Kallel
3505476fa7 Fix warnings 2020-10-08 18:45:14 +01:00
Omar Kallel
718b1504c7 cleanup: remove unused notification functions 2020-10-08 18:41:33 +01:00
Omar Kallel
69a7acef3f Add entry get_value function for full path parameter 2020-10-08 18:41:07 +01:00
Omar Kallel
55ee5403eb add function to update .dm_enabled_file called from external program 2020-10-08 18:40:34 +01:00
Amin Ben Ramdhane
240b7b7488 Voice: fix the Get/Set value of CodecList parameter 2020-09-29 19:11:18 +01:00
Yalu Zhang
bbce1a47af Solve problems found in the second round of internal test
Make CallStatus and CallLog's parameters more TR-104 compliant.
2020-09-29 17:08:16 +02:00
Amin Ben Ramdhane
895c6d6e88 bbf: use dmuci_init_bbfdm function when allocating uci_ctx_bbfdm 2020-09-28 13:11:07 +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
Rahul
38b0c69f94 bbf: add support for config of provider bridge residential domain scenario
This is l3 QinQ basically, the support is added for the provider bridge
residential domain scenario, details as mentioned in tr181 issue 2,
amendment 13 as follows:

In the Residential Domain scenario untagged traffic is routed from the Ethernet and SSIDa
interfaces and tagged with a customer VLAN tag (C-TAG) of VLANa and then double tagged
with a Service Provider VLAN tag (S-TAG) of VLANx. This requires the use of:
• 802.1d Bridge instance: This object bridges the residential domain traffic to the Router.
• Layer3 Forwarding Rule: This object ensures that traffic between the Bridge and
VLANTermination objects is forwarded to the correct interface. The Rule utilizes the IP
Interfaces of the Bridge (IP Intf: Bridge_a) and Residential Domain (IP Intf: Residential)
• VLANTermination object (C-TAG): The C-TAG is applied and removed for traffic
egress and ingress to the IP Intf: Residential interface.
• VLANTermination object (S-TAG): The S-TAG is applied and removed for traffic from
and to the C-VLAN termination object.

Both config and end to end traffic after setup have been tested.

Note: partially resolves ticket #3101
2020-09-28 10:32:35 +02:00
Amin Ben Ramdhane
ca9e778c6d Ticket refs #3228: QEMU - ICWMP is segfaulting
Fix missing objects
2020-09-26 17:24:18 +01:00
Amin Ben Ramdhane
2c6163bb0b Voice: remove unsupported object 2020-09-26 17:24:09 +01:00
Amin Ben Ramdhane
6868ec3af5 Voice: enhance code 2020-09-26 17:23:58 +01:00
Yalu Zhang
0210b2165b 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-25 13:39:13 +02:00
Amin Ben Ramdhane
398413ed0a Ticket refs#3299: bbf: ping operation does not work correctly 2020-09-24 16:10:32 +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
Omar Kallel
c549dad741 add dmjson_get_string && fix segfault: add tests case ptr != NULL 2020-09-21 17:48:39 +01:00
Omar Kallel
92cdf363f5 Ticket refs #3228: QEMU - ICWMP is segfaulting 2020-09-21 17:48:26 +01:00
Amin Ben Ramdhane
d26cf63d0b WiFi: fix issue and update json file 2020-09-21 00:14:23 +01:00
Sukru Senli
e461345405 wifi: correct mapping of some parameters and use defaults 2020-09-20 09:03:54 +02:00
Feten Besbes
c71ea1bb79 24827 - TR181: Segmentation Fault with add_object Device.NAT.PortMapping. 2020-09-19 19:22:03 +02:00
Amin Ben Ramdhane
615b68507c Voice: fix segfault and add dependency to asterisk config file 2020-09-18 15:05:28 +01:00
Amin Ben Ramdhane
c6cf0acd30 Device.Services.VoiceService.{i}.POTS.FXS.{i}.: fix instance number 2020-09-17 10:36:46 +01:00
Amin Ben Ramdhane
affcc1f42a bbf: remove config/dmmap file 2020-09-17 10:15:08 +01:00
Rohit Topno
3108792152 bbf: Renamed dscp2pbit vendor extension parameter. 2020-09-15 10:31:45 +01:00
Yalu Zhang
a5ab6cefc5 TR-104: add some missing parameters that are requested by BT
Device.Services.VoiceService.{i}.SIP.Network.{i}.Enable
Device.Services.VoiceService.{i}.VoIPProfile.{i}.RTP.SRTP.KeyingMethods
Device.Services.VoiceService.{i}.VoIPProfile.{i}.RTP.SRTP.EncryptionKeySizes

Note that KeyingMethods and EncryptionKeySizes are not configurable in Asterisk
so writting to these two parameters will return FAULT_9000.
2020-09-14 17:20:19 +02:00
vdutta
ab26cfaea6 get_instances: Added next-level support in instances 2020-09-14 15:56:14 +05:30
Amin Ben Ramdhane
c5ed408707 Device.IP.Interface.: enhance delete all instances 2020-09-12 15:39:43 +01:00
Feten Besbes
88a762d70e Refs 2978 : GNX-24808:Delete all instances of Device.IP.Interface fails 2020-09-12 16:37:14 +02:00
Rohit Topno
d84a27ef36 bbf: Made dscp2pbit vendor extension configurable through tr-181 2020-09-11 17:01:53 +01:00
Amin Ben Ramdhane
9cd9bb4e74 bbf generator: fix operate issue 2020-09-11 16:47:51 +01:00