Commit graph

19 commits

Author SHA1 Message Date
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
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
159a2607b9 change sprintf -> snprintf 2020-04-16 12:03:12 +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
d76b77d537 vendor extensions are more aligned with standard naming convention 2020-04-11 13:49:23 +02:00
Amin Ben Ramdhane
cab040f16f Fix compilation issues after removing deprecate objects 2020-04-10 13:46:57 +01:00
Sukru Senli
d4c51501a0 remove deprecated vendor extension parameters 2020-04-10 13:45:28 +02: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
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
Omar Kallel
142e830426 Fix compiling errors when TR064 is activated 2020-02-10 18:56:13 +01:00
Sukru Senli
1e11720828 Change License to LGPLv2.1 2019-12-04 09:52:05 +01:00
Amin Ben Ramdhane
8ab504585c Fix memory leaks and all warnings 2019-11-11 10:46:10 +01:00
Amin Ben Ramdhane
67bc41e629 Remove TR098 from UPNP(TR064) 2019-09-23 17:43:33 +01:00
Amin Ben Ramdhane
4777b9166f change cwmp -> bbfdm 2019-09-15 11:52:54 +01:00
Sukru Senli
da9e22a314 Inteno -> iopsys adaptations 2019-08-28 09:51:51 +02:00
Amin Ben Ramdhane
584c9243f8 Update Copyright 2019-08-27 10:09:06 +01:00
Amin Ben Ramdhane
cb2dd1e4ac libbbfdm : initial release 2019-08-26 17:02:43 +01:00