Or it does a getparam for the conditions during the inform... Would be more 
efficient...

Let us know :)

On Jan 14, 2015 6:03 PM, Manny Veloso <[email protected]> wrote:
It must do a get for parameters used by presets if presets can be triggered on 
every inform? I guess I’ll pull my instance up and see.
--
Manny Veloso
Sr. Solutions Engineer
Smartrg.com

From: Dan Morphis <[email protected]<mailto:[email protected]>>
Reply-To: Community support for GenieACS users 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, January 14, 2015 at 1:15 PM
To: Community support for GenieACS users 
<[email protected]<mailto:[email protected]>>
Subject: Re: Presets...

Zaid can speak better than I can, but my experience has been that it does a 
refreshObject on the root upon initial checkin. And upon a preset interval.

On Wed, Jan 14, 2015 at 12:10 PM, Manny Veloso 
<[email protected]<mailto:[email protected]>> wrote:
Presets live in mongo, in the presets collection. You can actually generate 
presets directly in mongo.

Question: I haven’t looked (and my instance is down right now), but does 
GenieACs do that refreshObject on every inform?
--
Manny Veloso
Sr. Solutions Engineer
Smartrg.com

From: Christopher Chance <[email protected]<mailto:[email protected]>>
Reply-To: Community support for GenieACS users 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, January 14, 2015 at 12:46 PM
To: Community support for GenieACS users 
<[email protected]<mailto:[email protected]>>
Subject: RE: Presets...


Ok just checking so even if after I setup a preset I never ever go back to the 
GUI, genieacs-cwmp will still be using the presets that are setup in 
genieacs-gui.



The thing that has me a bit confused is because they’re completely separate 
projects, I mean if you weren’t to install the gui and just use the system via 
the NBI API, theres no “config” for presets in the genieacs project. Which is 
where I am confused at. :S



From: Users [mailto:[email protected]] On Behalf Of Dan Morphis
Sent: Wednesday, January 14, 2015 4:44 PM
To: Community support for GenieACS users
Subject: Re: Presets...



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 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
http://lists.genieacs.com/mailman/listinfo/users





_______________________________________________
Users mailing list
[email protected]<mailto:[email protected]>
http://lists.genieacs.com/mailman/listinfo/users




_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to