[Kea-users] Multiple test clauses

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] Multiple test clauses

chang wang
Hi,

I am currently using Kea with a few different client classes, to separate different models of access-points.

To accomplish this i use the test clause, for example
"test": "((option[vendor-class-identifier].text == 'Cisco AP c2700'))" or (option[vendor-class-identifier].text == 'Cisco AP c1850')) or (option ...

Using many different access-points, this gets quite unwieldy, having everything on the same line. I have experimented with adding additional parentheses and whatnot, but i am still encountering the same errors.

But for some reason Kea will not let me separate these into multiple lines, as i would like:
"test": "((option[vendor-class-identifier].text == 'Cisco AP c2700'))" or
             (option[vendor-class-identifier].text == 'Cisco AP c1850')) or
                                                 .                             .
                                                 .
What is the logic required to accomplish this?


_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users