Commit graph

117 commits

Author SHA1 Message Date
Amin Ben Romdhane
457550b0c1 bbfdmd: Collect datamodel from decentralized nodes 2023-05-16 14:13:03 +00:00
Amin Ben Romdhane
bd07a43337 bbfdm: Add support to expose DotSO and JSON plugins 2023-05-08 18:40:02 +02:00
Amin Ben Romdhane
8d00536689 bbfdmd: Add support for cli command 2023-04-26 22:43:57 +02:00
Amin Ben Ramdhane
5e72e0b978 Ticket refs #4767: Adapt Tools and Documentation to new Vendor Extension mechanism
- Add support for vendor extension in Excel, XML tools
 - Convert shell script to python
 - Update Documentation
2021-04-06 15:06:50 +01:00
Amin Ben Ramdhane
765d43d0e3 align tools with latest changes 2021-03-31 16:43:48 +01:00
Sukru Senli
d4a9bc71e2 hosts: adapt to new topology object 2021-03-26 16:16:32 +01:00
Amin Ben Ramdhane
69e4416929 Device.Ethernet.Interface: update mapping for DuplexMode and MacBitRate parameters 2021-03-26 16:03:07 +01:00
Sukru Senli
7cec13e47d wifi: update mapping for WiFi.Radio.{i}.AutoChannelSupported 2021-03-25 20:49:50 +01:00
Amin Ben Ramdhane
5e97bdb5e4 bbf: add support for vendor extension 2021-03-25 16:06:31 +01:00
Amin Ben Ramdhane
794104a974 bbf: Add support for Device.FAST.Line.{i}.Stats, Device.DSL.Line.{i}.Stats and Device.DSL.Channel.{i}.Stats parameters 2021-03-05 15:05:04 +01:00
Amin Ben Ramdhane
8f681b3e86 NAT: add support for LeaseDuration parameter 2021-02-21 20:59:10 +01:00
Sukru Senli
4287403de7 Revert "NAT: add support for LeaseDuration parameter"
This reverts commit dca35827c7.
2021-02-19 19:25:52 +01:00
Amin Ben Ramdhane
dca35827c7 NAT: add support for LeaseDuration parameter 2021-02-19 15:43:49 +01:00
Amin Ben Ramdhane
fcbe0daf80 Ticket refs #3392: implement Device.Firewall.Chain.{i}.Rule.{i}.ExpiryDate parameter 2021-02-19 15:43:41 +01:00
Amin Ben Ramdhane
14f638fa53 Ticket refs #3794: implement Device.DHCPv4.Server.Enable parameter 2021-02-18 10:59:53 +01:00
Amin Ben Ramdhane
cdad11d92d 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-15 21:13:18 +01:00
Amin Ben Ramdhane
844f19b794 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-12 17:40:17 +01:00
Amin Ben Ramdhane
20d5f3bf82 ATM,PTM: Add support for Enable parameter 2021-02-11 14:13:22 +01:00
Amin Ben Ramdhane
9d3f12e527 ATM,PTM: get Status value from sysfs instead of hard coding it 2021-02-11 11:55:07 +01:00
Amin Ben Ramdhane
92d1f62cab bbf: cleanup
- fix flawfinder and cppcheck issues
 - remove all unused functions
2021-02-10 17:31:55 +01:00
Amin Ben Ramdhane
a528164bad NAT: Correct UCI mapping for PortMapping object 2021-02-09 21:54:01 +01:00
Amin Ben Ramdhane
fde0ce36bc NAT: update the mapping of some parameters
- Device.NAT.PortMapping.{i}.RemoteHost
 - Device.NAT.PortMapping.{i}.ExternalPort
 - Device.NAT.PortMapping.{i}.ExternalPortEndRange
 - Device.NAT.PortMapping.{i}.InternalPort
