Re: [Kea-users] free text parameter under each subnet

2017-08-19 Thread Francis Dupont
User contexts are strictly more powerful as they are part of objects so can be retrieve by hooks. They just need to be more general, i.e. current user-context support is still a (successful) experimentation. Regards Francis Dupont ___

Re: [Kea-users] free text parameter under each subnet

2017-08-18 Thread James Sumners
s.isc.org><mailto:kea-users@lists.isc.org> Subject: Re: [Kea-users] free text parameter under each subnet Hi James: Itay didn't really state why he wanted it but I can certainly see the utility of what you're describing. Would you mind submitting a enhancement ticket for that? Thanks, Thomas

Re: [Kea-users] free text parameter under each subnet

2017-08-18 Thread Thomas Markwalder
Hello Itay: "user-context" is per pool not per subnet. Our admin guide example is incorrect. Try this: "pools": [ { "pool": "10.0.0.10 - 10.0.0.99", *"user-context": { "color": "red" }* } ] , * * Meanwhile, I'll create a

Re: [Kea-users] free text parameter under each subnet

2017-08-18 Thread Thomas Markwalder
> From: Thomas Markwalder <tm...@isc.org> <mailto:tm...@isc.org> > Date: August 18, 2017 at 9:18:15 AM > To: kea-users@lists.isc.org <kea-users@lists.isc.org> > <mailto:kea-users@lists.isc.org> > Subject: Re: [Kea-users] free text parameter under each

Re: [Kea-users] free text parameter under each subnet

2017-08-18 Thread James Sumners
, not for the parser to care about. From: Thomas Markwalder <tm...@isc.org><mailto:tm...@isc.org> Date: August 18, 2017 at 9:18:15 AM To: kea-users@lists.isc.org <kea-users@lists.isc.org><mailto:kea-users@lists.isc.org> Subject: Re: [Kea-users] free text parameter under each

Re: [Kea-users] free text parameter under each subnet

2017-08-18 Thread James Sumners
lt;mailto:kea-users@lists.isc.org>, itay cohen <icohen9...@gmail.com><mailto:icohen9...@gmail.com> Subject: Re: [Kea-users] free text parameter under each subnet James Sumners writes: > Unfortunately the parser doesn't ignore unknown properties. => not unfortunately: it is

Re: [Kea-users] free text parameter under each subnet

2017-08-18 Thread Francis Dupont
James Sumners writes: > Unfortunately the parser doesn't ignore unknown properties. => not unfortunately: it is by design and I am sure you'd like the parser to catch a trivial spelling error than to silently ignore it. Regards Francis Dupont PS: as you expect to add a new

Re: [Kea-users] free text parameter under each subnet

2017-08-17 Thread James Sumners
Unfortunately the parser doesn’t ignore unknown properties. On August 17, 2017 at 2:14:55 PM, itay cohen (icohen9...@gmail.com) wrote: hello all does some one know how to add a free text parameter like the example (not a remark) ? { "subnet":