[netcf-devel] [libvirt] [RFC] Reporting host interface status/statistics via netcf/libvirt, and listing active vs. inactive interfaces
Daniel P. Berrange
berrange at redhat.com
Fri Jun 19 18:50:41 UTC 2009
On Fri, Jun 19, 2009 at 08:19:24PM +0200, Daniel Veillard wrote:
> On Fri, Jun 19, 2009 at 05:39:57PM +0100, Daniel P. Berrange wrote:
> > On Thu, Jun 18, 2009 at 05:53:59PM +0000, David Lutterkort wrote:
> > 5. Physical NIC + 2 * vlan
> >
> > <interface type="ethernet">
> > <name>eth0</name>
> > </interface>
> >
> > <interface type="vlan">
> > <name>vlan42</name>
> > <vlan tag='42'>
> > <interface type='ethernet'>
> > <name>eth0</name>
> > </inteface>
> > </vlan>
> > </inteface>
> >
> > <interface type="vlan">
> > <name>vlan48</name>
> > <vlan tag='48'>
> > <interface type='ethernet'>
> > <name>eth0</name>
> > </inteface>
> > </vlan>
> > </inteface>
>
> Does this mean 3 calls to the API ? Because as-is this is not XML
> obviously...
Yes. See my python code example in my other reply..
Regards,
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list