deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [5/5] git commit: [Core] Unit tests - updated fixtures for Openstack instances tests (1.1.1 release)
Date Wed, 13 Feb 2013 11:45:59 GMT
Updated Branches:
  refs/heads/master b8f07f45b -> a1f59fd08


[Core] Unit tests - updated fixtures for Openstack instances tests (1.1.1 release)


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/a1f59fd0
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/a1f59fd0
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/a1f59fd0

Branch: refs/heads/master
Commit: a1f59fd080a80ee7d6e3893d73a0a0191c734195
Parents: ee7536c
Author: marios <marios@redhat.com>
Authored: Wed Feb 13 13:22:01 2013 +0200
Committer: marios <marios@redhat.com>
Committed: Wed Feb 13 13:22:01 2013 +0200

----------------------------------------------------------------------
 .../test_0002_must_return_list_of_instances.yml    |  944 +++++++--------
 .../test_0003_must_allow_to_filter_instances.yml   |  762 ++++++-------
 .../test_0003_must_allow_to_filter_realms.yml      |  205 ----
 ...0004_must_allow_to_retrieve_single_instance.yml |  762 ++++++-------
 ...st_0004_must_allow_to_retrieve_single_realm.yml |  205 ----
 ...eate_and_destroy_an_instance-inst_launch-10.yml |  450 ++++----
 ...reate_and_destroy_an_instance-inst_launch-9.yml |  450 ++++----
 ...ust_allow_to_create_and_destroy_an_instance.yml |  946 +++++++--------
 server/tests/drivers/openstack/instances_test.rb   |   16 +-
 9 files changed, 2059 insertions(+), 2681 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/a1f59fd0/server/tests/drivers/openstack/fixtures/test_0002_must_return_list_of_instances.yml
----------------------------------------------------------------------
diff --git a/server/tests/drivers/openstack/fixtures/test_0002_must_return_list_of_instances.yml b/server/tests/drivers/openstack/fixtures/test_0002_must_return_list_of_instances.yml
index c782cad..c8d8e96 100644
--- a/server/tests/drivers/openstack/fixtures/test_0002_must_return_list_of_instances.yml
+++ b/server/tests/drivers/openstack/fixtures/test_0002_must_return_list_of_instances.yml
@@ -1,583 +1,501 @@
---- 
-recorded_with: VCR 2.3.0
-http_interactions: 
-- request: 
+---
+http_interactions:
+- request:
     method: post
     uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
-    body: 
-      string: "{\"auth\":{\"passwordCredentials\":{\"username\":\"foo@fakedomain.eu\",\"password\":\"1234fake56789\"},\"tenantName\":\"foo@fakedomain.eu-default-tenant\"}}"
-    headers: 
-      Content-Type: 
+    body:
+      encoding: UTF-8
+      string: ! '{"auth":{"passwordCredentials":{"username":"foo@fakedomain.eu","password":"1234fake56789"},"tenantName":"foo@fakedomain.eu-default-tenant"}}'
+    headers:
+      Content-Type:
       - application/json
-      Accept: 
-      - "*/*"
-  response: 
-    status: 
+      Accept:
+      - ! '*/*'
+      User-Agent:
+      - Ruby
+  response:
+    status:
       code: 200
       message: OK
-    headers: 
-      Server: 
-      - Apache-Coyote/1.1
-      Content-Type: 
+    headers:
+      Content-Length:
+      - '5934'
+      Content-Type:
       - application/json
-      Expires: 
-      - "-1"
-      Pragma: 
+      Date:
+      - Wed, 13 Feb 2013 11:12:56 GMT
+      Cache-Control:
       - no-cache
-      Cache-Control: 
+      Expires:
+      - '-1'
+      Pragma:
       - no-cache
