class OpenNebula::ZonePool

Constants

ZONE_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/zone_pool.rb, line 35
def initialize(client)
    super('ZONE_POOL','ZONE',client)
end

Public Instance Methods

factory(element_xml) click to toggle source

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

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

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

otherwise
Calls superclass method OpenNebula::Pool#info
# File lib/opennebula/zone_pool.rb, line 52
def info()
    super(ZONE_POOL_METHODS[:info])
end
Also aliased as: info!
info!()
Alias for: info
info_all() click to toggle source
Calls superclass method OpenNebula::Pool#info_all
# File lib/opennebula/zone_pool.rb, line 56
def info_all()
    return super(ZONE_POOL_METHODS[:info])
end
Also aliased as: info_all!
info_all!()
Alias for: info_all
info_group() click to toggle source
Calls superclass method OpenNebula::Pool#info_group
# File lib/opennebula/zone_pool.rb, line 64
def info_group()
    return super(ZONE_POOL_METHODS[:info])
end
Also aliased as: info_group!
info_group!()
Alias for: info_group
info_mine() click to toggle source
Calls superclass method OpenNebula::Pool#info_mine
# File lib/opennebula/zone_pool.rb, line 60
def info_mine()
    return super(ZONE_POOL_METHODS[:info])
end
Also aliased as: info_mine!
info_mine!()
Alias for: info_mine