|Anonymous | Login | Signup for a new account||2017-09-20 14:39 CEST|
|My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000066||easycwmp||[All Projects] Enhancement||public||2015-07-03 12:33||2015-10-05 14:41|
|Summary||0000066: pull request on github|
|Description||I have made some improvments in your custom script.|
For example get the target values not from configuration tag in /etc/easycwmp, but rather from files in /etc/deviceinfo which are generated from the build environment in openwrt. So no one can change the device values.
What do you think?
|Tags||No tags attached.|
I checked your pull request.
1) I will accept your common_set_list() function in the next release (nchallah)
2) for getting device infos from /etc/deviceinfo. I m not sure if all systems get a such infos from this files. even for OpenWRT, based on my experience each manufacturer(who use OpenWRT in their equipments) is using a customized way to get device infos. Any way the scripts published within EasyCwmp repo are published as examples in order to help peoples to develop their own data model
1) Thank you for integrating this Enhancement
2) In the openwrt build environment "make menuconfig" you can set the device information. They are written during the build process to 3 files:
DISTRIB_DESCRIPTION='OpenWrt Chaos Calmer r45250'
This files specifies the device. I think this parameters which are unique for each device model or product class should not be editable. It should be read from the rom or any other non volatile memory and it should normaly not be configurable (some one can pretend the device).
I am using your scripts as it is. My suggesten is that it should be possible to use callback function. If they are not set (not defined) than the configurable values from /etc/easycwmp should be used and if this function are set during the build process of openwrt then this function could evaluate the device parameters from this files or from any other place. It is up to the developer to get the parameters. The Serial number for example should be unique for each device and should not be set into the firmware. For my device it is the mac address of the eth0.
What do you think?
Kind regards Flo
|fixed in EasyCwmp-1.1.7|
|2015-07-03 12:33||feckert||New Issue|
|2015-07-04 21:51||mohamed.kallel||Note Added: 0000233|
|2015-07-05 01:08||feckert||Note Added: 0000235|
|2015-10-05 14:41||mohamed.kallel||Note Added: 0000299|
|2015-10-05 14:41||mohamed.kallel||Status||new => resolved|
|2015-10-05 14:41||mohamed.kallel||Resolution||open => fixed|
|2015-10-05 14:41||mohamed.kallel||Assigned To||=> mohamed.kallel|
|Copyright © 2000 - 2017 MantisBT Team|