tftp-server-name (option 66) and boot-file-name (option 67)
Hi,
Kea DHCPv4 server version 2.5.4
I am trying to provide a list of tftp servers and boot file names according to the ZTP requirements of MLXOS (Nvidia Infiniband switches)
They state, that I must provide options in the following format.
option tftp-server-name "<image server url>, <config server url>, <docker container server url>";
option bootfile-name "<image file>, <config file>, <docker container file>";
When I define the Option config as follows
"option-data": [
{
// For each IPv4 subnet you most likely need to specify at
// least one router.
"name": "routers",
"data": "172.25.40.1"
},
{
"name": "domain-name-servers",
"data": "8.8.8.8"
},
{
"name": "cumulus-provision-url",
"data": "http://172.25.43.23:8080/scripts/nvue-ztp.py"
},
{
"name": "tftp-server-name",
"csv-format": true,
"data": "http://172.25.43.23:8080/mlxos,http://172.25.43.23:8080/configs/ib/,",
"space": "dhcp4"
},
{
"name": "boot-file-name",
"csv-format": true,
"data": "image-X86_64-3.11.1014.img,ib-config.conf,",
"space": "dhcp4"
}
]#
I only ever see the following offer on the wire, i.e the first URL and first file name.
I've exhasuitvely to override the Option definition, trying with type=record and record-types="string,string,string" nothing I do works.
Can someone advise if this is a bug? Or if there is a way to do this in Kea.