-      Date: 
-      - Tue, 11 Dec 2012 11:40:55 GMT
-      Content-Length: 
-      - "4011"
-    body: 
-      string: |-
-        {"access": {
-          "token": {
-            "expires": "2012-12-11T23:40:56.226Z",
-            "id": "EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1",
-            "tenant": {
-              "id": "123456fake7890",
-              "name": "foo@fakedomain.eu-default-tenant"
-            }
-          },
-          "user": {
-            "id": "98765fake43210",
-            "name": "foo@fakedomain.eu",
-            "roles": [
-              {
-                "id": "00000000004024",
-                "serviceId": "140",
-                "name": "user",
-                "tenantId": "123456fake7890"
-              },
-              {
-                "id": "00000000004022",
-                "serviceId": "110",
-                "name": "Admin",
-                "tenantId": "123456fake7890"
-              },
-              {
-                "id": "00000000004025",
-                "serviceId": "120",
-                "name": "sysadmin",
-                "tenantId": "123456fake7890"
-              },
-              {
-                "id": "00000000004003",
-                "serviceId": "100",
-                "name": "domainadmin"
-              },
-              {
-                "id": "00000000004016",
-                "serviceId": "120",
-                "name": "netadmin",
-                "tenantId": "123456fake7890"
-              },
-              {
-                "id": "00000000004004",
-                "serviceId": "100",
-                "name": "domainuser"
-              },
-              {
-                "id": "00000000004013",
-                "serviceId": "130",
-                "name": "block-admin",
-                "tenantId": "123456fake7890"
-              }
-            ]
-          },
-          "serviceCatalog": [
-            {
-              "name": "Object Storage",
-              "type": "object-store",
-              "endpoints": [{
-                "tenantId": "123456fake7890",
-                "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1\/123456fake7890",
-                "region": "region-a.geo-1",
-                "versionId": "1.0",
-                "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-                "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"
-              }]
-            },
-            {
-              "name": "Identity",
-              "type": "identity",
-              "endpoints": [
-                {
-                  "publicURL": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-                  "region": "region-b.geo-1",
-                  "versionId": "2.0",
-                  "versionInfo": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-                  "versionList": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357"
-                },
-                {
-                  "publicURL": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-                  "region": "region-a.geo-1",
-                  "versionId": "2.0",
-                  "versionInfo": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-                  "versionList": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357"
-                }
-              ]
-            },
-            {
-              "name": "Image Management",
-              "type": "image",
-              "endpoints": [{
-                "tenantId": "123456fake7890",
-                "publicURL": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0",
-                "region": "az-2.region-a.geo-1",
-                "versionId": "1.0",
-                "versionInfo": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0\/",
-                "versionList": "https:\/\/glance2.uswest.hpcloud.net:9292"
-              }]
-            },
-            {
-              "name": "Block Storage",
-              "type": "volume",
-              "endpoints": [{
-                "tenantId": "123456fake7890",
-                "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/123456fake7890",
-                "region": "az-2.region-a.geo-1",
-                "versionId": "1.1",
-                "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-                "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-              }]
-            },
-            {
-              "name": "Compute",
-              "type": "compute",
-              "endpoints": [{
-                "tenantId": "123456fake7890",
-                "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/123456fake7890",
-                "publicURL2": "https:\/\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\/services\/Cloud",
-                "region": "az-2.region-a.geo-1",
-                "versionId": "1.1",
-                "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-                "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-              }]
-            }
-          ]
-        }}
+      Server:
+      - Apache-Coyote/1.1
+    body:
+      encoding: US-ASCII
+      string: ! "{\"access\": {\n  \"token\": {\n    \"expires\": \"2013-02-13T23:12:56.035Z\",\n
+        \   \"id\": \"EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1\",\n
+        \   \"tenant\": {\n      \"id\": \"123456fake7890\",\n      \"name\": \"foo@fakedomain.eu-default-tenant\"\n
+        \   }\n  },\n  \"user\": {\n    \"id\": \"98765fake43210\",\n    \"name\":
+        \"foo@fakedomain.eu\",\n    \"roles\": [\n      {\n        \"id\": \"00000000004013\",\n
+        \       \"serviceId\": \"130\",\n        \"name\": \"block-admin\",\n        \"tenantId\":
+        \"123456fake7890\"\n      },\n      {\n        \"id\": \"00000000004025\",\n
+        \       \"serviceId\": \"120\",\n        \"name\": \"sysadmin\",\n        \"tenantId\":
+        \"123456fake7890\"\n      },\n      {\n        \"id\": \"00000000004024\",\n
+        \       \"serviceId\": \"140\",\n        \"name\": \"user\",\n        \"tenantId\":
+        \"123456fake7890\"\n      },\n      {\n        \"id\": \"00000000004022\",\n
+        \       \"serviceId\": \"110\",\n        \"name\": \"Admin\",\n        \"tenantId\":
+        \"123456fake7890\"\n      },\n      {\n        \"id\": \"00000000004025\",\n
+        \       \"serviceId\": \"120\",\n        \"name\": \"sysadmin\",\n        \"tenantId\":
+        \"123456fake7890\"\n      },\n      {\n        \"id\": \"00000000004024\",\n
+        \       \"serviceId\": \"140\",\n        \"name\": \"user\",\n        \"tenantId\":
+        \"123456fake7890\"\n      },\n      {\n        \"id\": \"00000000004003\",\n
+        \       \"serviceId\": \"100\",\n        \"name\": \"domainadmin\"\n      },\n
+        \     {\n        \"id\": \"00000000004016\",\n        \"serviceId\": \"120\",\n
+        \       \"name\": \"netadmin\",\n        \"tenantId\": \"123456fake7890\"\n
+        \     },\n      {\n        \"id\": \"00000000004004\",\n        \"serviceId\":
+        \"100\",\n        \"name\": \"domainuser\"\n      },\n      {\n        \"id\":
+        \"00000000004013\",\n        \"serviceId\": \"130\",\n        \"name\": \"block-admin\",\n
+        \       \"tenantId\": \"123456fake7890\"\n      },\n      {\n        \"id\":
+        \"00000000004016\",\n        \"serviceId\": \"120\",\n        \"name\": \"netadmin\",\n
+        \       \"tenantId\": \"123456fake7890\"\n      }\n    ]\n  },\n  \"serviceCatalog\":
+        [\n    {\n      \"name\": \"Object Storage\",\n      \"type\": \"object-store\",\n
+        \     \"endpoints\": [{\n        \"tenantId\": \"123456fake7890\",\n        \"publicURL\":
+        \"https:\\/\\/region-a.geo-1.objects.hpcloudsvc.com\\/v1\\/123456fake7890\",\n
+        \       \"region\": \"region-a.geo-1\",\n        \"versionId\": \"1.0\",\n
+        \       \"versionInfo\": \"https:\\/\\/region-a.geo-1.objects.hpcloudsvc.com\\/v1.0\\/\",\n
+        \       \"versionList\": \"https:\\/\\/region-a.geo-1.objects.hpcloudsvc.com\"\n
+        \     }]\n    },\n    {\n      \"name\": \"Identity\",\n      \"type\": \"identity\",\n
+        \     \"endpoints\": [\n        {\n          \"publicURL\": \"https:\\/\\/region-a.geo-1.identity.hpcloudsvc.com:35357\\/v2.0\\/\",\n
+        \         \"region\": \"region-a.geo-1\",\n          \"versionId\": \"2.0\",\n
+        \         \"versionInfo\": \"https:\\/\\/region-a.geo-1.identity.hpcloudsvc.com:35357\\/v2.0\\/\",\n
+        \         \"versionList\": \"https:\\/\\/region-a.geo-1.identity.hpcloudsvc.com:35357\"\n
+        \       },\n        {\n          \"publicURL\": \"https:\\/\\/region-b.geo-1.identity.hpcloudsvc.com:35357\\/v2.0\\/\",\n
+        \         \"region\": \"region-b.geo-1\",\n          \"versionId\": \"2.0\",\n
+        \         \"versionInfo\": \"https:\\/\\/region-b.geo-1.identity.hpcloudsvc.com:35357\\/v2.0\\/\",\n
+        \         \"versionList\": \"https:\\/\\/region-b.geo-1.identity.hpcloudsvc.com:35357\"\n
+        \       }\n      ]\n    },\n    {\n      \"name\": \"Image Management\",\n
+        \     \"type\": \"image\",\n      \"endpoints\": [\n        {\n          \"tenantId\":
+        \"123456fake7890\",\n          \"publicURL\": \"https:\\/\\/glance2.uswest.hpcloud.net:9292\\/v1.0\",\n
+        \         \"region\": \"az-2.region-a.geo-1\",\n          \"versionId\": \"1.0\",\n
+        \         \"versionInfo\": \"https:\\/\\/glance2.uswest.hpcloud.net:9292\\/v1.0\\/\",\n
+        \         \"versionList\": \"https:\\/\\/glance2.uswest.hpcloud.net:9292\"\n
+        \       },\n        {\n          \"tenantId\": \"123456fake7890\",\n          \"publicURL\":
+        \"https:\\/\\/glance1.uswest.hpcloud.net:9292\\/v1.0\",\n          \"region\":
+        \"az-1.region-a.geo-1\",\n          \"versionId\": \"1.0\",\n          \"versionInfo\":
+        \"https:\\/\\/glance1.uswest.hpcloud.net:9292\\/v1.0\\/\",\n          \"versionList\":
+        \"https:\\/\\/glance1.uswest.hpcloud.net:9292\"\n        }\n      ]\n    },\n
+        \   {\n      \"name\": \"Block Storage\",\n      \"type\": \"volume\",\n      \"endpoints\":
+        [\n        {\n          \"tenantId\": \"123456fake7890\",\n          \"publicURL\":
+        \"https:\\/\\/az-1.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/123456fake7890\",\n
+        \         \"region\": \"az-1.region-a.geo-1\",\n          \"versionId\": \"1.1\",\n
+        \         \"versionInfo\": \"https:\\/\\/az-1.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/\",\n
+        \         \"versionList\": \"https:\\/\\/az-1.region-a.geo-1.compute.hpcloudsvc.com\"\n
+        \       },\n        {\n          \"tenantId\": \"123456fake7890\",\n          \"publicURL\":
+        \"https:\\/\\/az-2.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/123456fake7890\",\n
+        \         \"region\": \"az-2.region-a.geo-1\",\n          \"versionId\": \"1.1\",\n
+        \         \"versionInfo\": \"https:\\/\\/az-2.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/\",\n
+        \         \"versionList\": \"https:\\/\\/az-2.region-a.geo-1.compute.hpcloudsvc.com\"\n
+        \       }\n      ]\n    },\n    {\n      \"name\": \"Compute\",\n      \"type\":
+        \"compute\",\n      \"endpoints\": [\n        {\n          \"tenantId\": \"123456fake7890\",\n
+        \         \"publicURL\": \"https:\\/\\/az-2.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/123456fake7890\",\n
+        \         \"publicURL2\": \"https:\\/\\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\\/services\\/Cloud\",\n
+        \         \"region\": \"az-2.region-a.geo-1\",\n          \"versionId\": \"1.1\",\n
+        \         \"versionInfo\": \"https:\\/\\/az-2.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/\",\n
+        \         \"versionList\": \"https:\\/\\/az-2.region-a.geo-1.compute.hpcloudsvc.com\"\n
+        \       },\n        {\n          \"tenantId\": \"123456fake7890\",\n          \"publicURL\":
+        \"https:\\/\\/az-1.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/123456fake7890\",\n
+        \         \"publicURL2\": \"https:\\/\\/az-1.region-a.geo-1.ec2-compute.hpcloudsvc.com\\/services\\/Cloud\",\n
+        \         \"region\": \"az-1.region-a.geo-1\",\n          \"versionId\": \"1.1\",\n
+        \         \"versionInfo\": \"https:\\/\\/az-1.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/\",\n
+        \         \"versionList\": \"https:\\/\\/az-1.region-a.geo-1.compute.hpcloudsvc.com\"\n
+        \       }\n      ]\n    }\n  ]\n}}"
     http_version: 
