
Constants
HOST_POOL_METHODS | = | { :info => "hostpool.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/HostPool.rb, line 18 18: def initialize(client) 19: super('HOST_POOL','HOST',client) 20: end
Public instance methods
factory
(element_xml)
[show source]
# File OpenNebula/HostPool.rb, line 23 23: def factory(element_xml) 24: OpenNebula::Host.new(element_xml,@client) 25: end
info
()
Retrieves all the Hosts in the pool.
[show source]
# File OpenNebula/HostPool.rb, line 32 32: def info() 33: super(HOST_POOL_METHODS[:info]) 34: end