That's great to know. Thank you.

- Sergio Fernández @ Electrónica Martínez

El 08/07/15 a las 11:31, Dan Morphis escribió:
That mapping is set in the GUI config/index_parameters.yml file and can be 
installation specific. You can also create more summary. Parameters (or call 
them what ever you want) in the genie/config/parameters.json file.

In my installation I have quite a few more listed in the precondition section 
because I've created mappings to some parameters under WANPPPConnection in the 
backend and then set friendly names for them in the config/index_parameters.yml 
file.

-dan

On Jul 8, 2015, at 1:18 AM, Sergio Fernández 
<[email protected]> wrote:

Hi again!

It is just a suggestion. For me now it's no problem, but it may be an 
improvement:

When you use the API to set a different precondition than one on the wiki page at GitHub, the 
GenieACS GUI uses internal names for setting the configuration preconditions. In the Tenda W300D 
routers, for example, I set a precondition on the Serial Number (Because the MAC in these routers 
is there...). I have been an hour or so searching for the name for that precondition (in the Zaid 
GitHub webpage), as just putting "Serial number" didn't work. Finally, I tried to inspect 
the Webpage using the Inspector for Firefox. I found that the real name is 
"summary.serialNumber".

It would be interesting to add to that wiki page the following preconditions' 
names: (I've done the work for you of getting the actual names)

Tag = "_tags"
Last inform = "summary.lastInform"
Serial number = "summary.serialNumber"
Product class = "summary.productClass"
OUI = "summary.oui"
Manufacturer = "summary.manufacturer"
Hardware version = "summary.hardwareVersion"
Software version = "summary.softwareVersion"
MAC = "summary.mac"
IP = "summary.ip"
WLAN SSID = "summary.wlanSsid"
WLAN passphrase = "summary.wlanPassphrase"

It is just a suggestion, so feel free to do it. I don't mind on it, because I 
already know how to get them.

Thank you.

- Sergio Fernández @ Electrónica Martínez
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to