<div dir="ltr"><div><div>Thank you very much for the info.</div><div><br></div><div>The fact is that the Provision tab does not work. What can it be? (You can see it in the attached image)</div><div><br></div><div>Greetings.</div></div><br><br><br><img width="0" height="0" class="mailtrack-img" src="https://mailtrack.io/trace/mail/732417e848cd60dd8acb2f2336d7d6b56f132237.png?u=44382"></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font size="4">Jose Vela</font></div><div><font size="2"><i>Técnico de Networking Routing y Switching.<br></i></font></div><div><font size="4"><br></font></div><div><font size="4"><img src="https://dl.dropboxusercontent.com/u/16917061/ccna_routerswitching_med.jpg" width="96" height="96"> <img src="https://dl.dropboxusercontent.com/u/16917061/CCNA_security_med.jpg" width="96" height="96"><br></font></div><div dir="ltr"><br><div>Mira mi perfil profesional y conecta conmigo en LinkedIn <a href="https://mailtrack.io/trace/link/3f127d7cc876324100889265a5835eb1a1ab9511?url=https%3A%2F%2Fes.linkedin.com%2Fin%2Fjose-vela-delgado&signature=7d9ae84f3a4a9a6d" target="_blank">pinchando en este enlace.</a><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2017-01-28 1:55 GMT+01:00 Zaid Abdulla <span dir="ltr"><<a href="mailto:zaid@genieacs.com" target="_blank">zaid@genieacs.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 2017-01-26 at 13:54 +0100, Jose Vela Delgado wrote:<br>
> I would like someone to explain how to configure Presets in the<br>
> GenieACS. For example, I want when a CPE is rebooted it auto-<br>
> downloads an XML configuration file. What do I have to put in the<br>
> fields on the Presets tab?<br>
<br>
</span>I'll try to add some documentation in the wiki over the weekend. But<br>
for now this is how you should be able to do it (not tested):<br>
<br>
Create a "provision" with the following code:<br>
<br>
  declare("Downloads.[<wbr>FileType:3 Vendor Configuration File]",<br>
    {path: 1}, {path: 1});<br>
  declare("Downloads.[<wbr>FileType:3 Vendor Configuration File].FileName",<br>
    {value: 1}, {value: "<YOUR CONFIG FILE>"});<br>
  declare("Downloads.[<wbr>FileType:3 Vendor Configuration File].Download",<br>
    {value: 1}, {value: Date.now()});<br>
<br>
Then create a preset that's tied to the event "1_BOOT" and apply the<br>
provision you just created.<br>
<br>
Make sure the file is uploaded to GenieACS and that the config option<br>
FS_IP is set to your server's IP address.<br>
<br>
Hope that helps.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Zaid Abdulla <<a href="mailto:zaid@genieacs.com">zaid@genieacs.com</a>><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>
</font></span></blockquote></div><br></div>