aviator 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +15 -0
- data/.travis.yml +1 -0
- data/README.md +35 -8
- data/README.md.orig +217 -0
- data/aviator.gemspec +3 -3
- data/lib/aviator/openstack/compute/v2/public/change_admin_password.rb +54 -0
- data/lib/aviator/openstack/compute/v2/public/create_image.rb +56 -0
- data/lib/aviator/openstack/compute/v2/public/create_server.rb +64 -0
- data/lib/aviator/openstack/compute/v2/public/delete_server.rb +39 -0
- data/lib/aviator/openstack/compute/v2/public/get_server.rb +39 -0
- data/lib/aviator/openstack/compute/v2/public/list_addresses.rb +48 -0
- data/lib/aviator/openstack/compute/v2/public/list_flavors.rb +55 -0
- data/lib/aviator/openstack/compute/v2/public/reboot_server.rb +51 -0
- data/lib/aviator/openstack/compute/v2/public/rebuild_server.rb +63 -0
- data/lib/aviator/openstack/compute/v2/public/root.rb +34 -0
- data/lib/aviator/openstack/compute/v2/public/update_server.rb +55 -0
- data/lib/aviator/version.rb +1 -1
- data/test/aviator/core/service_test.rb +3 -15
- data/test/aviator/core/session_test.rb +3 -3
- data/test/aviator/openstack/compute/v2/public/change_admin_password_test.rb +141 -0
- data/test/aviator/openstack/compute/v2/public/create_image_test.rb +146 -0
- data/test/aviator/openstack/compute/v2/public/create_server_test.rb +177 -0
- data/test/aviator/openstack/compute/v2/public/delete_server_test.rb +131 -0
- data/test/aviator/openstack/compute/v2/public/get_server_test.rb +138 -0
- data/test/aviator/openstack/compute/v2/public/list_addresses_test.rb +161 -0
- data/test/aviator/openstack/compute/v2/public/list_flavors_test.rb +160 -0
- data/test/aviator/openstack/compute/v2/public/list_images_test.rb +1 -1
- data/test/aviator/openstack/compute/v2/public/reboot_server_test.rb +137 -0
- data/test/aviator/openstack/compute/v2/public/rebuild_server_test.rb +183 -0
- data/test/aviator/openstack/compute/v2/public/root_test.rb +106 -0
- data/test/aviator/openstack/compute/v2/public/update_server_test.rb +144 -0
- data/test/aviator/openstack/identity/v2/admin/create_tenant_test.rb +1 -1
- data/test/cassettes/core/service/i_default_session_data_/sets_the_service_s_default_session_data.yml +18 -17
- data/test/cassettes/core/service/i_request/accepts_an_endpoint_type_option_for_selecting_a_specific_request.yml +31 -30
- data/test/cassettes/core/service/i_request/can_find_the_correct_request_based_on_bootstrapped_session_data.yml +18 -17
- data/test/cassettes/core/service/i_request/can_find_the_correct_request_based_on_non-bootstrapped_session_data.yml +29 -27
- data/test/cassettes/core/service/i_request/can_find_the_correct_request_if_api_version_is_not_defined_but_can_be_inferred_from_host_uri.yml +18 -17
- data/test/cassettes/core/service/i_request/uses_the_default_session_data_if_session_data_is_not_provided.yml +29 -27
- data/test/cassettes/core/session/c_load/creates_a_new_instance_from_the_given_session_dump.yml +18 -17
- data/test/cassettes/core/session/c_load/uses_the_loaded_auth_info_for_its_services.yml +18 -17
- data/test/cassettes/core/session/c_new/directs_log_entries_to_the_given_log_file.yml +18 -17
- data/test/cassettes/core/session/i_authenticate/authenticates_against_the_auth_service_indicated_in_the_config_file.yml +18 -17
- data/test/cassettes/core/session/i_authenticate/authenticates_against_the_auth_service_using_the_credentials_in_the_given_block.yml +10 -10
- data/test/cassettes/core/session/i_authenticate/raises_an_AuthenticationError_when_authentication_fails.yml +3 -3
- data/test/cassettes/core/session/i_authenticate/updates_the_session_data_of_its_service_objects.yml +36 -34
- data/test/cassettes/core/session/i_dump/serializes_the_session_data_for_caching.yml +18 -17
- data/test/cassettes/core/session/i_load/returns_itself.yml +18 -17
- data/test/cassettes/core/session/i_load/updates_the_session_data_of_its_service_objects.yml +36 -34
- data/test/cassettes/core/session/i_validate/returns_false_if_session_is_no_longer_valid.yml +20 -19
- data/test/cassettes/core/session/i_validate/returns_true_if_session_is_still_valid.yml +22 -21
- data/test/cassettes/core/session/i_xxx_service/returns_an_instance_of_the_indicated_service.yml +18 -17
- data/test/cassettes/openstack/compute/v2/public/change_admin_password/leads_to_a_valid_response_when_invalid_server_id_is_provided.yml +97 -0
- data/test/cassettes/openstack/compute/v2/public/change_admin_password/leads_to_a_valid_response_when_valid_params_are_provided.yml +132 -0
- data/test/cassettes/openstack/compute/v2/public/change_admin_password/returns_the_correct_value_for_body_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/change_admin_password/returns_the_correct_value_for_headers_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/change_admin_password/returns_the_correct_value_for_http_method_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/change_admin_password/returns_the_correct_value_for_url_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/create_image/leads_to_a_valid_response_when_invalid_server_id_is_provided.yml +97 -0
- data/test/cassettes/openstack/compute/v2/public/create_image/leads_to_a_valid_response_when_valid_params_are_provided.yml +132 -0
- data/test/cassettes/openstack/compute/v2/public/create_image/returns_the_correct_value_for_body_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/create_image/returns_the_correct_value_for_headers_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/create_image/returns_the_correct_value_for_http_method_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/create_image/returns_the_correct_value_for_url_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/create_server/leads_to_a_valid_response_when_parameters_are_provided.yml +182 -0
- data/test/cassettes/openstack/compute/v2/public/create_server/leads_to_a_valid_response_when_the_adminPass_parameter_is_provided.yml +182 -0
- data/test/cassettes/openstack/compute/v2/public/create_server/leads_to_a_valid_response_when_the_flavorRef_parameter_is_invalid.yml +135 -0
- data/test/cassettes/openstack/compute/v2/public/create_server/returns_the_correct_value_for_body_.yml +142 -0
- data/test/cassettes/openstack/compute/v2/public/create_server/returns_the_correct_value_for_headers_.yml +142 -0
- data/test/cassettes/openstack/compute/v2/public/create_server/returns_the_correct_value_for_http_method_.yml +142 -0
- data/test/cassettes/openstack/compute/v2/public/create_server/returns_the_correct_value_for_url_.yml +222 -0
- data/test/cassettes/openstack/compute/v2/public/delete_server/leads_to_a_valid_response_when_invalid_server_id_is_provided.yml +96 -0
- data/test/cassettes/openstack/compute/v2/public/delete_server/leads_to_a_valid_response_when_valid_server_id_is_provided.yml +131 -0
- data/test/cassettes/openstack/compute/v2/public/delete_server/returns_the_correct_value_for_body_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/delete_server/returns_the_correct_value_for_headers_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/delete_server/returns_the_correct_value_for_http_method_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/delete_server/returns_the_correct_value_for_url_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/get_server/leads_to_a_valid_response_when_a_valid_server_id_is_provided.yml +145 -0
- data/test/cassettes/openstack/compute/v2/public/get_server/leads_to_a_valid_response_when_an_invalid_server_id_is_provided.yml +96 -0
- data/test/cassettes/openstack/compute/v2/public/get_server/returns_the_correct_value_for_body_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/get_server/returns_the_correct_value_for_headers_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/get_server/returns_the_correct_value_for_http_method_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/get_server/returns_the_correct_value_for_url_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/list_addresses/leads_to_a_valid_response_when_a_networkID_parameter_is_provided.yml +167 -0
- data/test/cassettes/openstack/compute/v2/public/list_addresses/leads_to_a_valid_response_when_a_valid_server_id_is_provided.yml +132 -0
- data/test/cassettes/openstack/compute/v2/public/list_addresses/leads_to_a_valid_response_when_an_invalid_server_id_is_provided.yml +96 -0
- data/test/cassettes/openstack/compute/v2/public/list_addresses/returns_the_correct_value_for_body_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/list_addresses/returns_the_correct_value_for_headers_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/list_addresses/returns_the_correct_value_for_http_method_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/list_addresses/returns_the_correct_value_for_url_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/list_flavors/leads_to_a_valid_response_when_no_parameters_are_provided.yml +104 -0
- data/test/cassettes/openstack/compute/v2/public/list_flavors/leads_to_a_valid_response_when_the_details_filter_is_provided.yml +111 -0
- data/test/cassettes/openstack/compute/v2/public/list_flavors/leads_to_a_valid_response_when_the_minDisk_filter_is_provided.yml +146 -0
- data/test/cassettes/openstack/compute/v2/public/list_flavors/returns_the_correct_value_for_body_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/list_flavors/returns_the_correct_value_for_headers_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/list_flavors/returns_the_correct_value_for_http_method_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/list_flavors/returns_the_correct_value_for_url_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/list_images/leads_to_a_valid_response_when_no_parameters_are_provided.yml +32 -31
- data/test/cassettes/openstack/compute/v2/public/list_images/leads_to_a_valid_response_when_parameters_are_invalid.yml +23 -22
- data/test/cassettes/openstack/compute/v2/public/list_images/leads_to_a_valid_response_when_parameters_are_valid.yml +32 -31
- data/test/cassettes/openstack/compute/v2/public/list_images/returns_the_correct_value_for_body_.yml +18 -17
- data/test/cassettes/openstack/compute/v2/public/list_images/returns_the_correct_value_for_headers_.yml +18 -17
- data/test/cassettes/openstack/compute/v2/public/list_images/returns_the_correct_value_for_http_method_.yml +18 -17
- data/test/cassettes/openstack/compute/v2/public/list_images/returns_the_correct_value_for_url_.yml +18 -17
- data/test/cassettes/openstack/compute/v2/public/list_servers/leads_to_a_valid_response_when_no_parameters_are_provided.yml +39 -38
- data/test/cassettes/openstack/compute/v2/public/list_servers/leads_to_a_valid_response_when_parameters_are_invalid.yml +37 -35
- data/test/cassettes/openstack/compute/v2/public/list_servers/leads_to_a_valid_response_when_parameters_are_valid.yml +42 -39
- data/test/cassettes/openstack/compute/v2/public/list_servers/returns_the_correct_value_for_body_.yml +32 -30
- data/test/cassettes/openstack/compute/v2/public/list_servers/returns_the_correct_value_for_headers_.yml +32 -30
- data/test/cassettes/openstack/compute/v2/public/list_servers/returns_the_correct_value_for_http_method_.yml +32 -30
- data/test/cassettes/openstack/compute/v2/public/list_servers/returns_the_correct_value_for_url_.yml +32 -30
- data/test/cassettes/openstack/compute/v2/public/reboot_server/leads_to_a_valid_response_when_invalid_server_id_is_provided.yml +97 -0
- data/test/cassettes/openstack/compute/v2/public/reboot_server/leads_to_a_valid_response_when_valid_params_are_provided.yml +130 -0
- data/test/cassettes/openstack/compute/v2/public/reboot_server/returns_the_correct_value_for_body_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/reboot_server/returns_the_correct_value_for_headers_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/reboot_server/returns_the_correct_value_for_http_method_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/reboot_server/returns_the_correct_value_for_url_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/rebuild_server/leads_to_a_valid_response_when_invalid_image_id_is_provided.yml +133 -0
- data/test/cassettes/openstack/compute/v2/public/rebuild_server/leads_to_a_valid_response_when_invalid_server_id_is_provided.yml +167 -0
- data/test/cassettes/openstack/compute/v2/public/rebuild_server/leads_to_a_valid_response_when_valid_params_are_provided.yml +216 -0
- data/test/cassettes/openstack/compute/v2/public/rebuild_server/returns_the_correct_value_for_body_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/rebuild_server/returns_the_correct_value_for_headers_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/rebuild_server/returns_the_correct_value_for_http_method_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/rebuild_server/returns_the_correct_value_for_url_.yml +63 -0
- data/test/cassettes/openstack/compute/v2/public/root/leads_to_a_valid_response_when_no_parameters_are_provided.yml +101 -0
- data/test/cassettes/openstack/compute/v2/public/root/returns_the_correct_value_for_body_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/root/returns_the_correct_value_for_headers_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/root/returns_the_correct_value_for_http_method_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/root/returns_the_correct_value_for_url_.yml +62 -0
- data/test/cassettes/openstack/compute/v2/public/update_server/leads_to_a_valid_response_when_invalid_server_id_is_provided.yml +96 -0
- data/test/cassettes/openstack/compute/v2/public/update_server/leads_to_a_valid_response_when_valid_server_id_is_provided.yml +142 -0
- data/test/cassettes/openstack/compute/v2/public/update_server/returns_the_correct_value_for_body_.yml +142 -0
- data/test/cassettes/openstack/compute/v2/public/update_server/returns_the_correct_value_for_headers_.yml +142 -0
- data/test/cassettes/openstack/compute/v2/public/update_server/returns_the_correct_value_for_http_method_.yml +142 -0
- data/test/cassettes/openstack/compute/v2/public/update_server/returns_the_correct_value_for_url_.yml +142 -0
- data/test/cassettes/openstack/identity/v2/admin/create_tenant/leads_to_a_valid_response_when_params_are_invalid.yml +21 -20
- data/test/cassettes/openstack/identity/v2/admin/create_tenant/leads_to_a_valid_response_when_params_are_valid.yml +25 -24
- data/test/cassettes/openstack/identity/v2/public/create_token/leads_to_a_valid_response_when_parameters_are_invalid.yml +3 -3
- data/test/cassettes/openstack/identity/v2/public/create_token/leads_to_a_valid_response_when_parameters_are_valid.yml +10 -10
- data/test/cassettes/openstack/identity/v2/public/create_token/leads_to_a_valid_response_when_provided_with_a_token.yml +28 -27
- data/test/environment.yml.example +16 -9
- data/test/environment.yml.travis-ci +19 -14
- data/test/support/vcr_setup.rb +35 -10
- data/test/test_helper.rb +3 -1
- metadata +180 -52
- data/test/cassettes/openstack/compute/v2/public/list_images/returns_the_correct_value_for_body.yml +0 -63
- data/test/cassettes/openstack/compute/v2/public/list_images/returns_the_correct_value_for_headers.yml +0 -63
- data/test/cassettes/openstack/compute/v2/public/list_images/returns_the_correct_value_for_url.yml +0 -63
- data/test/cassettes/openstack/identity/v2/admin/create_tenant/leads_to_a_valid_response_when_provided_with_invalid_params.yml +0 -97
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: post
|
|
5
|
-
uri: <
|
|
5
|
+
uri: <OPENSTACK_ADMIN_HOST_URI>:5000/v2.0/tokens
|
|
6
6
|
body:
|
|
7
7
|
encoding: UTF-8
|
|
8
|
-
string: ! '{"auth":{"passwordCredentials":{"username":"<
|
|
8
|
+
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_ADMIN_USERNAME>","password":"<OPENSTACK_ADMIN_PASSWORD>"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
|
|
9
9
|
headers:
|
|
10
10
|
Content-Type:
|
|
11
11
|
- application/json
|
|
@@ -23,45 +23,46 @@ http_interactions:
|
|
|
23
23
|
content-length:
|
|
24
24
|
- '2749'
|
|
25
25
|
date:
|
|
26
|
-
-
|
|
26
|
+
- Wed, 04 Sep 2013 21:14:54 GMT
|
|
27
27
|
connection:
|
|
28
28
|
- close
|
|
29
29
|
body:
|
|
30
30
|
encoding: US-ASCII
|
|
31
|
-
string: ! '{"access": {"token": {"issued_at": "2013-09-
|
|
32
|
-
"expires": "2013-09-
|
|
33
|
-
"tenant": {"description": "System account for
|
|
34
|
-
"enabled": true, "id": "e7b1b62aa1474f758c4974b8be44cf6c", "name": "
|
|
35
|
-
"serviceCatalog": [{"endpoints": [{"adminURL": "<
|
|
36
|
-
"region": "RegionOne", "internalURL": "<
|
|
37
|
-
"id": "6bb597a3738045f4b2c51a7702037cab", "publicURL": "<
|
|
31
|
+
string: ! '{"access": {"token": {"issued_at": "2013-09-04T21:14:54.366163",
|
|
32
|
+
"expires": "2013-09-05T03:14:54Z", "id": "b034b03e7a0f42b38f4aaea70eacdfb1",
|
|
33
|
+
"tenant": {"description": "System account for xxxxxxxxxxxxxxxx administration",
|
|
34
|
+
"enabled": true, "id": "e7b1b62aa1474f758c4974b8be44cf6c", "name": "<OPENSTACK_ADMIN_TENANTNAME>"}},
|
|
35
|
+
"serviceCatalog": [{"endpoints": [{"adminURL": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/e7b1b62aa1474f758c4974b8be44cf6c",
|
|
36
|
+
"region": "RegionOne", "internalURL": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/e7b1b62aa1474f758c4974b8be44cf6c",
|
|
37
|
+
"id": "6bb597a3738045f4b2c51a7702037cab", "publicURL": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/e7b1b62aa1474f758c4974b8be44cf6c"}],
|
|
38
38
|
"endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL":
|
|
39
|
-
"<
|
|
40
|
-
"id": "2985945e07b74103bb2dfef7e426cd43", "publicURL": "<
|
|
39
|
+
"<OPENSTACK_ADMIN_HOST_URI>:9292", "region": "RegionOne", "internalURL": "<OPENSTACK_ADMIN_HOST_URI>:9292",
|
|
40
|
+
"id": "2985945e07b74103bb2dfef7e426cd43", "publicURL": "<OPENSTACK_ADMIN_HOST_URI>:9292"}],
|
|
41
41
|
"endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL":
|
|
42
|
-
"<
|
|
43
|
-
"id": "370119dd80e84894bfe83d766fd467dd", "publicURL": "<
|
|
42
|
+
"<OPENSTACK_ADMIN_HOST_URI>:8777", "region": "RegionOne", "internalURL": "<OPENSTACK_ADMIN_HOST_URI>:8777",
|
|
43
|
+
"id": "370119dd80e84894bfe83d766fd467dd", "publicURL": "<OPENSTACK_ADMIN_HOST_URI>:8777"}],
|
|
44
44
|
"endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints":
|
|
45
|
-
[{"adminURL": "<
|
|
46
|
-
"RegionOne", "internalURL": "<
|
|
47
|
-
"id": "2492a6f5fa80466d9312e51a8f79b638", "publicURL": "<
|
|
45
|
+
[{"adminURL": "<OPENSTACK_ADMIN_HOST_URI>:8776/v1/e7b1b62aa1474f758c4974b8be44cf6c",
|
|
46
|
+
"region": "RegionOne", "internalURL": "<OPENSTACK_ADMIN_HOST_URI>:8776/v1/e7b1b62aa1474f758c4974b8be44cf6c",
|
|
47
|
+
"id": "2492a6f5fa80466d9312e51a8f79b638", "publicURL": "<OPENSTACK_ADMIN_HOST_URI>:8776/v1/e7b1b62aa1474f758c4974b8be44cf6c"}],
|
|
48
48
|
"endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints":
|
|
49
|
-
[{"adminURL": "<
|
|
50
|
-
"
|
|
51
|
-
"publicURL": "<
|
|
52
|
-
"ec2", "name": "nova_ec2"}, {"endpoints": [{"adminURL":
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
{"
|
|
59
|
-
"
|
|
49
|
+
[{"adminURL": "<OPENSTACK_ADMIN_HOST_URI>:8773/services/Admin", "region":
|
|
50
|
+
"RegionOne", "internalURL": "<OPENSTACK_ADMIN_HOST_URI>:8773/services/Cloud",
|
|
51
|
+
"id": "1f68f3ce931946c788e487443e772fb2", "publicURL": "<OPENSTACK_ADMIN_HOST_URI>:8773/services/Cloud"}],
|
|
52
|
+
"endpoints_links": [], "type": "ec2", "name": "nova_ec2"}, {"endpoints": [{"adminURL":
|
|
53
|
+
"<OPENSTACK_ADMIN_HOST_URI>:35357/v2.0", "region": "RegionOne", "internalURL":
|
|
54
|
+
"<OPENSTACK_ADMIN_HOST_URI>:5000/v2.0", "id": "12c722e9b9fb471fbea83c6157c0123a",
|
|
55
|
+
"publicURL": "<OPENSTACK_ADMIN_HOST_URI>:5000/v2.0"}], "endpoints_links":
|
|
56
|
+
[], "type": "identity", "name": "keystone"}], "user": {"username": "<OPENSTACK_ADMIN_USERNAME>",
|
|
57
|
+
"roles_links": [], "id": "87f34120be394c598520744d0f4a8233", "roles": [{"name":
|
|
58
|
+
"Member"}, {"name": "admin"}, {"name": "project_manager"}], "name": "<OPENSTACK_ADMIN_USERNAME>"},
|
|
59
|
+
"metadata": {"is_admin": 0, "roles": ["f970c227c0ee4512899606886348f67f",
|
|
60
|
+
"a0d6ba8f41b746b495a6d25c69962489", "88141c3fd5cd48459cfe1243bfa6d4e1"]}}}'
|
|
60
61
|
http_version:
|
|
61
|
-
recorded_at:
|
|
62
|
+
recorded_at: Wed, 04 Sep 2013 21:14:54 GMT
|
|
62
63
|
- request:
|
|
63
64
|
method: get
|
|
64
|
-
uri: <
|
|
65
|
+
uri: <OPENSTACK_ADMIN_HOST_URI>:8774/v2/e7b1b62aa1474f758c4974b8be44cf6c/servers
|
|
65
66
|
body:
|
|
66
67
|
encoding: US-ASCII
|
|
67
68
|
string: ''
|
|
@@ -71,31 +72,31 @@ http_interactions:
|
|
|
71
72
|
User-Agent:
|
|
72
73
|
- Faraday v0.8.8
|
|
73
74
|
X-Auth-Token:
|
|
74
|
-
-
|
|
75
|
+
- b034b03e7a0f42b38f4aaea70eacdfb1
|
|
75
76
|
response:
|
|
76
77
|
status:
|
|
77
78
|
code: 200
|
|
78
79
|
message:
|
|
79
80
|
headers:
|
|
80
81
|
x-compute-request-id:
|
|
81
|
-
- req-
|
|
82
|
+
- req-c4378c06-3b0b-48ba-a0c0-097aedec406e
|
|
82
83
|
content-type:
|
|
83
84
|
- application/json
|
|
84
85
|
content-length:
|
|
85
86
|
- '753'
|
|
86
87
|
date:
|
|
87
|
-
-
|
|
88
|
+
- Wed, 04 Sep 2013 21:14:54 GMT
|
|
88
89
|
connection:
|
|
89
90
|
- close
|
|
90
91
|
body:
|
|
91
92
|
encoding: US-ASCII
|
|
92
93
|
string: ! '{"servers": [{"id": "2b8b852f-df7a-496e-b480-d2eea625016b", "links":
|
|
93
|
-
[{"href": "<
|
|
94
|
-
"rel": "self"}, {"href": "<
|
|
94
|
+
[{"href": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/e7b1b62aa1474f758c4974b8be44cf6c/servers/2b8b852f-df7a-496e-b480-d2eea625016b",
|
|
95
|
+
"rel": "self"}, {"href": "<OPENSTACK_ADMIN_HOST_URI>:8774/e7b1b62aa1474f758c4974b8be44cf6c/servers/2b8b852f-df7a-496e-b480-d2eea625016b",
|
|
95
96
|
"rel": "bookmark"}], "name": "launching"}, {"id": "41b7cac5-f718-4a3c-a727-5edf0f69ff70",
|
|
96
|
-
"links": [{"href": "<
|
|
97
|
-
"rel": "self"}, {"href": "<
|
|
97
|
+
"links": [{"href": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/e7b1b62aa1474f758c4974b8be44cf6c/servers/41b7cac5-f718-4a3c-a727-5edf0f69ff70",
|
|
98
|
+
"rel": "self"}, {"href": "<OPENSTACK_ADMIN_HOST_URI>:8774/e7b1b62aa1474f758c4974b8be44cf6c/servers/41b7cac5-f718-4a3c-a727-5edf0f69ff70",
|
|
98
99
|
"rel": "bookmark"}], "name": "test101"}]}'
|
|
99
100
|
http_version:
|
|
100
|
-
recorded_at:
|
|
101
|
+
recorded_at: Wed, 04 Sep 2013 21:14:54 GMT
|
|
101
102
|
recorded_with: VCR 2.5.0
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: post
|
|
5
|
-
uri: <
|
|
5
|
+
uri: <OPENSTACK_ADMIN_HOST_URI>:5000/v2.0/tokens
|
|
6
6
|
body:
|
|
7
7
|
encoding: UTF-8
|
|
8
|
-
string: ! '{"auth":{"passwordCredentials":{"username":"<
|
|
8
|
+
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_ADMIN_USERNAME>","password":"<OPENSTACK_ADMIN_PASSWORD>"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
|
|
9
9
|
headers:
|
|
10
10
|
Content-Type:
|
|
11
11
|
- application/json
|
|
@@ -21,47 +21,49 @@ http_interactions:
|
|
|
21
21
|
content-type:
|
|
22
22
|
- application/json
|
|
23
23
|
content-length:
|
|
24
|
-
- '
|
|
24
|
+
- '2657'
|
|
25
25
|
date:
|
|
26
|
-
-
|
|
26
|
+
- Wed, 04 Sep 2013 21:37:01 GMT
|
|
27
27
|
connection:
|
|
28
28
|
- close
|
|
29
29
|
body:
|
|
30
30
|
encoding: US-ASCII
|
|
31
|
-
string: ! '{"access": {"token": {"issued_at": "2013-09-
|
|
32
|
-
"expires": "2013-09-
|
|
33
|
-
"tenant": {"description": "
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
"region": "RegionOne", "internalURL": "
|
|
37
|
-
"id": "
|
|
31
|
+
string: ! '{"access": {"token": {"issued_at": "2013-09-04T21:37:01.403992",
|
|
32
|
+
"expires": "2013-09-05T21:37:01Z", "id": "f81c187978ae4967a141e79285413a62",
|
|
33
|
+
"tenant": {"description": null, "enabled": true, "id": "99ac3327702a4da09fd2513fe7d8e5bf",
|
|
34
|
+
"name": "<OPENSTACK_ADMIN_TENANTNAME>"}}, "serviceCatalog": [{"endpoints":
|
|
35
|
+
[{"adminURL": "http://192.168.56.11:8774/v2/99ac3327702a4da09fd2513fe7d8e5bf",
|
|
36
|
+
"region": "RegionOne", "internalURL": "http://192.168.56.11:8774/v2/99ac3327702a4da09fd2513fe7d8e5bf",
|
|
37
|
+
"id": "3b72a66bf2f0491bb8dba827cade0d48", "publicURL": "http://192.168.56.11:8774/v2/99ac3327702a4da09fd2513fe7d8e5bf"}],
|
|
38
38
|
"endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL":
|
|
39
|
-
"
|
|
40
|
-
"id": "
|
|
39
|
+
"http://192.168.56.11:3333", "region": "RegionOne", "internalURL": "http://192.168.56.11:3333",
|
|
40
|
+
"id": "482f749b370c40eab8788d6d0bc47f48", "publicURL": "http://192.168.56.11:3333"}],
|
|
41
|
+
"endpoints_links": [], "type": "s3", "name": "s3"}, {"endpoints": [{"adminURL":
|
|
42
|
+
"http://192.168.56.11:9292", "region": "RegionOne", "internalURL": "http://192.168.56.11:9292",
|
|
43
|
+
"id": "0cd5d5d5a0c24721a0392b47c89e3640", "publicURL": "http://192.168.56.11:9292"}],
|
|
41
44
|
"endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL":
|
|
42
|
-
"
|
|
43
|
-
"id": "
|
|
45
|
+
"http://192.168.56.11:8777", "region": "RegionOne", "internalURL": "http://192.168.56.11:8777",
|
|
46
|
+
"id": "4eb4edec1d2647bfb8ba4f9a5757169d", "publicURL": "http://192.168.56.11:8777"}],
|
|
44
47
|
"endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints":
|
|
45
|
-
[{"adminURL": "
|
|
46
|
-
"RegionOne", "internalURL": "
|
|
47
|
-
"id": "
|
|
48
|
+
[{"adminURL": "http://192.168.56.11:8776/v1/99ac3327702a4da09fd2513fe7d8e5bf",
|
|
49
|
+
"region": "RegionOne", "internalURL": "http://192.168.56.11:8776/v1/99ac3327702a4da09fd2513fe7d8e5bf",
|
|
50
|
+
"id": "009e8a41953d439f845b2a0c0dc28b73", "publicURL": "http://192.168.56.11:8776/v1/99ac3327702a4da09fd2513fe7d8e5bf"}],
|
|
48
51
|
"endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints":
|
|
49
|
-
[{"adminURL": "
|
|
50
|
-
"
|
|
51
|
-
"publicURL": "
|
|
52
|
-
"ec2", "name": "
|
|
53
|
-
"region": "RegionOne", "internalURL": "
|
|
54
|
-
"publicURL": "
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
{"is_admin": 0, "roles": ["
|
|
59
|
-
"88141c3fd5cd48459cfe1243bfa6d4e1"]}}}'
|
|
52
|
+
[{"adminURL": "http://192.168.56.11:8773/services/Admin", "region": "RegionOne",
|
|
53
|
+
"internalURL": "http://192.168.56.11:8773/services/Cloud", "id": "6820836ec6834548bf7b54da0271dded",
|
|
54
|
+
"publicURL": "http://192.168.56.11:8773/services/Cloud"}], "endpoints_links":
|
|
55
|
+
[], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://192.168.56.11:35357/v2.0",
|
|
56
|
+
"region": "RegionOne", "internalURL": "http://192.168.56.11:5000/v2.0", "id":
|
|
57
|
+
"24a95f51f67949e784971e97463ee4d8", "publicURL": "http://192.168.56.11:5000/v2.0"}],
|
|
58
|
+
"endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username":
|
|
59
|
+
"<OPENSTACK_ADMIN_USERNAME>", "roles_links": [], "id": "b4217edff9a14c3888439386a726ada9",
|
|
60
|
+
"roles": [{"name": "admin"}], "name": "<OPENSTACK_ADMIN_USERNAME>"}, "metadata":
|
|
61
|
+
{"is_admin": 0, "roles": ["01a81f2dbb3441f1aaa8fe68a7c6f546"]}}}'
|
|
60
62
|
http_version:
|
|
61
|
-
recorded_at:
|
|
63
|
+
recorded_at: Wed, 04 Sep 2013 21:36:53 GMT
|
|
62
64
|
- request:
|
|
63
65
|
method: get
|
|
64
|
-
uri:
|
|
66
|
+
uri: http://192.168.56.11:8774/v2/99ac3327702a4da09fd2513fe7d8e5bf/servers?image=nonexistentimagenameherpderp
|
|
65
67
|
body:
|
|
66
68
|
encoding: US-ASCII
|
|
67
69
|
string: ''
|
|
@@ -71,25 +73,25 @@ http_interactions:
|
|
|
71
73
|
User-Agent:
|
|
72
74
|
- Faraday v0.8.8
|
|
73
75
|
X-Auth-Token:
|
|
74
|
-
-
|
|
76
|
+
- f81c187978ae4967a141e79285413a62
|
|
75
77
|
response:
|
|
76
78
|
status:
|
|
77
79
|
code: 200
|
|
78
80
|
message:
|
|
79
81
|
headers:
|
|
80
82
|
x-compute-request-id:
|
|
81
|
-
- req-
|
|
83
|
+
- req-f11d5bc6-cc98-4802-b28e-ea077f3e3b2d
|
|
82
84
|
content-type:
|
|
83
85
|
- application/json
|
|
84
86
|
content-length:
|
|
85
87
|
- '15'
|
|
86
88
|
date:
|
|
87
|
-
-
|
|
89
|
+
- Wed, 04 Sep 2013 21:37:01 GMT
|
|
88
90
|
connection:
|
|
89
91
|
- close
|
|
90
92
|
body:
|
|
91
93
|
encoding: US-ASCII
|
|
92
94
|
string: ! '{"servers": []}'
|
|
93
95
|
http_version:
|
|
94
|
-
recorded_at:
|
|
96
|
+
recorded_at: Wed, 04 Sep 2013 21:36:53 GMT
|
|
95
97
|
recorded_with: VCR 2.5.0
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: post
|
|
5
|
-
uri: <
|
|
5
|
+
uri: <OPENSTACK_ADMIN_HOST_URI>:5000/v2.0/tokens
|
|
6
6
|
body:
|
|
7
7
|
encoding: UTF-8
|
|
8
|
-
string: ! '{"auth":{"passwordCredentials":{"username":"<
|
|
8
|
+
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_ADMIN_USERNAME>","password":"<OPENSTACK_ADMIN_PASSWORD>"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
|
|
9
9
|
headers:
|
|
10
10
|
Content-Type:
|
|
11
11
|
- application/json
|
|
@@ -23,45 +23,46 @@ http_interactions:
|
|
|
23
23
|
content-length:
|
|
24
24
|
- '2749'
|
|
25
25
|
date:
|
|
26
|
-
-
|
|
26
|
+
- Wed, 04 Sep 2013 21:14:53 GMT
|
|
27
27
|
connection:
|
|
28
28
|
- close
|
|
29
29
|
body:
|
|
30
30
|
encoding: US-ASCII
|
|
31
|
-
string: ! '{"access": {"token": {"issued_at": "2013-09-
|
|
32
|
-
"expires": "2013-09-
|
|
33
|
-
"tenant": {"description": "System account for
|
|
34
|
-
"enabled": true, "id": "e7b1b62aa1474f758c4974b8be44cf6c", "name": "
|
|
35
|
-
"serviceCatalog": [{"endpoints": [{"adminURL": "<
|
|
36
|
-
"region": "RegionOne", "internalURL": "<
|
|
37
|
-
"id": "6bb597a3738045f4b2c51a7702037cab", "publicURL": "<
|
|
31
|
+
string: ! '{"access": {"token": {"issued_at": "2013-09-04T21:14:53.493963",
|
|
32
|
+
"expires": "2013-09-05T03:14:53Z", "id": "b94e990138374492ad5159dca9fe0dc9",
|
|
33
|
+
"tenant": {"description": "System account for xxxxxxxxxxxxxxxx administration",
|
|
34
|
+
"enabled": true, "id": "e7b1b62aa1474f758c4974b8be44cf6c", "name": "<OPENSTACK_ADMIN_TENANTNAME>"}},
|
|
35
|
+
"serviceCatalog": [{"endpoints": [{"adminURL": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/e7b1b62aa1474f758c4974b8be44cf6c",
|
|
36
|
+
"region": "RegionOne", "internalURL": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/e7b1b62aa1474f758c4974b8be44cf6c",
|
|
37
|
+
"id": "6bb597a3738045f4b2c51a7702037cab", "publicURL": "<OPENSTACK_ADMIN_HOST_URI>:8774/v2/e7b1b62aa1474f758c4974b8be44cf6c"}],
|
|
38
38
|
"endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL":
|
|
39
|
-
"<
|
|
40
|
-
"id": "2985945e07b74103bb2dfef7e426cd43", "publicURL": "<
|
|
39
|
+
"<OPENSTACK_ADMIN_HOST_URI>:9292", "region": "RegionOne", "internalURL": "<OPENSTACK_ADMIN_HOST_URI>:9292",
|
|
40
|
+
"id": "2985945e07b74103bb2dfef7e426cd43", "publicURL": "<OPENSTACK_ADMIN_HOST_URI>:9292"}],
|
|
41
41
|
"endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL":
|
|
42
|
-
"<
|
|
43
|
-
"id": "370119dd80e84894bfe83d766fd467dd", "publicURL": "<
|
|
42
|
+
"<OPENSTACK_ADMIN_HOST_URI>:8777", "region": "RegionOne", "internalURL": "<OPENSTACK_ADMIN_HOST_URI>:8777",
|
|
43
|
+
"id": "370119dd80e84894bfe83d766fd467dd", "publicURL": "<OPENSTACK_ADMIN_HOST_URI>:8777"}],
|
|
44
44
|
"endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints":
|
|
45
|
-
[{"adminURL": "<
|
|
46
|
-
"RegionOne", "internalURL": "<
|
|
47
|
-
"id": "2492a6f5fa80466d9312e51a8f79b638", "publicURL": "<
|
|
45
|
+
[{"adminURL": "<OPENSTACK_ADMIN_HOST_URI>:8776/v1/e7b1b62aa1474f758c4974b8be44cf6c",
|
|
46
|
+
"region": "RegionOne", "internalURL": "<OPENSTACK_ADMIN_HOST_URI>:8776/v1/e7b1b62aa1474f758c4974b8be44cf6c",
|
|
47
|
+
"id": "2492a6f5fa80466d9312e51a8f79b638", "publicURL": "<OPENSTACK_ADMIN_HOST_URI>:8776/v1/e7b1b62aa1474f758c4974b8be44cf6c"}],
|
|
48
48
|
"endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints":
|
|
49
|
-
[{"adminURL": "<
|
|
50
|
-
"
|
|
51
|
-
"publicURL": "<
|
|
52
|
-
"ec2", "name": "nova_ec2"}, {"endpoints": [{"adminURL":
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
{"
|
|
59
|
-
"
|
|
49
|
+
[{"adminURL": "<OPENSTACK_ADMIN_HOST_URI>:8773/services/Admin", "region":
|
|
50
|
+
"RegionOne", "internalURL": "<OPENSTACK_ADMIN_HOST_URI>:8773/services/Cloud",
|
|
51
|
+
"id": "1f68f3ce931946c788e487443e772fb2", "publicURL": "<OPENSTACK_ADMIN_HOST_URI>:8773/services/Cloud"}],
|
|
52
|
+
"endpoints_links": [], "type": "ec2", "name": "nova_ec2"}, {"endpoints": [{"adminURL":
|
|
53
|
+
"<OPENSTACK_ADMIN_HOST_URI>:35357/v2.0", "region": "RegionOne", "internalURL":
|
|
54
|
+
"<OPENSTACK_ADMIN_HOST_URI>:5000/v2.0", "id": "12c722e9b9fb471fbea83c6157c0123a",
|
|
55
|
+
"publicURL": "<OPENSTACK_ADMIN_HOST_URI>:5000/v2.0"}], "endpoints_links":
|
|
56
|
+
[], "type": "identity", "name": "keystone"}], "user": {"username": "<OPENSTACK_ADMIN_USERNAME>",
|
|
57
|
+
"roles_links": [], "id": "87f34120be394c598520744d0f4a8233", "roles": [{"name":
|
|
58
|
+
"Member"}, {"name": "admin"}, {"name": "project_manager"}], "name": "<OPENSTACK_ADMIN_USERNAME>"},
|
|
59
|
+
"metadata": {"is_admin": 0, "roles": ["f970c227c0ee4512899606886348f67f",
|
|
60
|
+
"a0d6ba8f41b746b495a6d25c69962489", "88141c3fd5cd48459cfe1243bfa6d4e1"]}}}'
|
|
60
61
|
http_version:
|
|
61
|
-
recorded_at:
|
|
62
|
+
recorded_at: Wed, 04 Sep 2013 21:14:53 GMT
|
|
62
63
|
- request:
|
|
63
64
|
method: get
|
|
64
|
-
uri: <
|
|
65
|
+
uri: <OPENSTACK_ADMIN_HOST_URI>:8774/v2/e7b1b62aa1474f758c4974b8be44cf6c/servers/detail?image=c95d4992-24b1-4c9a-93cb-5d2935503148
|
|
65
66
|
body:
|
|
66
67
|
encoding: US-ASCII
|
|
67
68
|
string: ''
|
|
@@ -71,39 +72,41 @@ http_interactions:
|
|
|
71
72
|
User-Agent:
|
|
72
73
|
- Faraday v0.8.8
|
|
73
74
|
X-Auth-Token:
|
|
74
|
-
-
|
|
75
|
+
- b94e990138374492ad5159dca9fe0dc9
|
|
75
76
|
response:
|
|
76
77
|
status:
|
|
77
78
|
code: 200
|
|
78
79
|
message:
|
|
79
80
|
headers:
|
|
80
81
|
x-compute-request-id:
|
|
81
|
-
- req-
|
|
82
|
+
- req-c6eaa08a-cb60-4abc-b24f-5230dcf33d84
|
|
82
83
|
content-type:
|
|
83
84
|
- application/json
|
|
84
85
|
content-length:
|
|
85
86
|
- '1578'
|
|
86
87
|
date:
|
|
87
|
-
-
|
|
88
|
+
- Wed, 04 Sep 2013 21:14:53 GMT
|
|
88
89
|
connection:
|
|
89
90
|
- close
|
|
90
91
|
body:
|
|
91
92
|
encoding: US-ASCII
|
|
92
93
|
string: ! '{"servers": [{"status": "ACTIVE", "updated": "2013-08-05T07:10:50Z",
|
|
93
94
|
"hostId": "199dd5dd1a58ad0485af047fe8ef2dbe13ed8bd69283f3aad90fc512", "OS-EXT-SRV-ATTR:host":
|
|
94
|
-
"cn26
|
|
95
|
-
"addr": "10.2.0.15", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href":
|
|
96
|
-
"
|
|
95
|
+
"cn26<OPENSTACK_ADMIN_ENV_DOMAIN>", "addresses": {"novanetwork": [{"version":
|
|
96
|
+
4, "addr": "10.2.0.15", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href":
|
|
97
|
+
"<OPENSTACK_ADMIN_HOST_URI>:8774/v2/e7b1b62aa1474f758c4974b8be44cf6c/servers/2b8b852f-df7a-496e-b480-d2eea625016b",
|
|
98
|
+
"rel": "self"}, {"href": "<OPENSTACK_ADMIN_HOST_URI>:8774/e7b1b62aa1474f758c4974b8be44cf6c/servers/2b8b852f-df7a-496e-b480-d2eea625016b",
|
|
97
99
|
"rel": "bookmark"}], "key_name": "", "image": {"id": "c95d4992-24b1-4c9a-93cb-5d2935503148",
|
|
98
|
-
"links": [{"href": "<
|
|
100
|
+
"links": [{"href": "<OPENSTACK_ADMIN_HOST_URI>:8774/e7b1b62aa1474f758c4974b8be44cf6c/images/c95d4992-24b1-4c9a-93cb-5d2935503148",
|
|
99
101
|
"rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state":
|
|
100
102
|
"active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000018", "OS-EXT-SRV-ATTR:hypervisor_hostname":
|
|
101
|
-
"cn26
|
|
103
|
+
"cn26<OPENSTACK_ADMIN_ENV_DOMAIN>", "flavor": {"id": "2", "links": [{"href":
|
|
104
|
+
"<OPENSTACK_ADMIN_HOST_URI>:8774/e7b1b62aa1474f758c4974b8be44cf6c/flavors/2",
|
|
102
105
|
"rel": "bookmark"}]}, "id": "2b8b852f-df7a-496e-b480-d2eea625016b", "security_groups":
|
|
103
106
|
[{"name": "default"}], "OS-EXT-AZ:availability_zone": "nova", "user_id": "ab263d5e1c6343bd9d56d694a71e8ac0",
|
|
104
107
|
"name": "launching", "created": "2013-08-05T07:08:41Z", "tenant_id": "e7b1b62aa1474f758c4974b8be44cf6c",
|
|
105
108
|
"OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress":
|
|
106
109
|
0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}]}'
|
|
107
110
|
http_version:
|
|
108
|
-
recorded_at:
|
|
111
|
+
recorded_at: Wed, 04 Sep 2013 21:14:53 GMT
|
|
109
112
|
recorded_with: VCR 2.5.0
|
data/test/cassettes/openstack/compute/v2/public/list_servers/returns_the_correct_value_for_body_.yml
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: post
|
|
5
|
-
uri: <
|
|
5
|
+
uri: <OPENSTACK_ADMIN_HOST_URI>:5000/v2.0/tokens
|
|
6
6
|
body:
|
|
7
7
|
encoding: UTF-8
|
|
8
|
-
string: ! '{"auth":{"passwordCredentials":{"username":"<
|
|
8
|
+
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_ADMIN_USERNAME>","password":"<OPENSTACK_ADMIN_PASSWORD>"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
|
|
9
9
|
headers:
|
|
10
10
|
Content-Type:
|
|
11
11
|
- application/json
|
|
@@ -21,42 +21,44 @@ http_interactions:
|
|
|
21
21
|
content-type:
|
|
22
22
|
- application/json
|
|
23
23
|
content-length:
|
|
24
|
-
- '
|
|
24
|
+
- '2657'
|
|
25
25
|
date:
|
|
26
|
-
-
|
|
26
|
+
- Wed, 04 Sep 2013 21:37:00 GMT
|
|
27
27
|
connection:
|
|
28
28
|
- close
|
|
29
29
|
body:
|
|
30
30
|
encoding: US-ASCII
|
|
31
|
-
string: ! '{"access": {"token": {"issued_at": "2013-09-
|
|
32
|
-
"expires": "2013-09-
|
|
33
|
-
"tenant": {"description": "
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
"region": "RegionOne", "internalURL": "
|
|
37
|
-
"id": "
|
|
31
|
+
string: ! '{"access": {"token": {"issued_at": "2013-09-04T21:37:00.264596",
|
|
32
|
+
"expires": "2013-09-05T21:37:00Z", "id": "3248a3e121754f5299084ae486a63eae",
|
|
33
|
+
"tenant": {"description": null, "enabled": true, "id": "99ac3327702a4da09fd2513fe7d8e5bf",
|
|
34
|
+
"name": "<OPENSTACK_ADMIN_TENANTNAME>"}}, "serviceCatalog": [{"endpoints":
|
|
35
|
+
[{"adminURL": "http://192.168.56.11:8774/v2/99ac3327702a4da09fd2513fe7d8e5bf",
|
|
36
|
+
"region": "RegionOne", "internalURL": "http://192.168.56.11:8774/v2/99ac3327702a4da09fd2513fe7d8e5bf",
|
|
37
|
+
"id": "3b72a66bf2f0491bb8dba827cade0d48", "publicURL": "http://192.168.56.11:8774/v2/99ac3327702a4da09fd2513fe7d8e5bf"}],
|
|
38
38
|
"endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL":
|
|
39
|
-
"
|
|
40
|
-
"id": "
|
|
39
|
+
"http://192.168.56.11:3333", "region": "RegionOne", "internalURL": "http://192.168.56.11:3333",
|
|
40
|
+
"id": "482f749b370c40eab8788d6d0bc47f48", "publicURL": "http://192.168.56.11:3333"}],
|
|
41
|
+
"endpoints_links": [], "type": "s3", "name": "s3"}, {"endpoints": [{"adminURL":
|
|
42
|
+
"http://192.168.56.11:9292", "region": "RegionOne", "internalURL": "http://192.168.56.11:9292",
|
|
43
|
+
"id": "0cd5d5d5a0c24721a0392b47c89e3640", "publicURL": "http://192.168.56.11:9292"}],
|
|
41
44
|
"endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL":
|
|
42
|
-
"
|
|
43
|
-
"id": "
|
|
45
|
+
"http://192.168.56.11:8777", "region": "RegionOne", "internalURL": "http://192.168.56.11:8777",
|
|
46
|
+
"id": "4eb4edec1d2647bfb8ba4f9a5757169d", "publicURL": "http://192.168.56.11:8777"}],
|
|
44
47
|
"endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints":
|
|
45
|
-
[{"adminURL": "
|
|
46
|
-
"RegionOne", "internalURL": "
|
|
47
|
-
"id": "
|
|
48
|
+
[{"adminURL": "http://192.168.56.11:8776/v1/99ac3327702a4da09fd2513fe7d8e5bf",
|
|
49
|
+
"region": "RegionOne", "internalURL": "http://192.168.56.11:8776/v1/99ac3327702a4da09fd2513fe7d8e5bf",
|
|
50
|
+
"id": "009e8a41953d439f845b2a0c0dc28b73", "publicURL": "http://192.168.56.11:8776/v1/99ac3327702a4da09fd2513fe7d8e5bf"}],
|
|
48
51
|
"endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints":
|
|
49
|
-
[{"adminURL": "
|
|
50
|
-
"
|
|
51
|
-
"publicURL": "
|
|
52
|
-
"ec2", "name": "
|
|
53
|
-
"region": "RegionOne", "internalURL": "
|
|
54
|
-
"publicURL": "
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
{"is_admin": 0, "roles": ["
|
|
59
|
-
"88141c3fd5cd48459cfe1243bfa6d4e1"]}}}'
|
|
52
|
+
[{"adminURL": "http://192.168.56.11:8773/services/Admin", "region": "RegionOne",
|
|
53
|
+
"internalURL": "http://192.168.56.11:8773/services/Cloud", "id": "6820836ec6834548bf7b54da0271dded",
|
|
54
|
+
"publicURL": "http://192.168.56.11:8773/services/Cloud"}], "endpoints_links":
|
|
55
|
+
[], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://192.168.56.11:35357/v2.0",
|
|
56
|
+
"region": "RegionOne", "internalURL": "http://192.168.56.11:5000/v2.0", "id":
|
|
57
|
+
"24a95f51f67949e784971e97463ee4d8", "publicURL": "http://192.168.56.11:5000/v2.0"}],
|
|
58
|
+
"endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username":
|
|
59
|
+
"<OPENSTACK_ADMIN_USERNAME>", "roles_links": [], "id": "b4217edff9a14c3888439386a726ada9",
|
|
60
|
+
"roles": [{"name": "admin"}], "name": "<OPENSTACK_ADMIN_USERNAME>"}, "metadata":
|
|
61
|
+
{"is_admin": 0, "roles": ["01a81f2dbb3441f1aaa8fe68a7c6f546"]}}}'
|
|
60
62
|
http_version:
|
|
61
|
-
recorded_at:
|
|
63
|
+
recorded_at: Wed, 04 Sep 2013 21:36:52 GMT
|
|
62
64
|
recorded_with: VCR 2.5.0
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: post
|
|
5
|
-
uri: <
|
|
5
|
+
uri: <OPENSTACK_ADMIN_HOST_URI>:5000/v2.0/tokens
|
|
6
6
|
body:
|
|
7
7
|
encoding: UTF-8
|
|
8
|
-
string: ! '{"auth":{"passwordCredentials":{"username":"<
|
|
8
|
+
string: ! '{"auth":{"passwordCredentials":{"username":"<OPENSTACK_ADMIN_USERNAME>","password":"<OPENSTACK_ADMIN_PASSWORD>"},"tenantName":"<OPENSTACK_ADMIN_TENANTNAME>"}}'
|
|
9
9
|
headers:
|
|
10
10
|
Content-Type:
|
|
11
11
|
- application/json
|
|
@@ -21,42 +21,44 @@ http_interactions:
|
|
|
21
21
|
content-type:
|
|
22
22
|
- application/json
|
|
23
23
|
content-length:
|
|
24
|
-
- '
|
|
24
|
+
- '2657'
|
|
25
25
|
date:
|
|
26
|
-
-
|
|
26
|
+
- Wed, 04 Sep 2013 21:37:02 GMT
|
|
27
27
|
connection:
|
|
28
28
|
- close
|
|
29
29
|
body:
|
|
30
30
|
encoding: US-ASCII
|
|
31
|
-
string: ! '{"access": {"token": {"issued_at": "2013-09-
|
|
32
|
-
"expires": "2013-09-
|
|
33
|
-
"tenant": {"description": "
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
"region": "RegionOne", "internalURL": "
|
|
37
|
-
"id": "
|
|
31
|
+
string: ! '{"access": {"token": {"issued_at": "2013-09-04T21:37:02.133269",
|
|
32
|
+
"expires": "2013-09-05T21:37:02Z", "id": "335b7bccdb3a4939b5c3b72fc4cf20ba",
|
|
33
|
+
"tenant": {"description": null, "enabled": true, "id": "99ac3327702a4da09fd2513fe7d8e5bf",
|
|
34
|
+
"name": "<OPENSTACK_ADMIN_TENANTNAME>"}}, "serviceCatalog": [{"endpoints":
|
|
35
|
+
[{"adminURL": "http://192.168.56.11:8774/v2/99ac3327702a4da09fd2513fe7d8e5bf",
|
|
36
|
+
"region": "RegionOne", "internalURL": "http://192.168.56.11:8774/v2/99ac3327702a4da09fd2513fe7d8e5bf",
|
|
37
|
+
"id": "3b72a66bf2f0491bb8dba827cade0d48", "publicURL": "http://192.168.56.11:8774/v2/99ac3327702a4da09fd2513fe7d8e5bf"}],
|
|
38
38
|
"endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL":
|
|
39
|
-
"
|
|
40
|
-
"id": "
|
|
39
|
+
"http://192.168.56.11:3333", "region": "RegionOne", "internalURL": "http://192.168.56.11:3333",
|
|
40
|
+
"id": "482f749b370c40eab8788d6d0bc47f48", "publicURL": "http://192.168.56.11:3333"}],
|
|
41
|
+
"endpoints_links": [], "type": "s3", "name": "s3"}, {"endpoints": [{"adminURL":
|
|
42
|
+
"http://192.168.56.11:9292", "region": "RegionOne", "internalURL": "http://192.168.56.11:9292",
|
|
43
|
+
"id": "0cd5d5d5a0c24721a0392b47c89e3640", "publicURL": "http://192.168.56.11:9292"}],
|
|
41
44
|
"endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL":
|
|
42
|
-
"
|
|
43
|
-
"id": "
|
|
45
|
+
"http://192.168.56.11:8777", "region": "RegionOne", "internalURL": "http://192.168.56.11:8777",
|
|
46
|
+
"id": "4eb4edec1d2647bfb8ba4f9a5757169d", "publicURL": "http://192.168.56.11:8777"}],
|
|
44
47
|
"endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints":
|
|
45
|
-
[{"adminURL": "
|
|
46
|
-
"RegionOne", "internalURL": "
|
|
47
|
-
"id": "
|
|
48
|
+
[{"adminURL": "http://192.168.56.11:8776/v1/99ac3327702a4da09fd2513fe7d8e5bf",
|
|
49
|
+
"region": "RegionOne", "internalURL": "http://192.168.56.11:8776/v1/99ac3327702a4da09fd2513fe7d8e5bf",
|
|
50
|
+
"id": "009e8a41953d439f845b2a0c0dc28b73", "publicURL": "http://192.168.56.11:8776/v1/99ac3327702a4da09fd2513fe7d8e5bf"}],
|
|
48
51
|
"endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints":
|
|
49
|
-
[{"adminURL": "
|
|
50
|
-
"
|
|
51
|
-
"publicURL": "
|
|
52
|
-
"ec2", "name": "
|
|
53
|
-
"region": "RegionOne", "internalURL": "
|
|
54
|
-
"publicURL": "
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
{"is_admin": 0, "roles": ["
|
|
59
|
-
"88141c3fd5cd48459cfe1243bfa6d4e1"]}}}'
|
|
52
|
+
[{"adminURL": "http://192.168.56.11:8773/services/Admin", "region": "RegionOne",
|
|
53
|
+
"internalURL": "http://192.168.56.11:8773/services/Cloud", "id": "6820836ec6834548bf7b54da0271dded",
|
|
54
|
+
"publicURL": "http://192.168.56.11:8773/services/Cloud"}], "endpoints_links":
|
|
55
|
+
[], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://192.168.56.11:35357/v2.0",
|
|
56
|
+
"region": "RegionOne", "internalURL": "http://192.168.56.11:5000/v2.0", "id":
|
|
57
|
+
"24a95f51f67949e784971e97463ee4d8", "publicURL": "http://192.168.56.11:5000/v2.0"}],
|
|
58
|
+
"endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username":
|
|
59
|
+
"<OPENSTACK_ADMIN_USERNAME>", "roles_links": [], "id": "b4217edff9a14c3888439386a726ada9",
|
|
60
|
+
"roles": [{"name": "admin"}], "name": "<OPENSTACK_ADMIN_USERNAME>"}, "metadata":
|
|
61
|
+
{"is_admin": 0, "roles": ["01a81f2dbb3441f1aaa8fe68a7c6f546"]}}}'
|
|
60
62
|
http_version:
|
|
61
|
-
recorded_at:
|
|
63
|
+
recorded_at: Wed, 04 Sep 2013 21:36:53 GMT
|
|
62
64
|
recorded_with: VCR 2.5.0
|