<div dir="ltr">Why is the preset system so inefficient? We had intended on using a preset per device as well, just to set the PPPoE username and password and that is it. Would we experience similar performance issues?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 3, 2017 at 5:37 AM, Dan Morphis <span dir="ltr"><<a href="mailto:dan@milkcarton.com" target="_blank">dan@milkcarton.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>I'm going to presume you have some system in place to track your subscribers, the device assigned to the subscriber and the voip number?</div><div><br></div><div>You need to build a bridge between the two. Then use flags to set the state of the device. For example in our setup, modems can be either bridged or routed. In genie I have a preset triggered on 1 BOOT that runs a provision script. This script then makes a rest call to our subscriber management software with the OUI, product class and serial number. The subscriber management software then figures out what state the modem should be in and returns that information via JSON. Once that information flows back to the provision script the appropriate tag is set on the device so the next phase of the process can happen.</div><div><br></div><div>In your setup, you can have the external system return the voip information and set that on the device.</div><div><br></div><div>This is using v1.1 of genie. <span class="HOEnZb"><font color="#888888"><br><br><div>-dan</div></font></span></div><div><div class="h5"><div><br>On May 2, 2017, at 11:09 PM, Marco Marino <<a href="mailto:marino.mrc@gmail.com" target="_blank">marino.mrc@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="auto">What do you mean with 'different system'?<div dir="auto">I need to configure voip accounts on thousands of device filtered by mac addresses. Is there a better way to do this?</div><div dir="auto">Thank you</div></div><div class="gmail_extra"><br><div class="gmail_quote">Il 02 Mag 2017 23:42, "Dan Morphis" <<a href="mailto:dan@milkcarton.com" target="_blank">dan@milkcarton.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The route your going down (preset per device) is one fraught with performance issues. It is much better to Genie pull device specific parameters from a different system and set them, then to use presets. We went down that route before and struggled to do 20 r/s. By reworking our process to store the device specific settings in a different system and only pull them on bootstrap/config we can now do 40+ r/s hovering around 20% load.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 2, 2017 at 4:48 AM, Marco Marino <span dir="ltr"><<a href="mailto:marino.mrc@gmail.com" target="_blank">marino.mrc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, I'm trying to create a new preset for a device, using mac address<br>
as filter but it seems that the preset doesn't start. I have other<br>
devices of the same type (same vendor and model) associated to the<br>
same kind of preset (using different mac addresses) and all works<br>
well. Someone can help me to identify the problem?<br>
Thank you<br>
______________________________<wbr>_________________<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/mail<wbr>man/listinfo/users</a><br>
</blockquote></div><br></div>
<br>______________________________<wbr>_________________<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/mail<wbr>man/listinfo/users</a><br>
<br></blockquote></div></div>
</div></blockquote><blockquote type="cite"><div><span>______________________________<wbr>_________________</span><br><span>Users mailing list</span><br><span><a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a></span><br><span><a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a></span><br></div></blockquote></div></div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>