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

[#2566] Reworded the note in doc about backend not supporting host collections

This commit is contained in:
Andrei Pavel
2022-10-18 11:05:59 +03:00
committed by Francis Dupont
parent 1999455278
commit 7fc8c0f896
2 changed files with 6 additions and 7 deletions

View File

@@ -689,8 +689,7 @@ an error. Here are some examples of possible results:
.. note:: .. note::
Host backends which do not support host collections as the host cache The host cache and RADIUS hook libraries are two host backends that do not
and radius do not contribute to commands returning a collection as contribute to commands returning a collection of host reservations, such as
``reservation-get-all``. For instance these commands can't be used ``reservation-get-all``. Commands returning one host entry or dedicated host
to retrieve the content of the host cache: commands returning one cache commands should be used instead.
host entry or dedicated host cache commands should be used instead.

View File

@@ -128,10 +128,10 @@
For subnet ID and identifier negative caching is optionally supported. For subnet ID and identifier negative caching is optionally supported.
- host backends which do not support host collection (as host cache - host backends which do not support host collection (as host cache
and radius) must return an empty collection (so not contributing and RADIUS) must return an empty collection (so not contributing
to the final result) from all methods returning collections. to the final result) from all methods returning collections.
Of course the core code must not use these methods with these backends Of course the core code must not use these methods with these backends
but there are some callers outside the code code, e.g. the host cmds but there are some callers outside the code, e.g. the host commands
hook library. hook library.
@subsection dhcpdb-caching Caching @subsection dhcpdb-caching Caching