<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <tt>Each library must be enclosed in braces as follows:<br>
    </tt><br>
    <div style="font-size:small">"hooks-libraries": [<br>
            {<br>
              "library": "/usr/local/lib/kea/hooks/libdhcp_mysql_cb.so"<br>
            },<br>
            {<br>
              "library":
      "/usr/local/lib/kea/hooks/libdhcp_lease_cmds.so"<br>
            },<br>
            {<br>
              "library": "/usr/local/lib/kea/hooks/libdhcp_stat_cmds.so"<br>
            }}<br>
          ],</div>
    <div style="font-size:small"><br>
    </div>
    <tt><br>
      <br>
    </tt><br>
    <div class="moz-cite-prefix">On 5/21/21 12:22 PM, Jeronimo wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACf9Un91N7K6FVZ=rwpr6_VyoN8MnaLKqgEj+2am2Lz_5_gWkA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div class="gmail_default" style="font-size:small">:õ(</div>
          <div class="gmail_default" style="font-size:small"><br>
          </div>
          <div class="gmail_default" style="font-size:small"><br>
          </div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">Em qua., 19 de mai. de 2021
            às 13:18, Jeronimo <<a href="mailto:jscmenezes@gmail.com"
              moz-do-not-send="true">jscmenezes@gmail.com</a>>
            escreveu:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div dir="ltr">
              <div style="font-size:small">Hi,</div>
              <div style="font-size:small"><br>
              </div>
              <div style="font-size:small">I trying to use
                lease6-get-all but Kea Ctrl Agent don't enable this
                command.</div>
              <div style="font-size:small"><br>
              </div>
              <div style="font-size:small">In my kea-dhcp6.conf I setted
                up hook-libraries:</div>
              <div style="font-size:small">"hooks-libraries": [<br>
                      {<br>
                        "library":
                "/usr/local/lib/kea/hooks/libdhcp_mysql_cb.so",<br>
                        "library":
                "/usr/local/lib/kea/hooks/libdhcp_lease_cmds.so",<br>
                        "library":
                "/usr/local/lib/kea/hooks/libdhcp_stat_cmds.so"<br>
                      }<br>
                    ],</div>
              <div style="font-size:small"><br>
              </div>
              <div style="font-size:small">But lease6-get-all don't
                appears in list-command for dhcp6 service:</div>
              <div style="font-size:small">$ curl -X POST <a
                  href="http://127.0.0.1:8080/" target="_blank"
                  moz-do-not-send="true">http://127.0.0.1:8080/</a> -H
                "Content-Type: application/json" -d '{ "command":
                "list-commands", "service": [ "dhcp6" ]}' | jq<br>
                  % Total    % Received % Xferd  Average Speed   Time  
                 Time     Time  Current<br>
                                                 Dload  Upload   Total  
                Spent    Left  Speed<br>
                100   628  100   575  100    53   187k  17666 --:--:--
                --:--:-- --:--:--  204k<br>
                [<br>
                  {<br>
                    "arguments": [<br>
                      "build-report",<br>
                      "config-backend-pull",<br>
                      "config-get",<br>
                      "config-reload",<br>
                      "config-set",<br>
                      "config-test",<br>
                      "config-write",<br>
                      "dhcp-disable",<br>
                      "dhcp-enable",<br>
                      "leases-reclaim",<br>
                      "libreload",<br>
                      "list-commands",<br>
                      "server-tag-get",<br>
                      "shutdown",<br>
                      "stat-lease4-get",<br>
                      "stat-lease6-get",<br>
                      "statistic-get",<br>
                      "statistic-get-all",<br>
                      "statistic-remove",<br>
                      "statistic-remove-all",<br>
                      "statistic-reset",<br>
                      "statistic-reset-all",<br>
                      "statistic-sample-age-set",<br>
                      "statistic-sample-age-set-all",<br>
                      "statistic-sample-count-set",<br>
                      "statistic-sample-count-set-all",<br>
                      "status-get",<br>
                      "version-get"<br>
                    ],<br>
                    "result": 0<br>
                  }<br>
                ]</div>
              <div style="font-size:small"><br>
              </div>
              <div style="font-size:small">Is the lease6-get-all a paid
                command?</div>
              <div style="font-size:small"><br>
              </div>
              <div style="font-size:small">Thanks in advance!</div>
              <div style="font-size:small"><br>
              </div>
              <div style="font-size:small">Jeronimo<br>
              </div>
              <div style="font-size:small"><br>
              </div>
              <div style="font-size:small"><br>
              </div>
              <div style="font-size:small"><br>
              </div>
              <div style="font-size:small"><br>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at <a class="moz-txt-link-freetext" href="https://www.isc.org/contact/">https://www.isc.org/contact/</a> for more information.

To unsubscribe visit <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a>.

Kea-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kea-users@lists.isc.org">Kea-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>