1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

Feature #862: Change the default pool info filter flag to ALL in EC2 and OCCI cloud servers

This commit is contained in:
Carlos Martín 2012-01-05 19:01:50 +01:00
parent 230252f0b4
commit 3dfc0a5fde
2 changed files with 3 additions and 3 deletions

View File

@ -111,7 +111,7 @@ class EC2QueryServer < CloudServer
end
def describe_images(params)
user_flag = OpenNebula::Pool::INFO_GROUP
user_flag = OpenNebula::Pool::INFO_ALL
impool = ImagePool.new(@client, user_flag)
impool.info
@ -170,7 +170,7 @@ class EC2QueryServer < CloudServer
end
def describe_instances(params)
user_flag = OpenNebula::Pool::INFO_MINE
user_flag = OpenNebula::Pool::INFO_ALL
vmpool = VirtualMachinePool.new(@client, user_flag)
vmpool.info

View File

@ -41,7 +41,7 @@ require 'pp'
COLLECTIONS = ["compute", "instance_type", "network", "storage"]
# FLAG that will filter the elements retrieved from the Pools
POOL_FILTER = Pool::INFO_GROUP
POOL_FILTER = Pool::INFO_ALL
class OCCIServer < CloudServer
# Server initializer