Re: [netcf-devel] [libvirt] [RFC] Reporting host interface status/statistics via netcf/libvirt, and listing active vs. inactive interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 19, 2009 at 06:13:37PM +0200, Daniel Veillard wrote:
> On Thu, Jun 18, 2009 at 10:50:10PM +0000, David Lutterkort wrote:
> > On Thu, 2009-06-18 at 20:48 +0100, Daniel P. Berrange wrote:
> > > On Thu, Jun 18, 2009 at 07:05:29PM +0100, Daniel P. Berrange wrote:
> > > > 
> > > > I think this is a really unpleasant format to deal with. IMHO there should
> > > > not be  nesting for <bridge>/<bond> tags. They should just refer to their
> > > > slave device by name. So that last example would be better shown as a set
> > > > of independant intefaces
> > > 
> > > Rationalizing the reason why I don't like this format. The relationship of
> > > NICs essentially forms a DAG. This format is attempting to define a tree
> > > from the POV of a single leaf node.
> > 
> > They do form a tree, with the exception of VLAN's: every other instance
> > of an interface can be contained/used by at most one other interface. We
> > need to treat VLAN's a little special, and allow them to reference
> > external (to the XML) interfaces.
> 
>   Trying to digest that long discussion maybe there is a solution:
> 
>   - Dan thin a pure tree representation is not sufficient to express
>     all relationships between interfaces
>   - Dave would like to preserve the ability run the checks on a single
>     XML instance
> 
> I think both can be accomodated but that requires a slight change of
> API, i.e. the XML will be able to define a set of interfaces. Basically
> we could do

Urgh, no I think that's even worse. I'd prefer either of the 2 options
we've currently discussed over that.

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 :|

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]