How to change device parameters on Huawei HG8245A

Dan Morphis dan at milkcarton.com
Thu Jul 16 11:53:22 EDT 2015


I presume your talking about the list of parameters at the top of the page?
Last Inform, Serial, Product Class, OUI, Manufacturer, HW/SW Version, etc?
The list of items that show on the device page can be changed by editing
genieacs-gui/config/summary_parameters.yml. Remember to restart the GUI if
you make changes.

Now as to why its not letting you edit those, when the CPE sends back the
response for GetParameterValues, it indicates if the parameter is writable
or not. The implementation on some CPE's is pure crap (Thomson TG585) and
will say a parameter is writable when its not, and not writable when it is.
Pretty much everything under InternetGatewayDevice.DeviceInfo will be
read-only.

If you want to add to, or remove the list of summary.* parameters, you will
need to edit genieacs/config/parameters.json.

Here are some of the ones I've added to our genieacs/config/parameters.json
file:

"InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.SSID"
: {"alias" : "summary.wlan.ssid"},
"InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.Enable"
: {"alias" : "summary.wlan.enabled"},
"InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.Channel"
: {"alias" : "summary.wlan.channel"},
"InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.PossibleChannels"
: {"alias" : "summary.wlan.possibleChannels"},
"InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.PreSharedKey.1.KeyPassphrase"
: {"alias" : "summary.wlan.passphrase"},
"InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.PreSharedKey.1.PreSharedKey"
: {"alias" : "summary.wlan.presharedKey"},
"InternetGatewayDevice.WANDevice./^\\d+$/.WANConnectionDevice.1.WANPPPConnection./^\\d+$/.Username"
: {"alias" : "summary.pppoeUsername"},
"InternetGatewayDevice.WANDevice./^\\d+$/.WANConnectionDevice.1.WANPPPConnection./^\\d+$/.Password"
: {"alias" : "summary.pppoePassword"}


And in my genieacs-gui/config/parameters.yml:

WLAN SSID: summary.wlan.ssid
WLAN Passphrase: summary.wlan.passphrase
WLAN Enabled: summary.wlan.enabled
WLAN Channel: summary.wlan.channel
PPPoE Username: summary.pppoeUsername
PPPoE Password: summary.pppoePassword

If you want customize the parameters shown on the device list screen
(/devices), edit genieacs-gui/config/index_parameters.yml.


-dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20150716/5ac34cb1/attachment.html>


More information about the Users mailing list