Paul Thornthwaite
|
80f27b434c
|
[serverlove|compute] Updates reference to service
|
2013-01-07 21:01:21 +00:00 |
|
Sean Handley
|
f62cda8212
|
Auto generate VNC password randomly.
|
2012-07-24 16:27:28 +01:00 |
|
Sean Handley
|
31a5602669
|
Add a pseudorandom password generator for VNC.
|
2012-07-17 20:09:07 +02:00 |
|
Sean Handley
|
858b561cea
|
Standard images need to be unzipped.
|
2012-07-16 21:29:47 +02:00 |
|
Sean Handley
|
759e43f058
|
Without setting SMP the web UI won't load :-/
|
2012-07-16 20:50:27 +02:00 |
|
Sean Handley
|
9feb2638fb
|
Update allowed attributes and defaults.
|
2012-07-16 20:22:42 +02:00 |
|
Sean Handley
|
70efaa16db
|
Key 'vnc:ip' was invalid.
Documentation incorrect again - key is actually
called 'vnc'.
|
2012-07-16 20:21:13 +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
|
b5a96c90e9
|
Contrary to the documentation, this actually
returns a 200 status rather than a 204.
|
2012-07-15 17:27:12 +02:00 |
|
Sean Handley
|
e805e7577b
|
Don't start servers by default.
This is handy if we haven't yet assigned a boot
disk.
|
2012-07-15 17:20:19 +02:00 |
|
Sean Handley
|
789816cf91
|
This was plain wrong - works now!
|
2012-07-15 17:19:53 +02:00 |
|
Sean Handley
|
6c0fd855cc
|
Need a mock server id.
|
2012-07-15 13:55:06 +02:00 |
|
Sean Handley
|
6bc724d9f3
|
Use get_server, not get_image.
|
2012-07-15 13:40:22 +02:00 |
|
Sean Handley
|
c74e39d9a8
|
Add new request methods to server object.
|
2012-07-15 13:40:03 +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
|
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
|
3831f81de7
|
Can't run shindo tests with old references.
|
2012-06-22 14:47:42 +01:00 |
|
James Rose
|
36b19d5ff1
|
Typo.
|
2012-06-22 11:06:36 +01:00 |
|
James Rose
|
873d969d9c
|
Merge changes. Begin server definitions.
|
2012-06-22 11:03:48 +01:00 |
|
Sean Handley
|
8fcee51407
|
Merge branch 'master' of github.com:jamesrose/fog
Conflicts:
lib/fog/providers.rb
lib/fog/serverlove/models/compute/drive.rb
|
2012-06-22 10:09:18 +01:00 |
|
Sean Handley
|
b8d57724ae
|
Merge branch 'master' of https://github.com/fog/fog
Conflicts:
lib/fog/compute.rb
lib/fog/providers.rb
|
2012-06-22 10:07:19 +01:00 |
|
Sean Handley
|
24b7ba1eab
|
Added get_image function.
|
2012-04-29 21:38:29 +01:00 |
|
Sean Handley
|
c66d55284c
|
Adding mock for easier testing.
|
2012-04-29 21:18:54 +01:00 |
|
Sean Handley
|
a809a07178
|
Fog calls drives "images", rename for consistency.
|
2012-04-29 17:36:16 +01:00 |
|
Sean Handley
|
87c2a09a73
|
Returning self is totes better than bools.
|
2012-04-29 17:11:19 +01:00 |
|
Sean Handley
|
f23abc0955
|
Made create/save conform to the Fog API.
i.e.
drive = Fog::Compute[:serverlove].drives.create(name: 'FooFoo', size: 12345)
drive.name = "BarBar"
drive.save
|
2012-04-29 17:00:13 +01:00 |
|
Sean Handley
|
a648f9d4eb
|
Added create/update functionality.
|
2012-04-29 14:14:17 +01:00 |
|
Sean Handley
|
847712e0ae
|
Allowed setting of params as k/v pairs.
This is needed for setting the request body for
create/update calls.
|
2012-04-29 14:03:46 +01:00 |
|
seanhandley
|
4331d171ee
|
Made steps to get update/create working. Work in progress.
|
2012-04-27 21:53:39 +01:00 |
|
Sean Handley
|
d4863eb29d
|
Destroying drives is easy.
|
2012-04-27 15:18:21 +01:00 |
|
Sean Handley
|
02db287340
|
Sometimes the response body is empty.
|
2012-04-27 15:17:56 +01:00 |
|
Sean Handley
|
4add747ab3
|
Alias the encryption cipher.
|
2012-04-27 14:55:06 +01:00 |
|
Sean Handley
|
da08c6b0fc
|
If you use info, you get all the info.
|
2012-04-27 14:48:15 +01:00 |
|
Sean Handley
|
5cc1b4699e
|
Set up drive objects (not disks).
|
2012-04-27 14:43:52 +01:00 |
|
James Rose
|
86ac91ac22
|
We want JSON.
|
2012-04-27 14:35:08 +01:00 |
|
James Rose
|
1a5e39606c
|
Works.
|
2012-04-27 14:31:12 +01:00 |
|
James Rose
|
fb10d1982b
|
Merge branch 'master' of github.com:jamesrose/fog
|
2012-04-27 14:08:36 +01:00 |
|
James Rose
|
39d5e6729b
|
Still wrong.
|
2012-04-27 14:08:24 +01:00 |
|
Sean Handley
|
ab8f8f6b0a
|
Changed disk model based on responses from real API requests.
|
2012-04-27 14:01:42 +01:00 |
|
Sean Handley
|
c1cb6ba99c
|
Merge branch 'master' of github.com:jamesrose/fog
|
2012-04-27 13:25:59 +01:00 |
|
Sean Handley
|
68dc5a941e
|
Adding server love disk model.
Not all attributes included/named properly yet.
|
2012-04-27 13:25:40 +01:00 |
|
James Rose
|
fa4aa9859d
|
Typo.
|
2012-04-27 12:26:13 +01:00 |
|
James Rose
|
e2087a7a57
|
Proper request arguments.
|
2012-04-27 12:21:39 +01:00 |
|
James Rose
|
08cf679268
|
Typo
|
2012-04-27 12:17:05 +01:00 |
|
James Rose
|
c57647a410
|
Wrong directory.
|
2012-04-27 12:15:01 +01:00 |
|
James Rose
|
a627445d63
|
Basic Serverlove implementation.
|
2012-04-27 12:11:33 +01:00 |
|