Send kea-dev mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/kea-dev
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of kea-dev digest..."


Today's Topics:

   1.  Quoting integer values (Philip Prindeville)
   2. Re:  Quoting integer values (Peter Davies)


----------------------------------------------------------------------

Message: 1
Date: Thu, 15 Jan 2026 10:06:01 -0700
From: Philip Prindeville <[email protected]>
To: [email protected]
Subject: [kea-dev] Quoting integer values
Message-ID:
        <[email protected]>
Content-Type: text/plain;       charset=us-ascii

Hi,

I'm looking at this table:

https://kea.readthedocs.io/en/stable/arm/dhcp4-srv.html#id6

Where it says that "dhcp-renewal-time" is a uint32 but I need to encode it as a 
string in the config file:

Syntax check failed with: /etc/kea/kea-dhcp4.conf:191.25-28: syntax error, 
unexpected integer, expecting constant string

Or I get the above message:

   189               {
   190                 "name": "dhcp-renewal-time",
   191                 "data": 1800,
   192                 "always-send": true
   193               }

Why?

Other things like "valid-lifetime" don't require quotes.

Why the discrepancy?

Thanks,

-Philip



------------------------------

Message: 2
Date: Thu, 15 Jan 2026 21:39:53 +0100
From: Peter Davies <[email protected]>
To: [email protected]
Subject: Re: [kea-dev] Quoting integer values
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hi Philip,
 ? According to the Kea ARM, option 58 is governed by the "rebind-timer" 
parameter.
See: https://kea.readthedocs.io/en/latest/arm/dhcp4-srv.html#id6
/Peter


On 15/01/2026 18.06, Philip Prindeville wrote:
> Hi,
>
> I'm looking at this table:
>
> https://kea.readthedocs.io/en/stable/arm/dhcp4-srv.html#id6
>
> Where it says that "dhcp-renewal-time" is a uint32 but I need to encode it as 
> a string in the config file:
>
> Syntax check failed with: /etc/kea/kea-dhcp4.conf:191.25-28: syntax error, 
> unexpected integer, expecting constant string
>
> Or I get the above message:
>
>     189               {
>     190                 "name": "dhcp-renewal-time",
>     191                 "data": 1800,
>     192                 "always-send": true
>     193               }
>
> Why?
>
> Other things like "valid-lifetime" don't require quotes.
>
> Why the discrepancy?
>
> Thanks,
>
> -Philip
>
> -- 

-- 
Peter Davies
Support Engineer
Internet Systems Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/kea-dev/attachments/20260115/fe262f2e/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
kea-dev mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-dev


------------------------------

End of kea-dev Digest, Vol 100, Issue 2
***************************************

Reply via email to