a couple of match questions

Sten Carlsen stenc at s-carlsen.dk
Thu Sep 20 17:32:41 UTC 2012

On 20/09/12 17:46, Adam Moffett wrote:
> 1) Is it possible to match on (non)membership of another class?
> eg:
> class "foo" {
>   match if ((/some condition) /and not (member of class "xyz"));
>   ...
> }
> I'm guessing no, because I seem to recall some discussion about match 
> statements not being evaluated in any certain order.
> 2) Is it possible to match the /lack/ of option 82 information?
> eg:
> class "foo" {
>   match if ((/some condition/) and (option agent.circuit-id=NULL));
>   ...
> }
On a more general note, would it be possible to make a class(A) on your 
"some condition" and a class(B) on the agent.circuit-id?
The question is then: can you use a more elaborate allow/deny scheme in 
the pools?

All coming down to:
deny B
allow A

I know this is complicated as the allow/deny rules are not immediately 
> I have some wireless APs that can provide option82 data and some other 
> models that don't.  I could simplify my matching considerably if 
> either of these is possible.
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

Best regards

Sten Carlsen

No improvements come from shouting:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120920/9dbb043d/attachment.html>

More information about the dhcp-users mailing list