-  recorded_at: Tue, 11 Dec 2012 11:40:56 GMT
-- request: 
+  recorded_at: Wed, 13 Feb 2013 11:12:56 GMT
+- request:
     method: get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/detail
-    body: 
-      string: ""
-    headers: 
-      X-Storage-Token: 
+    uri: https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/detail
+    body:
+      encoding: US-ASCII
+      string: ''
+    headers:
+      X-Auth-Token:
       - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      Accept: 
-      - application/json
-      X-Auth-Token: 
+      X-Storage-Token:
       - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      User-Agent: 
-      - OpenStack Ruby API 1.0.7
-      Connection: 
+      Connection:
       - Keep-Alive
-  response: 
-    status: 
+      User-Agent:
+      - OpenStack Ruby API 1.0.9
+      Accept:
+      - application/json
+  response:
+    status:
       code: 200
       message: OK
-    headers: 
-      Content-Type: 
+    headers:
+      Content-Length:
+      - '1283'
+      Content-Type:
       - application/json; charset=UTF-8
-      Date: 
-      - Tue, 11 Dec 2012 11:40:58 GMT
-      Content-Length: 
-      - "2580"
-    body: 
-      string: "{\"servers\": [{\"status\": \"ACTIVE\", \"updated\": \"2012-12-11T11:36:16Z\", \"hostId\": \"bbe65f8ab3fc264a6d7b576cf43db3268a0053b15a84ec9b1daaaf22\", \"user_id\": \"98765fake43210\", \"name\": \"Server-1355225740-az-2-region-a-geo-1\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806837\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/servers/806837\", \"rel\": \"bookmark\"}], \"addresses\": {\"private\": [{\"version\": 4, \"addr\": \"10.7.17.252\"}, {\"version\": 4, \"addr\": \"15.185.175.43\"}]}, \"tenant_id\": \"123456fake7890\", \"image\": {\"id\": \"47940\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/images/47940\", \"rel\": \"bookmark\"}]}, \"created\": \"2012-12-11T11:35:45Z\", \"uuid\": \"936765b5-27bd-4d7d-a010-437e67611312\", \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"key_name\": \"marios_defaul
 t\", \"progress\": 100, \"flavor\": {\"id\": \"100\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/flavors/100\", \"rel\": \"bookmark\"}]}, \"config_drive\": \"\", \"id\": 806837, \"security_groups\": [{\"name\": \"default\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/os-security-groups/1381\", \"rel\": \"bookmark\"}], \"id\": 1381}], \"metadata\": {}}, {\"status\": \"ACTIVE\", \"updated\": \"2012-12-11T11:35:58Z\", \"hostId\": \"621e9708d67a1038f9f1d3b5c153fc28fe654d1a63b518e0bcf79a91\", \"user_id\": \"98765fake43210\", \"name\": \"Server-1355225720-az-2-region-a-geo-1\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806835\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/servers/806835\", \"rel\": \"bookmark\"}], \"addresses\": {\"private\": [{\"version\": 4, \"addr\": \"10.
 7.17.249\"}, {\"version\": 4, \"addr\": \"15.185.175.8\"}]}, \"tenant_id\": \"123456fake7890\", \"image\": {\"id\": \"47940\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/images/47940\", \"rel\": \"bookmark\"}]}, \"created\": \"2012-12-11T11:35:26Z\", \"uuid\": \"16bc0610-396f-4a3b-b873-db8da574ee81\", \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"key_name\": \"marios_default\", \"progress\": 100, \"flavor\": {\"id\": \"100\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/flavors/100\", \"rel\": \"bookmark\"}]}, \"config_drive\": \"\", \"id\": 806835, \"security_groups\": [{\"name\": \"default\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/os-security-groups/1381\", \"rel\": \"bookmark\"}], \"id\": 1381}], \"metadata\": {}}]}"
+      Date:
+      - Wed, 13 Feb 2013 11:12:57 GMT
+    body:
+      encoding: US-ASCII
+      string: ! '{"servers": [{"status": "ACTIVE", "updated": "2013-02-13T11:07:13Z",
+        "hostId": "966a86ded4996d76dc93d58621ae1baf363e1a77d35ae5ba34bc9dac", "user_id":
+        "98765fake43210", "name": "server2013-02-13 13:06:46 +0200", "links": [{"href":
+        "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/815215",
+        "rel": "self"}, {"href": "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/servers/815215",
+        "rel": "bookmark"}], "addresses": {"private": [{"version": 4, "addr": "10.4.228.237"},
+        {"version": 4, "addr": "15.185.100.190"}]}, "tenant_id": "123456fake7890",
+        "image": {"id": "78265", "links": [{"href": "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/images/78265",
+        "rel": "bookmark"}]}, "created": "2013-02-13T11:06:50Z", "uuid": "091cf8bc-383f-4f96-bdea-0372f4df245e",
+        "accessIPv4": "", "accessIPv6": "", "key_name": null, "progress": 100, "flavor":
+        {"id": "100", "links": [{"href": "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/flavors/100",
+        "rel": "bookmark"}]}, "config_drive": "", "id": 815215, "security_groups":
+        [{"name": "default", "links": [{"href": "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/os-security-groups/62635",
+        "rel": "bookmark"}], "id": 62635}], "metadata": {}}]}'
     http_version: 
