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. Re: Allow subnet/pool to reservations only (Francis Dupont)
2. Re: Allow subnet/pool to reservations only (Mauser F)
3. Re: Allow subnet/pool to reservations only (Francis Dupont)
----------------------------------------------------------------------
Message: 1
Date: Wed, 23 May 2018 20:59:43 +0000
From: Francis Dupont <[email protected]>
To: Mauser F <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [kea-dev] Allow subnet/pool to reservations only
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Mauser F writes:
> Does anyone know of a way of does this or is it a working progress?
=> working progress (code is under review but missed 1.4-beta deadline,
if you'd like you can ask for a preview of it before 1.4 final).
> "client-classes": [
> {
> "name": "test-class",
> "test": "member('KNOWN')",
> "only-if-required": true
=> note you don't need the only-if-required: client classes depending
on KNOWN will be evaluated after host reservation look up. Of course
this will happen before the required stuff so if you'd like to use
it for options it does not matter (but it matters if you'd like to
use it in pools).
> I'm I doing it wrong? Is it a bug? Will the feature be added later?
=> will be added later...
Thanks
Francis Dupont <[email protected]>
------------------------------
Message: 2
Date: Thu, 24 May 2018 07:56:13 +0000
From: Mauser F <[email protected]>
To: Francis Dupont <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [kea-dev] Allow subnet/pool to reservations only
Message-ID:
<he1pr0801mb14356464e3f647f2eb47e677c9...@he1pr0801mb1435.eurprd08.prod.outlook.com>
Content-Type: text/plain; charset="iso-8859-1"
Thank you for the reply!
I will keep my eyes open for it in later releases then.
Should be able to do it with hooks right? Maybe I'll look into that.
Thanks!
________________________________
Fr?n: Francis Dupont <[email protected]>
Skickat: den 23 maj 2018 22:59
Till: Mauser F
Kopia: [email protected]
?mne: Re: [kea-dev] Allow subnet/pool to reservations only
Mauser F writes:
> Does anyone know of a way of does this or is it a working progress?
=> working progress (code is under review but missed 1.4-beta deadline,
if you'd like you can ask for a preview of it before 1.4 final).
> "client-classes": [
> {
> "name": "test-class",
> "test": "member('KNOWN')",
> "only-if-required": true
=> note you don't need the only-if-required: client classes depending
on KNOWN will be evaluated after host reservation look up. Of course
this will happen before the required stuff so if you'd like to use
it for options it does not matter (but it matters if you'd like to
use it in pools).
> I'm I doing it wrong? Is it a bug? Will the feature be added later?
=> will be added later...
Thanks
Francis Dupont <[email protected]>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/kea-dev/attachments/20180524/24789e77/attachment-0001.html>
------------------------------
Message: 3
Date: Thu, 24 May 2018 08:12:58 +0000
From: Francis Dupont <[email protected]>
To: Mauser F <[email protected]>
Cc: Francis Dupont <[email protected]>, "[email protected]"
<[email protected]>
Subject: Re: [kea-dev] Allow subnet/pool to reservations only
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
> Should be able to do it with hooks right? Maybe I'll look into that.
=> as you can use a full programming language in hooks (and not
only C++) a priori you can do anything feasible in them. Note as
this is not the first time we get this question I can confirm it
can be done by it is not very easy nor efficient... (*)
Thanks
Francis Dupont <[email protected]>
PS (*): after writing both the code in core Kea (a few lines, complexity
is in doc) and a similar feature for RADIUS hook.
------------------------------
Subject: Digest Footer
_______________________________________________
kea-dev mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-dev
------------------------------
End of kea-dev Digest, Vol 50, Issue 6
**************************************