
On Mon, 7 May 2012 13:45:45 +0200, Andy Edmonds <andy@edmonds.be> wrote:
Ok this reflects what I had understood, I hope! :p
The case that my question arose out of was the following:
- user creates a user defined mixin (UDM), which is used later to group resources. - the formulation of the UDM mixin includes a related mixin (a security group mixin). - when the request is received by the server side the fact that there is a rel value signals that additional processing may be required (in this case, yes) to satisfy the completion of the request.
Yes, that is the way I would interpret it as well. A rel would cause the server to check if the client is allowed to create a Mixin with the requested relation. A "rel" pointing to a Kind would cause a Bad Request for example. regards, Ralf
Andy andy.edmonds.be
On Mon, Apr 23, 2012 at 16:57, Ralf Nyren <ralf@nyren.net> wrote:
Andy, you asked about whether a Mixin related to another Mixin will inherit the attributes.
Please look at OCCI Core page 9:
"Mixin Relationships A Mixin instance MAY be related to another Mixin instance for type classification purposes. For example a set of operating system templates, implemented
as
Mixin instances, could be related to an “OS-template” Mixin in order to help identification.
Attributes and Actions defined by different Mixin instances are combined when Mixin relationships are present. ^^^^^^^^^^^
Therefore a resource instance associated with a particular Mixin will receive the additional capabilities defined by any related Mixin instances as well as those defined by the Mixin associated."
Does this cover what you were after? Maybe it is unclear that "capabilities" refer to attributes as well?
regards, Ralf _______________________________________________ occi-wg mailing list occi-wg@ogf.org https://www.ogf.org/mailman/listinfo/occi-wg