Object instance state out of sync between Genie and CPE

Dan Morphis dan at milkcarton.com
Tue Feb 3 15:38:13 EST 2015


I wouldn't expect (nor want) the ACS to reconfigure a CPE if it was
defaulted. I have the ACS send the event to our subscriber management
software and then I decide what to do from there. If its a "known device"
(i.e. associated with a subscriber) then I configure it. If its an "unknown
device" (not associated with a subscriber) then I null out the ppp
username/pw and disable  wan ppp. We do all of our management over a
WANIPConnection on a separate pvc so we can get away with completely
disabling internet connectivity on the CPE, and still be able to configure
it.

You can actually make presets work for dynamic data, but you typically
wouldn't in practice. You create an alias in config/parameters.json using a
regex,
"InternetGatewayDevice.LANDevice./^\\d+$/.WLANConfiguration./^\\d+$/.SSID"
: {"alias" : "summary.wlanSsid"}. Then you can force all the SSID's to be
"FooBar" if you wanted to by setting the preset "summary.wlanSsid" to
"FooBar". In practice, I'm not sure that its useful :)

-dan

On Tue, Feb 3, 2015 at 11:21 AM, Manny Veloso <manny.veloso at smartrg.com>
wrote:

>   Well actually, it depends. It sounds like GenieACS isn’t supposed to
> reconfigure the device into its previous state if the device is defaulted.
> That means that the SSID, passphrase, port forwards, ppp username/pw,
> basically any changes  off the default config are gone.
>
>  Presets wouldn’t work for dynamic data.
>
>   --
> Manny Veloso
>  Sr. Solutions Engineer
> Smartrg.com
>
>   From: Dan Morphis <dan at milkcarton.com>
> Reply-To: Community support for GenieACS users <users at lists.genieacs.com>
> Date: Tuesday, February 3, 2015 at 11:19 AM
> To: Community support for GenieACS users <users at lists.genieacs.com>
> Subject: Re: Object instance state out of sync between Genie and CPE
>
>   That is what I would expect to see. I would want the ACS to reflect the
> current state of the CPE. Yes they can get out of sync, but thats where the
> GPV comes in. If you want the ACS to enforce particular parameters, the
> presets work excellent for that.
>
>  -dan
>
> On Tue, Feb 3, 2015 at 9:55 AM, Manny Veloso <manny.veloso at smartrg.com>
> wrote:
>
>> So the expected behavior is for a refresh all to replace the current
>> settings?
>> --
>> Manny Veloso
>>
>> Sr. Solutions Engineer
>> Smartrg.com
>>
>>
>>
>>
>>  On 2/2/15, 11:30 PM, "Zaid Abdulla" <zaid at genieacs.com> wrote:
>>
>> >On Tue, Feb 3, 2015, at 01:30 AM, Dan Morphis wrote:
>> >> If I then factory reset the CPE (which removes all the instances under
>> >>WANPPPConnection). When I refresh the CPE from Genie, the CPE doesn't
>> >>send back anything for the WANPPPConnection object. But in Genie, I
>> >>still see the old "stale" instances.
>> >
>> >Looks like a bug. A bug that has a similar effect was patched not too
>> >long ago (v1.2 IIRC). Are you on the latest update?
>> >
>> >Zaid
>> >_______________________________________________
>> >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
>>
>
>
> _______________________________________________
> 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/20150203/641388e0/attachment-0001.html>


More information about the Users mailing list