-  recorded_at: Tue, 11 Dec 2012 11:40:58 GMT
-- request: 
+  recorded_at: Wed, 13 Feb 2013 11:12:58 GMT
+- request:
     method: get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/extensions
-    body: 
-      string: ""
-    headers: 
-      X-Storage-Token: 
+    uri: https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/extensions
+    body:
+      encoding: US-ASCII
+      string: ''
+    headers:
+      X-Auth-Token:
       - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      Content-Type: 
-      - application/json
-      Accept: 
-      - application/json
-      X-Auth-Token: 
+      X-Storage-Token:
       - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      User-Agent: 
-      - OpenStack Ruby API 1.0.7
-      Connection: 
+      Connection:
       - Keep-Alive
-  response: 
-    status: 
-      code: 200
-      message: OK
-    headers: 
-      Content-Type: 
-      - application/json; charset=UTF-8
-      Date: 
-      - Tue, 11 Dec 2012 11:40:59 GMT
-      Content-Length: 
-      - "1570"
-    body: 
-      string: "{\"extensions\": [{\"updated\": \"2011-03-25T00:00:00+00:00\", \"name\": \"Volumes\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/volumes/api/v1.1\", \"alias\": \"os-volumes\", \"description\": \"Volumes support\"}, {\"updated\": \"2012-10-11T00:00:00+00:00\", \"name\": \"HP Bootable Volumes\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/hp-bootable-volumes/api/v1.1\", \"alias\": \"hp-bootable-volumes\", \"description\": \"hp bootable volumes support\"}, {\"updated\": \"2012-09-04T00:00:00+00:00\", \"name\": \"hp volume backup\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/hp-volume-backups/api/v1.1\", \"alias\": \"hp-volume-backups\", \"description\": \"hp volume backups support\"}, {\"updated\": \"2011-08-08T00:00:00+00:00\", \"name\": \"Keypairs\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/keypairs/api/v1.1\", \"alias\": \"os-keypairs\", \"description\": \"Keypair Support\"}, {\"updated\": \"
 2011-12-08T00:00:00+00:00\", \"name\": \"Console_output\", \"links\": [], \"namespace\": \"http://docs.openstack.org/compute/ext/os-console-output/api/v1.1\", \"alias\": \"os-console-output\", \"description\": \"Console log output support, with tailing ability.\"}, {\"updated\": \"2011-07-21T00:00:00+00:00\", \"name\": \"SecurityGroups\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/securitygroups/api/v1.1\", \"alias\": \"security_groups\", \"description\": \"Security group support\"}, {\"updated\": \"2011-06-16T00:00:00+00:00\", \"name\": \"Floating_ips\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/floating_ips/api/v1.1\", \"alias\": \"os-floating-ips\", \"description\": \"Floating IPs support\"}]}"
-    http_version: 
-  recorded_at: Tue, 11 Dec 2012 11:40:59 GMT
-- request: 
-    method: get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806837/os-volume_attachments
-    body: 
-      string: ""
-    headers: 
-      X-Storage-Token: 
-      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      Content-Type: 
+      User-Agent:
+      - OpenStack Ruby API 1.0.9
+      Accept:
       - application/json
-      Accept: 
+      Content-Type:
       - application/json
-      X-Auth-Token: 
-      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      User-Agent: 
-      - OpenStack Ruby API 1.0.7
-      Connection: 
-      - Keep-Alive
-  response: 
-    status: 
+  response:
+    status:
       code: 200
       message: OK
-    headers: 
-      Content-Type: 
+    headers:
+      Content-Length:
+      - '1766'
+      Content-Type:
       - application/json; charset=UTF-8
-      Date: 
-      - Tue, 11 Dec 2012 11:41:01 GMT
-      Content-Length: 
-      - "25"
-    body: 
-      string: "{\"volumeAttachments\": []}"
+      Date:
+      - Wed, 13 Feb 2013 11:12:59 GMT
+    body:
+      encoding: US-ASCII
+      string: ! '{"extensions": [{"updated": "2011-03-25T00:00:00+00:00", "name":
+        "Volumes", "links": [], "namespace": "http://docs.openstack.org/ext/volumes/api/v1.1",
+        "alias": "os-volumes", "description": "Volumes support"}, {"updated": "2012-10-11T00:00:00+00:00",
+        "name": "HP Bootable Volumes", "links": [], "namespace": "http://docs.openstack.org/ext/hp-bootable-volumes/api/v1.1",
+        "alias": "hp-bootable-volumes", "description": "hp bootable volumes support"},
+        {"updated": "2011-08-18T00:00:00+00:00", "name": "Rescue", "links": [], "namespace":
+        "http://docs.openstack.org/ext/rescue/api/v1.1", "alias": "os-rescue", "description":
+        "Instance rescue mode"}, {"updated": "2012-09-04T00:00:00+00:00", "name":
+        "hp volume backup", "links": [], "namespace": "http://docs.openstack.org/ext/hp-volume-backups/api/v1.1",
+        "alias": "hp-volume-backups", "description": "hp volume backups support"},
+        {"updated": "2011-08-08T00:00:00+00:00", "name": "Keypairs", "links": [],
+        "namespace": "http://docs.openstack.org/ext/keypairs/api/v1.1", "alias": "os-keypairs",
+        "description": "Keypair Support"}, {"updated": "2011-12-08T00:00:00+00:00",
+        "name": "Console_output", "links": [], "namespace": "http://docs.openstack.org/compute/ext/os-console-output/api/v1.1",
+        "alias": "os-console-output", "description": "Console log output support,
+        with tailing ability."}, {"updated": "2011-07-21T00:00:00+00:00", "name":
+        "SecurityGroups", "links": [], "namespace": "http://docs.openstack.org/ext/securitygroups/api/v1.1",
+        "alias": "security_groups", "description": "Security group support"}, {"updated":
+        "2011-06-16T00:00:00+00:00", "name": "Floating_ips", "links": [], "namespace":
+        "http://docs.openstack.org/ext/floating_ips/api/v1.1", "alias": "os-floating-ips",
+        "description": "Floating IPs support"}]}'
     http_version: 
-  recorded_at: Tue, 11 Dec 2012 11:41:01 GMT
-- request: 
+  recorded_at: Wed, 13 Feb 2013 11:12:59 GMT
+- request:
     method: get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806835/os-volume_attachments
-    body: 
-      string: ""
-    headers: 
-      X-Storage-Token: 
+    uri: https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/815215/os-volume_attachments
+    body:
+      encoding: US-ASCII
+      string: ''
+    headers:
+      X-Auth-Token:
       - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      Content-Type: 
-      - application/json
-      Accept: 
-      - application/json
-      X-Auth-Token: 
+      X-Storage-Token:
       - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      User-Agent: 
-      - OpenStack Ruby API 1.0.7
-      Connection: 
+      Connection:
       - Keep-Alive
-  response: 
-    status: 
+      User-Agent:
+      - OpenStack Ruby API 1.0.9
+      Accept:
+      - application/json
+      Content-Type:
+      - application/json
+  response:
+    status:
       code: 200
       message: OK
-    headers: 
-      Content-Type: 
+    headers:
+      Content-Length:
+      - '25'
+      Content-Type:
       - application/json; charset=UTF-8
