[pve-devel] RFC: sdn: add ip management (IPAM -DHCP) ideas

Alexandre DERUMIER aderumier at odiso.com
Tue Jun 23 12:42:59 CEST 2020


>>No. I mean you store all subnets and IPs in subnets.cfg, so why do we need/want IPAM plugins?

oh ok sorry.

No,no, I don't want to store ips in subnets.cfg, it's done in ipam.  (or it could be done in a localipam database if no ipam exist).

the "allocation-pools" option, was for: in this subnet, I'm only allowing this range of ip address.  (Maybe cause some ips in this subnets are not registered in ipam, reserved for other thing).
It's more a filter.

But thinking about this, this can be hard with ipam "find next free ip" api. I have looked in differents ipam drivers, and this kind of filtering is almost never implemented.
So you need to retrieve full subnet, and find yourself the next free ip. (good luck with ipv6 /56 ;)

I think we can forget this allocation-pools option for now.



----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Mardi 23 Juin 2020 11:37:43
Objet: Re: [pve-devel] RFC: sdn: add ip management (IPAM -DHCP) ideas

> >>But you already mange subnets and allocation pools in subnets.cfg, so what it the purpose 
> >>of those ipam plugins? I am unable to see the point? Keeping those reservations in sync 
> >>looks hard to me. 
> 
> do you mean sync between dhcp && ipam ? 

No. I mean you store all subnets and IPs in subnets.cfg, so why do we need/want IPAM plugins? 




More information about the pve-devel mailing list