
Constants
CLUSTER_POOL_METHODS | = | { :info => "clusterpool.info" } |
Constants and Class attribute accessors |
Public class methods
new
(client)
client a Client object that represents a XML-RPC connection
[show source]
# File OpenNebula/ClusterPool.rb, line 18 18: def initialize(client) 19: super('CLUSTER_POOL','CLUSTER',client) 20: end
Public instance methods
factory
(element_xml)
Factory method to create User objects
[show source]
# File OpenNebula/ClusterPool.rb, line 23 23: def factory(element_xml) 24: OpenNebula::Cluster.new(element_xml,@client) 25: end
info
()
Retrieves all the Clusters in the pool.
[show source]
# File OpenNebula/ClusterPool.rb, line 32 32: def info() 33: super(CLUSTER_POOL_METHODS[:info]) 34: end