Hello!

I want to set option 141 as sftpusername for a huaweidevice bootfile download.
but when i try to set the option, kea translates the "string" into an
domain which is wrong.
"option-data": [
                        {
                            "name": "sip-ua-cs-domains",
                            "data": "sftpuser"
                        }]

i tried to overwrite the predefinition of option 141 as string, but
that doesn't work. kea dont start with this definition, because it is
already defined :(
 "option-def": [
              {
                     "name": "sip-ua-cs-domains",
                     "code": 141,
                     "type": "string",
                     "space": "dhcp4" }
]

but on the old isc-dhcp-server i can write:
option option-141 code 141 = string;
host huawei-olt {
    hardware ethernet 00:18:82:a0:aa:a3;
    option option-141 "sftpuser";
}
and everything is working as expected.

here are outputs from the wireshark dump
KEA: non working

Option: (141) SIP UA Configuration Domains
    Length: 10
    Value: 08736674707573657200

ISC DHCPD working:
Option: (141) SIP UA Configuration Domains
    Length: 8
    Value: 7366747075736572


so how can i override the default behaviour from an predefined option in kea?


kind regards,
Stefan
_______________________
www.epb.at - Your IT Partner in East Austria
-- 
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.
[email protected]

Reply via email to