[occi-wg] Enumerations for attributes

Edmonds, AndrewX andrewx.edmonds at intel.com
Thu Apr 14 06:59:01 CDT 2011


This is needed, especially on reviewing the resource template mixins. They
need a way to advertise the value that a particular attribute will have if a
particular template is selected. Can you open an item in the tracker for
this?

Andy

-----Original Message-----
From: occi-wg-bounces at ogf.org [mailto:occi-wg-bounces at ogf.org] On Behalf Of
Gary Mazz
Sent: Thursday, April 14, 2011 12:03 PM
To: occi-wg at ogf.org
Subject: [occi-wg] Enumerations for attributes

Hi,

I know we said we were going to defer this topic, ... but the actions 
now have a attribute called "method" method has  enumerated values 
associated with them.. We need a way to define these values/options.

We could use the  brace []  since the curly braces are in use for 
delimiting attribute properties.

 > POST /compute/?action=stop HTTP/1.1
 > [...]
 > Category: stop; scheme="[...]"; class="action";
 > X-OCCI-Attribute: method=poweroff["graceful", "acpioff", "poweroff"]

With method undefined
 > POST /compute/?action=stop HTTP/1.1
 > [...]
 > Category: stop; scheme="[...]"; class="action";
 > X-OCCI-Attribute: method=["graceful", "acpioff", "poweroff"]

cheers
gary
_______________________________________________
occi-wg mailing list
occi-wg at ogf.org
http://www.ogf.org/mailman/listinfo/occi-wg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5213 bytes
Desc: not available
Url : http://www.ogf.org/pipermail/occi-wg/attachments/20110414/82223b31/attachment.bin 
-------------- next part --------------
-------------------------------------------------------------
Intel Ireland Limited (Branch)
Collinstown Industrial Park, Leixlip, County Kildare, Ireland
Registered Number: E902934

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


More information about the occi-wg mailing list