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


Reply via email to