]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2664] updated classify ARM example
authorRazvan Becheriu <razvan@isc.org>
Sat, 11 Feb 2023 13:06:29 +0000 (15:06 +0200)
committerTomek Mrugalski <tomek@isc.org>
Mon, 13 Feb 2023 16:31:56 +0000 (16:31 +0000)
ChangeLog
doc/sphinx/arm/classify.rst

index 15dec0abaf41b39c6aef720f17f0857afb499022..273ebfaea47f6ac8508a68fddd92c919aad5580c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
+2098.  [doc]           razvan
+       Updated classify ARM examples with a case when both operands of
+       the evaluated expression are computed at runtime.
+       (Gitlab #2664)
+
 2097.  [func]          tmark
-       kea-dhcp4 and kea-dhcp6 will now accept but warn about
-       and then ignore renew-timer values that exceed rebind-timer
-       values.  Prior to this the servers treated this as a fatal
+       kea-dhcp4 and kea-dhcp6 will now accept but ignore and
+       warn about renew-timer values that exceed rebind-timer
+       values. Prior to this the servers treated this as a fatal
        configuration error.
        (Gitlab #2677)
 
index 3bb57c437120b091e260242961022f3011b75146..9f279454b78afa9e69b66b5ca4ba90a9ee5364e8 100644 (file)
@@ -919,6 +919,23 @@ hex string (which would indicate a DUID based on an enterprise ID of
        ...
    }
 
+It is also possible to have both left and right operands of the evaluated
+expression processed at runtime.
+
+::
+
+   "Dhcp4": {
+       "client-classes": [
+           {
+               "name": "Infrastructure",
+               "test": "option[82].option[2].hex == pkt4.mac",
+               ...
+           },
+           ...
+       ],
+       ...
+   }
+
 .. _classification-using-host-reservations:
 
 Using Static Host Reservations in Classification