[occi-wg] OCCI Latest Draft

Gary Mazz garymazzaferro at gmail.com
Tue Jul 7 05:53:36 CDT 2009


We may want to consider 2 additional  properties for storage.

Name: It is used to identify the storage object
MountPoint: It is used to identify the storage object presentation to the OS

These are very rough equivalents to vlan and IP address respectively...

-gary

shlomo.swidler at gmail.com wrote:
> Ah, got it. The [] designation just indicates that the
> occi.network.ipv4 element represents a collection. The specific
> addressing mechanism for elements in the collection is
> rendering-specific.
>
> Thanks.
>
> On Tue, Jul 7, 2009 at 1:10 PM, Sam Johnston<samj at samj.net> wrote:
>   
>> Hi Shlomo,
>>
>> On Tue, Jul 7, 2009 at 9:49 AM, <shlomo.swidler at gmail.com> wrote:
>>     
>>> Question about the Network Attributes table:
>>>
>>> occi.network.ipv4[].gateway
>>>
>>> Does the [] represent array indexation? If so, are the indexes
>>> designated by the occi.network.vlan-id ?
>>>       
>> Yes and no (in that order). The 802.1q vlan-id is an optional parameter that
>> specifies one way for the virtual network should be connected to the real
>> world. The indexes are natural for json and xml but less so for text...
>> thinking something like:
>>
>> TXT:
>> occi.network.ipv4[0].gateway = 192.168.0.1
>>
>> JSON:
>> {
>>   "occi": {
>>     "network": {
>>       "ipv4: [
>>         { "gateway": "192.168.0.1"
>>
>> XML:
>> <occi>
>>   <network>
>>     <ipv4>
>>         <gateway>192.168.0.1</gateway>
>>
>> Sam
>>
>>
>>     
> _______________________________________________
> 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