[Kea-users] Configuring flex_options hook for a suboption
Rahul Sundaresan
rahul at rsun.dev
Tue May 24 18:56:42 UTC 2022
Hello,
I'm using Kea in a ZTP provisioning scenario for Juniper devices. I want
Kea to send Option 43 suboption 1 with the value
"/config/{SERIAL_NUMBER}" as a DHCP response to the Juniper device.
How do I specify that this should be a sub option for option 43?
I'm using Kea 2.0.1
I have loaded the hook library and under parameters I'm configuring like
so:
options:[
{
"code": 1,
"space": "junos-ztp-options",
"add": "concat('/config/', option[61].text)"
}
]
Yet The juniper device still showsthat the config file is not
specified. However other options such as image upgradeURL specified as
suboptions work just fine!
Thank you
More information about the Kea-users
mailing list