deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@redhat.com
Subject [PATCH 10/10] CIMI: fix the order of toplevel entities in the cloud entry point
Date Fri, 21 Sep 2012 21:51:06 GMT
From: David Lutterkort <lutter@redhat.com>

---
 server/lib/cimi/models.rb |   27 +++++++++++++++------------
 1 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/server/lib/cimi/models.rb b/server/lib/cimi/models.rb
index e0a9544..fc9a291 100644
--- a/server/lib/cimi/models.rb
+++ b/server/lib/cimi/models.rb
@@ -23,29 +23,32 @@ require_relative './models/schema'
 require_relative './models/base'
 require_relative './models/collection'
 require_relative './models/errors'
+require_relative './models/action'
+require_relative './models/disk'
+require_relative './models/disk_collection'
+require_relative './models/machine_volume'
+require_relative './models/machine_volume_collection'
+
+# Toplevel entities; order matters as it determines the order
+# in which the entities appear in the CEP
 require_relative './models/cloud_entry_point'
 require_relative './models/resource_metadata'
+require_relative './models/machine'
 require_relative './models/machine_template'
-require_relative './models/machine_image'
 require_relative './models/machine_configuration'
-require_relative './models/action'
-require_relative './models/machine'
-require_relative './models/volume'
+require_relative './models/machine_image'
 require_relative './models/credential'
+require_relative './models/volume'
+require_relative './models/volume_template'
 require_relative './models/volume_configuration'
 require_relative './models/volume_image'
-require_relative './models/volume_template'
 require_relative './models/network'
-require_relative './models/network_configuration'
 require_relative './models/network_template'
-require_relative './models/routing_group'
-require_relative './models/routing_group_template'
+require_relative './models/network_configuration'
 require_relative './models/network_port'
 require_relative './models/network_port_template'
 require_relative './models/network_port_configuration'
 require_relative './models/address'
 require_relative './models/address_template'
-require_relative './models/disk'
-require_relative './models/disk_collection'
-require_relative './models/machine_volume'
-require_relative './models/machine_volume_collection'
+require_relative './models/routing_group'
+require_relative './models/routing_group_template'
-- 
1.7.7.6


Mime
View raw message