
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 34 34: def initialize(client) 35: super('HOST_POOL','HOST',client) 36: end
Public instance methods
factory
(element_xml)
[show source]
# File OpenNebula/HostPool.rb, line 39 39: def factory(element_xml) 40: OpenNebula::Host.new(element_xml,@client) 41: end
info
()
Retrieves all the Hosts in the pool.
[show source]
# File OpenNebula/HostPool.rb, line 48 48: def info() 49: super(HOST_POOL_METHODS[:info]) 50: end