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

8 commits

Author SHA1 Message Date
Paul Thornthwaite
8483a599f2 Remove trailing whitespace 2014-02-19 12:30:59 +00:00
Doug Henderson
5e170965d2 Fixes for AWS Mocking
lib/fog/aws.rb
Previously chose 4xRandom numbers between 0 and 999, now uses the Mock random_ip which returns numbers that will be within acceptable number range.
Old method was returning invalid numbers that then failed to pass range checks.

lib/fog/aws/requests/compute/associate_address.rb
Re-fetch address if we have to look up public-ip using allocation-id, otherwise it remains nil and the ip-address/instance aren't updated correctly.

lib/fog/aws/requests/compute/describe_addresses.rb
The allocate-address request uses allocation-id to look up ip address if allocation-id is given instead of public-ip, so added that as searchable in mock data.
2014-01-10 09:39:17 -08:00
Jesse Davis
e0f88c9c75 1620: Try to add some guards around possible nil objects based on associations in VPCs. 2013-03-09 14:33:19 -05:00
Eric Stonfer
d1fe83716d associate EIPs in a vpc 2012-02-21 09:12:56 -05:00
geemus
8a8b259a7e [compute|aws] move aws compute to its own shared area (namespacing should probably be corrected) 2011-08-24 20:38:13 -05:00
geemus
3be53104be [compute] consolidate 2011-01-07 16:52:09 -08:00
geemus
a963703309 fixes for/from specs/tests 2010-09-09 17:50:38 -07:00
geemus
58577e17bf [aws] rename ec2/s3 to compute/storage 2010-09-08 14:40:57 -07:00
Renamed from lib/fog/aws/requests/ec2/associate_address.rb (Browse further)