[kea-dev] Quoting integer values
Philip Prindeville
philipp_subx at redfish-solutions.com
Thu Jan 15 17:06:01 UTC 2026
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
More information about the kea-dev
mailing list