]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Update hooks-stat-cmds.xml
authorSuzanne Goldlust <sgoldlust@isc.org>
Thu, 17 Jan 2019 20:02:39 +0000 (15:02 -0500)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 28 Feb 2019 14:52:13 +0000 (15:52 +0100)
doc/guide/hooks-stat-cmds.xml

index 271d79b722d75454b7d09c9776fcd8fb657c422f..6cce835815b6dd1bf9da05da8421f032df4f92e9 100644 (file)
             <para><command>subnet-id</command> - The ID of the subnet for which
             lease statistics should be fetched. Use this to get statistics for
             a single subnet. If the subnet does not exist, the command result
-            code will be 3 (i.e. CONTROL_RESULT_EMPTY).
+            code is 3 (i.e. CONTROL_RESULT_EMPTY).
             </para>
           </listitem>
           <listitem>
             <para><command>subnet-range</command> - A pair of subnet IDs which
             describe an inclusive range of subnets for which statistics should
-            be retrieved. Note that fuzzy values are supported, thus allowing
-            for a query for statistics using approximate ID values. If the
-            range does not include any known subnets, the command result code
-            will be 3 (i.e. CONTROL_RESULT_EMPTY).
+            be retrieved. The range may include one or more IDs that correspond
+            to no subnet: in this case, the command will only output lease
+            statistics for those that exist. However, if the range does not
+            include any known subnets, the command result code is 3
+            (i.e. CONTROL_RESULT_EMPTY).
             <itemizedlist>
               <listitem>
                 <para><command>first-subnet-id</command> - The ID of the first
         subnets, this can result in a large response.
     </para>
     <para>
-      The following command would fetch lease statistics for all known subnets from a kea-dhcp4 server:
+      The following command fetches lease statistics for all known subnets from a kea-dhcp4 server:
 <screen>
 {
   "command": "stat-lease4-get"
 </screen>
     </para>
     <para>
-        The following command would fetch lease statistcis for subnet ID 10 from a kea-dhcp6 server:
+        The following command fetches lease statistics for subnet ID 10 from a kea-dhcp6 server:
 <screen>
 {
   "command": "stat-lease6-get",
 </screen>
     </para>
     <para>
-        The following command would fetch lease statistics for all subnets from subnet IDs 10 through 50 from a kea-dhcp4 server:
+        The following command fetches lease statistics for all subnets with IDs in the range 10 through 50 from a kea-dhcp4 server:
 <screen>
 {
   "command": "stat-lease4-get",