-      Date: 
-      - Tue, 11 Dec 2012 11:41:02 GMT
-      Content-Length: 
-      - "25"
-    body: 
-      string: "{\"volumeAttachments\": []}"
+      Date:
+      - Wed, 13 Feb 2013 11:13:00 GMT
+    body:
+      encoding: US-ASCII
+      string: ! '{"volumeAttachments": []}'
     http_version: 
-  recorded_at: Tue, 11 Dec 2012 11:41:02 GMT
-- request: 
+  recorded_at: Wed, 13 Feb 2013 11:13:00 GMT
+- request:
     method: post
     uri: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens
-    body: 
-      string: "{\"auth\":{\"passwordCredentials\":{\"username\":\"foo@fakedomain.eu\",\"password\":\"1234fake56789\"},\"tenantName\":\"foo@fakedomain.eu-default-tenant\"}}"
-    headers: 
-      Content-Type: 
+    body:
+      encoding: UTF-8
+      string: ! '{"auth":{"passwordCredentials":{"username":"foo@fakedomain.eu","password":"1234fake56789"},"tenantName":"foo@fakedomain.eu-default-tenant"}}'
+    headers:
+      Content-Type:
       - application/json
-      Accept: 
-      - "*/*"
-  response: 
-    status: 
+      Accept:
+      - ! '*/*'
+      User-Agent:
+      - Ruby
+  response:
+    status:
       code: 200
       message: OK
-    headers: 
-      Server: 
-      - Apache-Coyote/1.1
-      Content-Type: 
+    headers:
+      Content-Length:
+      - '5934'
+      Content-Type:
       - application/json
-      Expires: 
-      - "-1"
-      Pragma: 
+      Date:
+      - Wed, 13 Feb 2013 11:13:01 GMT
+      Cache-Control:
       - no-cache
-      Cache-Control: 
+      Expires:
+      - '-1'
+      Pragma:
       - no-cache
