diff options
author | Eamonn O'Toole <eamonn.otoole@hpe.com> | 2017-03-03 14:30:50 +0000 |
---|---|---|
committer | Alvaro <alvaro.saurin@gmail.com> | 2017-12-14 12:52:41 +0100 |
commit | 7b2adfc1f28d76399d63aaf50ff914268efbb87a (patch) | |
tree | d7bbeace25610659938b777ae6c0bf3d2c1ba03b /vendor | |
parent | 8aa37bc03ce12e487d8a4d1ba9df56355da235ea (diff) | |
download | terraform-provider-libvirt-7b2adfc1f28d76399d63aaf50ff914268efbb87a.tar terraform-provider-libvirt-7b2adfc1f28d76399d63aaf50ff914268efbb87a.tar.gz |
Add new method to get information on domain interfaces
We've found that, when executing destroy/create cycles on
a domain where the virtual network(s) to which it is attached
are persisted across these cycles then we get network failures
on recreation of the domain since the old entries for
the domain are still present in the virtual network(s). This issue
should (hopefully) be fixed by commit
a20d2a92668b2d5e077267c50074bf853ef371d. We've also found that,
on occasion, we don't get complete information on a domain's
interfaces from ListAllInterfaceAddresses. This patch implements
a new method getDomainInterfacesFromNetworks which is called from
domainGetIfacesInfo after the qemu agent method has been used if
the qemu agent method doesn't return any information. This new
method builds the interface information from information collected
from the networks themselves.
Change-Id: I5271ee191db93b2b1a0f14dc226d0b945f77a901
Diffstat (limited to 'vendor')
0 files changed, 0 insertions, 0 deletions