deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject More CIMI models
Date Mon, 14 Nov 2011 15:09:26 GMT
Hi,

This patches should add MachineImage and MachineConfiguration to new CIMI
object model.

There are few 'todo' items:

1. The '.properties/.property' is not correctly parsed when importing from JSON
2. In CIMI specification there is no indication about how property value should
   be stored. I assume that there will be a key called 'value' in JSON hash
3. The 'memory' property is reported as Array in XML and as single item in JSON

Also one issue which I didn't get:

class MachineImage
  scalar :image_location
end

img.image_location[0]['href'].should == 'nfs://cimi.example.com/images/1.img'

Is 'scalar' automatically being converted to an Array?

Thanks,

 -- Michal



Mime
View raw message