<div dir="ltr"><span style="font-size:12.8px">actually user-context is perfect for me,</span><div style="font-size:12.8px">i tried the example in the admin guide,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">but when i use it i get an error:</div><div style="font-size:12.8px">ERROR [kea-dhcp4.dhcp4/20619] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea.conf': /usr/local/etc/kea/kea.conf:<wbr>126.4-17: got unexpected keyword "user-context" in subnet4 map.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>                { "subnet": "<a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a>",</div><div>                        "id": 3001,</div><div>                        "pools": [ { "pool": "10.0.0.10 -  10.0.0.99" } ] ,</div><div><b>                        "user-context": { "color": "red" },</b></div><div>                        "relay": { "ip-address": "10.0.0.1" },</div><div>                        "option-data": [ { "name": "routers", "data": "10.0.0.1"  } ],</div><div>                        "renew-timer": 200,</div><div>                        "rebind-timer": 400,</div><div>                        "valid-lifetime": 600</div><div>                },</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">please advise,</div><div style="font-size:12.8px">thank you</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 18, 2017 at 3:10 PM, Francis Dupont <span dir="ltr"><<a href="mailto:fdupont@isc.org" target="_blank">fdupont@isc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">James Sumners writes:<br>
> Unfortunately the parser doesn't ignore unknown properties.<br>
<br>
</span>=> not unfortunately: it is by design and I am sure you'd like the<br>
parser to catch a trivial spelling error than to silently ignore it.<br>
<br>
Regards<br>
<br>
Francis Dupont <<a href="mailto:fdupont@isc.org">fdupont@isc.org</a>><br>
<br>
PS: as you expect to add a new subnet property you need to patch the<br>
parser. Note in pools you have the user-context property which can be used<br>
for the same goal and can be extended (i.e., post a request) to subnets<br>
or other syntax elements (only host reservations will be complex because<br>
of external host databases).<br>
</blockquote></div><br></div>