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:
parent
230252f0b4
commit
3dfc0a5fde
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user