How to define Kreatel options in KEA which have been used in isc-dhcp server ?
I need to migrate these options to KEA
class "STB" { match option vendor-class-identifier; }
subclass "STB" "Motorola_VIP1003";
subclass "STB" "ARRIS_VIP1113";
subclass "STB" "ARRIS_VIP4205";
subclass "STB" "ARRIS_VIP4205_VU";
subclass "STB" "ARRIS_VIP4302";
subclass "STB" "ARRIS_VIP4302BT";
pool {
allow members of "STB";
vendor-option-space Kreatel;
option Kreatel.splash-protocol "363";
option Kreatel.kernel-protocol "363";
option Kreatel.bootcast-address "1.1.1.1:55555";
option Kreatel.firmware-log "1.1.1.1:19999";
option Kreatel.http-server "boot.tv.example.com";
}
I already migrated class "STB" from isc-dhcp to a new format and tried to specify option-data to that class, but kea is not able to start with log:
DHCP4_PARSER_FAIL failed to create or run parser for configuration element client-classes: definition for the option 'dhcp4.Kreatel.splash-protocol' does not exist (/etc/kea/class-STB.conf:6:21)
{
"name": "STB",
"test" : "substring(option[60].hex,0,6) == 'VIP'",
"option-data": [
{
"name": "Kreatel.splash-protocol",
"data": "363"
},
{
"name": "Kreatel.kernel-protocol",
"data": "363"
},
{
"name": "Kreatel.bootcast-address",
"data": "1.1.1.1:55555"
},
{
"name": "Kreatel.firmware-log",
"data": "1.1.1.1:19999"
},
{
"name": "Kreatel.http-server",
"data": "boot.tv.example.com"
}
]
}
Can somebody help?
Thank you.