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

Re: [Xen-API] New API Document and C Bindings



On Fri, Sep 15, 2006 at 04:00:07PM +0100, Daniel P. Berrange wrote:

> > Thanks. So if John's "class hierarchy" were really a recursive 
> > representation (as mentioned previously), that would be equivalent to your 
> > "overlapping sets"? e.g., host_CPUs == VCPUs on a domU.
> 
> No they are not equivalent. There are scenarios you can represent with
> overlapping sets which you can't represent in a hierarchy.  Consider
> three sets  A, B, C.  A overlaps with B, B overlaps with C, and C overlaps
> with A - there's no way to represent that as a hierarchy - hierarchies
> can only represent directed, a-cyclic graphs - overlapping sets are 
> non-directional cyclic graphs.

Well, that wasn't really what I meant. Merely that there's a general notion of
domain, then some further specification. And a set of flags meets this model
just fine, it's not necessary to explicitly model class relationships in the
API.

regards
john

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.