
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 34 34: def initialize(client) 35: super('CLUSTER_POOL','CLUSTER',client) 36: end
Public instance methods
factory
(element_xml)
Factory method to create User objects
[show source]
# File OpenNebula/ClusterPool.rb, line 39 39: def factory(element_xml) 40: OpenNebula::Cluster.new(element_xml,@client) 41: end
info
()
Retrieves all the Clusters in the pool.
[show source]
# File OpenNebula/ClusterPool.rb, line 48 48: def info() 49: super(CLUSTER_POOL_METHODS[:info]) 50: end