deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject More CIMI models
Date Mon, 14 Nov 2011 15:09:26 GMT

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

img.image_location[0]['href'].should == 'nfs://'

Is 'scalar' automatically being converted to an Array?


 -- Michal

View raw message