Hi Luka
Please, find here after the patches updated with your remarks.
Note that I have reduced the number of patches to 10 instead of 27
Just to remeber you, As summary, The following patches contains:
communication from script to the core via ubus
GetParameterValues method supporting many parameters
GetParameterNames method added
Regards
Mohamed Kallel
Mohamed (10):
Add ubus listner get_parameter_values.
get_parameter_values method support many parameter names
Update scripts in order to send data from external script to the core
via ubus
Update inform in order to get parameters from ubus
Add 3rd argument in the ubus handler of notification.
Add xml_get_parameter_name handler.
Adapt the scripts in order to support get parameter names
Use ubus for get notification
Use ubus for set parameter values
Use ubus for set parameter attribute
bin/Makefile.am | 3 +-
configure.ac | 3 +
ext/openwrt/scripts/freecwmp.sh | 215 ++++++-
ext/openwrt/scripts/functions/common | 162 +++++-
ext/openwrt/scripts/functions/device_hosts | 12 +-
ext/openwrt/scripts/functions/device_info | 356 ++++++++++-
ext/openwrt/scripts/functions/device_ip | 11 +-
ext/openwrt/scripts/functions/device_routing | 11 +-
ext/openwrt/scripts/functions/device_users | 10 +-
ext/openwrt/scripts/functions/lan_device | 233 ++++++-
ext/openwrt/scripts/functions/management_server | 805 ++++++++++++++++++++---
ext/openwrt/scripts/functions/misc | 17 +-
ext/openwrt/scripts/functions/wan_device | 433 +++++++++++-
src/cwmp.c | 4 +-
src/cwmp.h | 2 +-
src/external.c | 238 ++++++--
src/external.h | 30 +-
src/freecwmp.c | 17 +
src/ubus.c | 234 +++++++-
src/xml.c | 285 ++++++--
src/xml.h | 4 +
21 files changed, 2759 insertions(+), 326 deletions(-)
--
1.7.4.1
|