deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1203326 - in /incubator/deltacloud/trunk/server: lib/cimi/model/machine_configuration.rb spec/cimi/data/machine_configuration.json spec/cimi/data/machine_configuration.xml
Date Thu, 17 Nov 2011 18:51:37 GMT
Author: mfojtik
Date: Thu Nov 17 18:51:37 2011
New Revision: 1203326

URL: http://svn.apache.org/viewvc?rev=1203326&view=rev
Log:
CIMI: Removed attachmentPoint and format from capacity in disk for MachineConfiguration model

Modified:
    incubator/deltacloud/trunk/server/lib/cimi/model/machine_configuration.rb
    incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.json
    incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.xml

Modified: incubator/deltacloud/trunk/server/lib/cimi/model/machine_configuration.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/cimi/model/machine_configuration.rb?rev=1203326&r1=1203325&r2=1203326&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/cimi/model/machine_configuration.rb (original)
+++ incubator/deltacloud/trunk/server/lib/cimi/model/machine_configuration.rb Thu Nov 17 18:51:37
2011
@@ -24,11 +24,11 @@ class CIMI::Model::MachineConfiguration 
 
   array :disks do
     struct :capacity do
-      scalar :format
       scalar :quantity
-      scalar :attachment_point
       scalar :units
     end
+    scalar :format
+    scalar :attachment_point
   end
 
   array :operations do

Modified: incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.json
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.json?rev=1203326&r1=1203325&r2=1203326&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.json (original)
+++ incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.json Thu Nov 17
18:51:37 2011
@@ -6,7 +6,7 @@
   "cpu": "2",
   "memory" : { "quantity": "1", "units": "gigabyte" },
   "disks" : [
-    { "capacity": { "quantity": "1", "units": "terabyte", "format": "ext4", "attachmentPoint":
"/" } }
+    { "capacity": { "quantity": "1", "units": "terabyte" } }
   ],
   "properties": [ { "architectore": "i386" } ],
   "operations": [

Modified: incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.xml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.xml?rev=1203326&r1=1203325&r2=1203326&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.xml (original)
+++ incubator/deltacloud/trunk/server/spec/cimi/data/machine_configuration.xml Thu Nov 17
18:51:37 2011
@@ -7,7 +7,7 @@
   <cpu>2</cpu>
   <memory quantity="1" units="gigabyte"/>
   <disk>
-    <capacity quantity="1" units="terabyte" format="ext4" attachmentPoint="/"/>
+    <capacity quantity="1" units="terabyte"/>
   </disk>
   <operation rel="edit" href="http://cimi.example.org/machine_configurations/1/edit"/>
   <operation rel="delete" href="http://cimi.example.org/machine_configurations/1/delete"/>



Mime
View raw message