[occi-wg] Enumerations for attributes
Gary Mazz
garymazzaferro at gmail.com
Thu Apr 14 06:03:29 CDT 2011
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
More information about the occi-wg
mailing list