[Libguestfs] [PATCH API PROPOSAL 0/2] inspection: Add network interfaces to inspection data.
Pino Toscano
ptoscano at redhat.com
Mon Oct 1 17:00:17 UTC 2018
On Monday, 1 October 2018 13:28:26 CEST Richard W.M. Jones wrote:
> As part of the fix for:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1626503
>
> I'm proposing to add two new APIs to fetch information about the list
> of network interfaces of an existing guest. These two patches outline
> the proposed API but with no implementation or tests. However they
> can be applied and compiled.
>
> Please see the second patch for the proposed API.
>
> I have a mostly working implementation for Red Hat-style ifcfg-*
> files, and both Debian /etc/network/interfaces and Windows registry
> look do-able using the same architecture.
It is hard to see whether this API is enough to cover the use case,
without an actual implementation.
I remember RFCs for virt-builder/virt-customize to change the network
configuration of a guest, and even just determining the actual
configuration that a guest will have is very hard: you can have
multiple network-related daemon installed in the guest, different
available configurations (even stale ones, if they were not cleaned
when their system was removed), and so on.
Hence, I am notsure whether trying to get any data is better than just
not provide any at all...
--
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20181001/3721518f/attachment.sig>
More information about the Libguestfs
mailing list