2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[313-return-a-list-of-all-reservations-by-subnet-id] Reviewed corrections

This commit is contained in:
Francis Dupont
2019-01-23 12:50:31 +01:00
parent 60531aa972
commit efa37dbc2f
3 changed files with 11 additions and 6 deletions

View File

@@ -2521,7 +2521,7 @@ object appear only if specific field is set.</para>
<!-- start of reservation-get-all --> <!-- start of reservation-get-all -->
<section xml:id="reference-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 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> <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 --> <!-- start of reservation-get-page -->
<section xml:id="reference-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 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> <para>Supported by: <command><link linkend="commands-kea-dhcp4">kea-dhcp4</link></command>, <command><link linkend="commands-kea-dhcp6">kea-dhcp6</link></command></para>

View File

@@ -1672,6 +1672,9 @@ An example result returned when the query was malformed:<screen>
For larger deployments, please consider using For larger deployments, please consider using
<command>reservation-get-page</command> instead (see <xref <command>reservation-get-page</command> instead (see <xref
linkend="command-reservation-get-page"/>). linkend="command-reservation-get-page"/>).
</para>
<para>
For a reference, see <xref linkend="ref-reservation-get-all"/>. For a reference, see <xref linkend="ref-reservation-get-all"/>.
</para> </para>
</section> </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, <para>The first page is queried without source-index and from,
for next pages source-index and from should be set using for next pages source-index and from should be set using
the preceeding result source-index and next. After the last page 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>
<para>This command is more complex than <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 easier to use <command>reservation-get-all</command> (see
<xref linkend="command-reservation-get-all"/>.</para> <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>
<section xml:id="command-reservation-del"> <section xml:id="command-reservation-del">

View File

@@ -1772,8 +1772,8 @@ TaggedStatementArray tagged_statements = { {
// PgSqlHostDataSourceImpl::GET_HOST_SUBID4_PAGE // PgSqlHostDataSourceImpl::GET_HOST_SUBID4_PAGE
// Retrieves host information along with the DHCPv4 options associated with // Retrieves host information along with the DHCPv4 options associated with
// it. Left joining the dhcp4_options table results in multiple rows being // 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 // returned for the same host. The hosts are retrieved by subnet id,
// from specified host id. Specified number of hosts is returned. // starting from specified host id. Specified number of hosts is returned.
{3, {3,
{ OID_INT8, OID_INT8, OID_INT8 }, { OID_INT8, OID_INT8, OID_INT8 },
"get_host_subid4_page", "get_host_subid4_page",