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

25 commits

Author SHA1 Message Date
Kyle Rames
18473c1db6 [digitalocean] Check to see if we have a digital ocean api key before attempting to delete servers 2013-04-03 10:47:31 -05:00
Sergio Rubio
7ee38ee2f6 [digitalocean|compute] Improved tests reliability
Better handling of power state related tests
2013-03-31 22:16:13 +02:00
Sergio Rubio
5e9034115b [digitalocean|compute] power_state_tests fixes
Do not wait for the server to be ready before running the tests since
the server may be powered off.
2013-03-31 22:16:13 +02:00
Sergio Rubio
db487f9b32 [digitalocean|compute] added SshKey model, collection and related tests 2013-03-31 22:16:12 +02:00
Sergio Rubio
7cb11d85bf [digitalocean|compute] added create_ssh_key request tests 2013-03-31 22:16:12 +02:00
Sergio Rubio
45ce6d0419 [digitalocean|compute] added get_ssh_key request and tests 2013-03-31 22:16:12 +02:00
Sergio Rubio
9397b368d3 [digitalocean|compute] added destroy_ssh_key request and tests 2013-03-31 22:16:12 +02:00
DoubleMalt
2dbf7eff37 changed status to state for conformity and fixed alias for flavor_id 2013-03-31 22:16:12 +02:00
Sergio Rubio
a7372e0351 [digitalocean|compute] improve power state tests reliability
power on/off actions are asyncronous and somewhat unreliable so waiting
for server state changes to validate tests does not help. Check only if
API returns OK when requesting and trust DigitalOcean is doing its
thing.
2013-03-31 22:16:12 +02:00
Sergio Rubio
a4c7cc460a [digitalocean|compute] power state tests fixes 2013-03-31 22:16:12 +02:00
Sergio Rubio
e99e66cf13 [digitalocean|compute] mark Server.power_cycle test as pending when mocking 2013-03-31 22:16:12 +02:00
Sergio Rubio
e8a3b1b475 [digitalocean|compute] do not run at_exit block when mocking 2013-03-31 22:16:11 +02:00
Sergio Rubio
6e0ece0863 [digitalocean|compute] mark Server.reboot test pending if mocking 2013-03-31 22:16:11 +02:00
Sergio Rubio
fb91eeabab [digitalocean|compute] added list_ssh_keys request tests 2013-03-31 22:16:11 +02:00
Sergio Rubio
e044a30972 [digitalocean|compute] server model test fixes 2013-03-31 22:16:09 +02:00
Sergio Rubio
f13544db08 [digitalocean|compute] list_servers request test fixes 2013-03-31 22:16:09 +02:00
Sergio Rubio
9a09b76159 [digitalocean|compute] string fixes 2013-03-31 22:16:09 +02:00
Sergio Rubio
c1e518c3b5 [digitalocean|compute] implemented missing Server actions
- shutdown
- stop
- start

Added required tests
2013-03-31 22:16:09 +02:00
Sergio Rubio
f83b4885e9 [digitalocean|compute] Implement missing requests
- power_off_server
- power_on_server
- shutdown_server

Added required tests
2013-03-31 22:16:09 +02:00
Sergio Rubio
f13abac61a [digitalocean|compute] Added Servers collection tests 2013-03-31 22:16:09 +02:00
Sergio Rubio
6fa4feacdc [digitalocean|compute] tests updates 2013-03-31 22:16:09 +02:00
Sergio Rubio
21b28ee589 [digitalocean|compute] Implement Server.power_cycle
- Added power_cycle_server request
- Added required tests
2013-03-31 22:16:09 +02:00
Sergio Rubio
06467aeec7 [digitalocean|compute] Implemented Server.reboot
- Added reboot_server request
- Added required tests
2013-03-31 22:16:09 +02:00
Sergio Rubio
7183f1e55c [digitalocean|compute] added test helpers 2013-03-31 22:16:08 +02:00
Sergio Rubio
f11926a5a2 [digitalocean|compute] initial release
DigitalOcean Compute Service Provider.
See https://www.digitalocean.com/api
2013-03-31 22:16:08 +02:00