From 732ada8b6c2491fc63847cf77b29e60f86f6569b Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Wed, 6 Jul 2022 17:15:13 -0600 Subject: [PATCH] [#2419] Add documentation for v4-reservation-conflicts --- doc/sphinx/arm/dhcp4-srv.rst | 18 ++++++++++++++++++ src/share/api/statistic-get-all.json | 2 ++ 2 files changed, 20 insertions(+) diff --git a/doc/sphinx/arm/dhcp4-srv.rst b/doc/sphinx/arm/dhcp4-srv.rst index 341abbedb9..615465e3fe 100644 --- a/doc/sphinx/arm/dhcp4-srv.rst +++ b/doc/sphinx/arm/dhcp4-srv.rst @@ -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:: diff --git a/src/share/api/statistic-get-all.json b/src/share/api/statistic-get-all.json index e2f74bbb13..3c8c814b84 100644 --- a/src/share/api/statistic-get-all.json +++ b/src/share/api/statistic-get-all.json @@ -43,11 +43,13 @@ " \"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\" ] ]", " }", "}" ],