Presets...

Dan Morphis dan at milkcarton.com
Wed Jan 14 15:44:00 EST 2015


Here is how presets work. Say you have a preset setting the
InternetGatewayDevice.ManagementServer.PeriodicInformInterval to 30
seconds. When the CPE first contacts GenieACS, it sends a few bits of
information about itself. The next thing Genie does is send a
refreshObject: "", which refreshes the entire object model. When the CPE
sends the data back to genie, it then compares the values it got back to
what the preset is.

If the value from the CPE for
InternetGatewayDevice.ManagementServer.PeriodicInformInterval is not 30,
then GenieACS will send a setParameterValue for
InternetGatewayDevice.ManagementServer.PeriodicInformInterval: 30.

If you tell GenieACS to set
the InternetGatewayDevice.ManagementServer.PeriodicInformInterval on a CPE
to say 31 seconds. Genie will tell the CPE to set it to 31 seconds. Then,
Genie will tell the CPE to set it back to 30. Ask me how I know :).

To answer the other part of your question, the GUI is getting/setting the
presets in GenieACS. Not the other way around.

Custom commands allow you to do something special for your CPE. Things that
you might not be able to do via TR[069|098|etc].

-dan

On Wed, Jan 14, 2015 at 11:31 AM, Christopher Chance <cchance at newtechgrp.com
> wrote:

> I know what presets do if condition = met then configurations = happen
>
>
>
> But isn’t the presets part of the GUI Portion of genieacs? Wouldn’t it
> have to be part of the genieacs package to perform the precondition check
> on each inform? Or is the genieacs reaching across to the genieacs-gui
> package to check the presets?
>
>
>
> Or are presets only working when a device is opened in the genieacs-gui
> (which seems counter intuitive to what the presets are supposed to be
> doing).
>
>
>
> That all said how do the presets compare to the “custom-commands” on the
> genieacs side of things? (I mean I see theirs a greenpacket custom that
> appears to check/mess with the frequencies via telnet, but why not just do
> that via a preset through tr69?.
>
>
>
> Am I missing something?
>
>
>
> Chris
>
> _______________________________________________
> 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/20150114/5831e347/attachment.html>


More information about the Users mailing list