class OpenNebula::ClusterPool
Constants
- CLUSTER_POOL_METHODS
- DEFAULT_CLUSTER_ID
- NONE_CLUSTER_ID
-
Constants and Class attribute accessors
Public Class Methods
Source
# File lib/opennebula/cluster_pool.rb, line 38 def initialize(client) super('CLUSTER_POOL','CLUSTER',client) end
client
a Client
object that represents a XML-RPC connection
Calls superclass method
Public Instance Methods
Source
# File lib/opennebula/cluster_pool.rb, line 43 def factory(element_xml) OpenNebula::Cluster.new(element_xml,@client) end
Factory method to create Cluster
objects
Source
# File lib/opennebula/cluster_pool.rb, line 52 def info() super(CLUSTER_POOL_METHODS[:info]) end
Retrieves all the Clusters in the pool.
Calls superclass method
Also aliased as: info!
Source
# File lib/opennebula/cluster_pool.rb, line 56 def info_all() return super(CLUSTER_POOL_METHODS[:info]) end
Calls superclass method
Also aliased as: info_all!
Source
# File lib/opennebula/cluster_pool.rb, line 64 def info_group() return super(CLUSTER_POOL_METHODS[:info]) end
Calls superclass method
Also aliased as: info_group!
Source
# File lib/opennebula/cluster_pool.rb, line 60 def info_mine() return super(CLUSTER_POOL_METHODS[:info]) end
Calls superclass method
Also aliased as: info_mine!