Commit graph

26 commits

Author SHA1 Message Date
Amin Ben Ramdhane
57c1a3372e Ticket refs #3769: bbf: add support for dynamic obj/param when generating excel file
- improve the generator excel
 - add support for dynamic obj/param when generating xml data model tree
2020-11-29 23:07:42 +01:00
Amin Ben Ramdhane
18643f29b3 bbf: enhance the code
- remove unused argument from dmuci_add_section() and dmuci_add_section_bbfdm() functions
 - use snprintf instead of dmasptintf
 - change function name: add_list_paramameter -> add_list_parameter
2020-11-23 10:58:48 +01:00
Omar Kallel
c8de221c11 Ticket refs #3725: bbf: remove unnecessary arguments from object/parameter definition 2020-11-17 16:21:11 +01:00
Amin Ben Ramdhane
8ba74d624b bbf: add unique_keys argument to the comment
-  change (const char *[]) -> LIST_KEY
2020-10-17 14:54:33 +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
Amin Ben Ramdhane
9b2fdc3562 Ticket refs #2845: fix add object issues 2020-08-31 10:22:31 +01:00
Amin Ben Ramdhane
bbecdd7444 Ticket refs #2845: bbf: add support the case uci config is updated manually 2020-08-22 16:37:32 +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
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