<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 class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Hi Darren,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Yes I have read about concat but was unsure how to apply it.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
I will try your example 🙂 </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Will let you know if that worked 🙂</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature" style="color: inherit;">
<p style="text-align: left; line-height: normal; background-color: rgb(255, 255, 255); margin: 0px; font-family: Helvetica; font-size: 11px;">
<span style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt;">regards</span></p>
<p style="text-align: left; line-height: normal; background-color: rgb(255, 255, 255); margin: 0px; font-family: Helvetica; font-size: 11px;">
<span style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt;"><br>
</span></p>
<p style="text-align: left; line-height: normal; background-color: rgb(255, 255, 255); margin: 0px; font-family: Helvetica; font-size: 11px;">
<span style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">Ronald</span></p>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Kea-users <kea-users-bounces@lists.isc.org> on behalf of Darren Ankney <darren.ankney@gmail.com><br>
<b>Sent:</b> Friday, March 7, 2025 19:07<br>
<b>To:</b> Kea user's list <kea-users@lists.isc.org><br>
<b>Subject:</b> Re: [Kea-users] need to use circuit-id in option</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Ronald,<br>
<br>
I am uncertain if this can be used in the data field, but there is a<br>
concat() in Kea:<br>
<a href="https://kea.readthedocs.io/en/kea-2.6.1/arm/classify.html#concat">https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkea.readthedocs.io%2Fen%2Fkea-2.6.1%2Farm%2Fclassify.html%23concat&data=05%7C02%7Cronald.blaas%40ddfr.nl%7Caacb4ce9967d49dfc54408dd5da2fcc8%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638769676795020090%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=D6m6LQrkyRqy%2Fo1vVHtC8p9702UkrbJb0l5QYzECymc%3D&reserved=0</a><br>
<br>
You can use a '+' sign as a shortcut so you might be able to do something like:<br>
<br>
"data": "'s=xx.xx.xx.xxc='+option[82].option[1].hex"<br>
<br>
but I've never tried to use these functions or packet contents in the<br>
"data" field.<br>
<br>
Thank you,<br>
Darren Ankney<br>
<br>
On Wed, Mar 5, 2025 at 4:04 AM DDFR | Ronald Blaas <ronald.blaas@ddfr.nl> wrote:<br>
><br>
> Hi all,<br>
><br>
> We recently switch a subnet from isc-dhcp to isc-kea<br>
><br>
> There is one thing where I am unable to succeed.<br>
><br>
> We need to sent some options to a device but ISC-DHCP is using concat and I am unsure how to apply this is kea<br>
><br>
> This is the relevant part:<br>
><br>
> If substring (option host-name, 0, 6) = "geneos" {<br>
> option genexis.gaps = concat("s=xx.xx.xx.xx;c=", option agent.circuit-id);<br>
><br>
><br>
> What I have so far is:<br>
><br>
><br>
>       {<br>
><br>
> "name": "gaps",<br>
> "space": "vendor-25167",<br>
> "data": "s=xx.xx.xx.xx",<br>
> "always-send": true<br>
> }<br>
><br>
><br>
> I could use some help getting the circuit id in the data field.<br>
><br>
><br>
> Kind regards<br>
><br>
><br>
> Ronald<br>
><br>
> --<br>
> ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/">https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&data=05%7C02%7Cronald.blaas%40ddfr.nl%7Caacb4ce9967d49dfc54408dd5da2fcc8%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638769676795038215%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=5mTfEXjpoGUP8ABlNWRG88Ho3E7R44k9DFaLESC5f4E%3D&reserved=0</a>
for more information.<br>
><br>
> To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users">
https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cronald.blaas%40ddfr.nl%7Caacb4ce9967d49dfc54408dd5da2fcc8%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638769676795050487%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=OfOiMwe0gFakbiIu2luLy1eDO2XZTdaIwHunhrfMMYE%3D&reserved=0</a>.<br>
><br>
> Kea-users mailing list<br>
> Kea-users@lists.isc.org<br>
> <a href="https://lists.isc.org/mailman/listinfo/kea-users">https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cronald.blaas%40ddfr.nl%7Caacb4ce9967d49dfc54408dd5da2fcc8%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638769676795062499%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=J6qY2AfF9r414l29etxjQmNbktTK0IEYVuLShrJW%2Fv8%3D&reserved=0</a><br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/">https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&data=05%7C02%7Cronald.blaas%40ddfr.nl%7Caacb4ce9967d49dfc54408dd5da2fcc8%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638769676795074102%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=SL7cUbiexBdm4k4o%2FBgSQ7n2dY7V6j6I8jnBZJb1YBw%3D&reserved=0</a>
for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users">https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cronald.blaas%40ddfr.nl%7Caacb4ce9967d49dfc54408dd5da2fcc8%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638769676795085655%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=jEyPCMgbwz18uy7Mzlxm2dXk1ZfFneygSspIuKZEZXo%3D&reserved=0</a>.<br>
<br>
Kea-users mailing list<br>
Kea-users@lists.isc.org<br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users">https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=05%7C02%7Cronald.blaas%40ddfr.nl%7Caacb4ce9967d49dfc54408dd5da2fcc8%7C61b60fb772d74ba78225d9b5369d780a%7C0%7C0%7C638769676795097584%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=MY140dXQWXd4nj91Mmxd7o7T1gzB8yhCbJb6IxsDjoc%3D&reserved=0</a><br>
</div>
</span></font></div>
</body>
</html>