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

6 commits

Author SHA1 Message Date
Pan Thomakos
e1f625f9f2 Added Fog::CurrentMachine#ip_address.
This function allows you to get the ip address of the current machine. I
found this useful because I wanted to add my personal or production
machine to a specific RDS security group. The call is quite simple and
connects to amazon's checkip website. The class is threadsafe and I have
included specs with it as well. I have also added the
Fog::AWS::RDS::SecurityGroup#authorize_me function to make adding the
current machine to a given RDS security group very easy.
2011-08-17 14:35:03 -07:00
Aaron Suggs
10c0b8006c [aws|rds] Allow string or symbol hash keys.
Server#modify and #create_read_replica allow
options to be passed as symbols or strings.

This allows the same hash of attributes to be used
for creating & modifying servers.

For example, the following lines are equivalent:
  server.modify(true, :allocated_storage => 10)
  server.modify(true, 'AllocatedStorage' => 10)
2011-07-30 23:12:29 -04:00
Christopher Oliver
4ecfb87419 [AWS RDS] Added describe db engine versions and describe db reserved instances. Changed the signed params version to 2011-04-01 from 2010-07-28. 2011-07-12 16:03:04 -04:00
Aaron Suggs
c95038bdc6 [aws|rds] Refactor RDS model & collection tests
Added tests for several models & collections.
2011-06-04 08:03:25 -04:00
Aaron Suggs
3e5d48a1c5 [aws|rds] Server#destroy argument is optional
By default Server#destroy does not take a final
snapshot.

This makes the Server#destroy API more consistent
with other models.
2011-06-04 07:54:24 -04:00
geemus
95ec1198b4 [aws|elb&rds] reorg model files for consistency 2011-05-11 12:27:27 -07:00