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

20 commits

Author SHA1 Message Date
Frederick Cheung
6e0d89f49f [serverlove|compute] fix serverlove tests for 1.8.7 compatibility 2012-09-04 21:56:05 +01:00
geemus
1c4693239b [serverlove|compute] fix serverlove tests for 1.8.7 compatibility 2012-09-04 15:49:09 -05:00
Sean Handley
31a5602669 Add a pseudorandom password generator for VNC. 2012-07-17 20:09:07 +02:00
Sean Handley
cfca6798d7 Need to wait for imaging to complete. 2012-07-16 21:30:03 +02:00
Sean Handley
7f8c8b445b Reduce from 80GB to 20GB - big enough, save space. 2012-07-16 21:01:21 +02:00
Sean Handley
759e43f058 Without setting SMP the web UI won't load :-/ 2012-07-16 20:50:27 +02:00
Sean Handley
d142bcd2cf Increase test drive size to accommodate a real
image.
2012-07-16 20:23:13 +02:00
Sean Handley
9feb2638fb Update allowed attributes and defaults. 2012-07-16 20:22:42 +02:00
Sean Handley
d34abe2a33 Allow DHCP assignment by default. 2012-07-15 18:04:33 +02:00
Sean Handley
212ea7b3ed Allow setting of memory and disk drives. 2012-07-15 17:27:44 +02:00
Sean Handley
b670d5e719 Added server power cycle actions + basic tests.
TODO: More complex scenarios, edges cases,
plus feedback tests for state following each
power cycle action.
2012-07-15 12:30:45 +02:00
Sean Handley
2f4ac6433e CRUDs + tests for servers. 2012-07-15 12:24:36 +02:00
Sean Handley
4fa4c6d79f Whitespace adjustments. 2012-07-15 12:23:49 +02:00
Sean Handley
743b95a827 Test that we can view servers. 2012-07-06 13:56:46 +01:00
Sean Handley
aaabc1d6a9 Shindo tests pass.
Turns out our UUIDs for pre-built drives are way out of date.
2012-06-22 16:26:11 +01:00
Sean Handley
14efc2f14c Added loading of standard image.
Currently not working:

    Expected(204) <=> Actual(404 Not Found)
      request => {:connect_timeout=>60, :headers=>{"Authorization"=>"Basic YWE4ZWIxYzktYzc4OC00MDlmLWJmZjQtYjAyMjVjMDE0MDQ1OkFkZ1hYSGVUTmY3TTJHR1l2NEI3WkpnWE1ISkJMY1E2dlJBejRZUUg=", "Accept"=>"application/json", "Host"=>"api.z1-man.serverlove.com:443", "Content-Length"=>0}, :instrumentor_name=>"excon", :mock=>false, :read_timeout=>60, :retry_limit=>4, :ssl_ca_file=>"/Users/seanhandley/.rvm/gems/ruby-1.9.3-p125@fog_gem/gems/excon-0.14.1/data/cacert.pem", :ssl_verify_peer=>true, :write_timeout=>60, :host=>"api.z1-man.serverlove.com", :path=>"/drives/aea15650-5001-4cb8-8146-8c9835f5b880/image/679f5f44-0be7-4745-a658-cccd4334c1aa", :port=>"443", :query=>nil, :scheme=>"https", :method=>"post", :expects=>204}
      response => #<Excon::Response:0x007ff661811848 @body="Operation failed: drive not found\n", @headers={"Server"=>"BaseHTTP/0.3 Python/2.6.6", "Date"=>"Fri, 22 Jun 2012 15:03:50 GMT", "X-Elastic-Error"=>"missing drive", "Connection"=>"close", "Content-Type"=>"text/plain"}, @status=404> (Excon::Errors::NotFound)
2012-06-22 16:09:17 +01:00
Sean Handley
d03bc6607e Added meaningful test for updating images. 2012-04-29 21:38:46 +01:00
Sean Handley
6ac5811189 Beginnings of tests for image operations. 2012-04-29 20:50:17 +01:00
Sean Handley
30520ae493 Beginnings of shin do request tests. 2012-04-29 17:59:24 +01:00
Sean Handley
a809a07178 Fog calls drives "images", rename for consistency. 2012-04-29 17:36:16 +01:00