Good morning.

As I have stated before, I am working on a conversion from isc-dhcp to 
kea-dhcp4.  There is a section of code which is not migrating easily.

I need to convert the following int the json config structure.  How may this be 
accomplished?

option space CALIXGS;
option CALIXGS.acs-url code 1 = text;
option CALIXGS.spid code 27 = text;

set vendor-string = option vendor-class-identifier;

if ((substring (option vendor-class-identifier, 0, 24) = 
"GS2026E.ONT.dslforum.org"
        or substring (option vendor-class-identifier, 0, 24) = 
"GS2020E.ONT.dslforum.org"
        or substring (option vendor-class-identifier, 0, 24) = 
"GS4227E.ONT.dslforum.org"
        or substring (option vendor-class-identifier, 0, 24) = 
"GS4220E.ONT.dslforum.org" ))
{
        vendor-option-space CALIXGS;
        option CALIXGS.acs-url "URLstring_of_info";
        option CALIXGS.spid "string_of_info";

Is there an example of this which I may examine?

Thanks,

John

John Gammon
Network Engineer
[cid:f7d91b91-f714-48e8-a095-e486dcf6fdf4]   
[cid:4d2c5f96-fcab-4a56-bfc1-8727639cb2c4]
Forked Deer Electric Cooperative, Inc./Forked Deer Connect, LLC.
Halls, TN  38040
email:  [email protected]


John Gammon

Network Engineer

Office   731-903-4282

[email protected]<mailto:%[email protected]>

[fdec logo]

1135 North Church Street

PO Box 67

Halls, TN 38040

www.forkeddeer.com
-- 
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to