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

OpenStack: Remove volumes from limits tests.

OpenStack Grizzly no longer supports volumes. This removes
the volume settings from the OpenStack limits tests and Mock
.

This change has will has no effect on users of previous of
Fog for previous releases (Folsom, etc) but should allow
us to easily support the latest upstream codebase and run
Fog *real* tests.
This commit is contained in:
Dan Prince 2012-11-29 13:02:49 -05:00
parent c6518ee3b1
commit f8f22ea4e1
2 changed files with 0 additions and 8 deletions

View file

@ -63,19 +63,15 @@ module Fog
'maxPersonalitySize' => 10240, 'maxPersonalitySize' => 10240,
'maxSecurityGroupRules' => 20, 'maxSecurityGroupRules' => 20,
'maxTotalKeypairs' => 100, 'maxTotalKeypairs' => 100,
'maxTotalVolumes' => 10,
'maxSecurityGroups' => 10, 'maxSecurityGroups' => 10,
'maxTotalCores' => 20, 'maxTotalCores' => 20,
'maxTotalFloatingIps' => 10, 'maxTotalFloatingIps' => 10,
'maxTotalVolumeGigabytes' => 1000,
'maxTotalRAMSize' => 51200, 'maxTotalRAMSize' => 51200,
# Used # Used
'totalVolumesUsed' => 0,
'totalCoresUsed' => -1, 'totalCoresUsed' => -1,
'totalRAMUsed' => -2048, 'totalRAMUsed' => -2048,
'totalInstancesUsed' => -1, 'totalInstancesUsed' => -1,
'totalVolumeGigabytesUsed' => 0,
'totalSecurityGroupsUsed' => 0, 'totalSecurityGroupsUsed' => 0,
'totalKeyPairsUsed' => 0 'totalKeyPairsUsed' => 0
} }

View file

@ -21,17 +21,13 @@ Shindo.tests('Fog::Compute[:openstack] | limits requests', ['openstack']) do
'maxPersonalitySize' => Fixnum, 'maxPersonalitySize' => Fixnum,
'maxSecurityGroupRules' => Fixnum, 'maxSecurityGroupRules' => Fixnum,
'maxTotalKeypairs' => Fixnum, 'maxTotalKeypairs' => Fixnum,
'maxTotalVolumes' => Fixnum,
'maxSecurityGroups' => Fixnum, 'maxSecurityGroups' => Fixnum,
'maxTotalCores' => Fixnum, 'maxTotalCores' => Fixnum,
'maxTotalFloatingIps' => Fixnum, 'maxTotalFloatingIps' => Fixnum,
'maxTotalVolumeGigabytes' => Fixnum,
'maxTotalRAMSize' => Fixnum, 'maxTotalRAMSize' => Fixnum,
'totalVolumesUsed' => Fixnum,
'totalCoresUsed' => Fixnum, 'totalCoresUsed' => Fixnum,
'totalRAMUsed' => Fixnum, 'totalRAMUsed' => Fixnum,
'totalInstancesUsed' => Fixnum, 'totalInstancesUsed' => Fixnum,
'totalVolumeGigabytesUsed' => Fixnum,
'totalSecurityGroupsUsed' => Fixnum, 'totalSecurityGroupsUsed' => Fixnum,
'totalKeyPairsUsed' => Fixnum 'totalKeyPairsUsed' => Fixnum
} }