virsh attach-interface auto up
brent s.
bts at square-r00t.net
Sun Aug 9 03:26:35 UTC 2020
On 8/8/20 9:42 AM, Marc Roos wrote:
>
> I am doing a virsh detach-interface and an attach-interface. Is it
> possible to automatically bring the interface up after attaching it?
>
By coincidence, I was just playing with this with the python API.
The interface being brought up automatically, if I understand your
question correctly, depends on the OS of the guest having hotplug
support for the NIC you have selected for it.
It takes a couple seconds, but I can generally detach and re-attach an
interface in CentOS Linux, for instance, with only about a 2-5 second
hiccup in network traffic.
--
brent saner
https://square-r00t.net/
GPG info: https://square-r00t.net/gpg-info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20200808/2c86e9bc/attachment.sig>
More information about the libvirt-users
mailing list