
Hey Ralf,
From my reasoning on the model contained within the core specification, I arrived at this UML model rendering [1], which was part of the OCCI Implementer and Integrator presentation at OGF28 [2]. Do note that a) the relationships are SLA@SOI specific and so too is the class "ProvisionRequest".
To your first question, for me it would be very useful and expressive for categories to form an acyclical directed graph and as such the category relationship would be M:M. This is what we'll do in the SLA@SOIimplementation. Regarding your second question, yes a Resource (kind) can be assigned to many different categories but do note, as a minimum, it must be associated with it's Kind category (compute, storage, network). In the SLA@SOIimplementation, we create a kind and associate it with, amongst others, a compute and virtual category. Doing this allows us to describe our physical and virtual infrastructure "landscape" without little change to the model. HTH, Andy andy.edmonds.be [1] http://dl.dropbox.com/u/165239/eu.slasoi.infrastructure.occi.png [2] http://dl.dropbox.com/u/165239/occi-impl-guide.pdf On Wed, Mar 31, 2010 at 15:28, Ralf Teckelmann ( Ralf.Teckelmann@hs-furtwangen.de) <Ralf.Teckelmann@hs-furtwangen.de> wrote:
Hello everybody,
I have some little questions about the OCCI Model descripted in occi-core.pdf and occi-infrastructure.pdf.
I'm looking at the abstract "levels" of this model at the moment.
This is what I got from these papers:
We have the resources as concrete entities at the lowest level in the tree. These resource are grouped in categories. A Category belongs to a certain scheme. And on the top of the Model is the "Root" allowing multiply schemes.
Or in a top-down way: / --> scheme (1..n) --> category (3..n)--> resource (0..n)
What I can't adept is:
Is it possible to have sub-categories within a category?
Let's say I want to build a little structure below the "Compute" category within the (Standard) "Kinds" scheme. For example I have 2 different forms (avoiding the word kinds) of computing resources I want to structure into 2 sub-categories.
Can a resource be part of multiple categories?
Let's say I have a couple of resources, which are grouped under the "Compute" category, but I also want them to have a place or appear below another category of another scheme.
For example I want to have my own scheme reflecting my virtual infrastructure in any way, so my VMs should appear in both schemes. In one as pure VMs and in the other one for example in relation to other resources (e.g. as part of a cluster).
Best regards,
Ralf
_______________________________________________ occi-wg mailing list occi-wg@ogf.org http://www.ogf.org/mailman/listinfo/occi-wg