<div dir="ltr"><div>
Dear mailing list users, <br></div><div><br></div><div>I have been trying to create an Option 17 with a specific structure for a vendor with the ID of 14810, where all I have is a sub-option 1, containing a string with an arbitrary FQDN. I have a working code for ISC DHCP, but I have not been able to locate a working example of an implementation for Kea. <br></div><div><br></div><div># ADB VSIO<br>option space worldbox_adb code width 2 length width 2 hash size 1;<br>option worldbox_adb.bmc code 1 = text;<br>option vsio.worldbox_adb code 14810 = encapsulate worldbox_adb;</div><div><br></div><div># use the option within a subnet <br></div><div>...<br></div><div>option worldbox_adb.bmc "<a href="http://tmpwh2.cvs.adbglobal.com">tmpwh2.cvs.adbglobal.com</a>";</div><div>...</div><div><br></div><div>My failed attempt to translate looks like the following, but it does not produce any particular output as confirmed with the packet capture. DNS servers are present, so I am sure the config is parsed correctly.<br></div><div><br></div><div>                "option-data": [<br>                                {<br>                                        "name": "dns-servers",<br>                                        "data": "2001:db8:2::dead:beef, 2001:db8:2::cafe:babe"<br>                                }, {<br>                                        "space": "vendor-14810",<br>                                        "name": "bmc",<br>                                        "data": "<a href="http://tmpwh2.cvs.adbglobal.com">tmpwh2.cvs.adbglobal.com</a>"<br>                                }, {<br>                                        "name": "vendor-14810-bmc" <br>                                } ]<br>                } ],<br><br>                "option-def": [ {<br>                        // We define a short name, so the option can be referenced by name.<br>                        // The option has code 2 and resides within vendor space 25167.<br>                        // Its data is a plain string.<br>                        "name": "bmc",<br>                        "code": 1,<br>                        "space": "vendor-14810",<br>                        "type": "string",<br>                        "array": false,<br>                        "encapsulate": ""<br>                }, {<br>                        "name": "vendor-14810-bmc",<br>                        "code": 14810,<br>                        "type": "empty",<br>                        "space": "dhcp6",<br>                        "encapsulate": "bmc"<br>                } ],</div><div><br></div><div>I did not see any example showing how to build Option 17 anywhere. Any pointers / examples would be really appreciated. <br></div><div><br></div><div>Marek<br></div></div>