feature #1112: VDCs are now defined by a set of Hosts, Datastores and Networks from a Cluster of a given Zone. Users are not granted to create new networks. Hosts does not need to be unique

This commit is contained in:
Ruben S. Montero committed 2012-03-16 05:23:51 +01:00
1 parent 2eec562361
commit 2fe4daa875
6 files changed
+194 -167

No files matched your search

+12 -3
View File
@@ -37,7 +37,7 @@ class CloudServer
##########################################################################
# Public attributes
##########################################################################
attr_reader :config, :logger
attr_reader :config
# Initializes the Cloud server based on a config file
# config_file:: _String_ for the server. MUST include the following
@@ -47,9 +47,18 @@ class CloudServer
# XMLRPC
def initialize(config, logger=nil)
# --- Load the Cloud Server configuration file ---
@config = config
@logger = logger
@config = config
@@logger = logger
end
def self.logger
return @@logger
end
def logger
return @@logger
end
#
# Prints the configuration of the server
#