<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I see this example in the docs:</p>
    <p>   
<a class="moz-txt-link-freetext" href="https://kea.readthedocs.io/en/kea-2.2.0/arm/dhcp4-srv.html#reserving-client-classes-in-dhcpv4">https://kea.readthedocs.io/en/kea-2.2.0/arm/dhcp4-srv.html#reserving-client-classes-in-dhcpv4</a><br>
    </p>
    <p>Where it's assigning 'reserved-class1' and 'reserved-class2' to
      to a reservation in the subnet. Is there some way to do this in
      conjunction with a 'test'?</p>
    <p>i.e. I'd like to say:</p>
    <p>    For a host with class "reserved-class1" _AND_
      VendorClassIdentifier "X" -> these options<br>
          For a host with class "reserved-class2" _AND_
      VendorClassIdentifier "X" -> these other options</p>
    <p>If you need a more specific example (come up on the fly, so there
      may certainly be better ways to do this, but I'm specifically
      wanting to do something like the above):</p>
    <p>    JetDirect printer devices with label "office printers" ->
      use boot server A, filename X<br>
          JetDirect printer devices with label "public printers" ->
      use boot server B, filename Y<br>
    </p>
    <p><br>
    </p>
    <p>Would it be something like (VCI likely wrong, just for example
      purposes:<br>
    </p>
    <p>{<br>
          "client-classes": [<br>
              {<br>
                  "name": "jetdirect-office",<br>
                  "test": "member('KNOWN') and member('office-printers')
      and substring(option[60].hex,0,9) == 'JetDirect'",<br>
                  "only-if-required": true<br>
              }<br>
          ]<br>
      }</p>
    <p>combined with setting in a host reservation?<br>
    </p>
    <p>    "client-class" : "office-printers"<br>
    </p>
    <p><br>
    </p>
    <pre class="moz-signature" cols="120">-- Nathan
------------------------------------------------------------
Nathan Neulinger                       <a class="moz-txt-link-abbreviated" href="mailto:nneul@neulinger.org">nneul@neulinger.org</a>
Neulinger Consulting                   (573) 612-1412</pre>
  </body>
</html>