From: Tomek Mrugalski Date: Tue, 4 Feb 2014 18:14:28 +0000 (+0100) Subject: [3274] Missing changes in dhcp{4,6}.spec added. X-Git-Tag: bind10-1.2.0beta1-release~57^2~1^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b94b3c71b79baf0707e984fd97b11036a04bcc23;p=thirdparty%2Fkea.git [3274] Missing changes in dhcp{4,6}.spec added. --- diff --git a/doc/guide/bind10-guide.xml b/doc/guide/bind10-guide.xml index b2acd633fa..e63512f6a7 100644 --- a/doc/guide/bind10-guide.xml +++ b/doc/guide/bind10-guide.xml @@ -3633,6 +3633,14 @@ $ > config remove Init/components b10-dhcp4 > config commit + + + + Note that the server was only removed from the list, so BIND10 will not + restart it, but the server itself is still running. Hence it is usually + desired to stop it: + +> Dhcp4 shutdown @@ -4646,13 +4654,21 @@ Dhcp4/renew-timer 1000 integer (default) To remove b10-dhcp6 from the set of running services, - the b10-dhcp4 is removed from list of Init components: + the b10-dhcp6 is removed from list of Init components: > config remove Init/components b10-dhcp6 > config commit + + Note that the server was only removed from the list, so BIND10 will not + restart it, but the server itself is still running. Hence it is usually + desired to stop it: + +> Dhcp6 shutdown + + During start-up the server will detect available network interfaces diff --git a/src/bin/dhcp4/dhcp4.spec b/src/bin/dhcp4/dhcp4.spec index 4eddb7b2a8..0777b8ee1e 100644 --- a/src/bin/dhcp4/dhcp4.spec +++ b/src/bin/dhcp4/dhcp4.spec @@ -249,16 +249,26 @@ "item_default": "" } }, + + { "item_name": "client-class", + "item_type": "string", + "item_optional": false, + "item_default": "", + "item_description" : "Restricts access to this subnet to specified client class (if defined)" + }, + { "item_name": "relay", "item_type": "map", "item_optional": false, "item_default": {}, + "item_description" : "Structure holding optional relay information.", "map_item_spec": [ { "item_name": "ip-address", "item_type": "string", "item_optional": false, - "item_default": "0.0.0.0" + "item_default": "0.0.0.0", + "item_description" : "IPv4 address of the relay (optional)." } ] }, diff --git a/src/bin/dhcp6/dhcp6.spec b/src/bin/dhcp6/dhcp6.spec index 3810fadf68..7978de6eb3 100644 --- a/src/bin/dhcp6/dhcp6.spec +++ b/src/bin/dhcp6/dhcp6.spec @@ -254,6 +254,30 @@ "item_default": "" } }, + + { "item_name": "client-class", + "item_type": "string", + "item_optional": false, + "item_default": "", + "item_description" : "Restricts access to this subnet to specified client class (if defined)" + }, + + { "item_name": "relay", + "item_type": "map", + "item_optional": false, + "item_default": {}, + "item_description" : "Structure holding optional relay information.", + "map_item_spec": [ + { + "item_name": "ip-address", + "item_type": "string", + "item_optional": false, + "item_default": "::", + "item_description" : "IPv6 address of the relay (optional)." + } + ] + }, + { "item_name": "pd-pools", "item_type": "list",