provision script not working as expected.

Dan Morphis dan at milkcarton.com
Tue Jun 20 15:20:25 EDT 2017


The new version of genie doesn't pull all parameters on initial contact, only what is needed to run the provisioning scripts. If you want all the params, then you need to do a refresh object on InternetGatewayDevice. 

-dan

> On Jun 20, 2017, at 3:37 AM, Magesh Balaji <Magesh.Balaji at infinite.com> wrote:
> 
> Thanks Dan for the quick help.
>  
> Our Observation:-
> --------------------------
>  
> When a CPE contacts ACS for the first time through Inform request, GenieACS considers as new device and it should learn about that CPE through GetParameterNames/GetParameterValues, but it is not happening like this.
>  
> We have to manually add a GetParameterValues task via curl cmd. Only then it is trying to learn about the parameters of CPE and triggering the SetParameterValues based on the provisioning script.
>  
> Could you pls let us know is this the way or is there any other configure mechanism to make it happen automatically when new device gets registered with GenieACS?
>  
> Thanks,
> Magesh
>  
> From: Users [mailto:users-bounces at lists.genieacs.com] On Behalf Of Dan Morphis
> Sent: Monday, June 19, 2017 10:18 PM
> To: Community support for GenieACS users <users at lists.genieacs.com>
> Subject: Re: provision script not working as expected.
>  
> let serial = declare("DeviceID.SerialNumber", {value: 1}).value[0];
> log('start refresh3 script SN12=' + serial);
> declare("Device.LANDevice.1.WLANConfiguration.1.SSID", {value: 1}, {value: serial});
>  
>  
> On Mon, Jun 19, 2017 at 6:20 AM, Magesh Balaji <Magesh.Balaji at infinite.com> wrote:
> Hi,
>  
> Thanks for all the help and support you have given till now.
>  
> We have created a preset and provision script as below.
>  
> let serial = declare("Device.DeviceInfo.SerialNumber", {value: 1});
> log('start refresh3 script SN12=' + serial.value[0]);
> declare("Device.LANDevice.1.WLANConfiguration.1.SSID", null, {value: serial.value[0]});
>  
> Since the value of the parameter highlighted is changed this triggered the setParamValues RPC call after InformResponse. Until 2 days back the same script was working.
>  
> But today the provision script is getting triggered, but not working as expected due to which SetParamValues is not called and SSID is having the same old value as in the Inform Request.
>  
> Can you suggest any reason why this is happening?
>  
> Any help is much appreciated.
>  
> Thanks,
> Magesh
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s).
> If you are not the intended recipient, please notify so to the sender by e-mail and delete the original message.
> In such cases, please notify us immediately at info at infinite.com . Further, you are not to copy, 
> disclose, or distribute this e-mail or its contents to any unauthorized person(s) .Any such actions are 
> considered unlawful. This e-mail may contain viruses. Infinite has taken every reasonable precaution to minimize
> this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should 
> carry out your own virus checks before opening the e-mail or attachments. Infinite reserves the right to monitor
> and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail
> address may be stored on the Infinite e-mail system. 
> ***INFINITE******** End of Disclaimer********INFINITE******** 
> 
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
> 
>  
> _______________________________________________
> 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/20170620/96e51bbc/attachment.html>


More information about the Users mailing list