mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
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:
1 parent
2eec562361
commit
2fe4daa875
6 files changed
+194
-167
No files matched your search
@@ -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
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user