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:
commit
145b917cdf
2 changed files with 12 additions and 6 deletions
|
@ -190,15 +190,19 @@ module Fog
|
||||||
:security_groups => {},
|
:security_groups => {},
|
||||||
:addresses => {},
|
:addresses => {},
|
||||||
:quota => {
|
:quota => {
|
||||||
'metadata_items' => 128,
|
'security_group_rules' => 20,
|
||||||
'key_pairs' => 10,
|
'security_groups' => 10,
|
||||||
'injected_file_content_bytes' => 10240,
|
'injected_file_content_bytes' => 10240,
|
||||||
'injected_file_path_bytes' => 256,
|
'injected_file_path_bytes' => 256,
|
||||||
'injected_files' => 5,
|
'injected_files' => 5,
|
||||||
'ram' => 51200,
|
'metadata_items' => 128,
|
||||||
'floating_ips' => 10,
|
'floating_ips' => 10,
|
||||||
'instances' => 10,
|
'instances' => 10,
|
||||||
'cores' => 20,
|
'key_pairs' => 10,
|
||||||
|
'gigabytes' => 5000,
|
||||||
|
'volumes' => 10,
|
||||||
|
'cores' => 20,
|
||||||
|
'ram' => 51200
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
|
@ -13,6 +13,8 @@ Shindo.tests('Fog::Compute[:openstack] | quota requests', ['openstack']) do
|
||||||
'cores' => Fixnum,
|
'cores' => Fixnum,
|
||||||
'security_groups' => Fog::Nullable::Integer,
|
'security_groups' => Fog::Nullable::Integer,
|
||||||
'security_group_rules' => Fog::Nullable::Integer,
|
'security_group_rules' => Fog::Nullable::Integer,
|
||||||
|
'volumes' => Fog::Nullable::Integer,
|
||||||
|
'gigabytes' => Fog::Nullable::Integer,
|
||||||
'id' => String
|
'id' => String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue