Commit graph

28 commits

Author SHA1 Message Date
Omar Kallel
6a360e1469 QOS object: integrate qos-openwrt file 2020-05-21 13:48:09 +01:00
Omar Kallel
8473242c46 Ticket refs #2584: TR-181: Device.LANConfigSecurity. object 2020-05-18 12:01:26 +01:00
Amin Ben Ramdhane
7250cbd1e9 X_<VENDOR>_WiFiLife: remove it from bbf
From now, X_<VENDOR>_WiFiLife object will be added by wifilife package
2020-05-12 16:37:36 +01:00
Rahul
20f0c5211c bbf: add support for mld snooping and proxy
Added support for MLD configuration using the new proposed data
model.
Resolve bug in IGMP to be able to delete child objects when
parents are deleted from the dmmap_mcast file.
2020-04-28 11:31:31 +05:30
Rahul
1b16a14089 bbf: add support for the new IGMP vendor extension
This commit caters to support for IGMP.Snooping and IGMP.Proxy objects except
for reading statistics in the form of Snooping.ClientGroup and Proxy.ClientGroup
objects.

ToDo:
1. Implement enable parameter for filter.

This is what it looks like btw:
root@iopsys:~# cat /etc/config/mcast

config snooping 'msnoop_1'
	option enable '0'
	option proto 'igmp'
	option version '2'
	option robustness '2'
	option aggregation '0'
	list filter '2.2.2.2'
	list filter '2.2.2.1'
	option interface 'br-wan'

config proxy 'mproxy_1'
	option enable '0'
	option proto 'igmp'
	option version '2'
	option robustness '2'
	option aggregation '0'
	list filter '1.1.1.1'
	list filter '1.1.1.2'
	list snooping_interface 'br-wan'
	list proxy_interface 'wan'

and the output of usp get is:
root@iopsys:~# ubus call usp get '{"path":"Device.X_IOPSYS_EU_IGMP."}'
{
	"X_IOPSYS_EU_IGMP": {
		"Proxy": [
			{
				"Aggregation": false,
				"Enable": false,
				"Filter": [
					{
						"Enable": false,
						"IPAddress": "1.1.1.1"
					},
					{
						"Enable": false,
						"IPAddress": "1.1.1.2"
					}
				],
				"FilterNumberOfEntries": 2,
				"ImmediateLeave": false,
				"Interface": [
					{
						"Interface": "Device.IP.Interface.1.",
						"Upstream": false
					},
					{
						"Interface": "Device.Bridging.Bridge.1.Port.1.",
						"Upstream": false
					}
				],
				"InterfaceNumberOfEntries": 2,
				"LastMemberQueryInterval": 0,
				"QueryInterval": 0,
				"QueryResponseInterval": 0,
				"Robustness": 2,
				"Version": "V2"
			}
		],
		"ProxyNumberOfEntries": 1,
		"Snooping": [
			{
				"Aggregation": false,
				"Enable": false,
				"Filter": [
					{
						"Enable": false,
						"IPAddress": "2.2.2.2"
					},
					{
						"Enable": false,
						"IPAddress": "2.2.2.1"
					}
				],
				"FilterNumberOfEntries": 2,
				"Interface": "Device.Bridging.Bridge.1.Port.1.",
				"Robustness": 2,
				"Version": "V2"
			}
		],
		"SnoopingNumberOfEntries": 1
	}

All objects/parameters were set using usp so we know that works.
2020-04-28 11:31:31 +05:30
Amin Ben Ramdhane
974309dc77 Fix compile errors on x86 environment 2020-04-26 13:44:26 +01:00
Sukru Senli
0693cef8d5 remove X_<VENDOR>_PowerManagement object 2020-04-12 13:47:52 +02:00
Sukru Senli
b02097d09a X_<VENDOR>_MCPD object will be added by mcpd package; remove here 2020-04-12 12:12:05 +02:00
Sukru Senli
358e068081 X_<VENDOR>_IGMP -> X_<VENDOR>_MCPD 2020-04-11 19:16:28 +02:00
Sukru Senli
d4c51501a0 remove deprecated vendor extension parameters 2020-04-10 13:45:28 +02:00
Omar Kallel
622650b848 Fix QoS issues 2020-04-08 17:31:24 +01:00
Rohit Topno
a7b7547030 Support to configure queue and shaper objects. Updated changes for no capital letters in UCI file 2020-04-07 12:49:04 +01:00
Daniel Danzberger
ff759d2cca tr181: Add OS specific implementations
When code is build with --enable-generic-openwrt,
the tr181 implementations from dmtree/tr181/.*-openwrt.c are used.
Otherwise for IOPSYS-WRT, dmtree/tr181/*-iopsyswrt.c sources are used.

Note that all functions that have OS specific handlers, are prefixed
with 'os__' and are implemented in their OS specific file.

Functions that are only available in IOPSYS-WRT are prefixed with
'os_iopsys_*'.

More OpenWrt OS impelementations will follow in future commits.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-03-17 12:54:26 +01:00
Amin Ben Ramdhane
a1f7ce98cf Ticket refs #1254: Improvement validation parameters 2020-03-13 16:28:32 +01:00
Omar Kallel
5b0bc22622 Ticket Refs #1835: TR-181: Device.Security object 2020-03-03 15:30:08 +01:00
Amin Ben Ramdhane
905d78844c Ticket refs #1254: TR-x69: add support for parameter validation 2020-02-20 23:25:49 +01:00
Daniel Danzberger
234ab4e70d Add missing library libdl when linking
This fixes undefined reference errors for libdl functions
when linking against -libbbfdm

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:53:48 +01:00
Amin Ben Ramdhane
ff14c27fc3 clean up the source code
- remove unused variables
- fix coding style of most function (Indentation, Tabulation, ..)
- check the source code using cppcheck tool
- change sprintf by snprintf
2020-02-12 19:08:49 +01:00
Amin Ben Ramdhane
4ab526b9f2 Ticket refs#1598: libbbfdm: plug-in based with support for dynamic loading of libraries + separate libbbfdm into two libraries: libbbf_api (API) and libbbfdm (data model) 2020-01-21 22:43:37 +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
Omar Kallel
8be4f1a13d Ticket resfs #1263: TR-181: Device.GRE object 2019-10-24 17:07:11 +01:00
Amin Ben Ramdhane
d4298475a3 Ticket refs #1262: bbf-datamodels: dynamic addition of datamodel parameters 2019-10-17 15:58:22 +01:00
Amin Ben Ramdhane
9cca4a5297 Ticket refs #955: TR-157 BulkData object 2019-09-25 16:59:35 +01:00
Amin Ben Ramdhane
4777b9166f change cwmp -> bbfdm 2019-09-15 11:52:54 +01:00
Omar Kallel
9574e5dc0b Ticket refs #963: TR-181: Device.RootDataModelVersion parameter 2019-09-06 10:14:59 +01:00
Omar Kallel
764f8df188 Ticket refs #921: TR-181: Device.USB. object 2019-09-05 15:24:48 +01:00
Amin Ben Ramdhane
cb2dd1e4ac libbbfdm : initial release 2019-08-26 17:02:43 +01:00