-      Date: 
-      - Tue, 11 Dec 2012 11:41:04 GMT
-      Content-Length: 
-      - "4011"
-    body: 
-      string: |-
-        {"access": {
-          "token": {
-            "expires": "2012-12-11T23:41:04.155Z",
-            "id": "EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1",
-            "tenant": {
-              "id": "123456fake7890",
-              "name": "foo@fakedomain.eu-default-tenant"
-            }
-          },
-          "user": {
-            "id": "98765fake43210",
-            "name": "foo@fakedomain.eu",
-            "roles": [
-              {
-                "id": "00000000004024",
-                "serviceId": "140",
-                "name": "user",
-                "tenantId": "123456fake7890"
-              },
-              {
-                "id": "00000000004022",
-                "serviceId": "110",
-                "name": "Admin",
-                "tenantId": "123456fake7890"
-              },
-              {
-                "id": "00000000004025",
-                "serviceId": "120",
-                "name": "sysadmin",
-                "tenantId": "123456fake7890"
-              },
-              {
-                "id": "00000000004003",
-                "serviceId": "100",
-                "name": "domainadmin"
-              },
-              {
-                "id": "00000000004016",
-                "serviceId": "120",
-                "name": "netadmin",
-                "tenantId": "123456fake7890"
-              },
-              {
-                "id": "00000000004004",
-                "serviceId": "100",
-                "name": "domainuser"
-              },
-              {
-                "id": "00000000004013",
-                "serviceId": "130",
-                "name": "block-admin",
-                "tenantId": "123456fake7890"
-              }
-            ]
-          },
-          "serviceCatalog": [
-            {
-              "name": "Object Storage",
-              "type": "object-store",
-              "endpoints": [{
-                "tenantId": "123456fake7890",
-                "publicURL": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1\/123456fake7890",
-                "region": "region-a.geo-1",
-                "versionId": "1.0",
-                "versionInfo": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com\/v1.0\/",
-                "versionList": "https:\/\/region-a.geo-1.objects.hpcloudsvc.com"
-              }]
-            },
-            {
-              "name": "Identity",
-              "type": "identity",
-              "endpoints": [
-                {
-                  "publicURL": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-                  "region": "region-b.geo-1",
-                  "versionId": "2.0",
-                  "versionInfo": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-                  "versionList": "https:\/\/region-b.geo-1.identity.hpcloudsvc.com:35357"
-                },
-                {
-                  "publicURL": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-                  "region": "region-a.geo-1",
-                  "versionId": "2.0",
-                  "versionInfo": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357\/v2.0\/",
-                  "versionList": "https:\/\/region-a.geo-1.identity.hpcloudsvc.com:35357"
-                }
-              ]
-            },
-            {
-              "name": "Image Management",
-              "type": "image",
-              "endpoints": [{
-                "tenantId": "123456fake7890",
-                "publicURL": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0",
-                "region": "az-2.region-a.geo-1",
-                "versionId": "1.0",
-                "versionInfo": "https:\/\/glance2.uswest.hpcloud.net:9292\/v1.0\/",
-                "versionList": "https:\/\/glance2.uswest.hpcloud.net:9292"
-              }]
-            },
-            {
-              "name": "Block Storage",
-              "type": "volume",
-              "endpoints": [{
-                "tenantId": "123456fake7890",
-                "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/123456fake7890",
-                "region": "az-2.region-a.geo-1",
-                "versionId": "1.1",
-                "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-                "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-              }]
-            },
-            {
-              "name": "Compute",
-              "type": "compute",
-              "endpoints": [{
-                "tenantId": "123456fake7890",
-                "publicURL": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/123456fake7890",
-                "publicURL2": "https:\/\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\/services\/Cloud",
-                "region": "az-2.region-a.geo-1",
-                "versionId": "1.1",
-                "versionInfo": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com\/v1.1\/",
-                "versionList": "https:\/\/az-2.region-a.geo-1.compute.hpcloudsvc.com"
-              }]
-            }
-          ]
-        }}
+      Server:
+      - Apache-Coyote/1.1
+    body:
+      encoding: US-ASCII
+      string: ! "{\"access\": {\n  \"token\": {\n    \"expires\": \"2013-02-13T23:13:02.382Z\",\n
+        \   \"id\": \"EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1\",\n
+        \   \"tenant\": {\n      \"id\": \"123456fake7890\",\n      \"name\": \"foo@fakedomain.eu-default-tenant\"\n
+        \   }\n  },\n  \"user\": {\n    \"id\": \"98765fake43210\",\n    \"name\":
+        \"foo@fakedomain.eu\",\n    \"roles\": [\n      {\n        \"id\": \"00000000004013\",\n
+        \       \"serviceId\": \"130\",\n        \"name\": \"block-admin\",\n        \"tenantId\":
+        \"123456fake7890\"\n      },\n      {\n        \"id\": \"00000000004025\",\n
+        \       \"serviceId\": \"120\",\n        \"name\": \"sysadmin\",\n        \"tenantId\":
+        \"123456fake7890\"\n      },\n      {\n        \"id\": \"00000000004024\",\n
+        \       \"serviceId\": \"140\",\n        \"name\": \"user\",\n        \"tenantId\":
+        \"123456fake7890\"\n      },\n      {\n        \"id\": \"00000000004022\",\n
+        \       \"serviceId\": \"110\",\n        \"name\": \"Admin\",\n        \"tenantId\":
+        \"123456fake7890\"\n      },\n      {\n        \"id\": \"00000000004025\",\n
+        \       \"serviceId\": \"120\",\n        \"name\": \"sysadmin\",\n        \"tenantId\":
+        \"123456fake7890\"\n      },\n      {\n        \"id\": \"00000000004024\",\n
+        \       \"serviceId\": \"140\",\n        \"name\": \"user\",\n        \"tenantId\":
+        \"123456fake7890\"\n      },\n      {\n        \"id\": \"00000000004003\",\n
+        \       \"serviceId\": \"100\",\n        \"name\": \"domainadmin\"\n      },\n
+        \     {\n        \"id\": \"00000000004016\",\n        \"serviceId\": \"120\",\n
+        \       \"name\": \"netadmin\",\n        \"tenantId\": \"123456fake7890\"\n
+        \     },\n      {\n        \"id\": \"00000000004004\",\n        \"serviceId\":
+        \"100\",\n        \"name\": \"domainuser\"\n      },\n      {\n        \"id\":
+        \"00000000004013\",\n        \"serviceId\": \"130\",\n        \"name\": \"block-admin\",\n
+        \       \"tenantId\": \"123456fake7890\"\n      },\n      {\n        \"id\":
+        \"00000000004016\",\n        \"serviceId\": \"120\",\n        \"name\": \"netadmin\",\n
+        \       \"tenantId\": \"123456fake7890\"\n      }\n    ]\n  },\n  \"serviceCatalog\":
+        [\n    {\n      \"name\": \"Object Storage\",\n      \"type\": \"object-store\",\n
+        \     \"endpoints\": [{\n        \"tenantId\": \"123456fake7890\",\n        \"publicURL\":
+        \"https:\\/\\/region-a.geo-1.objects.hpcloudsvc.com\\/v1\\/123456fake7890\",\n
+        \       \"region\": \"region-a.geo-1\",\n        \"versionId\": \"1.0\",\n
+        \       \"versionInfo\": \"https:\\/\\/region-a.geo-1.objects.hpcloudsvc.com\\/v1.0\\/\",\n
+        \       \"versionList\": \"https:\\/\\/region-a.geo-1.objects.hpcloudsvc.com\"\n
+        \     }]\n    },\n    {\n      \"name\": \"Identity\",\n      \"type\": \"identity\",\n
+        \     \"endpoints\": [\n        {\n          \"publicURL\": \"https:\\/\\/region-a.geo-1.identity.hpcloudsvc.com:35357\\/v2.0\\/\",\n
+        \         \"region\": \"region-a.geo-1\",\n          \"versionId\": \"2.0\",\n
+        \         \"versionInfo\": \"https:\\/\\/region-a.geo-1.identity.hpcloudsvc.com:35357\\/v2.0\\/\",\n
+        \         \"versionList\": \"https:\\/\\/region-a.geo-1.identity.hpcloudsvc.com:35357\"\n
+        \       },\n        {\n          \"publicURL\": \"https:\\/\\/region-b.geo-1.identity.hpcloudsvc.com:35357\\/v2.0\\/\",\n
+        \         \"region\": \"region-b.geo-1\",\n          \"versionId\": \"2.0\",\n
+        \         \"versionInfo\": \"https:\\/\\/region-b.geo-1.identity.hpcloudsvc.com:35357\\/v2.0\\/\",\n
+        \         \"versionList\": \"https:\\/\\/region-b.geo-1.identity.hpcloudsvc.com:35357\"\n
+        \       }\n      ]\n    },\n    {\n      \"name\": \"Image Management\",\n
+        \     \"type\": \"image\",\n      \"endpoints\": [\n        {\n          \"tenantId\":
+        \"123456fake7890\",\n          \"publicURL\": \"https:\\/\\/glance2.uswest.hpcloud.net:9292\\/v1.0\",\n
+        \         \"region\": \"az-2.region-a.geo-1\",\n          \"versionId\": \"1.0\",\n
+        \         \"versionInfo\": \"https:\\/\\/glance2.uswest.hpcloud.net:9292\\/v1.0\\/\",\n
+        \         \"versionList\": \"https:\\/\\/glance2.uswest.hpcloud.net:9292\"\n
+        \       },\n        {\n          \"tenantId\": \"123456fake7890\",\n          \"publicURL\":
+        \"https:\\/\\/glance1.uswest.hpcloud.net:9292\\/v1.0\",\n          \"region\":
+        \"az-1.region-a.geo-1\",\n          \"versionId\": \"1.0\",\n          \"versionInfo\":
+        \"https:\\/\\/glance1.uswest.hpcloud.net:9292\\/v1.0\\/\",\n          \"versionList\":
+        \"https:\\/\\/glance1.uswest.hpcloud.net:9292\"\n        }\n      ]\n    },\n
+        \   {\n      \"name\": \"Block Storage\",\n      \"type\": \"volume\",\n      \"endpoints\":
+        [\n        {\n          \"tenantId\": \"123456fake7890\",\n          \"publicURL\":
+        \"https:\\/\\/az-1.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/123456fake7890\",\n
+        \         \"region\": \"az-1.region-a.geo-1\",\n          \"versionId\": \"1.1\",\n
+        \         \"versionInfo\": \"https:\\/\\/az-1.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/\",\n
+        \         \"versionList\": \"https:\\/\\/az-1.region-a.geo-1.compute.hpcloudsvc.com\"\n
+        \       },\n        {\n          \"tenantId\": \"123456fake7890\",\n          \"publicURL\":
+        \"https:\\/\\/az-2.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/123456fake7890\",\n
+        \         \"region\": \"az-2.region-a.geo-1\",\n          \"versionId\": \"1.1\",\n
+        \         \"versionInfo\": \"https:\\/\\/az-2.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/\",\n
+        \         \"versionList\": \"https:\\/\\/az-2.region-a.geo-1.compute.hpcloudsvc.com\"\n
+        \       }\n      ]\n    },\n    {\n      \"name\": \"Compute\",\n      \"type\":
+        \"compute\",\n      \"endpoints\": [\n        {\n          \"tenantId\": \"123456fake7890\",\n
+        \         \"publicURL\": \"https:\\/\\/az-2.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/123456fake7890\",\n
+        \         \"publicURL2\": \"https:\\/\\/az-2.region-a.geo-1.ec2-compute.hpcloudsvc.com\\/services\\/Cloud\",\n
+        \         \"region\": \"az-2.region-a.geo-1\",\n          \"versionId\": \"1.1\",\n
+        \         \"versionInfo\": \"https:\\/\\/az-2.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/\",\n
+        \         \"versionList\": \"https:\\/\\/az-2.region-a.geo-1.compute.hpcloudsvc.com\"\n
+        \       },\n        {\n          \"tenantId\": \"123456fake7890\",\n          \"publicURL\":
+        \"https:\\/\\/az-1.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/123456fake7890\",\n
+        \         \"publicURL2\": \"https:\\/\\/az-1.region-a.geo-1.ec2-compute.hpcloudsvc.com\\/services\\/Cloud\",\n
+        \         \"region\": \"az-1.region-a.geo-1\",\n          \"versionId\": \"1.1\",\n
+        \         \"versionInfo\": \"https:\\/\\/az-1.region-a.geo-1.compute.hpcloudsvc.com\\/v1.1\\/\",\n
+        \         \"versionList\": \"https:\\/\\/az-1.region-a.geo-1.compute.hpcloudsvc.com\"\n
+        \       }\n      ]\n    }\n  ]\n}}"
     http_version: 
