<div dir="ltr"><div class="gmail_extra">> My first question is... <b>what events does manage akcoder's fork</b>? In order to know the cases which I need to take into account (Boot from factory defaults, a simply periodic inform, some other inform... etc). I will build a listening socket in a separate server with R programming language (because we are doing all this stuff with this language) listening for these EVENTS.  <b>How these notifications of akcoder's fork work?</b> I don't know any guide.</div><div class="gmail_extra"><br></div><div class="gmail_extra">You specify the events you want forwarded and the URL to forward to. When an event comes in that matches one of the requested types, it is POSTed to the URL you provide, and the body of the message is the JSON encoded event and data. </div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">"NOTIFICATION_ENABLED" : true,</div><div class="gmail_extra">"NOTIFICATION_URL": "<a href="https://my_server/Api/ACS/Event/%s">https://my_server/Api/ACS/Event/%s</a>",</div><div class="gmail_extra">"NOTIFICATION_TYPES" : "0 BOOTSTRAP,1 BOOT,2 PERIODIC,3 SCHEDULED,4 VALUE CHANGE,5 KICKED,6 CONNECTION REQUEST,7 TRANSFER COMPLETE,8 DIAGNOSTICS,COMPLETE,9 REQUEST DOWNLOAD,M Reboot"</div><div><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Feb 8, 2016 at 8:53 AM, Sergio Fernández <span dir="ltr"><<a href="mailto:sergio.fernandez@electronicamartinez.com" target="_blank">sergio.fernandez@electronicamartinez.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Good afternoon! Here I am again.<br>
    <div> <br>
      I've been thinking on this topic again, as we have coming a large
      batch of VDSL routers (In this case, TD-W9970 & TD-W9980). <br>
      We would be talking about the GenieACS growing at a 1.000
      routers/year, more or less. So the "preset per CPE" option should
      be discarded (Or not? Please state this clearly because it can
      save me a ton of work).<br>
      <br>
      My first question is... <b>what events does manage akcoder's fork</b>?
      In order to know the cases which I need to take into account (Boot
      from factory defaults, a simply periodic inform, some other
      inform... etc). I will build a listening socket in a separate
      server with R programming language (because we are doing all this
      stuff with this language) listening for these EVENTS.  <b>How
        these notifications of akcoder's fork work?</b> I don't know any
      guide.<br>
      <br>
      So correct me if I am wrong or if my proposal can be improved: <br>
      <br>
      In this future socket R server I am currently running an
      auto-configurator (It synchronizes some databases in order to make
      a PPPoE user for the client up and running, and totally
      autoconfigures some DHCP66-compliant routers). I will add an extra
      option to autoconfigure these VDSL routers. I'm thinking for
      example that whenever someone generates a new PPPoE user with a
      VDSL router, to add to a CSV file (or other format) the MAC of the
      router and the PPPoE user it belongs to. For example, it would add
      the CPE with MAC AA:11:BB:22:CC:33 with the client ID 123456 in
      the same row.<br>
      <br>
      So whenever the socket receives, for example, a boot from factory
      default of this CPE with MAC AA:11:BB:22:CC:33 it will check if it
      exists in that CSV file. If the entry exists, it picks up the
      PPPoE user 123456 and connects to the RADIUS server to pick up its
      PPPoE password and other info. After all this computation, the
      server sends a parameter to the GenieACS to configure this CPE
      with all these parameters.<br>
      <br>
      Other question that I have is... <b>What if for example do I want
        to change the PPPoE user (or whatever parameter) time after?</b>
      Do I need to set a preset in order to make this hard-configured to
      not being overriden by a simple reboot of the router? (This has a
      lot to do on how to manage EVENTs)<br>
      <br>
      Thank you!<br>
      <br>
      <div>-- <br>
        
        
        <hr style="width:670px" align="left">
        <div>
          <div> <br>
          </div>
          <div>
            <p> <b>Nombre:</b> Sergio Fernández Rubio<br>
              <b>Cargo:</b> Ingeniero de Software y de Redes<br>
              <b>Departamento:</b> TIC<br>
              <b>Email:</b> <a href="mailto:sergio.fernandez@electronicamartinez.com" target="_blank">sergio.fernandez@electronicamartinez.com</a><br>
              <b>Oficina:</b> 968 165 000<br>
              <b>Página web:</b> <a href="http://www.electronicamartinez.es" target="_blank">www.electronicamartinez.es</a>
            </p>
            <hr>  <a href="https://www.linkedin.com/company/10271615" target="_blank"> </a><a href="https://twitter.com/EMartinez_SL" style="margin-left:10px" target="_blank"></a> <a href="https://www.facebook.com/electronicamartinez0" style="margin-left:10px" target="_blank"></a> <a href="https://plus.google.com/b/114382878353884084293/114382878353884084293" style="margin-left:10px" target="_blank"></a> </div>
        </div>
        <hr style="width:670px" align="left"></div>
      <br>
    </div>
    <br>
  </div>

<br>_______________________________________________<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/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>