class OpenNebula::DatastorePool
Constants
- DATASTORE_POOL_METHODS
Constants and Class attribute accessors
Public Class Methods
new(client)
click to toggle source
client
a Client object that
represents a XML-RPC connection
Calls superclass method
# File lib/opennebula/datastore_pool.rb, line 35 def initialize(client) super('DATASTORE_POOL','DATASTORE',client) end
Public Instance Methods
factory(element_xml)
click to toggle source
Factory method to create datastore objects
# File lib/opennebula/datastore_pool.rb, line 40 def factory(element_xml) OpenNebula::Datastore.new(element_xml,@client) end
info()
click to toggle source
Retrieves all the Groups in the pool.
Calls superclass method
# File lib/opennebula/datastore_pool.rb, line 49 def info() super(DATASTORE_POOL_METHODS[:info]) end
Also aliased as: info!
info_all()
click to toggle source
Calls superclass method
# File lib/opennebula/datastore_pool.rb, line 53 def info_all() return super(DATASTORE_POOL_METHODS[:info]) end
Also aliased as: info_all!
info_group()
click to toggle source
Calls superclass method
# File lib/opennebula/datastore_pool.rb, line 61 def info_group() return super(DATASTORE_POOL_METHODS[:info]) end
Also aliased as: info_group!
info_mine()
click to toggle source
Calls superclass method
# File lib/opennebula/datastore_pool.rb, line 57 def info_mine() return super(DATASTORE_POOL_METHODS[:info]) end
Also aliased as: info_mine!