Method: OpenNebula::ImagePool#info

Defined in:
lib/OpenNebula/ImagePool.rb

#info(*args) ⇒ Object

Retrieves all or part of the VirtualMachines in the pool.



53
54
55
56
57
58
59
60
# File 'lib/OpenNebula/ImagePool.rb', line 53

def info(*args)
    case args.size
        when 0
            info_filter(IMAGE_POOL_METHODS[:info],@user_id,-1,-1)
        when 3
            info_filter(IMAGE_POOL_METHODS[:info],args[0],args[1],args[2])
    end
end