-  recorded_at: Tue, 11 Dec 2012 11:41:04 GMT
-- request: 
+  recorded_at: Wed, 13 Feb 2013 11:13:02 GMT
+- request:
     method: get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/detail
-    body: 
-      string: ""
-    headers: 
-      X-Storage-Token: 
+    uri: https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/detail
+    body:
+      encoding: US-ASCII
+      string: ''
+    headers:
+      X-Auth-Token:
       - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      Accept: 
-      - application/json
-      X-Auth-Token: 
+      X-Storage-Token:
       - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      User-Agent: 
-      - OpenStack Ruby API 1.0.7
-      Connection: 
+      Connection:
       - Keep-Alive
-  response: 
-    status: 
+      User-Agent:
+      - OpenStack Ruby API 1.0.9
+      Accept:
+      - application/json
+  response:
+    status:
       code: 200
       message: OK
-    headers: 
-      Content-Type: 
+    headers:
+      Content-Length:
+      - '1283'
+      Content-Type:
       - application/json; charset=UTF-8
-      Date: 
-      - Tue, 11 Dec 2012 11:41:06 GMT
-      Content-Length: 
-      - "2580"
-    body: 
-      string: "{\"servers\": [{\"status\": \"ACTIVE\", \"updated\": \"2012-12-11T11:36:16Z\", \"hostId\": \"bbe65f8ab3fc264a6d7b576cf43db3268a0053b15a84ec9b1daaaf22\", \"user_id\": \"98765fake43210\", \"name\": \"Server-1355225740-az-2-region-a-geo-1\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806837\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/servers/806837\", \"rel\": \"bookmark\"}], \"addresses\": {\"private\": [{\"version\": 4, \"addr\": \"10.7.17.252\"}, {\"version\": 4, \"addr\": \"15.185.175.43\"}]}, \"tenant_id\": \"123456fake7890\", \"image\": {\"id\": \"47940\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/images/47940\", \"rel\": \"bookmark\"}]}, \"created\": \"2012-12-11T11:35:45Z\", \"uuid\": \"936765b5-27bd-4d7d-a010-437e67611312\", \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"key_name\": \"marios_defaul
 t\", \"progress\": 100, \"flavor\": {\"id\": \"100\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/flavors/100\", \"rel\": \"bookmark\"}]}, \"config_drive\": \"\", \"id\": 806837, \"security_groups\": [{\"name\": \"default\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/os-security-groups/1381\", \"rel\": \"bookmark\"}], \"id\": 1381}], \"metadata\": {}}, {\"status\": \"ACTIVE\", \"updated\": \"2012-12-11T11:35:58Z\", \"hostId\": \"621e9708d67a1038f9f1d3b5c153fc28fe654d1a63b518e0bcf79a91\", \"user_id\": \"98765fake43210\", \"name\": \"Server-1355225720-az-2-region-a-geo-1\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806835\", \"rel\": \"self\"}, {\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/servers/806835\", \"rel\": \"bookmark\"}], \"addresses\": {\"private\": [{\"version\": 4, \"addr\": \"10.
 7.17.249\"}, {\"version\": 4, \"addr\": \"15.185.175.8\"}]}, \"tenant_id\": \"123456fake7890\", \"image\": {\"id\": \"47940\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/images/47940\", \"rel\": \"bookmark\"}]}, \"created\": \"2012-12-11T11:35:26Z\", \"uuid\": \"16bc0610-396f-4a3b-b873-db8da574ee81\", \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"key_name\": \"marios_default\", \"progress\": 100, \"flavor\": {\"id\": \"100\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/flavors/100\", \"rel\": \"bookmark\"}]}, \"config_drive\": \"\", \"id\": 806835, \"security_groups\": [{\"name\": \"default\", \"links\": [{\"href\": \"https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/os-security-groups/1381\", \"rel\": \"bookmark\"}], \"id\": 1381}], \"metadata\": {}}]}"
+      Date:
+      - Wed, 13 Feb 2013 11:13:04 GMT
+    body:
+      encoding: US-ASCII
+      string: ! '{"servers": [{"status": "ACTIVE", "updated": "2013-02-13T11:07:13Z",
+        "hostId": "966a86ded4996d76dc93d58621ae1baf363e1a77d35ae5ba34bc9dac", "user_id":
+        "98765fake43210", "name": "server2013-02-13 13:06:46 +0200", "links": [{"href":
+        "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/815215",
+        "rel": "self"}, {"href": "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/servers/815215",
+        "rel": "bookmark"}], "addresses": {"private": [{"version": 4, "addr": "10.4.228.237"},
+        {"version": 4, "addr": "15.185.100.190"}]}, "tenant_id": "123456fake7890",
+        "image": {"id": "78265", "links": [{"href": "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/images/78265",
+        "rel": "bookmark"}]}, "created": "2013-02-13T11:06:50Z", "uuid": "091cf8bc-383f-4f96-bdea-0372f4df245e",
+        "accessIPv4": "", "accessIPv6": "", "key_name": null, "progress": 100, "flavor":
+        {"id": "100", "links": [{"href": "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/123456fake7890/flavors/100",
+        "rel": "bookmark"}]}, "config_drive": "", "id": 815215, "security_groups":
+        [{"name": "default", "links": [{"href": "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/os-security-groups/62635",
+        "rel": "bookmark"}], "id": 62635}], "metadata": {}}]}'
     http_version: 
-  recorded_at: Tue, 11 Dec 2012 11:41:06 GMT
-- request: 
+  recorded_at: Wed, 13 Feb 2013 11:13:04 GMT
+- request:
     method: get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/extensions
-    body: 
-      string: ""
-    headers: 
-      X-Storage-Token: 
+    uri: https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/extensions
+    body:
+      encoding: US-ASCII
+      string: ''
+    headers:
+      X-Auth-Token:
       - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      Content-Type: 
-      - application/json
-      Accept: 
-      - application/json
-      X-Auth-Token: 
+      X-Storage-Token:
       - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      User-Agent: 
-      - OpenStack Ruby API 1.0.7
-      Connection: 
+      Connection:
       - Keep-Alive
