fog 1.35.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/CHANGELOG.md +50 -0
- data/fog.gemspec +6 -6
- data/lib/fog/digitalocean/models/compute/server.rb +0 -1
- data/lib/fog/digitalocean/requests/compute_v2/create_ssh_key.rb +10 -8
- data/lib/fog/digitalocean/requests/compute_v2/delete_ssh_key.rb +5 -1
- data/lib/fog/digitalocean/requests/compute_v2/list_ssh_keys.rb +6 -1
- data/lib/fog/glesys/models/compute/server.rb +0 -1
- data/lib/fog/joyent/compute.rb +6 -1
- data/lib/fog/linode/compute.rb +3 -0
- data/lib/fog/linode/models/compute/data_center.rb +1 -0
- data/lib/fog/linode/models/compute/flavor.rb +3 -0
- data/lib/fog/linode/models/compute/flavors.rb +8 -1
- data/lib/fog/linode/models/compute/image.rb +2 -0
- data/lib/fog/linode/models/compute/images.rb +2 -1
- data/lib/fog/linode/models/compute/kernel.rb +3 -0
- data/lib/fog/linode/models/compute/kernels.rb +14 -8
- data/lib/fog/linode/models/compute/node_balancer_flavor.rb +13 -0
- data/lib/fog/linode/models/compute/node_balancer_flavors.rb +27 -0
- data/lib/fog/linode/requests/compute/avail_kernels.rb +17 -18
- data/lib/fog/linode/requests/compute/avail_linodeplans.rb +4 -2
- data/lib/fog/linode/requests/compute/avail_nodebalancers.rb +42 -0
- data/lib/fog/linode/requests/compute/avail_stackscripts.rb +6 -11
- data/lib/fog/openstack/core.rb +22 -21
- data/lib/fog/openstack/models/baremetal/nodes.rb +1 -1
- data/lib/fog/openstack/models/identity_v3/domain.rb +6 -0
- data/lib/fog/openstack/models/identity_v3/domains.rb +19 -4
- data/lib/fog/openstack/models/identity_v3/project.rb +10 -0
- data/lib/fog/openstack/models/identity_v3/projects.rb +16 -3
- data/lib/fog/openstack/models/identity_v3/tokens.rb +1 -0
- data/lib/fog/openstack/models/storage/file.rb +9 -0
- data/lib/fog/openstack/requests/baremetal/delete_node.rb +1 -1
- data/lib/fog/rackspace/requests/load_balancers/create_node.rb +1 -1
- data/lib/fog/version.rb +1 -1
- data/lib/fog/vsphere/compute.rb +8 -0
- data/lib/fog/vsphere/models/compute/network.rb +1 -0
- data/lib/fog/vsphere/models/compute/process.rb +18 -0
- data/lib/fog/vsphere/models/compute/server.rb +29 -0
- data/lib/fog/vsphere/models/compute/snapshot.rb +35 -0
- data/lib/fog/vsphere/models/compute/snapshots.rb +27 -0
- data/lib/fog/vsphere/requests/compute/create_vm.rb +65 -2
- data/lib/fog/vsphere/requests/compute/list_child_snapshots.rb +71 -0
- data/lib/fog/vsphere/requests/compute/list_networks.rb +5 -4
- data/lib/fog/vsphere/requests/compute/list_processes.rb +41 -0
- data/lib/fog/vsphere/requests/compute/list_vm_snapshots.rb +66 -0
- data/lib/fog/vsphere/requests/compute/revert_to_snapshot.rb +30 -0
- data/lib/fog/vsphere/requests/compute/vm_clone.rb +2 -5
- data/lib/fog/vsphere/requests/compute/vm_take_snapshot.rb +37 -0
- data/lib/tasks/changelog_task.rb +1 -0
- data/spec/fog/openstack/identity_v3/authv3_a.yml +18 -18
- data/spec/fog/openstack/identity_v3/authv3_b.yml +18 -18
- data/spec/fog/openstack/identity_v3/authv3_c.yml +293 -55
- data/spec/fog/openstack/identity_v3/authv3_token.yml +89 -89
- data/spec/fog/openstack/identity_v3/authv3_unscoped.yml +325 -222
- data/spec/fog/openstack/identity_v3/authv3_unscoped_reauth.yml +587 -111
- data/spec/fog/openstack/identity_v3/common_setup.yml +30 -30
- data/spec/fog/openstack/identity_v3/idv3_credential.yml +17 -17
- data/spec/fog/openstack/identity_v3/idv3_credential_crud.yml +343 -106
- data/spec/fog/openstack/identity_v3/idv3_domain.yml +27 -122
- data/spec/fog/openstack/identity_v3/idv3_domain_crud.yml +75 -128
- data/spec/fog/openstack/identity_v3/idv3_domain_group_roles_mutation.yml +141 -141
- data/spec/fog/openstack/identity_v3/idv3_domain_roles_mutation.yml +326 -86
- data/spec/fog/openstack/identity_v3/idv3_endpoint.yml +221 -221
- data/spec/fog/openstack/identity_v3/idv3_endpoints_crud.yml +314 -314
- data/spec/fog/openstack/identity_v3/idv3_group_crud_mutation.yml +191 -188
- data/spec/fog/openstack/identity_v3/idv3_policy.yml +23 -23
- data/spec/fog/openstack/identity_v3/idv3_policy_crud.yml +67 -67
- data/spec/fog/openstack/identity_v3/idv3_project.yml +267 -161
- data/spec/fog/openstack/identity_v3/idv3_project_crud.yml +70 -145
- data/spec/fog/openstack/identity_v3/idv3_project_group_user_roles_mutation.yml +195 -243
- data/spec/fog/openstack/identity_v3/idv3_project_hier_crud_list.yml +203 -553
- data/spec/fog/openstack/identity_v3/idv3_role.yml +49 -49
- data/spec/fog/openstack/identity_v3/idv3_role_crud.yml +92 -92
- data/spec/fog/openstack/identity_v3/idv3_service.yml +61 -61
- data/spec/fog/openstack/identity_v3/idv3_services_crud.yml +111 -111
- data/spec/fog/openstack/identity_v3/idv3_token.yml +84 -84
- data/spec/fog/openstack/identity_v3/idv3_user_crud.yml +140 -125
- data/spec/fog/openstack/identity_v3/idv3_users.yml +98 -78
- data/spec/fog/openstack/network/common_setup.yml +84 -75
- data/spec/fog/openstack/network/subnets_crud.yml +75 -35
- data/spec/fog/openstack/shared_context.rb +5 -1
- data/tests/helper.rb +1 -0
- data/tests/linode/requests/compute/datacenter_tests.rb +2 -1
- data/tests/linode/requests/compute/kernel_tests.rb +2 -10
- data/tests/linode/requests/compute/linodeplans_tests.rb +10 -7
- data/tests/linode/requests/compute/nodebalancers_tests.rb +20 -0
- data/tests/openstack/models/storage/file_tests.rb +29 -0
- data/tests/rackspace/requests/load_balancers/node_tests.rb +7 -0
- data/tests/vsphere/models/compute/server_tests.rb +27 -1
- data/tests/vsphere/requests/compute/list_child_snapshots_tests.rb +10 -0
- data/tests/vsphere/requests/compute/list_vm_snapshots_tests.rb +10 -0
- data/tests/vsphere/requests/compute/revert_to_snapshot_tests.rb +15 -0
- data/tests/vsphere/requests/compute/vm_take_snapshot_tests.rb +19 -0
- metadata +41 -16
- data/spec/fog/openstack/identity_v3/authv3_project.yml +0 -98
@@ -652,20 +652,17 @@ module Fog
|
|
652
652
|
|
653
653
|
|
654
654
|
def modify_template_nics_specs(template_path, new_nics, datacenter)
|
655
|
-
#new_spec_operation = RbVmomi::VIM::VirtualDeviceConfigSpecOperation('new')
|
656
|
-
#remove_spec_operation = RbVmomi::VIM::VirtualDeviceConfigSpecOperation('remove')
|
657
|
-
|
658
655
|
template_nics = list_vm_interfaces(template_path, datacenter).map do |old_attributes|
|
659
656
|
Fog::Compute::Vsphere::Interface.new(old_attributes)
|
660
657
|
end
|
661
658
|
specs = []
|
662
659
|
|
663
660
|
template_nics.each do |interface|
|
664
|
-
specs << create_interface(interface, interface.key, :remove)
|
661
|
+
specs << create_interface(interface, interface.key, :remove, :datacenter => datacenter)
|
665
662
|
end
|
666
663
|
|
667
664
|
new_nics.each do |interface|
|
668
|
-
specs << create_interface(interface, 0, :add)
|
665
|
+
specs << create_interface(interface, 0, :add, :datacenter => datacenter)
|
669
666
|
end
|
670
667
|
|
671
668
|
return specs
|
@@ -0,0 +1,37 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class Vsphere
|
4
|
+
class Real
|
5
|
+
def vm_take_snapshot(options = {})
|
6
|
+
raise ArgumentError, "instance_uuid is a required parameter" unless options.key? 'instance_uuid'
|
7
|
+
raise ArgumentError, "name is a required parameter" unless options.key? 'name'
|
8
|
+
vm = get_vm_ref(options['instance_uuid'])
|
9
|
+
task = vm.CreateSnapshot_Task(
|
10
|
+
name: options['name'],
|
11
|
+
description: options['description'] || '',
|
12
|
+
memory: options['memory'] || true,
|
13
|
+
quiesce: options['quiesce'] || false
|
14
|
+
)
|
15
|
+
|
16
|
+
task.wait_for_completion
|
17
|
+
|
18
|
+
{
|
19
|
+
'task_state' => task.info.state,
|
20
|
+
'was_cancelled' => task.info.cancelled
|
21
|
+
}
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
class Mock
|
26
|
+
def vm_take_snapshot(options = {})
|
27
|
+
raise ArgumentError, "instance_uuid is a required parameter" unless options.key? 'instance_uuid'
|
28
|
+
raise ArgumentError, "name is a required parameter" unless options.key? 'name'
|
29
|
+
{
|
30
|
+
'task_state' => 'success',
|
31
|
+
'was_cancelled' => false
|
32
|
+
}
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
data/lib/tasks/changelog_task.rb
CHANGED
@@ -17,15 +17,15 @@ http_interactions:
|
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
19
|
Date:
|
20
|
-
-
|
20
|
+
- Wed, 28 Oct 2015 16:05:34 GMT
|
21
21
|
Server:
|
22
22
|
- Apache/2.4.7 (Ubuntu)
|
23
23
|
X-Subject-Token:
|
24
|
-
-
|
24
|
+
- b99d28b8cd4e46ee9f4c056109079727
|
25
25
|
Vary:
|
26
26
|
- X-Auth-Token
|
27
27
|
X-Openstack-Request-Id:
|
28
|
-
- req-
|
28
|
+
- req-2aedfd4b-56cc-4c35-810b-83d353f6f207
|
29
29
|
Content-Length:
|
30
30
|
- '3025'
|
31
31
|
Content-Type:
|
@@ -34,41 +34,41 @@ http_interactions:
|
|
34
34
|
encoding: UTF-8
|
35
35
|
string: '{"token": {"domain": {"id": "default", "name": "Default"}, "methods":
|
36
36
|
["password"], "roles": [{"id": "d98e5f87050646f194c8c23b9e3f2bca", "name":
|
37
|
-
"admin"}], "expires_at": "2015-10-
|
38
|
-
[{"region_id": "RegionOne", "url": "http://
|
37
|
+
"admin"}], "expires_at": "2015-10-28T17:05:34.628239Z", "catalog": [{"endpoints":
|
38
|
+
[{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
|
39
39
|
"RegionOne", "interface": "public", "id": "09bb76485f3849c1a81dfeda62f1b27b"},
|
40
|
-
{"region_id": "RegionOne", "url": "http://
|
40
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3", "region":
|
41
41
|
"RegionOne", "interface": "admin", "id": "73acd28dc39e4d2cb332fe63eafd05fa"},
|
42
|
-
{"region_id": "RegionOne", "url": "http://
|
42
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
|
43
43
|
"RegionOne", "interface": "internal", "id": "c0acc2a6600148248912d585cfd3debf"}],
|
44
44
|
"type": "identity", "id": "00707ec9c3574d8ebb638265844f7903", "name": "keystone"},
|
45
|
-
{"endpoints": [{"region_id": "RegionOne", "url": "http://
|
45
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9292",
|
46
46
|
"region": "RegionOne", "interface": "admin", "id": "9799d84417464a4cbb9226485ce539c7"},
|
47
|
-
{"region_id": "RegionOne", "url": "http://
|
47
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9292", "region": "RegionOne",
|
48
48
|
"interface": "internal", "id": "a0d9872cbf42461ea5ab511d32387662"}, {"region_id":
|
49
|
-
"RegionOne", "url": "http://
|
49
|
+
"RegionOne", "url": "http://devstack.openstack.stack:9292", "region": "RegionOne", "interface":
|
50
50
|
"public", "id": "a93b60395e044b9187ccd7b37cf0c68c"}], "type": "image", "id":
|
51
51
|
"1f1c2c6373754553938a93de04db5bc0", "name": "glance"}, {"endpoints": [], "type":
|
52
52
|
"volumev2", "id": "49ef74e8dab84ed0b683f764ae6d510c", "name": "cinderv2"},
|
53
53
|
{"endpoints": [], "type": "volume", "id": "54efbe90e47244eca5fac1a65374e594",
|
54
|
-
"name": "cinder"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://
|
54
|
+
"name": "cinder"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9696/",
|
55
55
|
"region": "RegionOne", "interface": "public", "id": "59f19d0e7c59457fa611c4f552fa37c3"},
|
56
|
-
{"region_id": "RegionOne", "url": "http://
|
56
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9696/", "region": "RegionOne",
|
57
57
|
"interface": "admin", "id": "5f2d351a942e41bc8cc2163569c645b7"}, {"region_id":
|
58
|
-
"RegionOne", "url": "http://
|
58
|
+
"RegionOne", "url": "http://devstack.openstack.stack:9696/", "region": "RegionOne", "interface":
|
59
59
|
"internal", "id": "8e2b48e33993420b934607375242e6a1"}], "type": "network",
|
60
60
|
"id": "b6063de99a3b474094779d6f778cd87b", "name": "neutron"}, {"endpoints":
|
61
61
|
[], "type": "computev21", "id": "c6ad05da1baa4dd190bdf01dca60e911", "name":
|
62
62
|
"novav21"}, {"endpoints": [], "type": "compute", "id": "d22c9f37ebea4187ae97eb57ced02483",
|
63
|
-
"name": "nova"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://
|
63
|
+
"name": "nova"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/",
|
64
64
|
"region": "RegionOne", "interface": "admin", "id": "d0af6d9e8b304d69bc349b63fdb7bd00"},
|
65
|
-
{"region_id": "RegionOne", "url": "http://
|
65
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/", "region": "RegionOne",
|
66
66
|
"interface": "public", "id": "e08749c48e9e4d2c9f2733fa221b3b2f"}, {"region_id":
|
67
|
-
"RegionOne", "url": "http://
|
67
|
+
"RegionOne", "url": "http://devstack.openstack.stack:8773/", "region": "RegionOne", "interface":
|
68
68
|
"internal", "id": "faf1491ad0244c17b13f9b4fc10becbb"}], "type": "ec2", "id":
|
69
69
|
"e2550fc44d8044398e49a080439462ed", "name": "ec2"}], "extras": {}, "user":
|
70
70
|
{"domain": {"id": "default", "name": "Default"}, "id": "a18abc2039d6493aa7239a42033cc7c9",
|
71
|
-
"name": "admin"}, "audit_ids": ["
|
71
|
+
"name": "admin"}, "audit_ids": ["7nPixb0wS-W2T3oucs8zbA"], "issued_at": "2015-10-28T16:05:34.628301Z"}}'
|
72
72
|
http_version:
|
73
|
-
recorded_at:
|
73
|
+
recorded_at: Wed, 28 Oct 2015 16:05:14 GMT
|
74
74
|
recorded_with: VCR 2.9.3
|
@@ -17,15 +17,15 @@ http_interactions:
|
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
19
|
Date:
|
20
|
-
-
|
20
|
+
- Wed, 28 Oct 2015 16:05:34 GMT
|
21
21
|
Server:
|
22
22
|
- Apache/2.4.7 (Ubuntu)
|
23
23
|
X-Subject-Token:
|
24
|
-
-
|
24
|
+
- cb48aaba65074e9dabd8c312ac3d103d
|
25
25
|
Vary:
|
26
26
|
- X-Auth-Token
|
27
27
|
X-Openstack-Request-Id:
|
28
|
-
- req-
|
28
|
+
- req-9c8e0ddb-d8c0-4624-a8f6-b2caf2ac99ab
|
29
29
|
Content-Length:
|
30
30
|
- '3025'
|
31
31
|
Content-Type:
|
@@ -34,41 +34,41 @@ http_interactions:
|
|
34
34
|
encoding: UTF-8
|
35
35
|
string: '{"token": {"domain": {"id": "default", "name": "Default"}, "methods":
|
36
36
|
["password"], "roles": [{"id": "d98e5f87050646f194c8c23b9e3f2bca", "name":
|
37
|
-
"admin"}], "expires_at": "2015-10-
|
38
|
-
[{"region_id": "RegionOne", "url": "http://
|
37
|
+
"admin"}], "expires_at": "2015-10-28T17:05:34.932045Z", "catalog": [{"endpoints":
|
38
|
+
[{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
|
39
39
|
"RegionOne", "interface": "public", "id": "09bb76485f3849c1a81dfeda62f1b27b"},
|
40
|
-
{"region_id": "RegionOne", "url": "http://
|
40
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3", "region":
|
41
41
|
"RegionOne", "interface": "admin", "id": "73acd28dc39e4d2cb332fe63eafd05fa"},
|
42
|
-
{"region_id": "RegionOne", "url": "http://
|
42
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
|
43
43
|
"RegionOne", "interface": "internal", "id": "c0acc2a6600148248912d585cfd3debf"}],
|
44
44
|
"type": "identity", "id": "00707ec9c3574d8ebb638265844f7903", "name": "keystone"},
|
45
|
-
{"endpoints": [{"region_id": "RegionOne", "url": "http://
|
45
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9292",
|
46
46
|
"region": "RegionOne", "interface": "admin", "id": "9799d84417464a4cbb9226485ce539c7"},
|
47
|
-
{"region_id": "RegionOne", "url": "http://
|
47
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9292", "region": "RegionOne",
|
48
48
|
"interface": "internal", "id": "a0d9872cbf42461ea5ab511d32387662"}, {"region_id":
|
49
|
-
"RegionOne", "url": "http://
|
49
|
+
"RegionOne", "url": "http://devstack.openstack.stack:9292", "region": "RegionOne", "interface":
|
50
50
|
"public", "id": "a93b60395e044b9187ccd7b37cf0c68c"}], "type": "image", "id":
|
51
51
|
"1f1c2c6373754553938a93de04db5bc0", "name": "glance"}, {"endpoints": [], "type":
|
52
52
|
"volumev2", "id": "49ef74e8dab84ed0b683f764ae6d510c", "name": "cinderv2"},
|
53
53
|
{"endpoints": [], "type": "volume", "id": "54efbe90e47244eca5fac1a65374e594",
|
54
|
-
"name": "cinder"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://
|
54
|
+
"name": "cinder"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9696/",
|
55
55
|
"region": "RegionOne", "interface": "public", "id": "59f19d0e7c59457fa611c4f552fa37c3"},
|
56
|
-
{"region_id": "RegionOne", "url": "http://
|
56
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9696/", "region": "RegionOne",
|
57
57
|
"interface": "admin", "id": "5f2d351a942e41bc8cc2163569c645b7"}, {"region_id":
|
58
|
-
"RegionOne", "url": "http://
|
58
|
+
"RegionOne", "url": "http://devstack.openstack.stack:9696/", "region": "RegionOne", "interface":
|
59
59
|
"internal", "id": "8e2b48e33993420b934607375242e6a1"}], "type": "network",
|
60
60
|
"id": "b6063de99a3b474094779d6f778cd87b", "name": "neutron"}, {"endpoints":
|
61
61
|
[], "type": "computev21", "id": "c6ad05da1baa4dd190bdf01dca60e911", "name":
|
62
62
|
"novav21"}, {"endpoints": [], "type": "compute", "id": "d22c9f37ebea4187ae97eb57ced02483",
|
63
|
-
"name": "nova"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://
|
63
|
+
"name": "nova"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/",
|
64
64
|
"region": "RegionOne", "interface": "admin", "id": "d0af6d9e8b304d69bc349b63fdb7bd00"},
|
65
|
-
{"region_id": "RegionOne", "url": "http://
|
65
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/", "region": "RegionOne",
|
66
66
|
"interface": "public", "id": "e08749c48e9e4d2c9f2733fa221b3b2f"}, {"region_id":
|
67
|
-
"RegionOne", "url": "http://
|
67
|
+
"RegionOne", "url": "http://devstack.openstack.stack:8773/", "region": "RegionOne", "interface":
|
68
68
|
"internal", "id": "faf1491ad0244c17b13f9b4fc10becbb"}], "type": "ec2", "id":
|
69
69
|
"e2550fc44d8044398e49a080439462ed", "name": "ec2"}], "extras": {}, "user":
|
70
70
|
{"domain": {"id": "default", "name": "Default"}, "id": "a18abc2039d6493aa7239a42033cc7c9",
|
71
|
-
"name": "admin"}, "audit_ids": ["
|
71
|
+
"name": "admin"}, "audit_ids": ["rCVKVBH0RJKZ7cjqsAS2Gw"], "issued_at": "2015-10-28T16:05:34.932102Z"}}'
|
72
72
|
http_version:
|
73
|
-
recorded_at:
|
73
|
+
recorded_at: Wed, 28 Oct 2015 16:05:15 GMT
|
74
74
|
recorded_with: VCR 2.9.3
|
@@ -17,27 +17,27 @@ http_interactions:
|
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
19
|
Date:
|
20
|
-
-
|
20
|
+
- Wed, 28 Oct 2015 16:05:35 GMT
|
21
21
|
Server:
|
22
22
|
- Apache/2.4.7 (Ubuntu)
|
23
23
|
X-Subject-Token:
|
24
|
-
-
|
24
|
+
- 2b71aeba9c5a4607b4c03c236065cbe7
|
25
25
|
Vary:
|
26
26
|
- X-Auth-Token
|
27
27
|
X-Openstack-Request-Id:
|
28
|
-
- req-
|
28
|
+
- req-54cdd41e-3d80-4c69-9382-810532a2b3c4
|
29
29
|
Content-Length:
|
30
30
|
- '297'
|
31
31
|
Content-Type:
|
32
32
|
- application/json
|
33
33
|
body:
|
34
34
|
encoding: UTF-8
|
35
|
-
string: '{"token": {"methods": ["password"], "expires_at": "2015-10-
|
35
|
+
string: '{"token": {"methods": ["password"], "expires_at": "2015-10-28T17:05:35.170476Z",
|
36
36
|
"extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id":
|
37
|
-
"a18abc2039d6493aa7239a42033cc7c9", "name": "admin"}, "audit_ids": ["
|
38
|
-
"issued_at": "2015-10-
|
37
|
+
"a18abc2039d6493aa7239a42033cc7c9", "name": "admin"}, "audit_ids": ["kTht9USFS9ihSF6py42nQg"],
|
38
|
+
"issued_at": "2015-10-28T16:05:35.170518Z"}}'
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Wed, 28 Oct 2015 16:05:15 GMT
|
41
41
|
- request:
|
42
42
|
method: get
|
43
43
|
uri: http://devstack.openstack.stack:5000/v3/users/a18abc2039d6493aa7239a42033cc7c9/projects
|
@@ -52,42 +52,279 @@ http_interactions:
|
|
52
52
|
Accept:
|
53
53
|
- application/json
|
54
54
|
X-Auth-Token:
|
55
|
-
-
|
55
|
+
- 2b71aeba9c5a4607b4c03c236065cbe7
|
56
56
|
response:
|
57
57
|
status:
|
58
58
|
code: 200
|
59
59
|
message: ''
|
60
60
|
headers:
|
61
61
|
Date:
|
62
|
-
-
|
62
|
+
- Wed, 28 Oct 2015 16:05:35 GMT
|
63
63
|
Server:
|
64
64
|
- Apache/2.4.7 (Ubuntu)
|
65
65
|
Vary:
|
66
66
|
- X-Auth-Token
|
67
67
|
X-Openstack-Request-Id:
|
68
|
-
- req-
|
68
|
+
- req-8b8c5148-0284-42a6-b71b-f0f73f5652c3
|
69
69
|
Content-Length:
|
70
|
-
- '
|
70
|
+
- '22968'
|
71
71
|
Content-Type:
|
72
72
|
- application/json
|
73
73
|
body:
|
74
74
|
encoding: UTF-8
|
75
75
|
string: '{"links": {"self": "http://devstack.openstack.stack:5000/v3/users/a18abc2039d6493aa7239a42033cc7c9/projects",
|
76
|
-
"previous": null, "next": null}, "projects": [{"description":
|
77
|
-
{"self": "http://devstack.openstack.stack:5000/v3/projects/
|
76
|
+
"previous": null, "next": null}, "projects": [{"description": "p-user1", "links":
|
77
|
+
{"self": "http://devstack.openstack.stack:5000/v3/projects/058efc118b2343ae89834ec99c4f3ffa"},
|
78
|
+
"enabled": true, "id": "058efc118b2343ae89834ec99c4f3ffa", "parent_id": null,
|
79
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-c5e0c5799"}, {"description":
|
80
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/0877df08429b4a9eb38c3f234dd94f12"},
|
81
|
+
"enabled": true, "id": "0877df08429b4a9eb38c3f234dd94f12", "parent_id": null,
|
82
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-c5244ba3f"}, {"description":
|
83
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/0c50aac63b88455db4f27ff7f048bb90"},
|
84
|
+
"enabled": true, "id": "0c50aac63b88455db4f27ff7f048bb90", "parent_id": null,
|
85
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-ed46090d9"}, {"description":
|
86
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/0fa0dbc1ee164753b557ce83d53d842e"},
|
87
|
+
"enabled": true, "id": "0fa0dbc1ee164753b557ce83d53d842e", "parent_id": null,
|
88
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-7325791e1"}, {"description":
|
89
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/13bce60c11144060b0bfbf255c10d7a9"},
|
90
|
+
"enabled": true, "id": "13bce60c11144060b0bfbf255c10d7a9", "parent_id": null,
|
91
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-e0c956c8e"}, {"description":
|
92
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/17b6af808c634b05b06d1e9328bfcc56"},
|
93
|
+
"enabled": true, "id": "17b6af808c634b05b06d1e9328bfcc56", "parent_id": null,
|
94
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-3ebded015"}, {"description":
|
95
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/1cad564061844ec1a86e250b49b43243"},
|
96
|
+
"enabled": true, "id": "1cad564061844ec1a86e250b49b43243", "parent_id": null,
|
97
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-d0d906164"}, {"description":
|
98
|
+
"p-user2", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/1ec291849eae4eceb242f0a9ddd9422f"},
|
99
|
+
"enabled": true, "id": "1ec291849eae4eceb242f0a9ddd9422f", "parent_id": null,
|
100
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-d26bbcefc"}, {"description":
|
101
|
+
"p-user2", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/1ed9a1907d26421383724a3fcef12681"},
|
102
|
+
"enabled": true, "id": "1ed9a1907d26421383724a3fcef12681", "parent_id": null,
|
103
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-dd2cae797"}, {"description":
|
104
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/1f8a1c2717a84cb596231349af703045"},
|
105
|
+
"enabled": true, "id": "1f8a1c2717a84cb596231349af703045", "parent_id": null,
|
106
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-1e16b5231"}, {"description":
|
107
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/1f98dd87c26e4f12bcb79b4ebadc9d62"},
|
108
|
+
"enabled": true, "id": "1f98dd87c26e4f12bcb79b4ebadc9d62", "parent_id": null,
|
109
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-a68f5cabc"}, {"description":
|
110
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/21e9d8782d5d48f2beb9ffdb82c68a9a"},
|
111
|
+
"enabled": true, "id": "21e9d8782d5d48f2beb9ffdb82c68a9a", "parent_id": null,
|
112
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-5c1050b95"}, {"description":
|
113
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/26a2ef3df6c84beb99b75342ce067538"},
|
114
|
+
"enabled": true, "id": "26a2ef3df6c84beb99b75342ce067538", "parent_id": null,
|
115
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-81fe99ad2"}, {"description":
|
116
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/2d51ccf5f0bd406697243567a57a6b11"},
|
117
|
+
"enabled": true, "id": "2d51ccf5f0bd406697243567a57a6b11", "parent_id": null,
|
118
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-7c1a96e0e"}, {"description":
|
119
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/3049407c511b40a7955222e3cf6d80e1"},
|
120
|
+
"enabled": true, "id": "3049407c511b40a7955222e3cf6d80e1", "parent_id": null,
|
121
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-fb5131c87"}, {"description":
|
122
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/353354d2f86d496ba1a539be105dbf40"},
|
123
|
+
"enabled": true, "id": "353354d2f86d496ba1a539be105dbf40", "parent_id": null,
|
124
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-2ab141306"}, {"description":
|
125
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/35712c2214cf4ba185723a05c5817610"},
|
126
|
+
"enabled": true, "id": "35712c2214cf4ba185723a05c5817610", "parent_id": null,
|
127
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-3ecffadc8"}, {"description":
|
128
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/3b3f9a64eb074d14843510eb1fc3b591"},
|
129
|
+
"enabled": true, "id": "3b3f9a64eb074d14843510eb1fc3b591", "parent_id": null,
|
130
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-24de4244a"}, {"description":
|
131
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/431ecc311a4b4773a5d5dc761d0b43ef"},
|
132
|
+
"enabled": true, "id": "431ecc311a4b4773a5d5dc761d0b43ef", "parent_id": null,
|
133
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-a3ce4cbd7"}, {"description":
|
134
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/45ed30d9d5014badb54a4f93bd228860"},
|
135
|
+
"enabled": true, "id": "45ed30d9d5014badb54a4f93bd228860", "parent_id": null,
|
136
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-08e411305"}, {"description":
|
137
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/4699bde7d88f4eae9ed25935e71a3db5"},
|
138
|
+
"enabled": true, "id": "4699bde7d88f4eae9ed25935e71a3db5", "parent_id": null,
|
139
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-e095691c8"}, {"description":
|
140
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/4da758a777e044be89014c8658675428"},
|
141
|
+
"enabled": true, "id": "4da758a777e044be89014c8658675428", "parent_id": null,
|
142
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-25d7a4c69"}, {"description":
|
143
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/4e9d51081d9c4bf9b27a0e47c0d7f1db"},
|
144
|
+
"enabled": true, "id": "4e9d51081d9c4bf9b27a0e47c0d7f1db", "parent_id": null,
|
145
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-8d809edd8"}, {"description":
|
146
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/4eb0e5ceba5e4d66b5bdc715fc6393d1"},
|
147
|
+
"enabled": true, "id": "4eb0e5ceba5e4d66b5bdc715fc6393d1", "parent_id": null,
|
148
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-da590aef4"}, {"description":
|
149
|
+
"p-user2", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/54e29c198ebc4b6e9c56ccf363d8b006"},
|
150
|
+
"enabled": true, "id": "54e29c198ebc4b6e9c56ccf363d8b006", "parent_id": null,
|
151
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-d6a4d8c85"}, {"description":
|
152
|
+
"p-user2", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/5c3625aab40d4094b72a1b50e1fb2030"},
|
153
|
+
"enabled": true, "id": "5c3625aab40d4094b72a1b50e1fb2030", "parent_id": null,
|
154
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-d34dcaa54"}, {"description":
|
155
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/5c76ef994ef64f898a65e0b5ffdb283e"},
|
156
|
+
"enabled": true, "id": "5c76ef994ef64f898a65e0b5ffdb283e", "parent_id": null,
|
157
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-54ff679b0"}, {"description":
|
158
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/5ee9aa47425e4403bdde24db63cc9765"},
|
159
|
+
"enabled": true, "id": "5ee9aa47425e4403bdde24db63cc9765", "parent_id": null,
|
160
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-93ecb69c5"}, {"description":
|
161
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/6046d7bd3a52466bb4acfc2df44c8252"},
|
162
|
+
"enabled": true, "id": "6046d7bd3a52466bb4acfc2df44c8252", "parent_id": null,
|
163
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-59b71bb89"}, {"description":
|
164
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/60577c5b959143f5b109c47f037bf6da"},
|
165
|
+
"enabled": true, "id": "60577c5b959143f5b109c47f037bf6da", "parent_id": null,
|
166
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-24a1494de"}, {"description":
|
167
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/640bef0e5aef4a198d6c254f6f88bcbf"},
|
168
|
+
"enabled": true, "id": "640bef0e5aef4a198d6c254f6f88bcbf", "parent_id": null,
|
169
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-732d9c07d"}, {"description":
|
170
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/66249596bdf84970b7ae264105a0bb80"},
|
171
|
+
"enabled": true, "id": "66249596bdf84970b7ae264105a0bb80", "parent_id": null,
|
172
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-52e9c06f0"}, {"description":
|
173
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/6cab48c185ef4131a24d5676dde806e3"},
|
174
|
+
"enabled": true, "id": "6cab48c185ef4131a24d5676dde806e3", "parent_id": null,
|
175
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-16e60840a"}, {"description":
|
176
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/6d783f9b7b9f4e92a2ae15bbdf8e7748"},
|
177
|
+
"enabled": true, "id": "6d783f9b7b9f4e92a2ae15bbdf8e7748", "parent_id": null,
|
178
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-ca18e4716"}, {"description":
|
179
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/7026ab5afca44ea3a2172095163093ac"},
|
180
|
+
"enabled": true, "id": "7026ab5afca44ea3a2172095163093ac", "parent_id": null,
|
181
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-4c117b6a0"}, {"description":
|
182
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/7179beb050b749bda88986176ab23060"},
|
183
|
+
"enabled": true, "id": "7179beb050b749bda88986176ab23060", "parent_id": null,
|
184
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-042242d53"}, {"description":
|
185
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/7219b517a88f4a6e810401bce7886e1b"},
|
186
|
+
"enabled": true, "id": "7219b517a88f4a6e810401bce7886e1b", "parent_id": null,
|
187
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-dfc1a0d1f"}, {"description":
|
188
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/76900faff9e04c86b4c0a7a8bfcbec69"},
|
189
|
+
"enabled": true, "id": "76900faff9e04c86b4c0a7a8bfcbec69", "parent_id": null,
|
190
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-704f5c373"}, {"description":
|
191
|
+
"test_admin_sandbox", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/771faab66e3b4416a813d5e71b52f9a5"},
|
192
|
+
"enabled": true, "id": "771faab66e3b4416a813d5e71b52f9a5", "parent_id": "ff9069842d964bf2ad86ac5ed6773379",
|
193
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-2eb68d27d"}, {"description":
|
194
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/773f1896d6314b589b1716a275374f1c"},
|
195
|
+
"enabled": true, "id": "773f1896d6314b589b1716a275374f1c", "parent_id": null,
|
196
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-f6d736f8c"}, {"description":
|
197
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/7783b4d889ca454a867cfd019f3b2846"},
|
198
|
+
"enabled": true, "id": "7783b4d889ca454a867cfd019f3b2846", "parent_id": null,
|
199
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-d697aa947"}, {"description":
|
200
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/792a0727301d4974bc578abce64afa53"},
|
201
|
+
"enabled": true, "id": "792a0727301d4974bc578abce64afa53", "parent_id": null,
|
202
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-f597307f5"}, {"description":
|
203
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/80546e3e7375434ba6752ebb0a6baaa5"},
|
204
|
+
"enabled": true, "id": "80546e3e7375434ba6752ebb0a6baaa5", "parent_id": null,
|
205
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-c7b0bb3dd"}, {"description":
|
206
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/819481e3142b40468cf9b5021a89bc7b"},
|
207
|
+
"enabled": true, "id": "819481e3142b40468cf9b5021a89bc7b", "parent_id": null,
|
208
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-15bcaf86f"}, {"description":
|
209
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/81a7816b55d14aa29741ae938a8af06c"},
|
210
|
+
"enabled": true, "id": "81a7816b55d14aa29741ae938a8af06c", "parent_id": null,
|
211
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-eeeb9f3d1"}, {"description":
|
212
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/8d71b66bb163442da689d008eb919a89"},
|
213
|
+
"enabled": true, "id": "8d71b66bb163442da689d008eb919a89", "parent_id": null,
|
214
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-e654c002c"}, {"description":
|
215
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/900e804e16e0402aa894c4db56a2c2bf"},
|
216
|
+
"enabled": true, "id": "900e804e16e0402aa894c4db56a2c2bf", "parent_id": null,
|
217
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-028a6e8d4"}, {"description":
|
218
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/914850417f3e40e4b3f41b43b9c9fbd8"},
|
219
|
+
"enabled": true, "id": "914850417f3e40e4b3f41b43b9c9fbd8", "parent_id": null,
|
220
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-4308e07cd"}, {"description":
|
221
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/932f752ad2fc48a0a7a988d262cbad5a"},
|
222
|
+
"enabled": true, "id": "932f752ad2fc48a0a7a988d262cbad5a", "parent_id": null,
|
223
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-4eff4a91a"}, {"description":
|
224
|
+
"p-user2", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/9c188c42b4a247c4b9fd46757aa7dde7"},
|
225
|
+
"enabled": true, "id": "9c188c42b4a247c4b9fd46757aa7dde7", "parent_id": null,
|
226
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-849e02603"}, {"description":
|
227
|
+
"p-user2", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/a1aa5baa364b44a2ad32c8292a7acb02"},
|
228
|
+
"enabled": true, "id": "a1aa5baa364b44a2ad32c8292a7acb02", "parent_id": null,
|
229
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-b01b19a80"}, {"description":
|
230
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/a9f504ab4fd348c9820fa7baac3511f0"},
|
231
|
+
"enabled": true, "id": "a9f504ab4fd348c9820fa7baac3511f0", "parent_id": null,
|
232
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-5e62444cc"}, {"description":
|
233
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/aab9b4f3b525460abab7f44af633f74b"},
|
234
|
+
"enabled": true, "id": "aab9b4f3b525460abab7f44af633f74b", "parent_id": null,
|
235
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-208e4d819"}, {"description":
|
236
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/b028130e6fbb453a9ea886bb666989f3"},
|
237
|
+
"enabled": true, "id": "b028130e6fbb453a9ea886bb666989f3", "parent_id": null,
|
238
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-a7caed109"}, {"description":
|
239
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/b428abe7c1ee4492b716c954b92d57ac"},
|
240
|
+
"enabled": true, "id": "b428abe7c1ee4492b716c954b92d57ac", "parent_id": null,
|
241
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-ed6798910"}, {"description":
|
242
|
+
"p-user2", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/b5469bcdc8154fedb5b0e09062e8b4ae"},
|
243
|
+
"enabled": true, "id": "b5469bcdc8154fedb5b0e09062e8b4ae", "parent_id": null,
|
244
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-239a24d38"}, {"description":
|
245
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/b5c0b8ae3d944b72b42401b380974f05"},
|
246
|
+
"enabled": true, "id": "b5c0b8ae3d944b72b42401b380974f05", "parent_id": null,
|
247
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-b3b7bea4c"}, {"description":
|
248
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/bb904913e0b140869327a37d77e7f080"},
|
249
|
+
"enabled": true, "id": "bb904913e0b140869327a37d77e7f080", "parent_id": null,
|
250
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-633a8ad05"}, {"description":
|
251
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/bff7e608a09b4696a8899a23f43e6f59"},
|
252
|
+
"enabled": true, "id": "bff7e608a09b4696a8899a23f43e6f59", "parent_id": null,
|
253
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-8ee3a68c0"}, {"description":
|
254
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/c523450758bc44478c3a4fe1bc8738d9"},
|
255
|
+
"enabled": true, "id": "c523450758bc44478c3a4fe1bc8738d9", "parent_id": null,
|
256
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-fe74ad425"}, {"description":
|
257
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/c528f9ecbac84bb28355a799dcf55c15"},
|
258
|
+
"enabled": true, "id": "c528f9ecbac84bb28355a799dcf55c15", "parent_id": null,
|
259
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-e1255045e"}, {"description":
|
260
|
+
"p-user2", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/c5a02b95e9e548d4b57505cdec6ff6d2"},
|
261
|
+
"enabled": true, "id": "c5a02b95e9e548d4b57505cdec6ff6d2", "parent_id": null,
|
262
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-3e1c41ac6"}, {"description":
|
263
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/c61e450a4a1b463fbbaa8f5e6b06e4a0"},
|
264
|
+
"enabled": true, "id": "c61e450a4a1b463fbbaa8f5e6b06e4a0", "parent_id": null,
|
265
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-b0922edc3"}, {"description":
|
266
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/c75d157303324491883385a0d60cd878"},
|
267
|
+
"enabled": true, "id": "c75d157303324491883385a0d60cd878", "parent_id": null,
|
268
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-1d31f7d73"}, {"description":
|
269
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/c9a14c794b674693a7128e2c5d42a321"},
|
270
|
+
"enabled": true, "id": "c9a14c794b674693a7128e2c5d42a321", "parent_id": null,
|
271
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-d1bc4e84b"}, {"description":
|
272
|
+
null, "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/ca6707581327490398bf1f68fe396a5a"},
|
78
273
|
"enabled": true, "id": "ca6707581327490398bf1f68fe396a5a", "parent_id": null,
|
79
|
-
"domain_id": "default", "name": "demo"}, {"description":
|
80
|
-
"http://devstack.openstack.stack:5000/v3/projects/
|
274
|
+
"domain_id": "default", "name": "demo"}, {"description": "p-user1", "links":
|
275
|
+
{"self": "http://devstack.openstack.stack:5000/v3/projects/cd7fb56c15fd49d1bc9c7e8a6039b574"},
|
276
|
+
"enabled": true, "id": "cd7fb56c15fd49d1bc9c7e8a6039b574", "parent_id": null,
|
277
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-2ee9cc7e4"}, {"description":
|
278
|
+
"p-user2", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/d44dd047a7e3451b9e3f1203c6b399a5"},
|
279
|
+
"enabled": true, "id": "d44dd047a7e3451b9e3f1203c6b399a5", "parent_id": null,
|
280
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-f5c3e3dd8"}, {"description":
|
281
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/d9808ecab11d4451a4e9b45841327d03"},
|
282
|
+
"enabled": true, "id": "d9808ecab11d4451a4e9b45841327d03", "parent_id": null,
|
283
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-796c23843"}, {"description":
|
284
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/dac62601b1db4ac7a412ad71256cf7fa"},
|
285
|
+
"enabled": true, "id": "dac62601b1db4ac7a412ad71256cf7fa", "parent_id": null,
|
286
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-9bfe47b36"}, {"description":
|
287
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/dc7888cd1fa9498781907c89c16519f6"},
|
288
|
+
"enabled": true, "id": "dc7888cd1fa9498781907c89c16519f6", "parent_id": null,
|
289
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-1060b9a98"}, {"description":
|
290
|
+
null, "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/ded5a6e0922c4be59e7c15517cfb89ee"},
|
81
291
|
"enabled": true, "id": "ded5a6e0922c4be59e7c15517cfb89ee", "parent_id": null,
|
82
|
-
"domain_id": "default", "name": "admin"}
|
292
|
+
"domain_id": "default", "name": "admin"}, {"description": "p-user2", "links":
|
293
|
+
{"self": "http://devstack.openstack.stack:5000/v3/projects/df28ccdf945447b587facadc25fee495"},
|
294
|
+
"enabled": true, "id": "df28ccdf945447b587facadc25fee495", "parent_id": null,
|
295
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-d4423247b"}, {"description":
|
296
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/dfc56116a6ab4fac97a7cd1df68c930c"},
|
297
|
+
"enabled": true, "id": "dfc56116a6ab4fac97a7cd1df68c930c", "parent_id": null,
|
298
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-2b12bc10e"}, {"description":
|
299
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/e854423b8cfc4df481755a06a8e579b1"},
|
300
|
+
"enabled": true, "id": "e854423b8cfc4df481755a06a8e579b1", "parent_id": null,
|
301
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-979a8cfd6"}, {"description":
|
302
|
+
"p-user2", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/e8797f9084e3411a9305ec6281443d89"},
|
303
|
+
"enabled": true, "id": "e8797f9084e3411a9305ec6281443d89", "parent_id": null,
|
304
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-78cab2f4f"}, {"description":
|
305
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/ee41236a29164caf85a9ccac6000fa6c"},
|
306
|
+
"enabled": true, "id": "ee41236a29164caf85a9ccac6000fa6c", "parent_id": null,
|
307
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-f9e7dd07b"}, {"description":
|
308
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/efc046df3ab1491ba37649ccf5704fc3"},
|
309
|
+
"enabled": true, "id": "efc046df3ab1491ba37649ccf5704fc3", "parent_id": null,
|
310
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-3d340322b"}, {"description":
|
311
|
+
"p-user2", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/f2736c9b065d433eb7d975300e659535"},
|
312
|
+
"enabled": true, "id": "f2736c9b065d433eb7d975300e659535", "parent_id": null,
|
313
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-44f36efd1"}, {"description":
|
314
|
+
"p-user1", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/f427d50d6b3c4ed485ac936a51fdfc4f"},
|
315
|
+
"enabled": true, "id": "f427d50d6b3c4ed485ac936a51fdfc4f", "parent_id": null,
|
316
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-59005c31a"}, {"description":
|
317
|
+
"sandboxes", "links": {"self": "http://devstack.openstack.stack:5000/v3/projects/ff9069842d964bf2ad86ac5ed6773379"},
|
318
|
+
"enabled": true, "id": "ff9069842d964bf2ad86ac5ed6773379", "parent_id": null,
|
319
|
+
"domain_id": "260c87fb609c41f69a265240185c35da", "name": "p-e66ddf049"}]}'
|
83
320
|
http_version:
|
84
|
-
recorded_at:
|
321
|
+
recorded_at: Wed, 28 Oct 2015 16:05:15 GMT
|
85
322
|
- request:
|
86
323
|
method: post
|
87
324
|
uri: http://devstack.openstack.stack:5000/v3/auth/tokens
|
88
325
|
body:
|
89
326
|
encoding: UTF-8
|
90
|
-
string: '{"auth":{"identity":{"methods":["token"],"token":{"id":"
|
327
|
+
string: '{"auth":{"identity":{"methods":["token"],"token":{"id":"2b71aeba9c5a4607b4c03c236065cbe7"}},"scope":{"project":{"name":"p-c5e0c5799","domain":{"id":"260c87fb609c41f69a265240185c35da"}}}}}'
|
91
328
|
headers:
|
92
329
|
User-Agent:
|
93
330
|
- fog-core/1.32.1
|
@@ -99,83 +336,84 @@ http_interactions:
|
|
99
336
|
message: ''
|
100
337
|
headers:
|
101
338
|
Date:
|
102
|
-
-
|
339
|
+
- Wed, 28 Oct 2015 16:05:35 GMT
|
103
340
|
Server:
|
104
341
|
- Apache/2.4.7 (Ubuntu)
|
105
342
|
X-Subject-Token:
|
106
|
-
-
|
343
|
+
- cbe8d1d7ba3c401da18cdb17e1e01586
|
107
344
|
Vary:
|
108
345
|
- X-Auth-Token
|
109
346
|
X-Openstack-Request-Id:
|
110
|
-
- req-
|
347
|
+
- req-59cf1200-a0c8-46dc-bab3-d2838271cba0
|
111
348
|
Content-Length:
|
112
|
-
- '
|
349
|
+
- '5401'
|
113
350
|
Content-Type:
|
114
351
|
- application/json
|
115
352
|
body:
|
116
353
|
encoding: UTF-8
|
117
354
|
string: '{"token": {"methods": ["token", "password"], "roles": [{"id": "d98e5f87050646f194c8c23b9e3f2bca",
|
118
|
-
"name": "admin"}], "expires_at": "2015-10-
|
119
|
-
{"domain": {"id": "
|
120
|
-
"
|
121
|
-
"
|
122
|
-
"
|
123
|
-
"http://
|
124
|
-
"
|
125
|
-
"http://
|
126
|
-
"
|
127
|
-
"
|
355
|
+
"name": "admin"}], "expires_at": "2015-10-28T17:05:35.170476Z", "project":
|
356
|
+
{"domain": {"id": "260c87fb609c41f69a265240185c35da", "name": "o-9fe4db22e"},
|
357
|
+
"id": "058efc118b2343ae89834ec99c4f3ffa", "name": "p-c5e0c5799"}, "catalog":
|
358
|
+
[{"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3",
|
359
|
+
"region": "RegionOne", "interface": "public", "id": "09bb76485f3849c1a81dfeda62f1b27b"},
|
360
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3", "region":
|
361
|
+
"RegionOne", "interface": "admin", "id": "73acd28dc39e4d2cb332fe63eafd05fa"},
|
362
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:5000/v3", "region":
|
363
|
+
"RegionOne", "interface": "internal", "id": "c0acc2a6600148248912d585cfd3debf"}],
|
364
|
+
"type": "identity", "id": "00707ec9c3574d8ebb638265844f7903", "name": "keystone"},
|
365
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9292",
|
128
366
|
"region": "RegionOne", "interface": "admin", "id": "9799d84417464a4cbb9226485ce539c7"},
|
129
|
-
{"region_id": "RegionOne", "url": "http://
|
367
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9292", "region": "RegionOne",
|
130
368
|
"interface": "internal", "id": "a0d9872cbf42461ea5ab511d32387662"}, {"region_id":
|
131
|
-
"RegionOne", "url": "http://
|
369
|
+
"RegionOne", "url": "http://devstack.openstack.stack:9292", "region": "RegionOne", "interface":
|
132
370
|
"public", "id": "a93b60395e044b9187ccd7b37cf0c68c"}], "type": "image", "id":
|
133
371
|
"1f1c2c6373754553938a93de04db5bc0", "name": "glance"}, {"endpoints": [{"region_id":
|
134
|
-
"RegionOne", "url": "http://
|
372
|
+
"RegionOne", "url": "http://devstack.openstack.stack:8776/v2/058efc118b2343ae89834ec99c4f3ffa",
|
135
373
|
"region": "RegionOne", "interface": "admin", "id": "273424f04e404eb98eb6008cdff7654f"},
|
136
|
-
{"region_id": "RegionOne", "url": "http://
|
374
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v2/058efc118b2343ae89834ec99c4f3ffa",
|
137
375
|
"region": "RegionOne", "interface": "internal", "id": "4d6d1528f709499ca177e637521d7e85"},
|
138
|
-
{"region_id": "RegionOne", "url": "http://
|
376
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v2/058efc118b2343ae89834ec99c4f3ffa",
|
139
377
|
"region": "RegionOne", "interface": "public", "id": "fa22fdd7d604405bb734e5b04b825c57"}],
|
140
378
|
"type": "volumev2", "id": "49ef74e8dab84ed0b683f764ae6d510c", "name": "cinderv2"},
|
141
|
-
{"endpoints": [{"region_id": "RegionOne", "url": "http://
|
379
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v1/058efc118b2343ae89834ec99c4f3ffa",
|
142
380
|
"region": "RegionOne", "interface": "internal", "id": "2b86f18fc82c4f599455afa9f54cae20"},
|
143
|
-
{"region_id": "RegionOne", "url": "http://
|
381
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v1/058efc118b2343ae89834ec99c4f3ffa",
|
144
382
|
"region": "RegionOne", "interface": "admin", "id": "5620b03559c84f6fbb01b660e3e5b8a9"},
|
145
|
-
{"region_id": "RegionOne", "url": "http://
|
383
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8776/v1/058efc118b2343ae89834ec99c4f3ffa",
|
146
384
|
"region": "RegionOne", "interface": "public", "id": "f63063e775db4d48962172344fcdbdf1"}],
|
147
385
|
"type": "volume", "id": "54efbe90e47244eca5fac1a65374e594", "name": "cinder"},
|
148
|
-
{"endpoints": [{"region_id": "RegionOne", "url": "http://
|
386
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9696/",
|
149
387
|
"region": "RegionOne", "interface": "public", "id": "59f19d0e7c59457fa611c4f552fa37c3"},
|
150
|
-
{"region_id": "RegionOne", "url": "http://
|
388
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:9696/", "region": "RegionOne",
|
151
389
|
"interface": "admin", "id": "5f2d351a942e41bc8cc2163569c645b7"}, {"region_id":
|
152
|
-
"RegionOne", "url": "http://
|
390
|
+
"RegionOne", "url": "http://devstack.openstack.stack:9696/", "region": "RegionOne", "interface":
|
153
391
|
"internal", "id": "8e2b48e33993420b934607375242e6a1"}], "type": "network",
|
154
392
|
"id": "b6063de99a3b474094779d6f778cd87b", "name": "neutron"}, {"endpoints":
|
155
|
-
[{"region_id": "RegionOne", "url": "http://
|
393
|
+
[{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2.1/058efc118b2343ae89834ec99c4f3ffa",
|
156
394
|
"region": "RegionOne", "interface": "internal", "id": "1232531a1eda43cba7c8c539270a4839"},
|
157
|
-
{"region_id": "RegionOne", "url": "http://
|
395
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2.1/058efc118b2343ae89834ec99c4f3ffa",
|
158
396
|
"region": "RegionOne", "interface": "public", "id": "87a9c4d67a9549e58a12e93675520929"},
|
159
|
-
{"region_id": "RegionOne", "url": "http://
|
397
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2.1/058efc118b2343ae89834ec99c4f3ffa",
|
160
398
|
"region": "RegionOne", "interface": "admin", "id": "aa0660735da048068454148d747bd997"}],
|
161
399
|
"type": "computev21", "id": "c6ad05da1baa4dd190bdf01dca60e911", "name": "novav21"},
|
162
|
-
{"endpoints": [{"region_id": "RegionOne", "url": "http://
|
400
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2/058efc118b2343ae89834ec99c4f3ffa",
|
163
401
|
"region": "RegionOne", "interface": "internal", "id": "1f0cd271fb524becaaa23c5e06730a19"},
|
164
|
-
{"region_id": "RegionOne", "url": "http://
|
402
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2/058efc118b2343ae89834ec99c4f3ffa",
|
165
403
|
"region": "RegionOne", "interface": "public", "id": "51429028b9e74cb585dfe4a7df2bfd40"},
|
166
|
-
{"region_id": "RegionOne", "url": "http://
|
404
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8774/v2/058efc118b2343ae89834ec99c4f3ffa",
|
167
405
|
"region": "RegionOne", "interface": "admin", "id": "8b6c30d816b1481f837448bcd368263a"}],
|
168
406
|
"type": "compute", "id": "d22c9f37ebea4187ae97eb57ced02483", "name": "nova"},
|
169
|
-
{"endpoints": [{"region_id": "RegionOne", "url": "http://
|
407
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/",
|
170
408
|
"region": "RegionOne", "interface": "admin", "id": "d0af6d9e8b304d69bc349b63fdb7bd00"},
|
171
|
-
{"region_id": "RegionOne", "url": "http://
|
409
|
+
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:8773/", "region": "RegionOne",
|
172
410
|
"interface": "public", "id": "e08749c48e9e4d2c9f2733fa221b3b2f"}, {"region_id":
|
173
|
-
"RegionOne", "url": "http://
|
411
|
+
"RegionOne", "url": "http://devstack.openstack.stack:8773/", "region": "RegionOne", "interface":
|
174
412
|
"internal", "id": "faf1491ad0244c17b13f9b4fc10becbb"}], "type": "ec2", "id":
|
175
413
|
"e2550fc44d8044398e49a080439462ed", "name": "ec2"}], "extras": {}, "user":
|
176
414
|
{"domain": {"id": "default", "name": "Default"}, "id": "a18abc2039d6493aa7239a42033cc7c9",
|
177
|
-
"name": "admin"}, "audit_ids": ["
|
178
|
-
"issued_at": "2015-10-
|
415
|
+
"name": "admin"}, "audit_ids": ["iVQmPdziTkmGasmIAfp0XQ", "kTht9USFS9ihSF6py42nQg"],
|
416
|
+
"issued_at": "2015-10-28T16:05:35.587409Z"}}'
|
179
417
|
http_version:
|
180
|
-
recorded_at:
|
418
|
+
recorded_at: Wed, 28 Oct 2015 16:05:15 GMT
|
181
419
|
recorded_with: VCR 2.9.3
|