summaryrefslogtreecommitdiffstats
path: root/doc/sphinx/arm/hooks-bootp.rst
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2019-11-21 11:25:05 +0100
committerFrancis Dupont <fdupont@isc.org>2019-12-10 22:15:17 +0100
commit69533061cd42301edb5831e343743e028c4eb291 (patch)
tree737669975e87180b4ab348736bc7bc1751ad2054 /doc/sphinx/arm/hooks-bootp.rst
parent[898-add-a-new-hook-to-support-bootp] Made BOOTP a built-in class (diff)
downloadkea-69533061cd42301edb5831e343743e028c4eb291.tar.xz
kea-69533061cd42301edb5831e343743e028c4eb291.zip
[898-add-a-new-hook-to-support-bootp] Updated doc
Diffstat (limited to 'doc/sphinx/arm/hooks-bootp.rst')
-rw-r--r--doc/sphinx/arm/hooks-bootp.rst12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/sphinx/arm/hooks-bootp.rst b/doc/sphinx/arm/hooks-bootp.rst
index 13d8184a2e..5df4baed2b 100644
--- a/doc/sphinx/arm/hooks-bootp.rst
+++ b/doc/sphinx/arm/hooks-bootp.rst
@@ -44,6 +44,13 @@ the following:
::
"Dhcp4": {
+ "client-classes": [
+ {
+ // The DHCP class is the complement of the BOOTP class
+ "name": "DHCP",
+ "test": "not member('BOOTP')"
+ }
+ ],
"subnet4": [
{
"subnet": "192.0.2.0/24",
@@ -51,11 +58,12 @@ the following:
{
// BOOTP clients will be handled here
"pool": "192.0.2.200 - 192.0.2.254",
- "class": "BOOTP"
+ "client-class": "BOOTP"
},
{
// Regular DHCP clients will be handled here
- "pool": "192.0.2.1 - 192.0.2.199"
+ "pool": "192.0.2.1 - 192.0.2.199",
+ "client-class": "DHCP"
}],
...
},