[occi-wg] Action description in resources

skible spam skible.spam at gmail.com
Thu Jul 19 14:43:21 EDT 2012


 Hi

First : THANKS FOR YOUR ANSWER
Second: The example is found in the link description page 9 of the OCCI
JSON rendering draft
Thrid: What i exactly wanna know is why actions are in a resource
description have an object form {title, href and category} while mixins or
kinds are just strings !


Le 07/07/2012 14:35, Andy Edmonds a écrit :

Where did you take the example from?
Looking at the example in isolation there is obviously a mistake. Title
should be "Enable.." rather than "Disable...". After that what's shown is
an array (JSON) of actions. The action in this case allows for the to be
enabled or "brought up" so that it is connected to a virtual network.

Andy
andy.edmonds.be


On Thu, Jul 5, 2012 at 11:27 AM, Mon SPAM <skible.spam at gmail.com> wrote:

> Hello,
> I came to find that Action description inside a Resource / Link
> description get this format :
> =======================================================
> "actions": [
> {
> "title": "Disable networkinterface",
> "href": "/networkinterface/22fe83ae-a20f-54fc-b436-cec85c94c5e8?action=up",
> "category": "http: //
> schemas.ogf.org/occi/infrastructure/networkinterface/action#
> }
> =======================================================
>
> And i don't understand what's the point of that !
> Can someone help me clear this up ?
>
> One more question : what do you mean by "HTTP Links" ?
> _______________________________________________
> occi-wg mailing list
> occi-wg at ogf.org
> https://www.ogf.org/mailman/listinfo/occi-wg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/occi-wg/attachments/20120719/2cd954e9/attachment.html>


More information about the occi-wg mailing list