Presets fails sometimes

Carlos personal cose0193 at gmail.com
Fri Dec 1 14:32:14 EST 2017


Hi Guys,

Im new o GenieACS... I have the server working, and i have this issue..


Im creating Presets to configure some parameters of a router and 
sometimes works, sometimes dont work... My preset should work when 
serials and pppoe name match.


So here are my questions...

1. Is a problem to use 0 as weight?

2. If i dont use any event, sould work with any event?

3. Is better to do everything on preset or is better to load a provision 
on the preset?



Really thanks guys...


My preset:

[
     {
         "precondition": 
"{\"InternetGatewayDevice.DeviceInfo.SerialNumber\":\"RouterSerial\",\"InternetGatewayDevice.WANDevice.2.WANConnectionDevice.1.WANPPPConnection.1.Username\":\"tr069\"}",
         "weight": 0,
         "schedule": "",
         "_id": "test1",
         "events": {},
         "channel": "",
         "configurations": [
             {
                 "type": "value",
                 "name": 
"InternetGatewayDevice.WANDevice.2.WANConnectionDevice.1.WANPPPConnection.1.Username",
                 "value": "userpppoe"
             },
             {
                 "type": "value",
                 "name": 
"InternetGatewayDevice.WANDevice.2.WANConnectionDevice.1.WANPPPConnection.1.Password",
                 "value": "passpppoe"
             },
             {
                 "type": "value",
                 "name": 
"InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID",
                 "value": "NEWSSID"
             },
             {
                 "type": "value",
                 "name": 
"InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthUserName",
                 "value": "1234567890"
             },
             {
                 "type": "value",
                 "name": 
"InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword",
                 "value": "1asad2as1ad212as1da"
             },
             {
                 "type": "value",
                 "name": 
"InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.KeyPassphrase",
                 "value": "newpassword"
             }
         ]
     }
]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20171201/1bcfbafe/attachment.html>


More information about the Users mailing list