]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[313-return-a-list-of-all-reservations-by-subnet-id] Reviewed corrections
authorFrancis Dupont <fdupont@isc.org>
Wed, 23 Jan 2019 11:50:31 +0000 (12:50 +0100)
committerFrancis Dupont <fdupont@isc.org>
Tue, 29 Jan 2019 09:49:05 +0000 (04:49 -0500)
doc/guide/api.xml
doc/guide/hooks.xml
src/lib/dhcpsrv/pgsql_host_data_source.cc

index fbc1aa9b8fb21da9015ebaf3f9ebde92b2908e0b..71eb263d288a6c2445a433ecc89530540b8eb312 100644 (file)
@@ -2521,7 +2521,7 @@ object appear only if specific field is set.</para>
 
 <!-- start of reservation-get-all -->
 <section xml:id="reference-reservation-get-all">
-<title>reservation-get reference</title>
+<title>reservation-get-all reference</title>
 <para xml:id="ref-reservation-get-all"><command>reservation-get-all</command> - Retrieve all host reservations for a specified subnet.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command>, <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
@@ -2576,7 +2576,7 @@ The reservation-get-all command may result in very large responses.</para>
 
 <!-- start of reservation-get-page -->
 <section xml:id="reference-reservation-get-page">
-<title>reservation-get reference</title>
+<title>reservation-get-page reference</title>
 <para xml:id="ref-reservation-get-page"><command>reservation-get-page</command> - Retrieve all host reservations for a specified subnet by pages.</para>
 
 <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command>, <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>
index 836c33a8ddeb384170bd23594b2aac441590d5bb..c3e340cfe1499e36836b21b84498737443bbeec9 100644 (file)
@@ -1672,6 +1672,9 @@ An example result returned when the query was malformed:<screen>
           For larger deployments, please consider using
           <command>reservation-get-page</command> instead (see <xref
           linkend="command-reservation-get-page"/>).
+          </para>
+          
+          <para>
           For a reference, see <xref linkend="ref-reservation-get-all"/>.
           </para>
         </section>
@@ -1692,7 +1695,7 @@ An example result returned when the query was malformed:<screen>
           <para>The first page is queried without source-index and from,
           for next pages source-index and from should be set using
           the preceeding result source-index and next. After the last page
-          the returned list is empty and result 3 is returned.
+          the returned list is empty, count is 0 and result 3 is returned.
           </para>
 
           <para>This command is more complex than
@@ -1702,7 +1705,9 @@ An example result returned when the query was malformed:<screen>
           easier to use <command>reservation-get-all</command> (see
           <xref linkend="command-reservation-get-all"/>.</para>
 
-          <para>For a reference, see <xref linkend="ref-reservation-get-page"/>.</para>
+          <para>
+          For a reference, see <xref linkend="ref-reservation-get-page"/>.
+          </para>
         </section>
 
         <section xml:id="command-reservation-del">
index e1ddb9c110de99d7e89090660e210a4086c07698..f92142398edb69e375dae23a24899aa0093de72d 100644 (file)
@@ -1772,8 +1772,8 @@ TaggedStatementArray tagged_statements = { {
     // PgSqlHostDataSourceImpl::GET_HOST_SUBID4_PAGE
     // Retrieves host information along with the DHCPv4 options associated with
     // it. Left joining the dhcp4_options table results in multiple rows being
-    // returned for the same host. The hosts are retrieved by subnet id, starting
-    // from specified host id. Specified number of hosts is returned.
+    // returned for the same host. The hosts are retrieved by subnet id,
+    // starting from specified host id. Specified number of hosts is returned.
     {3,
      { OID_INT8, OID_INT8, OID_INT8 },
      "get_host_subid4_page",