[occi-wg] Edgy Resource Attributes during Creation

Gary Mazz garymazzaferro at gmail.com
Tue Apr 12 07:24:04 CDT 2011


Hi Ralf,

That should be clearly  communicated in the specs as well.

BTW, Trying to go though these specs pretending there is no intrinsic 
knowledge is much harder than it looks.. I how it pays off with more 
consistent implementations

-g

On 4/12/2011 12:17 AM, Ralf Nyren wrote:
> It depends on the multiplicity of the attributes (see e.g. OCCI
> Infrastructure).
>
> If an attribute is mutable and has a multiplicity greater than zero the
> client is supposed to supply it. If the client doesn't the OCCI server
> should return a Bad Request.
>
> On the other hand if the multiplicity is 0..x it is considered optional
> and it is up to the OCCI server to provide a sensible default.
>
> /Ralf
>
> On Mon, 11 Apr 2011 22:56:53 -0600, Gary Mazz<garymazzaferro at gmail.com>
> wrote:
>> Hi,
>>
>> One more edge..
>>
>> During resource creation, resource attributes are included with the
>> request.  OCCI defined resources have defined attributes.
>>
>> The question is what does the occi server do when insufficient
>> attributes are defined in the create request ? Does the create fail ?
>> Does the server populate the Resource with default values ? or does the
>> create complete missing some attributes.
>>
>> cheers
>> gary
>> _______________________________________________
>> occi-wg mailing list
>> occi-wg at ogf.org
>> http://www.ogf.org/mailman/listinfo/occi-wg



More information about the occi-wg mailing list