]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2419] Add documentation for v4-reservation-conflicts
authorDan Theisen <djt@isc.org>
Wed, 6 Jul 2022 23:15:13 +0000 (17:15 -0600)
committerDan Theisen <djt@isc.org>
Fri, 8 Jul 2022 19:18:55 +0000 (12:18 -0700)
doc/sphinx/arm/dhcp4-srv.rst
src/share/api/statistic-get-all.json

index 341abbedb9fe5324787339807ff3c57834f3bb44..615465e3fe44367a8acbbf62768a1924ad15c202 100644 (file)
@@ -6569,6 +6569,24 @@ The DHCPv4 server supports the following statistics:
    |                                              |                | statistic is exposed for each      |
    |                                              |                | subnet separately.                 |
    +----------------------------------------------+----------------+------------------------------------+
+   | v4-reservation-conflicts                     | integer        | Number of host reservation         |
+   |                                              |                | allocation conflicts which have    |
+   |                                              |                | occurred across every subnet. When |
+   |                                              |                | a client sends a DHCP Discover and |
+   |                                              |                | is matched to a host reservation   |
+   |                                              |                | which is already leased out by     |
+   |                                              |                | another client, this counter is    |
+   |                                              |                | increased by 1.                    |
+   +----------------------------------------------+----------------+------------------------------------+
+   | subnet[id].reservation-conflicts             | integer        | Number of host reservation         |
+   |                                              |                | allocation conflicts which have    |
+   |                                              |                | occurred in a specific subnet.     |
+   |                                              |                | When a client sends a DHCP         |
+   |                                              |                | Discover and is matched to a host  |
+   |                                              |                | reservation which is already       |
+   |                                              |                | leased out by another client, this |
+   |                                              |                | counter is increased by 1.         |
+   +----------------------------------------------+----------------+------------------------------------+
 
 .. note::
 
index e2f74bbb1324af99b39b41aa7f1d44ec861c18ae..3c8c814b840e2a03d626d30165856400eb9cce08 100644 (file)
         "       \"subnet[1].reclaimed-declined-addresses\": [ [ 0, \"2022-02-11 17:54:17.487595\" ] ],",
         "       \"subnet[1].reclaimed-leases\": [ [ 0, \"2022-02-11 17:54:17.487604\" ] ],",
         "       \"subnet[1].total-addresses\": [ [ 200, \"2022-02-11 17:54:17.487512\" ] ],",
+        "       \"subnet[1].reservation-conflicts\": [ [ 0, \"2022-02-11 17:54:17.487520\" ] ]",
         "       \"v4-allocation-fail\": [ [ 0, \"2022-02-11 17:54:17.455302\" ] ],",
         "       \"v4-allocation-fail-classes\": [ [ 0, \"2022-02-11 17:54:17.455306\" ] ],",
         "       \"v4-allocation-fail-no-pools\": [ [ 0, \"2022-02-11 17:54:17.455310\" ] ],",
         "       \"v4-allocation-fail-shared-network\": [ [ 0, \"2022-02-11 17:54:17.455319\" ] ],",
         "       \"v4-allocation-fail-subnet\": [ [ 0, \"2022-02-11 17:54:17.455323\" ] ]",
+        "       \"v4-reservation-conflicts\": [ [ 0, \"2022-02-11 17:54:17.455330\" ] ]",
         "   }",
         "}"
     ],