<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
yet antoher thing <span id="🙂">🙂</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span>these definitions will not work at all as the code is above 255. </span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span class="ContentPasted0">{
<div class="ContentPasted0"> "space": "vivso",</div>
<div class="ContentPasted0"> "name": "bbf",</div>
<div class="ContentPasted0"> "code": 3561,</div>
<div class="ContentPasted0"> "type": "empty",</div>
<div class="ContentPasted0"> "encapsulate": "bbf"</div>
<div class="ContentPasted0"> },</div>
<div class="ContentPasted0"> {</div>
<div class="ContentPasted0"> "space": "vivso",</div>
<div class="ContentPasted0"> "name": "genexis",</div>
<div class="ContentPasted0"> "code": 25167,</div>
<div class="ContentPasted0"> "type": "empty",</div>
<div class="ContentPasted0"> "encapsulate": "genexis"</div>
}<br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span class="ContentPasted0"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span class="ContentPasted0"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span class="ContentPasted0">All these definitions should be added as subcodes of option 125</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span class="ContentPasted0"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span class="ContentPasted0"><br>
</span></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt; color: rgb(0, 0, 0);"><b>Van:</b> Kea-users <kea-users-bounces@lists.isc.org> namens DDFR | Ronald Blaas <ronald.blaas@ddfr.nl><br>
<b>Verzonden:</b> vrijdag 21 juli 2023 09:00<br>
<b>Aan:</b> Darren Ankney <darren.ankney@gmail.com>; kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Onderwerp:</b> Re: [Kea-users] Trying to get GeniesACS / Genexis running</font>
<div> </div>
</div>
<div dir="ltr">
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Darren, (seems my last mail did not went well)</div>
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
thanks for pointing me to that site. </div>
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The conversion is not quit as expected. </div>
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The definitions are clear to me although there is a problem (according to the comments) with setting a space width of 4 as kea only accepts a width of 1 </div>
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
// /// Kea does not allow redefinition of options
<div class="x_ContentPasted0">// {</div>
<div class="x_ContentPasted0">// "space": "dhcp4",</div>
<div class="x_ContentPasted0">// "name": "option125",</div>
<div class="x_ContentPasted0">// "code": 125,</div>
<div class="x_ContentPasted0">// "type": "empty",</div>
<div class="x_ContentPasted0">// "encapsulate": "vivso"</div>
<div class="x_ContentPasted0">// }</div>
<div class="x_ContentPasted0"> ],</div>
<div class="x_ContentPasted0">// "option-space": {</div>
<div class="x_ContentPasted0">// "name": "vivso",</div>
<div class="x_ContentPasted0">// /// Only code width 1 is supported</div>
<div class="x_ContentPasted0">// "code-width": 4</div>
<div class="x_ContentPasted0">// },</div>
<div class="x_ContentPasted0"> "option-data": [</div>
<div class="x_ContentPasted0">// {</div>
<div class="x_ContentPasted0">// "space": "vivso",</div>
<div class="x_ContentPasted0">// "name": "iana",</div>
<div class="x_ContentPasted0">// "code": 0,</div>
<div class="x_ContentPasted0">// "original-data": "01:01:01",</div>
<div class="x_ContentPasted0">// "csv-format": false,</div>
<div class="x_ContentPasted0">// /// Please consider to change last type in the record to binary</div>
<div class="x_ContentPasted0">// /// Reference Kea #246</div>
<div class="x_ContentPasted0">// "data": "010101"</div>
// }<br>
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
This might be a problem as the vendor states a width of 4 is needed but I have not tested this so it might still work.</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Other problem is that besides the strange (and possibly complicated) way of selecting the scope to apply these options, they are all commented.. so none are applied.</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
// "statement": {
<div class="x_ContentPasted1">// "if": {</div>
<div class="x_ContentPasted1">// "condition": {</div>
<div class="x_ContentPasted1">// "equal": {</div>
<div class="x_ContentPasted1">// "left": {</div>
<div class="x_ContentPasted1">// "substring": {</div>
<div class="x_ContentPasted1">// "expression": {</div>
<div class="x_ContentPasted1">// "option": {</div>
<div class="x_ContentPasted1">// "universe": "dhcp",</div>
<div class="x_ContentPasted1">// "name": "host-name",</div>
<div class="x_ContentPasted1">// "code": 12</div>
<div class="x_ContentPasted1">// }</div>
<div class="x_ContentPasted1">// },</div>
<div class="x_ContentPasted1">// "offset": 0,</div>
<div class="x_ContentPasted1">// "length": 6</div>
<div class="x_ContentPasted1">// }</div>
<div class="x_ContentPasted1">// },</div>
<div class="x_ContentPasted1">// "right": "geneos"</div>
<div class="x_ContentPasted1">// }</div>
<div class="x_ContentPasted1">// },</div>
<div class="x_ContentPasted1">// "then": [</div>
<div class="x_ContentPasted1">// {</div>
<div class="x_ContentPasted1">// "option": {</div>
<div class="x_ContentPasted1">// "space": "bbf",</div>
<div class="x_ContentPasted1">// "name": "acs",</div>
<div class="x_ContentPasted1">// "code": 11,</div>
<div class="x_ContentPasted1">// "data": "http://192.168.21.1:7547/ACSServer/services/ACSServlet"</div>
<div class="x_ContentPasted1">// }</div>
<div class="x_ContentPasted1">// },</div>
<div class="x_ContentPasted1">// {</div>
<div class="x_ContentPasted1">// "option": {</div>
<div class="x_ContentPasted1">// "space": "bbf",</div>
<div class="x_ContentPasted1">// "name": "provisioningcode",</div>
<div class="x_ContentPasted1">// "code": 12,</div>
<div class="x_ContentPasted1">// "data": "provisioning code value"</div>
<div class="x_ContentPasted1">// }</div>
<div class="x_ContentPasted1">// },</div>
<div class="x_ContentPasted1">// {</div>
<div class="x_ContentPasted1">// "option": {</div>
<div class="x_ContentPasted1">// "space": "bbf",</div>
<div class="x_ContentPasted1">// "name": "minwaitinterval",</div>
<div class="x_ContentPasted1">// "code": 13,</div>
<div class="x_ContentPasted1">// "data": "1"</div>
<div class="x_ContentPasted1">// }</div>
<div class="x_ContentPasted1">// },</div>
<div class="x_ContentPasted1">// {</div>
<div class="x_ContentPasted1">// "option": {</div>
<div class="x_ContentPasted1">// "space": "bbf",</div>
<div class="x_ContentPasted1">// "name": "retryintervalmultiplier",</div>
<div class="x_ContentPasted1">// "code": 14,</div>
<div class="x_ContentPasted1">// "data": "10"</div>
<div class="x_ContentPasted1">// }</div>
<div class="x_ContentPasted1">// },</div>
<div class="x_ContentPasted1">// {</div>
<div class="x_ContentPasted1">// "option": {</div>
<div class="x_ContentPasted1">// "space": "genexis",</div>
<div class="x_ContentPasted1">// "name": "config",</div>
<div class="x_ContentPasted1">// "code": 3,</div>
<div class="x_ContentPasted1">// "data": "tftp://192.168.21.1/test.cfg"</div>
<div class="x_ContentPasted1">// }</div>
<div class="x_ContentPasted1">// }</div>
<div class="x_ContentPasted1">// ]</div>
<div class="x_ContentPasted1">// }</div>
// },<br>
</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Should I just remove the comments (//) ? Not much faith in seeing this working .... </div>
<div class="x_elementToProof x_ContentPasted1" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof x_ContentPasted1" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Ronald</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt; color: rgb(0, 0, 0);"><b>Van:</b> Kea-users <kea-users-bounces@lists.isc.org> namens Darren Ankney <darren.ankney@gmail.com><br>
<b>Verzonden:</b> donderdag 20 juli 2023 20:03<br>
<b>Aan:</b> kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Onderwerp:</b> Re: [Kea-users] Trying to get GeniesACS / Genexis running</font>
<div> </div>
</div>
<div class="x_BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="x_PlainText">Hi,<br>
<br>
Have a look at: <a href="https://dhcp.isc.org" data-auth="NotApplicable" data-loopstyle="linkonly">
https://dhcp.isc.org</a> this may help you with these<br>
conversions from ISC DHCP to Kea.<br>
<br>
Thank you,<br>
<br>
Darren Ankney<br>
<br>
On Thu, Jul 20, 2023 at 11:10 AM DDFR | Ronald Blaas<br>
<ronald.blaas@ddfr.nl> wrote:<br>
><br>
> Hi All,<br>
><br>
> As isc-dhcp is EOL/EOS I am looking into using isc-kea-dhcp.<br>
><br>
> But I am having troubles converting the ACS options to kea-dhcp standards.<br>
><br>
> these are the options which are needed for Genexis (and are working for isc-dhcp)<br>
><br>
> option space bbf;<br>
> option bbf.acs code 11 = text;<br>
> option bbf.provisioningcode code 12 = text;<br>
> option bbf.minwaitinterval code 13 = unsigned integer 32;<br>
> option bbf.retryintervalmultiplier code 14 = unsigned integer 32;<br>
><br>
> option space genexis;<br>
> option genexis.fw code 2 = text;<br>
> option genexis.config code 3 = text;<br>
><br>
> option space vivso code width 4;<br>
> option vivso.iana code 0 = string;<br>
> option vivso.iana 01:01:01;<br>
><br>
> option vivso.bbf code 3561 = encapsulate bbf;<br>
> option vivso.genexis code 25167 = encapsulate genexis;<br>
><br>
> option option125 code 125 = encapsulate vivso;<br>
><br>
><br>
> So how to convert these options?<br>
><br>
> I get the basics like:<br>
> "option-def": [<br>
> {<br>
> "name": "tftp_fw",<br>
> "code": 2,<br>
> "space": "genexis",<br>
> "type": "string"<br>
> },<br>
>     {<br>
> "name": "tftp_cfg",<br>
> "code": 3,<br>
> "space": "genexis",<br>
> "type": "string"<br>
> },<br>
> {<br>
> "name": "acs",<br>
> "code": 11,<br>
> "space": "bbf",<br>
> "type": "string"<br>
> },<br>
> {<br>
> "name": "acs_minwaitinterval",<br>
> "code": 13,<br>
> "space": "bbf",<br>
> "type": "uint32"<br>
> },<br>
> {<br>
> "name": "acs_retryintervalmultiplier",<br>
> "code": 14,<br>
> "space": "bbf",<br>
> "type": "uint32"<br>
> },<br>
><br>
> but I somehow need to encapsulate all of these.<br>
> It is unclear to me how to encapsulate these.<br>
><br>
> Unfortunately verdors are not up 2 speed with the ending of isc-dhcp very little information is available..<br>
><br>
> Any help is appreciated<br>
><br>
> Regards,<br>
><br>
> --<br>
> ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/" data-auth="NotApplicable">https://www.isc.org/contact/</a> for more information.<br>
><br>
> To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" data-auth="NotApplicable">
https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
><br>
> Kea-users mailing list<br>
> Kea-users@lists.isc.org<br>
> <a href="https://lists.isc.org/mailman/listinfo/kea-users" data-auth="NotApplicable">
https://lists.isc.org/mailman/listinfo/kea-users</a><br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/" data-auth="NotApplicable">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" data-auth="NotApplicable">
https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
Kea-users@lists.isc.org<br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" data-auth="NotApplicable">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</div>
</span></font></div>
</div>
</body>
</html>