public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [pve-network/qemu-server/pve-container/pve-manager] RFC: use ipam without dhcp
@ 2024-01-04 16:27 Alexandre Derumier
  2024-01-04 16:27 ` [pve-devel] [qemu-server 1/1] add_next_free_cidr: remove old dhcprange param Alexandre Derumier
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Alexandre Derumier @ 2024-01-04 16:27 UTC (permalink / raw)
  To: pve-devel

This patch serie add support to use ipam without dhcp.

Users could want to use ipam to manage cloudinit for example, or firewall rules,.. with
static assignement of ips in vm configuration

a new "ipamreservation" option is defined on zone

- Manual (undefined): user need to do manually the ips reservation
- Static: ip is auto assigned at vm create && removed at vm delete
- Dynamic: ip is auto assigned at vm start && removed at vm stop  (not yet implemented)


pve-network:

Alexandre Derumier (4):
  vnets: use ipam without dhcp
  vnets: add_next_free_cidr : skip if ipamreservation is not defined
  subnets: call add_range_next_freeip only if dhcp is defined
  api2: ipam status: display ipam zones without dhcp flag

 src/PVE/API2/Network/SDN/Ipams.pm |  2 +-
 src/PVE/Network/SDN/Subnets.pm    | 13 +++++++++----
 src/PVE/Network/SDN/Vnets.pm      | 12 ++++++------
 3 files changed, 16 insertions(+), 11 deletions(-)

qemu-server:

Alexandre Derumier (1):
  add_next_free_cidr: remove old dhcprange param

 PVE/QemuServer.pm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

pve-container:

Alexandre Derumier (1):
  add_next_free_cidr: remove old dhcprange param

 src/PVE/LXC.pm        | 8 ++++----
 src/PVE/LXC/Config.pm | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

pve-manager:

Alexandre Derumier (1):
  sdn: zones: add ipam reservation option.

 www/manager6/sdn/zones/Base.js | 12 ++++++++++++
 1 file changed, 12 insertions(+)

-- 
2.39.2




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-01-04 16:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-04 16:27 [pve-devel] [pve-network/qemu-server/pve-container/pve-manager] RFC: use ipam without dhcp Alexandre Derumier
2024-01-04 16:27 ` [pve-devel] [qemu-server 1/1] add_next_free_cidr: remove old dhcprange param Alexandre Derumier
2024-01-04 16:27 ` [pve-devel] [pve-manager 1/1] sdn: zones: add ipam reservation option Alexandre Derumier
2024-01-04 16:27 ` [pve-devel] [pve-network 1/4] vnets: use ipam without dhcp Alexandre Derumier
2024-01-04 16:27 ` [pve-devel] [pve-network 2/4] vnets: add_next_free_cidr : skip if ipamreservation is not defined Alexandre Derumier
2024-01-04 16:27 ` [pve-devel] [pve-network 3/4] subnets: call add_range_next_freeip only if dhcp is defined Alexandre Derumier
2024-01-04 16:27 ` [pve-devel] [pve-network 4/4] api2: ipam status: display ipam zones without dhcp flag Alexandre Derumier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal