OpenNebula / one

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

Change ETH* context parameters on live VMs #6605

Closed Aletibazo closed 4 weeks ago

Aletibazo commented 4 weeks ago

Description Currently, if you want to change the ETHX_METRIC attribute for a running VM you need to change the METRIC value on the VNET template and then detach / attach the NIC on the running VM in order for the change to apply on the guest OS. It would be useful to be able to change the ETH* contextualization attributes on a running VM, via the onevm updateconf command, so this way it's not needed to change the value on the VNET template.

Use case

Update the metric value when using VMs with multiple NICs, when a default gateway for each NIC attached is present. It would be useful to be able to update the values for the ETHX_METRIC after VMs have been instantiated.

Interface Changes Adding this option to Sunstone would also make sense, so users can also set the value from the GUI on live VMs. It would make sense to have the option in the Network tab for VMs.

Additional Context

Progress Status