Adding Classes definition using OMAPI

Kraishak Mahtha <[email protected]> Mon, 20 Jun 2022 14:25:07 +0530
Newsgroups gmane.network.dhcp.isc.dhcp-client
Message-ID <CADDat85RUWY6XAX_zoyT6T8uO6D-hGuAokdOTmOGn8_nfu6uCg__49149.1890208394$1655715339$gmane$org@mail.gmail.com>
 Hi All,

Can we add the DHCP class dynamically using the OMAPI? I have tried
searching the forums but I found a reference for adding the sub-class
entries only not for the class
Example:

 class "test1" {
match if binary-to-ascii(16,8,":",substring(option
dhcp-client-identifier,1,3)) = "94:66:ff";
option domain-name-servers 192.168.0.59;
}
Any suggestion/reference would be much appreciated.

Thanks in Advance

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

dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users