[pve-devel] [PATCH container/manager/network] RFC: lxc: add ipam support

Alexandre Derumier aderumier at odiso.com
Mon May 10 17:37:06 CEST 2021


This patch serie add ipam support to lxc for ipam enabled zone.

The current implementation:
 - vnet with ipam enabled:
   - ip=static && value=empty: ip is auto assign from ipam
   - ip=static when defined ip manually: - ip will registered to ipam
                                         - verify than ip match an associated subnet
 - vnet without ipam enable:
   - ip=static when defined ip manually: verify than ip match an associated subnet

Alexandre Derumier (1):
  add ipam support

 src/PVE/LXC.pm        |   3 +
 src/PVE/LXC/Config.pm | 168 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 171 insertions(+)

Alexandre Derumier (1):
  sdn: get_local_vnets : add ipam && vlanaware values

 PVE/Network/SDN.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Alexandre Derumier (1):
  ui: lxc: network: sdn display improvements

 www/manager6/form/BridgeSelector.js |  2 +-
 www/manager6/lxc/Network.js         | 34 +++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 1 deletion(-)
-- 
2.20.1





More information about the pve-devel mailing list