-  response: 
-    status: 
-      code: 200
-      message: OK
-    headers: 
-      Content-Type: 
-      - application/json; charset=UTF-8
-      Date: 
-      - Tue, 11 Dec 2012 11:41:07 GMT
-      Content-Length: 
-      - "1570"
-    body: 
-      string: "{\"extensions\": [{\"updated\": \"2011-03-25T00:00:00+00:00\", \"name\": \"Volumes\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/volumes/api/v1.1\", \"alias\": \"os-volumes\", \"description\": \"Volumes support\"}, {\"updated\": \"2012-10-11T00:00:00+00:00\", \"name\": \"HP Bootable Volumes\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/hp-bootable-volumes/api/v1.1\", \"alias\": \"hp-bootable-volumes\", \"description\": \"hp bootable volumes support\"}, {\"updated\": \"2012-09-04T00:00:00+00:00\", \"name\": \"hp volume backup\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/hp-volume-backups/api/v1.1\", \"alias\": \"hp-volume-backups\", \"description\": \"hp volume backups support\"}, {\"updated\": \"2011-08-08T00:00:00+00:00\", \"name\": \"Keypairs\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/keypairs/api/v1.1\", \"alias\": \"os-keypairs\", \"description\": \"Keypair Support\"}, {\"updated\": \"
 2011-12-08T00:00:00+00:00\", \"name\": \"Console_output\", \"links\": [], \"namespace\": \"http://docs.openstack.org/compute/ext/os-console-output/api/v1.1\", \"alias\": \"os-console-output\", \"description\": \"Console log output support, with tailing ability.\"}, {\"updated\": \"2011-07-21T00:00:00+00:00\", \"name\": \"SecurityGroups\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/securitygroups/api/v1.1\", \"alias\": \"security_groups\", \"description\": \"Security group support\"}, {\"updated\": \"2011-06-16T00:00:00+00:00\", \"name\": \"Floating_ips\", \"links\": [], \"namespace\": \"http://docs.openstack.org/ext/floating_ips/api/v1.1\", \"alias\": \"os-floating-ips\", \"description\": \"Floating IPs support\"}]}"
-    http_version: 
-  recorded_at: Tue, 11 Dec 2012 11:41:07 GMT
-- request: 
-    method: get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806837/os-volume_attachments
-    body: 
-      string: ""
-    headers: 
-      X-Storage-Token: 
-      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      Content-Type: 
+      User-Agent:
+      - OpenStack Ruby API 1.0.9
+      Accept:
       - application/json
-      Accept: 
+      Content-Type:
       - application/json
-      X-Auth-Token: 
-      - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      User-Agent: 
-      - OpenStack Ruby API 1.0.7
-      Connection: 
-      - Keep-Alive
-  response: 
-    status: 
+  response:
+    status:
       code: 200
       message: OK
-    headers: 
-      Content-Type: 
+    headers:
+      Content-Length:
+      - '1766'
+      Content-Type:
       - application/json; charset=UTF-8
-      Date: 
-      - Tue, 11 Dec 2012 11:41:09 GMT
-      Content-Length: 
-      - "25"
-    body: 
-      string: "{\"volumeAttachments\": []}"
+      Date:
+      - Wed, 13 Feb 2013 11:13:05 GMT
+    body:
+      encoding: US-ASCII
+      string: ! '{"extensions": [{"updated": "2011-03-25T00:00:00+00:00", "name":
+        "Volumes", "links": [], "namespace": "http://docs.openstack.org/ext/volumes/api/v1.1",
+        "alias": "os-volumes", "description": "Volumes support"}, {"updated": "2012-10-11T00:00:00+00:00",
+        "name": "HP Bootable Volumes", "links": [], "namespace": "http://docs.openstack.org/ext/hp-bootable-volumes/api/v1.1",
+        "alias": "hp-bootable-volumes", "description": "hp bootable volumes support"},
+        {"updated": "2011-08-18T00:00:00+00:00", "name": "Rescue", "links": [], "namespace":
+        "http://docs.openstack.org/ext/rescue/api/v1.1", "alias": "os-rescue", "description":
+        "Instance rescue mode"}, {"updated": "2012-09-04T00:00:00+00:00", "name":
+        "hp volume backup", "links": [], "namespace": "http://docs.openstack.org/ext/hp-volume-backups/api/v1.1",
+        "alias": "hp-volume-backups", "description": "hp volume backups support"},
+        {"updated": "2011-08-08T00:00:00+00:00", "name": "Keypairs", "links": [],
+        "namespace": "http://docs.openstack.org/ext/keypairs/api/v1.1", "alias": "os-keypairs",
+        "description": "Keypair Support"}, {"updated": "2011-12-08T00:00:00+00:00",
+        "name": "Console_output", "links": [], "namespace": "http://docs.openstack.org/compute/ext/os-console-output/api/v1.1",
+        "alias": "os-console-output", "description": "Console log output support,
+        with tailing ability."}, {"updated": "2011-07-21T00:00:00+00:00", "name":
+        "SecurityGroups", "links": [], "namespace": "http://docs.openstack.org/ext/securitygroups/api/v1.1",
+        "alias": "security_groups", "description": "Security group support"}, {"updated":
+        "2011-06-16T00:00:00+00:00", "name": "Floating_ips", "links": [], "namespace":
+        "http://docs.openstack.org/ext/floating_ips/api/v1.1", "alias": "os-floating-ips",
+        "description": "Floating IPs support"}]}'
     http_version: 
-  recorded_at: Tue, 11 Dec 2012 11:41:09 GMT
-- request: 
+  recorded_at: Wed, 13 Feb 2013 11:13:05 GMT
+- request:
     method: get
-    uri: https://az-2.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/806835/os-volume_attachments
-    body: 
-      string: ""
-    headers: 
-      X-Storage-Token: 
+    uri: https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/123456fake7890/servers/815215/os-volume_attachments
+    body:
+      encoding: US-ASCII
+      string: ''
+    headers:
+      X-Auth-Token:
       - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      Content-Type: 
-      - application/json
-      Accept: 
-      - application/json
-      X-Auth-Token: 
+      X-Storage-Token:
       - EUAuth_01d7206e81832d1ac45183ab9531ba4f6cdc231590a31d5a326aa3cac417cdd1
-      User-Agent: 
-      - OpenStack Ruby API 1.0.7
-      Connection: 
+      Connection:
       - Keep-Alive
-  response: 
-    status: 
+      User-Agent:
+      - OpenStack Ruby API 1.0.9
+      Accept:
+      - application/json
+      Content-Type:
+      - application/json
+  response:
+    status:
       code: 200
       message: OK
-    headers: 
-      Content-Type: 
+    headers:
+      Content-Length:
+      - '25'
+      Content-Type:
       - application/json; charset=UTF-8
-      Date: 
-      - Tue, 11 Dec 2012 11:41:10 GMT
-      Content-Length: 
-      - "25"
-    body: 
-      string: "{\"volumeAttachments\": []}"
+      Date:
+      - Wed, 13 Feb 2013 11:13:07 GMT
+    body:
+      encoding: US-ASCII
+      string: ! '{"volumeAttachments": []}'
     http_version: 
-  recorded_at: Tue, 11 Dec 2012 11:41:10 GMT
+  recorded_at: Wed, 13 Feb 2013 11:13:07 GMT
+recorded_with: VCR 2.4.0


Mime
View raw message