[libvirt] [RFC] why netcf/libvirt lists/dumpxml only unslaved/unsubordinated interfaces?

Daniel P. Berrange berrange at redhat.com
Tue Nov 15 11:18:41 UTC 2016


On Tue, Nov 15, 2016 at 02:13:01PM +0300, Nikolay Shirokovskiy wrote:
> It could be useful to dumpxml of slaves/subordinates too to introspect
> host interfaces tree in dephts. Now it is not possible:
> 'Interface eth0 does not exist or is not a toplevel interface'.
> Has it some deeper meaning or netcf can be enhanced? (and *libvirt* as well).

The netcf API / libvirt Interface APIs are designed to work against the
concept of logical network connections, which may comprise multiple
physical interfaces. They are explicitly *not* a way to query all
individual physical interfaces - that's what libvirt's node device APIs
are for.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|




More information about the libvir-list mailing list