class OpenNebula::VdcPool

Constants

VDC_POOL_METHODS

Constants and Class attribute accessors

Public Class Methods

new(client) click to toggle source

@param client [OpenNebula::Client] XML-RPC connection

Calls superclass method OpenNebula::Pool.new
# File lib/opennebula/vdc_pool.rb, line 35
def initialize(client)
    super('VDC_POOL','VDC',client)
end

Public Instance Methods

factory(element_xml) click to toggle source

Factory method to create Vdc objects @return [Vdc] new Vdc object

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

Retrieves all the VDCs in the pool. @return [nil, OpenNebula::Error] nil in case of success, Error

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