incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <mfoj...@redhat.com>
Subject Re: svn commit: r1087213 [1/2] - in /incubator/deltacloud/trunk/server: ./ tests/ tests/drivers/rackspace/ tests/rackspace/ tests/rackspace/fixtures/
Date Thu, 31 Mar 2011 08:56:12 GMT
On Mar 31, 2011, at 10:34 AM, mfojtik@apache.org wrote:

I'm really apologize for this commit. I accidentally pushed one of my devel branch with dcommit.
I pushed revert patch for this, since I need to rework it a little bit first.

  -- Michal

> Author: mfojtik
> Date: Thu Mar 31 08:34:48 2011
> New Revision: 1087213
> 
> URL: http://svn.apache.org/viewvc?rev=1087213&view=rev
> Log:
> Added VCR gem to recort Test::Unit
> 
> Added:
>    incubator/deltacloud/trunk/server/tests/rackspace/
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/11c8bc2b7e52a46b9a004dd40c2512dd3c489f64.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/1f3658efb8b59ffcd7e73860fafffa3bd95e02f5.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/25f930c42a61cf5e4e966e351590ae20345ad30e.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/30691ff4842a33afdbcc653195b1bd4ec93bd644.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3573bb0263b44db6f99a809f92047289108e604f.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3c394d211d025518184ec6a793eb906c901045c1.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3f559471f7f352032117bfa6a521415b928d67a5.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/57833ca12de5561f349e567f6278da04fefc4880.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/7115e1f7a3a156de28733eb38670635bd4a67824.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/86c5bac6a91239044d567c41ee7061850753aceb.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/9357e09a4d550b4e9608549638d13a7bd68b1ceb.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/9663e49d06662082f6be10bec846857ddb1a2b66.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/ad0d40707087d6f351926eada3e98a6dc08a5e38.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/b3475ee551d099862e0123ec4d7a38f96f031f5e.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/b4db99458905e95872d37bf8484c3af7dc41d264.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/c02df61167a57ada65fafcaa985357a91314f930.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/c3bd10b31498023723c8c5ff8de08a900469d62b.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/cc7ccfa2f6e74357956824051e8360d7f0751004.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/ccbb5c591ed1b2c1a3d4233329c9475a9965ba2d.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/e306158847e6efd491e1b51770012a76b010d81a.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/e5f1a88e1991237fb416428685888ad232604fa1.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/eff069c1da23b5e703dc9894dbb9186a6c3fd8d2.yml
>    incubator/deltacloud/trunk/server/tests/rackspace/fixtures/f2349b91a95d0d93889416e7fc17f2187140247b.yml
> Modified:
>    incubator/deltacloud/trunk/server/Gemfile
>    incubator/deltacloud/trunk/server/tests/common.rb
>    incubator/deltacloud/trunk/server/tests/drivers/rackspace/instances_test.rb
>    incubator/deltacloud/trunk/server/tests/drivers/rackspace/setup.rb
> 
> Modified: incubator/deltacloud/trunk/server/Gemfile
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/Gemfile?rev=1087213&r1=1087212&r2=1087213&view=diff
> ==============================================================================
> --- incubator/deltacloud/trunk/server/Gemfile (original)
> +++ incubator/deltacloud/trunk/server/Gemfile Thu Mar 31 08:34:48 2011
> @@ -38,6 +38,8 @@ group :test do
>   gem 'ruby-debug', :platforms => :mri_18
>   gem 'ruby-debug19', :platforms => :mri_19, :require => 'ruby-debug'
>   gem "compass"
> +  gem "vcr"
> +  gem "webmock"
>   gem "nokogiri"
>   gem "rack-test"
>   gem "ci_reporter"
> 
> Modified: incubator/deltacloud/trunk/server/tests/common.rb
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/common.rb?rev=1087213&r1=1087212&r2=1087213&view=diff
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/common.rb (original)
> +++ incubator/deltacloud/trunk/server/tests/common.rb Thu Mar 31 08:34:48 2011
> @@ -60,21 +60,32 @@ module DeltacloudTestCommon
>     "#{url}"
>   end
> 
> +  require 'digest/sha1'
> +
>   def do_request(uri, params=nil, authentication=false, opts={ :format => :xml })
>     header 'Accept', accept_header(opts[:format])
> -    get create_url(uri), params || {}, (authentication) ? authenticate(opts) : {}
> +    VCR.use_cassette(Digest::SHA1.hexdigest("#{uri}-#{params}-#{authentication}")) do
> +      get create_url(uri), params || {}, (authentication) ? authenticate(opts) : {}
> +    end
>   end
> 
>   def do_xml_request(uri, params=nil, authentication=false)
>     header 'Accept', accept_header(:xml)
> -    get create_url(uri), params || {}, (authentication) ? authenticate : {}
> -    puts "[401] Authentication required to get #{uri}" if last_response.status == 401
> +    VCR.use_cassette(Digest::SHA1.hexdigest("#{uri}-#{params}-#{(authentication) ? authenticate : ''}")) do
> +      get create_url(uri), params || {}, (authentication) ? authenticate : {}
> +    end
>     if last_response.status == 200
>       @xml_response = false
>       @xml_response = Nokogiri::XML(last_response.body)
>     end
>   end
> 
> +  def do_post(uri, params, authentication)
> +    VCR.use_cassette(Digest::SHA1.hexdigest("#{uri}-#{params}-#{(authentication) ? authenticate : ''}")) do
> +      post uri, params, authentication ? authenticate : nil
> +    end
> +  end
> +
>   def require_authentication?(uri)
>     get uri, {}
>     true if last_response.status.eql?(401)
> 
> Modified: incubator/deltacloud/trunk/server/tests/drivers/rackspace/instances_test.rb
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/drivers/rackspace/instances_test.rb?rev=1087213&r1=1087212&r2=1087213&view=diff
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/drivers/rackspace/instances_test.rb (original)
> +++ incubator/deltacloud/trunk/server/tests/drivers/rackspace/instances_test.rb Thu Mar 31 08:34:48 2011
> @@ -16,7 +16,7 @@ module RackspaceTest
>         :'api[driver]' => 'rackspace',
>       }
>       header 'Accept', accept_header(:xml)
> -      post '/api/instances', params, authenticate
> +      do_post '/api/instances', params, authenticate
>       last_response.status.should == 201 # Created
>       @@instance = Nokogiri::XML(last_response.body)
>       (@@instance/'instance').length.should > 0
> @@ -34,7 +34,7 @@ module RackspaceTest
>         :'api[driver]' => 'rackspace',
>       }
>       header 'Accept', accept_header(:xml)
> -      post '/api/instances', params, authenticate
> +      do_post '/api/instances', params, authenticate
>       last_response.status.should == 201 # Created
>       @@instance2 = Nokogiri::XML(last_response.body)
>       (@@instance2/'instance').length.should > 0
> @@ -80,8 +80,8 @@ module RackspaceTest
>     end
> 
>     def test_04_01_created_instance_goes_to_running_state
> -      20.times do
> -        do_xml_request "/api;driver=rackspace/instances/#{(@@instance/'instance').first[:id]}", {}, true
> +      20.times do |tick|
> +        do_xml_request "/api;driver=rackspace/instances/#{(@@instance/'instance').first[:id]}", { :tick => tick}, true
>         last_response.status.should_not == 500
>         state = (last_xml_response/'instance/state').first.text
>         break if state=='RUNNING'
> @@ -98,8 +98,8 @@ module RackspaceTest
>     end
> 
>     def test_04_02_created_instance_goes_to_running_state
> -      20.times do
> -        do_xml_request "/api;driver=rackspace/instances/#{(@@instance2/'instance').first[:id]}", {}, true
> +      20.times do |tick|
> +        do_xml_request "/api;driver=rackspace/instances/#{(@@instance2/'instance').first[:id]}", { :tick => tick}, true
>         last_response.status.should_not == 500
>         state = (last_xml_response/'instance/state').first.text
>         break if state=='RUNNING'
> @@ -120,10 +120,10 @@ module RackspaceTest
>         :'api[driver]' => 'rackspace',
>       }
>       header 'Accept', accept_header(:xml)
> -      post "/api/instances/#{(@@instance/'instance').first[:id]}/reboot", params, authenticate
> +      do_post "/api/instances/#{(@@instance/'instance').first[:id]}/reboot", params, authenticate
>       last_response.status.should == 200
> -      20.times do
> -        do_xml_request "/api;driver=rackspace/instances/#{(@@instance/'instance').first[:id]}", {}, true
> +      20.times do |tick|
> +        do_xml_request "/api;driver=rackspace/instances/#{(@@instance/'instance').first[:id]}", { :tick => tick}, true
>         last_response.status.should_not == 500
>         state = (last_xml_response/'instance/state').first.text
>         break if state=='RUNNING'
> @@ -136,10 +136,10 @@ module RackspaceTest
>         :'api[driver]' => 'rackspace',
>       }
>       header 'Accept', accept_header(:xml)
> -      post "/api/instances/#{(@@instance/'instance').first[:id]}/stop", params, authenticate
> +      do_post "/api/instances/#{(@@instance/'instance').first[:id]}/stop", params, authenticate
>       last_response.status.should == 200
> -      20.times do
> -        do_xml_request "/api;driver=rackspace/instances/#{(@@instance/'instance').first[:id]}", {}, true
> +      20.times do |tick|
> +        do_xml_request "/api;driver=rackspace/instances/#{(@@instance/'instance').first[:id]}", { :tick => tick}, true
>         last_response.status.should_not == 500
>         break if last_response.status == 404
>         sleep(5)
> @@ -152,16 +152,15 @@ module RackspaceTest
>         :'api[driver]' => 'rackspace',
>       }
>       header 'Accept', accept_header(:xml)
> -      post "/api/instances/#{(@@instance2/'instance').first[:id]}/stop", params, authenticate
> +      do_post "/api/instances/#{(@@instance2/'instance').first[:id]}/stop", params, authenticate
>       last_response.status.should == 200
> -      20.times do
> -        do_xml_request "/api;driver=rackspace/instances/#{(@@instance2/'instance').first[:id]}", {}, true
> +      20.times do |tick|
> +        do_xml_request "/api;driver=rackspace/instances/#{(@@instance2/'instance').first[:id]}", { :tick => tick}, true
>         last_response.status.should_not == 500
>         break if last_response.status == 404
>         sleep(5)
>       end
>       last_response.status.should == 404
>     end
> -
>   end
> end
> 
> Modified: incubator/deltacloud/trunk/server/tests/drivers/rackspace/setup.rb
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/drivers/rackspace/setup.rb?rev=1087213&r1=1087212&r2=1087213&view=diff
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/drivers/rackspace/setup.rb (original)
> +++ incubator/deltacloud/trunk/server/tests/drivers/rackspace/setup.rb Thu Mar 31 08:34:48 2011
> @@ -1,3 +1,10 @@
> ENV['API_DRIVER']   = "rackspace"
> -ENV['API_USER']     = '<RACKSPACE_USERNAME>'
> -ENV['API_PASSWORD'] = '<RACKSPACE_API_KEY>'
> +ENV['API_USER']     = 'michalfojtik'
> +ENV['API_PASSWORD'] = '1f82168de18f91542834f1e861f37420'
> +
> +require 'vcr'
> +VCR.config do |c|
> +  c.cassette_library_dir = 'tests/rackspace/fixtures/'
> +  c.stub_with :webmock
> +  c.default_cassette_options = { :record => :new_episodes }
> +end
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/11c8bc2b7e52a46b9a004dd40c2512dd3c489f64.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/11c8bc2b7e52a46b9a004dd40c2512dd3c489f64.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/11c8bc2b7e52a46b9a004dd40c2512dd3c489f64.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/11c8bc2b7e52a46b9a004dd40c2512dd3c489f64.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,196 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:20:34 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:20:07 GMT
> +      x-varnish: 
> +      - "432414148"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:20:36 GMT
> +      content-length: 
> +      - "243"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /561604/servers/719789
> +    body: "{\"server\":{\"progress\":100,\"id\":719789,\"imageId\":71,\"flavorId\":1,\"status\":\"ACTIVE\",\"name\":\"WedMar3015184202002011\",\"hostId\":\"67694fd94dffda406a0456fcada68afb\",\"addresses\":{\"public\":[\"50.56.107.227\"],\"private\":[\"10.181.184.203\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:20:36 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:20:07 GMT
> +      x-varnish: 
> +      - "432414591"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:20:38 GMT
> +      content-length: 
> +      - "243"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /561604/servers/719789
> +    body: "{\"server\":{\"progress\":100,\"id\":719789,\"imageId\":71,\"flavorId\":1,\"status\":\"ACTIVE\",\"name\":\"WedMar3015184202002011\",\"hostId\":\"67694fd94dffda406a0456fcada68afb\",\"addresses\":{\"public\":[\"50.56.107.227\"],\"private\":[\"10.181.184.203\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :delete
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 202
> +      message: Accepted
> +    headers: 
> +      x-varnish: 
> +      - "432414739"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - text/xml
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:20:41 GMT
> +      content-length: 
> +      - "0"
> +      cache-control: 
> +      - no-cache
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +    body: 
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/1f3658efb8b59ffcd7e73860fafffa3bd95e02f5.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/1f3658efb8b59ffcd7e73860fafffa3bd95e02f5.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/1f3658efb8b59ffcd7e73860fafffa3bd95e02f5.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/1f3658efb8b59ffcd7e73860fafffa3bd95e02f5.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,79 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:38 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/images/detail
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 203
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 16 Mar 2011 16:37:05 GMT
> +      x-varnish: 
> +      - 432398637 432381864
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:39 GMT
> +      content-length: 
> +      - "2460"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "493"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /561604/images
> +    body: "{\"images\":[{\"id\":58,\"status\":\"ACTIVE\",\"updated\":\"2010-09-17T07:19:20-05:00\",\"name\":\"Windows Server 2008 R2 x64 - MSSQL2K8R2\"},{\"id\":71,\"status\":\"ACTIVE\",\"updated\":\"2010-11-13T17:00:35-06:00\",\"name\":\"Fedora 14\"},{\"id\":62,\"status\":\"ACTIVE\",\"updated\":\"2011-03-16T11:37:05-05:00\",\"name\":\"Red Hat Enterprise Linux 5.5\"},{\"id\":29,\"status\":\"ACTIVE\",\"updated\":\"2010-01-26T12:07:32-06:00\",\"name\":\"Windows Server 2003 R2 SP2 x86\"},{\"id\":40,\"status\":\"ACTIVE\",\"updated\":\"2010-10-28T11:40:20-05:00\",\"name\":\"Oracle EL Server Release 5 Update 4\"},{\"id\":23,\"status\":\"ACTIVE\",\"updated\":\"2010-01-26T12:05:53-06:00\",\"name\":\"Windows Server 2003 R2 SP2 x64\"},{\"id\":19,\"status\":\"ACTIVE\",\"updated\":\"2009-12-15T15:43:39-06:00\",\"name\":\"Gentoo 10.1\"},{\"id\":31,\"status\":\"ACTIVE\",\"updated\":\"2010-01-26T12:07:44-06:00\",\"name\":\"Windows Server 2008 SP2 x86\"},{\"id\":57,\"status\":\"ACTIVE\",\"u
> pdated\":\"2010-09-17T07:16:25-05:00\",\"name\":\"Windows Server 2008 SP2 x64 - MSSQL2K8R2\"},{\"id\":14362,\"status\":\"ACTIVE\",\"updated\":\"2009-11-06T05:09:40-06:00\",\"name\":\"Ubuntu 9.10 (karmic)\"},{\"id\":49,\"status\":\"ACTIVE\",\"updated\":\"2010-05-04T08:58:18-05:00\",\"name\":\"Ubuntu 10.04 LTS (lucid)\"},{\"id\":55,\"status\":\"ACTIVE\",\"updated\":\"2010-06-29T05:21:55-05:00\",\"name\":\"Arch 2010.05\"},{\"id\":41,\"status\":\"ACTIVE\",\"updated\":\"2010-09-20T09:08:35-05:00\",\"name\":\"Oracle EL JeOS Release 5 Update 3\"},{\"id\":10,\"status\":\"ACTIVE\",\"updated\":\"2009-08-26T14:59:54-05:00\",\"name\":\"Ubuntu 8.04.2 LTS (hardy)\"},{\"id\":187811,\"status\":\"ACTIVE\",\"updated\":\"2009-12-16T01:02:17-06:00\",\"name\":\"CentOS 5.4\"},{\"id\":53,\"status\":\"ACTIVE\",\"updated\":\"2010-06-27T20:13:08-05:00\",\"name\":\"Fedora 13\"},{\"id\":24,\"status\":\"ACTIVE\",\"updated\":\"2010-01-26T12:07:04-06:00\",\"name\":\"Windows Server 2008 SP2 x64\"},{\"id\":
> 51,\"status\":\"ACTIVE\",\"updated\":\"2010-05-21T00:01:43-05:00\",\"name\":\"CentOS 5.5\"},{\"id\":69,\"status\":\"ACTIVE\",\"updated\":\"2010-10-21T15:36:29-05:00\",\"name\":\"Ubuntu 10.10 (maverick)\"},{\"id\":28,\"status\":\"ACTIVE\",\"updated\":\"2010-01-26T12:07:17-06:00\",\"name\":\"Windows Server 2008 R2 x64\"},{\"id\":56,\"status\":\"ACTIVE\",\"updated\":\"2010-09-17T07:12:56-05:00\",\"name\":\"Windows Server 2008 SP2 x86 - MSSQL2K8R2\"},{\"id\":14,\"status\":\"ACTIVE\",\"updated\":\"2009-12-15T15:37:22-06:00\",\"name\":\"Red Hat Enterprise Linux 5.4\"},{\"id\":4,\"status\":\"ACTIVE\",\"updated\":\"2009-08-26T14:59:52-05:00\",\"name\":\"Debian 5.0 (lenny)\"},{\"progress\":100,\"id\":8766576,\"status\":\"ACTIVE\",\"created\":\"2011-02-28T07:40:50-06:00\",\"updated\":\"2011-03-01T06:33:53-06:00\",\"name\":\"Test11\"}]}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/25f930c42a61cf5e4e966e351590ae20345ad30e.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/25f930c42a61cf5e4e966e351590ae20345ad30e.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/25f930c42a61cf5e4e966e351590ae20345ad30e.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/25f930c42a61cf5e4e966e351590ae20345ad30e.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,79 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:36 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/flavors/detail
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 203
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Tue, 18 Mar 2008 17:54:15 GMT
> +      x-varnish: 
> +      - 432398346 432381490
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:37 GMT
> +      content-length: 
> +      - "368"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "499"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /flavors
> +    body: "{\"flavors\":[{\"id\":1,\"ram\":256,\"disk\":10,\"name\":\"256 server\"},{\"id\":2,\"ram\":512,\"disk\":20,\"name\":\"512 server\"},{\"id\":3,\"ram\":1024,\"disk\":40,\"name\":\"1GB server\"},{\"id\":4,\"ram\":2048,\"disk\":80,\"name\":\"2GB server\"},{\"id\":5,\"ram\":4096,\"disk\":160,\"name\":\"4GB server\"},{\"id\":6,\"ram\":8192,\"disk\":320,\"name\":\"8GB server\"},{\"id\":7,\"ram\":15872,\"disk\":620,\"name\":\"15.5GB server\"}]}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/30691ff4842a33afdbcc653195b1bd4ec93bd644.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/30691ff4842a33afdbcc653195b1bd4ec93bd644.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/30691ff4842a33afdbcc653195b1bd4ec93bd644.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/30691ff4842a33afdbcc653195b1bd4ec93bd644.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,77 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:18 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:19:19 GMT
> +      x-varnish: 
> +      - "432404302"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:20 GMT
> +      content-length: 
> +      - "242"
> +      cache-control: 
> +      - no-cache
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +    body: "{\"server\":{\"progress\":100,\"id\":719789,\"imageId\":71,\"flavorId\":1,\"status\":\"BUILD\",\"name\":\"WedMar3015184202002011\",\"hostId\":\"67694fd94dffda406a0456fcada68afb\",\"addresses\":{\"public\":[\"50.56.107.227\"],\"private\":[\"10.181.184.203\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3573bb0263b44db6f99a809f92047289108e604f.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3573bb0263b44db6f99a809f92047289108e604f.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3573bb0263b44db6f99a809f92047289108e604f.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3573bb0263b44db6f99a809f92047289108e604f.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,198 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:42 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:19:23 GMT
> +      x-varnish: 
> +      - "432407347"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:47 GMT
> +      content-length: 
> +      - "243"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /561604/servers/719789
> +    body: "{\"server\":{\"progress\":100,\"id\":719789,\"imageId\":71,\"flavorId\":1,\"status\":\"ACTIVE\",\"name\":\"WedMar3015184202002011\",\"hostId\":\"67694fd94dffda406a0456fcada68afb\",\"addresses\":{\"public\":[\"50.56.107.227\"],\"private\":[\"10.181.184.203\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:47 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:19:23 GMT
> +      x-varnish: 
> +      - "432407714"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:50 GMT
> +      content-length: 
> +      - "243"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /561604/servers/719789
> +    body: "{\"server\":{\"progress\":100,\"id\":719789,\"imageId\":71,\"flavorId\":1,\"status\":\"ACTIVE\",\"name\":\"WedMar3015184202002011\",\"hostId\":\"67694fd94dffda406a0456fcada68afb\",\"addresses\":{\"public\":[\"50.56.107.227\"],\"private\":[\"10.181.184.203\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :post
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789/action
> +    body: "{\"reboot\":{\"type\":\"HARD\"}}"
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +      content-type: 
> +      - application/json
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 202
> +      message: Accepted
> +    headers: 
> +      x-varnish: 
> +      - "432408150"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - text/xml
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:53 GMT
> +      content-length: 
> +      - "0"
> +      cache-control: 
> +      - no-cache
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +    body: 
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3c394d211d025518184ec6a793eb906c901045c1.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3c394d211d025518184ec6a793eb906c901045c1.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3c394d211d025518184ec6a793eb906c901045c1.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3c394d211d025518184ec6a793eb906c901045c1.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,196 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:20:14 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719790
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:19:33 GMT
> +      x-varnish: 
> +      - "432411359"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:20:16 GMT
> +      content-length: 
> +      - "243"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /561604/servers/719790
> +    body: "{\"server\":{\"progress\":100,\"id\":719790,\"imageId\":71,\"flavorId\":2,\"status\":\"ACTIVE\",\"name\":\"WedMar3015184902002011\",\"hostId\":\"e714c2314598ddf91387d2a3099dc0bb\",\"addresses\":{\"public\":[\"50.56.107.228\"],\"private\":[\"10.181.184.204\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:20:16 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719790
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:19:33 GMT
> +      x-varnish: 
> +      - "432411726"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:20:18 GMT
> +      content-length: 
> +      - "243"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /561604/servers/719790
> +    body: "{\"server\":{\"progress\":100,\"id\":719790,\"imageId\":71,\"flavorId\":2,\"status\":\"ACTIVE\",\"name\":\"WedMar3015184902002011\",\"hostId\":\"e714c2314598ddf91387d2a3099dc0bb\",\"addresses\":{\"public\":[\"50.56.107.228\"],\"private\":[\"10.181.184.204\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :delete
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719790
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 202
> +      message: Accepted
> +    headers: 
> +      x-varnish: 
> +      - "432411804"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - text/xml
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:20:21 GMT
> +      content-length: 
> +      - "0"
> +      cache-control: 
> +      - no-cache
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +    body: 
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3f559471f7f352032117bfa6a521415b928d67a5.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3f559471f7f352032117bfa6a521415b928d67a5.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3f559471f7f352032117bfa6a521415b928d67a5.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/3f559471f7f352032117bfa6a521415b928d67a5.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,79 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:26 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:19:23 GMT
> +      x-varnish: 
> +      - "432405135"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:27 GMT
> +      content-length: 
> +      - "243"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /561604/servers/719789
> +    body: "{\"server\":{\"progress\":100,\"id\":719789,\"imageId\":71,\"flavorId\":1,\"status\":\"ACTIVE\",\"name\":\"WedMar3015184202002011\",\"hostId\":\"67694fd94dffda406a0456fcada68afb\",\"addresses\":{\"public\":[\"50.56.107.227\"],\"private\":[\"10.181.184.203\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/57833ca12de5561f349e567f6278da04fefc4880.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/57833ca12de5561f349e567f6278da04fefc4880.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/57833ca12de5561f349e567f6278da04fefc4880.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/57833ca12de5561f349e567f6278da04fefc4880.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,118 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:49 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :post
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers
> +    body: "{\"server\":{\"imageId\":71,\"flavorId\":2,\"personality\":null,\"name\":\"Wed Mar 30 15:18:49 +0200 2011\"}}"
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +      content-type: 
> +      - application/json
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 202
> +      message: Accepted
> +    headers: 
> +      x-varnish: 
> +      - "432400102"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:53 GMT
> +      content-length: 
> +      - "286"
> +      cache-control: 
> +      - no-cache
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +    body: "{\"server\":{\"progress\":0,\"id\":719790,\"imageId\":71,\"flavorId\":2,\"status\":\"BUILD\",\"adminPass\":\"WedMar30151849020020112jS3a6rTN\",\"name\":\"WedMar3015184902002011\",\"hostId\":\"e714c2314598ddf91387d2a3099dc0bb\",\"addresses\":{\"public\":[\"50.56.107.228\"],\"private\":[\"10.181.184.204\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719790
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:18:53 GMT
> +      x-varnish: 
> +      - "432400262"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:55 GMT
> +      content-length: 
> +      - "240"
> +      cache-control: 
> +      - no-cache
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +    body: "{\"server\":{\"progress\":0,\"id\":719790,\"imageId\":71,\"flavorId\":2,\"status\":\"BUILD\",\"name\":\"WedMar3015184902002011\",\"hostId\":\"e714c2314598ddf91387d2a3099dc0bb\",\"addresses\":{\"public\":[\"50.56.107.228\"],\"private\":[\"10.181.184.204\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/7115e1f7a3a156de28733eb38670635bd4a67824.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/7115e1f7a3a156de28733eb38670635bd4a67824.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/7115e1f7a3a156de28733eb38670635bd4a67824.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/7115e1f7a3a156de28733eb38670635bd4a67824.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,79 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:31 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/flavors/detail
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 203
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Tue, 18 Mar 2008 17:54:15 GMT
> +      x-varnish: 
> +      - 432397622 432381490
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:32 GMT
> +      content-length: 
> +      - "368"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "494"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /flavors
> +    body: "{\"flavors\":[{\"id\":1,\"ram\":256,\"disk\":10,\"name\":\"256 server\"},{\"id\":2,\"ram\":512,\"disk\":20,\"name\":\"512 server\"},{\"id\":3,\"ram\":1024,\"disk\":40,\"name\":\"1GB server\"},{\"id\":4,\"ram\":2048,\"disk\":80,\"name\":\"2GB server\"},{\"id\":5,\"ram\":4096,\"disk\":160,\"name\":\"4GB server\"},{\"id\":6,\"ram\":8192,\"disk\":320,\"name\":\"8GB server\"},{\"id\":7,\"ram\":15872,\"disk\":620,\"name\":\"15.5GB server\"}]}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/86c5bac6a91239044d567c41ee7061850753aceb.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/86c5bac6a91239044d567c41ee7061850753aceb.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/86c5bac6a91239044d567c41ee7061850753aceb.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/86c5bac6a91239044d567c41ee7061850753aceb.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,77 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:56 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:18:48 GMT
> +      x-varnish: 
> +      - "432400791"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:57 GMT
> +      content-length: 
> +      - "240"
> +      cache-control: 
> +      - no-cache
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +    body: "{\"server\":{\"progress\":0,\"id\":719789,\"imageId\":71,\"flavorId\":1,\"status\":\"BUILD\",\"name\":\"WedMar3015184202002011\",\"hostId\":\"67694fd94dffda406a0456fcada68afb\",\"addresses\":{\"public\":[\"50.56.107.227\"],\"private\":[\"10.181.184.203\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/9357e09a4d550b4e9608549638d13a7bd68b1ceb.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/9357e09a4d550b4e9608549638d13a7bd68b1ceb.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/9357e09a4d550b4e9608549638d13a7bd68b1ceb.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/9357e09a4d550b4e9608549638d13a7bd68b1ceb.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,118 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:42 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :post
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers
> +    body: "{\"server\":{\"imageId\":71,\"flavorId\":1,\"personality\":null,\"name\":\"Wed Mar 30 15:18:42 +0200 2011\"}}"
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +      content-type: 
> +      - application/json
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 202
> +      message: Accepted
> +    headers: 
> +      x-varnish: 
> +      - "432399438"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:46 GMT
> +      content-length: 
> +      - "286"
> +      cache-control: 
> +      - no-cache
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +    body: "{\"server\":{\"progress\":0,\"id\":719789,\"imageId\":71,\"flavorId\":1,\"status\":\"BUILD\",\"adminPass\":\"WedMar30151842020020116LG4l5Mux\",\"name\":\"WedMar3015184202002011\",\"hostId\":\"67694fd94dffda406a0456fcada68afb\",\"addresses\":{\"public\":[\"50.56.107.227\"],\"private\":[\"10.181.184.203\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:18:46 GMT
> +      x-varnish: 
> +      - "432399798"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:48 GMT
> +      content-length: 
> +      - "240"
> +      cache-control: 
> +      - no-cache
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +    body: "{\"server\":{\"progress\":0,\"id\":719789,\"imageId\":71,\"flavorId\":1,\"status\":\"BUILD\",\"name\":\"WedMar3015184202002011\",\"hostId\":\"67694fd94dffda406a0456fcada68afb\",\"addresses\":{\"public\":[\"50.56.107.227\"],\"private\":[\"10.181.184.203\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/9663e49d06662082f6be10bec846857ddb1a2b66.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/9663e49d06662082f6be10bec846857ddb1a2b66.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/9663e49d06662082f6be10bec846857ddb1a2b66.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/9663e49d06662082f6be10bec846857ddb1a2b66.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,79 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:28 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:19:23 GMT
> +      x-varnish: 
> +      - "432405428"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:29 GMT
> +      content-length: 
> +      - "243"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /561604/servers/719789
> +    body: "{\"server\":{\"progress\":100,\"id\":719789,\"imageId\":71,\"flavorId\":1,\"status\":\"ACTIVE\",\"name\":\"WedMar3015184202002011\",\"hostId\":\"67694fd94dffda406a0456fcada68afb\",\"addresses\":{\"public\":[\"50.56.107.227\"],\"private\":[\"10.181.184.203\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/ad0d40707087d6f351926eada3e98a6dc08a5e38.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/ad0d40707087d6f351926eada3e98a6dc08a5e38.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/ad0d40707087d6f351926eada3e98a6dc08a5e38.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/ad0d40707087d6f351926eada3e98a6dc08a5e38.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,77 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:03 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:19:01 GMT
> +      x-varnish: 
> +      - "432402048"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:05 GMT
> +      content-length: 
> +      - "242"
> +      cache-control: 
> +      - no-cache
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +    body: "{\"server\":{\"progress\":100,\"id\":719789,\"imageId\":71,\"flavorId\":1,\"status\":\"BUILD\",\"name\":\"WedMar3015184202002011\",\"hostId\":\"67694fd94dffda406a0456fcada68afb\",\"addresses\":{\"public\":[\"50.56.107.227\"],\"private\":[\"10.181.184.203\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/b3475ee551d099862e0123ec4d7a38f96f031f5e.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/b3475ee551d099862e0123ec4d7a38f96f031f5e.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/b3475ee551d099862e0123ec4d7a38f96f031f5e.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/b3475ee551d099862e0123ec4d7a38f96f031f5e.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,79 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:35 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/flavors/detail
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 203
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Tue, 18 Mar 2008 17:54:15 GMT
> +      x-varnish: 
> +      - 432398201 432381490
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:35 GMT
> +      content-length: 
> +      - "368"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "497"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /flavors
> +    body: "{\"flavors\":[{\"id\":1,\"ram\":256,\"disk\":10,\"name\":\"256 server\"},{\"id\":2,\"ram\":512,\"disk\":20,\"name\":\"512 server\"},{\"id\":3,\"ram\":1024,\"disk\":40,\"name\":\"1GB server\"},{\"id\":4,\"ram\":2048,\"disk\":80,\"name\":\"2GB server\"},{\"id\":5,\"ram\":4096,\"disk\":160,\"name\":\"4GB server\"},{\"id\":6,\"ram\":8192,\"disk\":320,\"name\":\"8GB server\"},{\"id\":7,\"ram\":15872,\"disk\":620,\"name\":\"15.5GB server\"}]}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/b4db99458905e95872d37bf8484c3af7dc41d264.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/b4db99458905e95872d37bf8484c3af7dc41d264.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/b4db99458905e95872d37bf8484c3af7dc41d264.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/b4db99458905e95872d37bf8484c3af7dc41d264.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,75 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:21:07 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 404
> +      message: Not Found
> +    headers: 
> +      x-varnish: 
> +      - "432419189"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:21:08 GMT
> +      content-length: 
> +      - "129"
> +      cache-control: 
> +      - no-cache
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +    body: "{\"itemNotFound\":{\"message\":\"Not Found\",\"details\":\"com.rackspace.cloud.service.servers.ItemNotFoundFault:  Not Found\",\"code\":404}}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/c02df61167a57ada65fafcaa985357a91314f930.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/c02df61167a57ada65fafcaa985357a91314f930.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/c02df61167a57ada65fafcaa985357a91314f930.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/c02df61167a57ada65fafcaa985357a91314f930.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,79 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:37 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719790
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:19:33 GMT
> +      x-varnish: 
> +      - "432406663"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:39 GMT
> +      content-length: 
> +      - "243"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /561604/servers/719790
> +    body: "{\"server\":{\"progress\":100,\"id\":719790,\"imageId\":71,\"flavorId\":2,\"status\":\"ACTIVE\",\"name\":\"WedMar3015184902002011\",\"hostId\":\"e714c2314598ddf91387d2a3099dc0bb\",\"addresses\":{\"public\":[\"50.56.107.228\"],\"private\":[\"10.181.184.204\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/c3bd10b31498023723c8c5ff8de08a900469d62b.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/c3bd10b31498023723c8c5ff8de08a900469d62b.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/c3bd10b31498023723c8c5ff8de08a900469d62b.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/c3bd10b31498023723c8c5ff8de08a900469d62b.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,79 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:30 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719790
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:19:31 GMT
> +      x-varnish: 
> +      - "432405789"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:32 GMT
> +      content-length: 
> +      - "244"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /561604/servers/719790
> +    body: "{\"server\":{\"progress\":100,\"id\":719790,\"imageId\":71,\"flavorId\":2,\"status\":\"UNKNOWN\",\"name\":\"WedMar3015184902002011\",\"hostId\":\"e714c2314598ddf91387d2a3099dc0bb\",\"addresses\":{\"public\":[\"50.56.107.228\"],\"private\":[\"10.181.184.204\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/cc7ccfa2f6e74357956824051e8360d7f0751004.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/cc7ccfa2f6e74357956824051e8360d7f0751004.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/cc7ccfa2f6e74357956824051e8360d7f0751004.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/cc7ccfa2f6e74357956824051e8360d7f0751004.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,77 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:11 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/servers/719789
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 200
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 30 Mar 2011 13:19:01 GMT
> +      x-varnish: 
> +      - "432403002"
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:19:12 GMT
> +      content-length: 
> +      - "242"
> +      cache-control: 
> +      - no-cache
> +      age: 
> +      - "0"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +    body: "{\"server\":{\"progress\":100,\"id\":719789,\"imageId\":71,\"flavorId\":1,\"status\":\"BUILD\",\"name\":\"WedMar3015184202002011\",\"hostId\":\"67694fd94dffda406a0456fcada68afb\",\"addresses\":{\"public\":[\"50.56.107.227\"],\"private\":[\"10.181.184.203\"]},\"metadata\":{}}}"
> +    http_version: "1.1"
> 
> Added: incubator/deltacloud/trunk/server/tests/rackspace/fixtures/ccbb5c591ed1b2c1a3d4233329c9475a9965ba2d.yml
> URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/tests/rackspace/fixtures/ccbb5c591ed1b2c1a3d4233329c9475a9965ba2d.yml?rev=1087213&view=auto
> ==============================================================================
> --- incubator/deltacloud/trunk/server/tests/rackspace/fixtures/ccbb5c591ed1b2c1a3d4233329c9475a9965ba2d.yml (added)
> +++ incubator/deltacloud/trunk/server/tests/rackspace/fixtures/ccbb5c591ed1b2c1a3d4233329c9475a9965ba2d.yml Thu Mar 31 08:34:48 2011
> @@ -0,0 +1,79 @@
> +--- 
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://auth.api.rackspacecloud.com:443/v1.0
> +    body: 
> +    headers: 
> +      x-auth-user: 
> +      - michalfojtik
> +      x-auth-key: 
> +      - 1f82168de18f91542834f1e861f37420
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 204
> +      message: No Content
> +    headers: 
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      content-type: 
> +      - application/octet-stream
> +      server: 
> +      - Apache/2.2.3 (Mosso Engineering)
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:40 GMT
> +      x-cdn-management-url: 
> +      - https://cdn2.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      content-length: 
> +      - "0"
> +      x-server-management-url: 
> +      - https://servers.api.rackspacecloud.com/v1.0/561604
> +      x-storage-url: 
> +      - https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_317909a7-4980-462e-b37c-42da54393ba5
> +      x-storage-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +    body: 
> +    http_version: "1.1"
> +- !ruby/struct:VCR::HTTPInteraction 
> +  request: !ruby/struct:VCR::Request 
> +    method: :get
> +    uri: https://servers.api.rackspacecloud.com:443/v1.0/561604/images/detail
> +    body: 
> +    headers: 
> +      accept: 
> +      - application/json
> +      x-auth-token: 
> +      - 04301cb7-242b-4277-8735-2b81a227fd50
> +      user-agent: 
> +      - CloudServers Ruby API 0.4.1
> +  response: !ruby/struct:VCR::Response 
> +    status: !ruby/struct:VCR::ResponseStatus 
> +      code: 203
> +      message: OK
> +    headers: 
> +      last-modified: 
> +      - Wed, 16 Mar 2011 16:37:05 GMT
> +      x-varnish: 
> +      - 432399321 432381864
> +      connection: 
> +      - keep-alive
> +      content-type: 
> +      - application/json
> +      via: 
> +      - 1.1 varnish
> +      server: 
> +      - Apache-Coyote/1.1
> +      date: 
> +      - Wed, 30 Mar 2011 13:18:41 GMT
> +      content-length: 
> +      - "2460"
> +      cache-control: 
> +      - s-maxage=1800
> +      age: 
> +      - "495"
> +      vary: 
> +      - Accept, Accept-Encoding, X-Auth-Token
> +      x-purge-key: 
> +      - /561604/images
> +    body: "{\"images\":[{\"id\":58,\"status\":\"ACTIVE\",\"updated\":\"2010-09-17T07:19:20-05:00\",\"name\":\"Windows Server 2008 R2 x64 - MSSQL2K8R2\"},{\"id\":71,\"status\":\"ACTIVE\",\"updated\":\"2010-11-13T17:00:35-06:00\",\"name\":\"Fedora 14\"},{\"id\":62,\"status\":\"ACTIVE\",\"updated\":\"2011-03-16T11:37:05-05:00\",\"name\":\"Red Hat Enterprise Linux 5.5\"},{\"id\":29,\"status\":\"ACTIVE\",\"updated\":\"2010-01-26T12:07:32-06:00\",\"name\":\"Windows Server 2003 R2 SP2 x86\"},{\"id\":40,\"status\":\"ACTIVE\",\"updated\":\"2010-10-28T11:40:20-05:00\",\"name\":\"Oracle EL Server Release 5 Update 4\"},{\"id\":23,\"status\":\"ACTIVE\",\"updated\":\"2010-01-26T12:05:53-06:00\",\"name\":\"Windows Server 2003 R2 SP2 x64\"},{\"id\":19,\"status\":\"ACTIVE\",\"updated\":\"2009-12-15T15:43:39-06:00\",\"name\":\"Gentoo 10.1\"},{\"id\":31,\"status\":\"ACTIVE\",\"updated\":\"2010-01-26T12:07:44-06:00\",\"name\":\"Windows Server 2008 SP2 x86\"},{\"id\":57,\"status\":\"ACTIVE\",\"u
> pdated\":\"2010-09-17T07:16:25-05:00\",\"name\":\"Windows Server 2008 SP2 x64 - MSSQL2K8R2\"},{\"id\":14362,\"status\":\"ACTIVE\",\"updated\":\"2009-11-06T05:09:40-06:00\",\"name\":\"Ubuntu 9.10 (karmic)\"},{\"id\":49,\"status\":\"ACTIVE\",\"updated\":\"2010-05-04T08:58:18-05:00\",\"name\":\"Ubuntu 10.04 LTS (lucid)\"},{\"id\":55,\"status\":\"ACTIVE\",\"updated\":\"2010-06-29T05:21:55-05:00\",\"name\":\"Arch 2010.05\"},{\"id\":41,\"status\":\"ACTIVE\",\"updated\":\"2010-09-20T09:08:35-05:00\",\"name\":\"Oracle EL JeOS Release 5 Update 3\"},{\"id\":10,\"status\":\"ACTIVE\",\"updated\":\"2009-08-26T14:59:54-05:00\",\"name\":\"Ubuntu 8.04.2 LTS (hardy)\"},{\"id\":187811,\"status\":\"ACTIVE\",\"updated\":\"2009-12-16T01:02:17-06:00\",\"name\":\"CentOS 5.4\"},{\"id\":53,\"status\":\"ACTIVE\",\"updated\":\"2010-06-27T20:13:08-05:00\",\"name\":\"Fedora 13\"},{\"id\":24,\"status\":\"ACTIVE\",\"updated\":\"2010-01-26T12:07:04-06:00\",\"name\":\"Windows Server 2008 SP2 x64\"},{\"id\":
> 51,\"status\":\"ACTIVE\",\"updated\":\"2010-05-21T00:01:43-05:00\",\"name\":\"CentOS 5.5\"},{\"id\":69,\"status\":\"ACTIVE\",\"updated\":\"2010-10-21T15:36:29-05:00\",\"name\":\"Ubuntu 10.10 (maverick)\"},{\"id\":28,\"status\":\"ACTIVE\",\"updated\":\"2010-01-26T12:07:17-06:00\",\"name\":\"Windows Server 2008 R2 x64\"},{\"id\":56,\"status\":\"ACTIVE\",\"updated\":\"2010-09-17T07:12:56-05:00\",\"name\":\"Windows Server 2008 SP2 x86 - MSSQL2K8R2\"},{\"id\":14,\"status\":\"ACTIVE\",\"updated\":\"2009-12-15T15:37:22-06:00\",\"name\":\"Red Hat Enterprise Linux 5.4\"},{\"id\":4,\"status\":\"ACTIVE\",\"updated\":\"2009-08-26T14:59:52-05:00\",\"name\":\"Debian 5.0 (lenny)\"},{\"progress\":100,\"id\":8766576,\"status\":\"ACTIVE\",\"created\":\"2011-02-28T07:40:50-06:00\",\"updated\":\"2011-03-01T06:33:53-06:00\",\"name\":\"Test11\"}]}"
> +    http_version: "1.1"
> 
> 

------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org


Mime
View raw message