[Kimchi-devel] [RFC] Hotplug a VM network interface

Aline Manera alinefm at linux.vnet.ibm.com
Wed Apr 1 20:01:06 UTC 2015


+1

On 30/03/2015 20:03, Crístian Viana wrote:
> Hi,
>
> I'd like to propose a new feature to hotplug a network interface to a 
> running VM.
>
> A similar feature is already available for stopped VMs by selecting a 
> VM and clicking on "Actions" > "Edit", tab "Interface"; the user is 
> able to add or remove a network interface in that dialog. However, if 
> the VM is running, that tab disables the buttons to add and remove 
> network interfaces. This feature will allow those two operations to be 
> performed also on running VMs.
>
> The API for adding and removing network interfaces to a VM already exist:
>
> POST /vms/<vm>/ifaces {<iface data>}
> DELETE /vms/<vm>/ifaces/<iface>
>
> However, they currently raise an exception when the VM is running. 
> This feature will use those same commands in order to hotplug a 
> network interface, keeping the existing REST interface.
>
> Any feedback will be very welcome.
>
> Best regards,
> Crístian.
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel




More information about the Kimchi-devel mailing list