OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.23k stars 479 forks source link

Allow address ranges to be marked as 'no auto-allocate' #4030

Open mzealey opened 4 years ago

mzealey commented 4 years ago

Description We are migrating a large cluster of servers over many different networks/vlans to ONE. We don't want sysadmins to accidentally create a new server on ONE with an IP address of an existing server during this time. It would be nice to be able to set up most vlans with IPv4 address ranges but have a tickbox to say 'do not auto-allocate addresses from this range' so that allocation can only happen by someone specifying the IP address when network interface is added to the VM creation.

We could potentially do this using reservations but would have to delete each reservation and then create the vm with that IP address which seems not very user-friendly.

Progress Status

tinova commented 4 years ago

Would any of the following cover your use case:

we want to keep the code as simple as possible

mzealey commented 4 years ago

yeah we ended up having to write a script to create ip ranges and mark them all as held. it's still pretty annoying to have to do this though

tinova commented 4 years ago

ok, i'm adding this to the backlog, thanks for the feedback