1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #1332 from Keoven/update/quota-mocks

[openstack|compute] Update Quota Mocks based on Folsom Stable
This commit is contained in:
Dan Prince 2012-12-03 07:03:15 -08:00
commit 145b917cdf
2 changed files with 12 additions and 6 deletions

View file

@ -190,15 +190,19 @@ module Fog
:security_groups => {},
:addresses => {},
:quota => {
'metadata_items' => 128,
'key_pairs' => 10,
'security_group_rules' => 20,
'security_groups' => 10,
'injected_file_content_bytes' => 10240,
'injected_file_path_bytes' => 256,
'injected_files' => 5,
'ram' => 51200,
'floating_ips' => 10,
'instances' => 10,
'cores' => 20,
'metadata_items' => 128,
'floating_ips' => 10,
'instances' => 10,
'key_pairs' => 10,
'gigabytes' => 5000,
'volumes' => 10,
'cores' => 20,
'ram' => 51200
}
}
end

View file

@ -13,6 +13,8 @@ Shindo.tests('Fog::Compute[:openstack] | quota requests', ['openstack']) do
'cores' => Fixnum,
'security_groups' => Fog::Nullable::Integer,
'security_group_rules' => Fog::Nullable::Integer,
'volumes' => Fog::Nullable::Integer,
'gigabytes' => Fog::Nullable::Integer,
'id' => String
}