<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'>Hi Dan,<br><br>Thank you for your response.<br><br>Then I understand that all the logic is handled in an external server, that has all the information related to variable data for each CPE and handles all the provision logic based on the events coming from GenieACS. You use GenieACS API to set per CPE specific parameters.<br><br>Is this right?<br><br>If it is, that means I have to build and API that listens to the call from GenieACS and then connects to GenieACS with appropriate calls to create objects, presets, parameters, etc..?<br><br>I think that exceeds my capacity and would need external help to implement that. So while I am considering it, I managed to resolve the first of my blocks by adding a refresh to WANPPP object in the preset, and now, I only need a way to reboot the CPE from a preset. <br><br>Is it that possible? If not too much effort, could you please provide a detailed example considering I have no coding skills or at least the step so I can pass onto a coder without any knowledge of GenieACS?<br><br>Kindest regards, <br><br>Miguel<br><br><div><br></div><hr id="zwchr"><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Dan Morphis" <dan@milkcarton.com><br><b>To: </b>noc@gibfibrespeed.net, "Community support for GenieACS users" <users@lists.genieacs.com><br><b>Sent: </b>Wednesday, 30 November, 2016 6:14:31 PM<br><b>Subject: </b>Re: Presets logic and provisioning sequence<br><br><div dir="ltr">I do this by having genie send all events to my server where I then evaluate what needs to happen with a CPE. In my service, I add/delete objects, set pppoe credentials, etc. My branch is here: <a href="https://github.com/akcoder/genieacs/" target="_blank">https://github.com/akcoder/genieacs/</a><div><br></div><div>Search the mailing list for config instructions.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 30, 2016 at 7:35 AM, <a href="mailto:noc@gibfibrespeed.net" target="_blank">noc@gibfibrespeed.net</a> <span dir="ltr"><<a href="mailto:mberniz@gibfibrespeed.net" target="_blank">mberniz@gibfibrespeed.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">Hello everyone,<br><br>I am trying to automate the provisioning flow of our network ONU's.<br><br>I am defining an object for the Internet access WAN. I am setting there non variable parameters (Like connection name, DNS, etc...)<br><br>Then, I am creating a different preset for every ONU with a serial number based condition.<br><br>In that preset, I firstly create the object, and then set some other variable parameters (Like PPPoE user and pass, VLAN, etc...).<br><br>It happens that after a bootstrap, if the object does not exists (I have setup Connection Name as Key) it is created once. So far it is good.<br><br>But then, after creating the object, it seems the rest of parameters in the preset are not set until I do a refresh from GenieACS. The discrepancies are not evaluated on Inform (2 PERIODIC).<br><br>When I do a manual refresh, discrepancies are evaluated and the rest of parameters in the preset are updated. But beyond that, it seems the ONU needs a reboot in order the PPP interface to connect. If I do a manual reboot of the ONU, everything works perfect.<br><br>Could anyone, please, explain how to introduce logic into the workflow so a refresh is executed after object is created and then a ONU reboot is instructed after the preset forces the parameters to be set?<br><br>Thanks in advance,<br><br>Miguel<br><br><div><br></div></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>Users mailing list<br>Users@lists.genieacs.com<br>http://lists.genieacs.com/mailman/listinfo/users<br></div><br></div></body></html>