Parameter values not being set in provisioning script

Dan Morphis dan at milkcarton.com
Thu Mar 16 15:04:50 EDT 2017


I have not been able to repro this in the sim.

Debug log: http://pastebin.com/40wd64F5

The problem lines in the prov script are:

> log('Setting connection services');
> declare("InternetGatewayDevice.Layer3Forwarding.X_BROADCOM_COM_DefaultConnectionServices",
> {value: now}, {value: "ppp0.1,ppp1.1"});
> declare("InternetGatewayDevice.X_BROADCOM_COM_NetworkConfig.DNSIfName",
> {value: now}, {value: "ppp0.1,ppp1.1"});


The full script is at: http://pastebin.com/gyRS66BU

I've tried deleting the CPE from Genie, and doing a factory default on the
CPE to no avail.

Console log:
2017-03-16T18:45:55.698Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Inform;
cpeRequestId="150185270" informEvent="0 BOOTSTRAP,1 BOOT" informRetryCount=0
2017-03-16T18:45:55.808Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request;
acsRequestId="15ad870cd67000" acsRequestName="GetParameterNames"
2017-03-16T18:45:55.872Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request;
acsRequestId="15ad870cd67001" acsRequestName="GetParameterValues"
2017-03-16T18:45:56.029Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: refreshing vparams
2017-03-16T18:45:56.029Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Bootstrap
2017-03-16T18:45:56.029Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: CPE was defaulted (or
first boot). Clearing cached device model params
2017-03-16T18:45:56.030Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: SmartRG_515_Managed
2017-03-16T18:45:56.036Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request;
acsRequestId="15ad870cd67200" acsRequestName="GetParameterNames"
2017-03-16T18:45:59.453Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request;
acsRequestId="15ad870cd67201" acsRequestName="GetParameterValues"
2017-03-16T18:45:59.656Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: refreshing vparams
2017-03-16T18:45:59.731Z [INFO]
http://ancdev.admin.aptalaska.net/~dmorphis/Dashboard/web/app_dev.php/api/ACS/Config?serial=SR515AA046-5000137&productClass=963168_OT142C_B&oui=3c9066
2017-03-16T18:45:59.657Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Bootstrap
2017-03-16T18:45:59.657Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: CPE was defaulted (or
first boot). Clearing cached device model params
2017-03-16T18:45:59.658Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: SmartRG_515_Managed
2017-03-16T18:46:05.236Z [INFO] Config mode: Managed
2017-03-16T18:46:05.237Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Config? Managed
2017-03-16T18:46:05.336Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: refreshing vparams
2017-03-16T18:46:05.399Z [INFO]
http://ancdev.admin.aptalaska.net/~dmorphis/Dashboard/web/app_dev.php/api/ACS/Config?serial=SR515AA046-5000137&productClass=963168_OT142C_B&oui=3c9066
2017-03-16T18:46:05.336Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Bootstrap
2017-03-16T18:46:05.337Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: CPE was defaulted (or
first boot). Clearing cached device model params
2017-03-16T18:46:05.337Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: SmartRG_515_Managed
2017-03-16T18:46:05.905Z [INFO] Config mode: Managed
2017-03-16T18:46:05.906Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Config? Managed
2017-03-16T18:46:07.307Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: New device registered
2017-03-16T18:46:20.809Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Inform;
cpeRequestId="397195431" informEvent="2 PERIODIC" informRetryCount=0
2017-03-16T18:46:20.894Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: SmartRG_515_Managed
2017-03-16T18:46:20.898Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Disabling
WANIPConnection
2017-03-16T18:46:20.898Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Creating
WANPPPConnection (if necessary)
2017-03-16T18:46:21.029Z [INFO]
http://ancdev.admin.aptalaska.net/~dmorphis/Dashboard/web/app_dev.php/api/ACS/ResetPPPoECreds?serial=SR515AA046-5000137&productClass=963168_OT142C_B&oui=3c9066
2017-03-16T18:46:25.156Z [INFO] Returning credentials to client.
UN:dan.sr515ac, PW: r$qYMvF10yQnv2Sb
2017-03-16T18:46:25.159Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Setting up
WANPPPConnection
2017-03-16T18:46:25.160Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Setting un:
dan.sr515ac, pw: r$qYMvF10yQnv2Sb
2017-03-16T18:46:25.160Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Setting connection
services
2017-03-16T18:46:25.160Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Refreshing WLAN
2017-03-16T18:46:25.160Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Script: Setting tags
2017-03-16T18:46:25.487Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request;
acsRequestId="15ad8712f82100" acsRequestName="GetParameterValues"
2017-03-16T18:46:25.660Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: ACS request;
acsRequestId="15ad8712f82101" acsRequestName="SetParameterValues"
2017-03-16T18:46:31.694Z [INFO] 172.27.240.90
3c9066-963168_OT142C_B-SR515AA046%2D5000137: Inform;
cpeRequestId="173624216" informEvent="4 VALUE CHANGE" informRetryCount=0


On Wed, Mar 15, 2017 at 12:10 PM, Zaid Abdulla <zaid at genieacs.com> wrote:

> On Wed, 2017-03-15 at 11:55 -0800, Dan Morphis wrote:
> > Its my understanding that in v1.1, the ACS would refresh the
> > parameter from the CPE if it didn't exist in the local copy of the
> > data?
>
> Correct.
>
> I can look at the debug log, or better yet reproduce the issue myself
> using the simulator if possible?
>
> --
> Zaid Abdulla <zaid at genieacs.com>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170316/c3f4eaa4/attachment-0001.html>


More information about the Users mailing list