class OpenNebula::ClusterPool

Constants

CLUSTER_POOL_METHODS
DEFAULT_CLUSTER_ID
NONE_CLUSTER_ID

Constants and Class attribute accessors

Public Class Methods

new(client) click to toggle source

client a Client object that represents a XML-RPC connection

Calls superclass method
# File lib/opennebula/cluster_pool.rb, line 38
def initialize(client)
    super('CLUSTER_POOL','CLUSTER',client)
end

Public Instance Methods

factory(element_xml) click to toggle source

Factory method to create Cluster objects

# File lib/opennebula/cluster_pool.rb, line 43
def factory(element_xml)
    OpenNebula::Cluster.new(element_xml,@client)
end
info() click to toggle source

Retrieves all the Clusters in the pool.

Calls superclass method
# File lib/opennebula/cluster_pool.rb, line 52
def info()
    super(CLUSTER_POOL_METHODS[:info])
end
Also aliased as: info!
info!()
Alias for: info