Hi Yu,

I do not know. This is in the source:
https://gitlab.isc.org/isc-projects/kea so you could find out, of
course.  I am not very familiar with C++ and so should not attempt to
answer this question.

Thank you,
Darren Ankney

On Tue, Jul 23, 2024 at 3:11 PM Xiao, Yu (CCI-Atlanta) <[email protected]> wrote:
>
> Hi Darren,
>
>
>
> What is the type of this id? Is it unsigned int or unsigned short int type in 
> C++ or other type?
>
>
>
>
>
>
>
> Best Regards,
>
> Yu
>
>
>
>
>
> From: Darren Ankney <[email protected]>
> Date: Monday, May 6, 2024 at 3:46 PM
> To: Kea user's list <[email protected]>
> Cc: Xiao, Yu (CCI-Atlanta) <[email protected]>
> Subject: [EXTERNAL] Re: [Kea-users] Two questions regarding to kea subnet 
> configuration
>
> As far as "naming" subnets, you may want to look at "5.1.2. Comments
> and User Context":
> https://urldefense.com/v3/__https://kea.readthedocs.io/en/kea-2.4.1/arm/config.html*comments-and-user-context__;Iw!!Hit2Ag!3Ckp7Lw4b4mFKtkRtTgmbo7xdzFSJt-lr9AAi_YCePvfT08wEXH9mFmRKb4vmTAoivcUUxm2xzZsuWTkM63D$
>  .
> There is an example there that shows how you might use this mechanism
> to identify a subnet:
>
> "Dhcp4": {
>     "subnet4": [{
>         "id": 1,
>         "subnet": "192.0.2.0/24",
>         "pools": [{ "pool": "192.0.2.10 - 192.0.2.20" }],
>         "comment": "second floor"
>     }]
> }
>
> Thank you,
> Darren Ankney
>
> On Mon, May 6, 2024 at 8:10 AM Xiao, Yu (CCI-Atlanta) via Kea-users
> <[email protected]> wrote:
> >
> > Greetings,
> >
> >
> >
> > I have two questions related to the kea design. First, seems currently we 
> > can only assign numeric IDs to subnets, but for subnet management, it’s 
> > more convenient to use a string, is it possible to add this feature? 
> > Second, how kea design to distribute the ip addresses inside of the subnet 
> > esp ipv6 subnet? Is it totally random? Thank you.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Best Regards,
> >
> > Yu
> >
> >
> >
> > --
> > ISC funds the development of this software with paid support subscriptions. 
> > Contact us at 
> > https://urldefense.com/v3/__https://www.isc.org/contact/__;!!Hit2Ag!3Ckp7Lw4b4mFKtkRtTgmbo7xdzFSJt-lr9AAi_YCePvfT08wEXH9mFmRKb4vmTAoivcUUxm2xzZsuev3AHR9$
> >   for more information.
> >
> > To unsubscribe visit 
> > https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!3Ckp7Lw4b4mFKtkRtTgmbo7xdzFSJt-lr9AAi_YCePvfT08wEXH9mFmRKb4vmTAoivcUUxm2xzZsub3WtC8n$
> >  .
> >
> > Kea-users mailing list
> > [email protected]
> > https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!Hit2Ag!3Ckp7Lw4b4mFKtkRtTgmbo7xdzFSJt-lr9AAi_YCePvfT08wEXH9mFmRKb4vmTAoivcUUxm2xzZsub3WtC8n$
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

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

Reply via email to