2021-02-09 15:54:01 +01:00
Amin Ben Ramdhane
70c5c51bf0 bbf: upgrade to 2.14 2021-02-01 15:56:20 +01:00
Amin Ben Ramdhane
9c70a16884 bbf: add the missing pattern => "^$" 2021-02-01 15:55:51 +01:00
Amin Ben Ramdhane
f17dfc929a Device.IP.Interface.{i}.MaxMTUSize: read its value from sysfs 2021-01-28 11:45:18 +01:00
Amin Ben Ramdhane
4631504931 Ticket refs #4282: Device.IP.Interface.{i}.MaxMTUSize parameter is mapped incorrectly 2021-01-26 14:49:53 +01:00
Amin Ben Ramdhane
01817a9ae0 WiFi: Add support for WPA3 security modes 2021-01-25 09:50:11 +01:00
Sukru Senli
b569a78b65 firewall: add support for Rule.{i}.Log parameter 2021-01-22 13:26:50 +01:00
Amin Ben Ramdhane
eb6cfb5418 Device.DHCPv6.Server.Pool.{i}. list includes dhcp sections which are ignored by dnsmasq 2020-12-29 13:57:59 +01:00
Amin Ben Ramdhane
0a9402b179 Ticket refs #4072: Device.DHCPv4.Client.{i}. object IPRouters and SubnetMask parameters are not implemented correctly 2020-12-29 10:33:15 +01:00
Amin Ben Ramdhane
7b308da4d7 Device.WiFi.SSID.{i}.MACAddress: read the value from sysfs instead of ubus 2020-12-23 15:29:04 +01:00
Jani Juvan
ae432c536d bbf: #902 - Add G.fast support to TR-181 2020-12-16 17:25:57 +01:00
Jani Juvan
ffc89e9218 bbf: update indexing and some minor bugfixes for DSL in TR-181 2020-12-16 15:22:01 +01:00
Sukru Senli
0e78372bbc ip: add Device.IP.Interface.{i}.ULAEnable parameter support 2020-12-08 08:44:04 +01:00
Amin Ben Ramdhane
44b6c08273 Fix add method based on the latest changes
update_instance: read config and type section from the passed section
2020-12-07 21:59:00 +01:00
Amin Ben Ramdhane
5d10fba083 bbf: improve and cleanup the code
- update_instance_alias: read config and type section from the passed section in handle_update_instance
 - remove append_dot_to_string() function
2020-12-06 22:18:18 +01:00
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
da60243b30 Ticket refs #3629: TR-181: Device.DHCPv4.Server.Pool.{i}.StaticAddress. implementation has incorrect behavior
Fix multiple issues in StaticAddress implementation

 - "StaticAddress.{i}.Yiaddr" accepting any IP address -> According to standard, It should accept IP address from DHCP IP pool
 - Same IP address can be assigned to multiple MAC address -> According to standard, Once a IP got bind to a MAC, it should not get bind to other MAC
 - Able to create multiple entry for same MAC -> According to standard, It should accept only one entry for one MAC
 - Able to create multiple object with same Alias -> According to standard, Alias should be unique
2020-11-26 11:06:56 +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
Amin Ben Ramdhane
50b9d73af7 Align bbf tools with latest changes
- Update the generator of source code
 - Fix the generator of data model in XML format (generate_xml.sh/generate_xml_bbf.sh)
 - Update README.md file
2020-11-18 22:00:12 +01:00
Amin Ben Ramdhane
91879726a6 TR-181: Remove deprecated Device.Hosts.Host.{i}. parameters: AddressSource, LeaseTimeRemaining
- These parameters are obsolete in TR-181 2.14
2020-11-16 10:15:03 +01:00
Sukru Senli
b49dff1ecb wifi: remove deprecated Device.WiFi.AccessPoint.{i}.MaxAssociatedDevices parameter 2020-11-15 18:52:25 +01:00
Amin Ben Ramdhane
1495c4277e Update json files: remove space from the end of each line 2020-11-13 19:56:46 +01:00
Amin Ben Ramdhane
df0603eedb Ticket refs #3769: bbf: add support for dynamic obj/param when generating excel file 2020-11-07 21:31:44 +01:00
Amin Ben Ramdhane
38bbb5e455 Ticket refs #2920: TR-181: Device.IP.Interface.{i}. IPv4Address, IPv6Address and IPv6Prefix multi-instance objects are treated as single-instance 2020-11-07 19:12:29 +01:00
Amin Ben Ramdhane
3183933dad bbf: update python scripts to python3 2020-11-02 22:58:41 +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
a07102c32b Get_schema: add the missing unique keys for TR181 and TR104
- Update JSON files for tr181 and tr104
- Update the generator
2020-10-14 16:33:02 +01:00
sverma
2a88a4c5af bbf: Added support for Device.WiFi.DataElements.Network. 2020-10-13 19:14:15 +05:30
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