]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5374] Addressed comments
authorFrancis Dupont <fdupont@isc.org>
Tue, 10 Apr 2018 14:42:38 +0000 (16:42 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 10 Apr 2018 14:42:38 +0000 (16:42 +0200)
doc/examples/kea4/classify2.json
doc/examples/kea6/classify.json
doc/examples/kea6/classify2.json
doc/guide/classify.xml
doc/guide/dhcp4-srv.xml
doc/guide/dhcp6-srv.xml

index 626d5c9ffbeb012543c69a9da992271bce4f0f1e..fca82e2ab8049598daa57afc50b5c9266e52606d 100644 (file)
             "hw-address": "1a:1b:1c:1d:1e:1f",
             "client-classes": [ "VoIP" ]
         } ],
-        "interface": "ethX"
+        "interface": "ethX",
+        "require-client-classes": [ "second_subnet" ]
     },
 
 // The following list defines a subnet with pools. For some pools
index b6e184b61867cfc72cf46849a3c59d2cf4858b4d..2fd3256c216810ba2ec371bd3c5b4ddd42a30a7b 100644 (file)
@@ -1,4 +1,4 @@
-// This is an example configuration file for the DHCPv4 server in Kea.
+// This is an example configuration file for the DHCPv6 server in Kea.
 // The purpose of this example is to showcase how clients can be classified.
 
 { "Dhcp6":
index aa6a7bd4df9a8a2bb5e1730006aee6dac28756ae..f931ecbfd124db567a0629f0d2103d9488fa8e14 100644 (file)
@@ -1,4 +1,4 @@
-// This is an example configuration file for the DHCPv4 server in Kea.
+// This is an example configuration file for the DHCPv6 server in Kea.
 // The purpose of this example is to showcase how clients can be classified.
 
 { "Dhcp6":
@@ -83,7 +83,8 @@
             "duid": "01:02:03:04:05:0A:0B:0C:0D:0E",
             "client-classes": [ "cable-modems" ]
         } ],
-        "interface": "ethX"
+        "interface": "ethX",
+        "require-client-classes": [ "second_subnet" ]
     },
 // The following subnet contains a pool with a class constraint: only
 // clients which belong to the class are allowed to use this pool.
index 4e800f327fe9a7d54034df2d4283a4ab10170b78..49f58a7a05ad59bfffb330efc50cfa1a785e3848 100644 (file)
       </para></listitem>
       <listitem><para>
       Classes with matching expressions and not marked for later ("on
-      request") evaluation are processed in the order they are defined
-      in the configuration: the boolean expression is evaluated and
-      when it returns true ("match") the incoming packet is associated
-      to the class.
+      request" or depending on the KNOWN builtin class) evaluation are
+      processed in the order they are defined in the configuration:
+      the boolean expression is evaluated and when it returns true
+      ("match") the incoming packet is associated to the class.
       </para></listitem>
       <listitem><para>
       If a private or code 43 DHCPv4 option is received, decoding it
       of the host reservation.
       </para></listitem>
       <listitem><para>
-      Classes with matching expressions using directly or indirectly on
-      the KNOWN builtin class and not marked for only when required
+      Classes with matching expressions using directly or indirectly
+      the KNOWN builtin class and not marked for later ("on request")
       evaluation are processed in the order they are defined in the
       configuration: the boolean expression is evaluated and when it
       returns true ("match") the incoming packet is associated to the
       class.
       </para></listitem>
       <listitem><para>
-      If needed, resources from pools are assigned, possibly based on the
-      class information when some pools are reserved to class members.
+      If needed, addresses and prefixes from pools are assigned,
+      possibly based on the class information when some pools are
+      reserved to class members.
       </para></listitem>
       <listitem><para>
       Evaluate classes marked as "required" in the order in which they
index 2429651262ea0661ff46365db4db5739d654c2b4..54b285af5c1350a41659630e6caffe8c3de76a21 100644 (file)
@@ -2312,7 +2312,7 @@ It is merely echoed by the server
          precedence: if you set an option-data in a subnet it takes
          precedence over an option-data in a class. When you move the
          option-data to a required class and require it in
-         the subnet, a class evaluted earlier may take precedence.
+         the subnet, a class evaluated earlier may take precedence.
          </para>
 
          <para>
@@ -3466,7 +3466,7 @@ It is merely echoed by the server
     <para>Static class assignments, as shown above, can be used in conjunction
     with classification using expressions. The "KNOWN" builtin class is
     added to the packet and any class depending on it directly or indirectly
-    and not only-if-required is evaluted.
+    and not only-if-required is evaluated.
     </para>
 
     <note>
index 50c59aefed8ab2c4cf9778e227df282e64600893..16ef42e1e7d12c15a48554720a06eda0a609f2a4 100644 (file)
@@ -2107,7 +2107,7 @@ should include options from the isc option space:
          precedence: if you set an option-data in a subnet it takes
          precedence over an option-data in a class. When you move the
          option-data to a required class and require it in
-         the subnet, a class evaluted earlier may take precedence.
+         the subnet, a class evaluated earlier may take precedence.
          </para>
 
          <para>
@@ -2986,7 +2986,7 @@ should include options from the isc option space:
     <para>Static class assignments, as shown above, can be used in conjunction
     with classification using expressions. The "KNOWN" builtin class is
     added to the packet and any class depending on it directly or indirectly
-    and not only-if-required is evaluted.
+    and not only-if-required is evaluated.
     </para>
 
     <note>