[Kea-users] (no subject)

JT ISC jtisc88 at gmail.com
Tue Jun 9 19:01:36 UTC 2026


Hello,

I have an issue or possibly have an issue with the Kea Migration Tool on
part of a config.

I have the following in dhcpd that help identify per subnet what Site is
sending DHCP requests -

if exists agent.circuit-id
        {
        log (error,concat("Lease for ",binary-to-ascii (10, 8, ".",
        leased-address)," is connected to ", option agent.circuit-id));
        }

When Kea Migration Tool converts the dhcpd config to Kea format, it
comments the converted section out -

//      "statement": {
//        "if": {
//          "condition": {
//            "exists": {
//              "universe": "agent",
//              "name": "circuit-id",
//              "code": 1
//            }
//          },
//          "then": [
//            {
//              "log": {
//                "priority": "error",
//                "message": {
//                  "concat": {
//                    "left": "Lease for ",
//                    "right": {
//                      "concat": {
//                        "left": {
//                          "binary-to-ascii": {
//                            "base": 10,
//                            "width": 8,
//                            "separator": ".",
//                            "buffer": {
//                              "leased-address": null
//                            }
//                          }
//                        },
//                        "right": {
//                          "concat": {
//                            "left": " is connected to ",
//                            "right": {
//                              "option": {
//                                "universe": "agent",
//                                "name": "circuit-id",
//                                "code": 1
//                              }
//                            }
//                          }
//                        }
//                      }
//                    }
//                  }
//                }
//              }
//            }
//          ]
//        }
//      },

Is this normal and the correct configuration to uncomment and use?

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20260609/f9a3e9f9/attachment.htm>


More information about the Kea-users mailing list