fog 1.34.0 → 1.35.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 +10 -24
- data/CHANGELOG.md +84 -0
- data/CONTRIBUTING.md +1 -1
- data/README.md +4 -20
- data/fog.gemspec +7 -5
- data/lib/fog.rb +1 -0
- data/lib/fog/bin.rb +1 -0
- data/lib/fog/digitalocean/compute_v2.rb +108 -0
- data/lib/fog/digitalocean/models/compute_v2/flavor.rb +17 -0
- data/lib/fog/digitalocean/models/compute_v2/flavors.rb +21 -0
- data/lib/fog/digitalocean/models/compute_v2/image.rb +25 -0
- data/lib/fog/digitalocean/models/compute_v2/images.rb +36 -0
- data/lib/fog/digitalocean/models/compute_v2/region.rb +13 -0
- data/lib/fog/digitalocean/models/compute_v2/regions.rb +21 -0
- data/lib/fog/digitalocean/models/compute_v2/server.rb +166 -0
- data/lib/fog/digitalocean/models/compute_v2/servers.rb +39 -0
- data/lib/fog/digitalocean/models/compute_v2/ssh_key.rb +30 -0
- data/lib/fog/digitalocean/models/compute_v2/ssh_keys.rb +35 -0
- data/lib/fog/digitalocean/requests/compute_v2/change_kernel.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/convert_to_snapshot.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/create_server.rb +93 -0
- data/lib/fog/digitalocean/requests/compute_v2/create_ssh_key.rb +47 -0
- data/lib/fog/digitalocean/requests/compute_v2/delete_server.rb +28 -0
- data/lib/fog/digitalocean/requests/compute_v2/delete_ssh_key.rb +28 -0
- data/lib/fog/digitalocean/requests/compute_v2/disable_backups.rb +45 -0
- data/lib/fog/digitalocean/requests/compute_v2/enable_ipv6.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/enable_private_networking.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/get_droplet_action.rb +36 -0
- data/lib/fog/digitalocean/requests/compute_v2/get_image_details.rb +43 -0
- data/lib/fog/digitalocean/requests/compute_v2/get_server_details.rb +84 -0
- data/lib/fog/digitalocean/requests/compute_v2/get_ssh_key.rb +34 -0
- data/lib/fog/digitalocean/requests/compute_v2/list_droplet_actions.rb +38 -0
- data/lib/fog/digitalocean/requests/compute_v2/list_flavors.rb +131 -0
- data/lib/fog/digitalocean/requests/compute_v2/list_images.rb +50 -0
- data/lib/fog/digitalocean/requests/compute_v2/list_regions.rb +94 -0
- data/lib/fog/digitalocean/requests/compute_v2/list_servers.rb +28 -0
- data/lib/fog/digitalocean/requests/compute_v2/list_ssh_keys.rb +26 -0
- data/lib/fog/digitalocean/requests/compute_v2/password_reset.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/power_cycle.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/power_off.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/power_on.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/reboot_server.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/rebuild.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/rename.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/resize.rb +48 -0
- data/lib/fog/digitalocean/requests/compute_v2/restore.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/shutdown.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/snapshot.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/transfer_image.rb +44 -0
- data/lib/fog/digitalocean/requests/compute_v2/update_ssh_key.rb +46 -0
- data/lib/fog/digitalocean/requests/compute_v2/upgrade.rb +44 -0
- data/lib/fog/digitalocean/service.rb +51 -0
- data/lib/fog/linode/models/compute/kernels.rb +1 -1
- data/lib/fog/opennebula/models/compute/flavor.rb +13 -13
- data/lib/fog/opennebula/requests/compute/template_pool.rb +14 -11
- data/lib/fog/openstack.rb +2 -0
- data/lib/fog/openstack/core.rb +30 -3
- data/lib/fog/openstack/identity.rb +8 -7
- data/lib/fog/openstack/identity_v3.rb +1 -0
- data/lib/fog/openstack/image.rb +35 -130
- data/lib/fog/openstack/image_v1.rb +142 -0
- data/lib/fog/openstack/image_v2.rb +137 -0
- data/lib/fog/openstack/models/image_v1/image.rb +78 -0
- data/lib/fog/openstack/models/image_v1/images.rb +70 -0
- data/lib/fog/openstack/models/image_v2/image.rb +149 -0
- data/lib/fog/openstack/models/image_v2/images.rb +67 -0
- data/lib/fog/openstack/models/orchestration/stack.rb +5 -0
- data/lib/fog/openstack/models/volume/volume_type.rb +25 -0
- data/lib/fog/openstack/orchestration.rb +1 -0
- data/lib/fog/openstack/requests/compute/server_actions.rb +14 -3
- data/lib/fog/openstack/requests/{image → image_v1}/add_member_to_image.rb +2 -0
- data/lib/fog/openstack/requests/image_v1/create_image.rb +78 -0
- data/lib/fog/openstack/requests/image_v1/delete_image.rb +25 -0
- data/lib/fog/openstack/requests/image_v1/get_image.rb +47 -0
- data/lib/fog/openstack/requests/image_v1/get_image_by_id.rb +34 -0
- data/lib/fog/openstack/requests/image_v1/get_image_members.rb +31 -0
- data/lib/fog/openstack/requests/image_v1/get_shared_images.rb +31 -0
- data/lib/fog/openstack/requests/image_v1/list_public_images.rb +35 -0
- data/lib/fog/openstack/requests/image_v1/list_public_images_detailed.rb +37 -0
- data/lib/fog/openstack/requests/image_v1/remove_member_from_image.rb +25 -0
- data/lib/fog/openstack/requests/image_v1/set_tenant.rb +21 -0
- data/lib/fog/openstack/requests/image_v1/update_image.rb +66 -0
- data/lib/fog/openstack/requests/image_v1/update_image_members.rb +39 -0
- data/lib/fog/openstack/requests/image_v2/add_member_to_image.rb +26 -0
- data/lib/fog/openstack/requests/image_v2/add_tag_to_image.rb +25 -0
- data/lib/fog/openstack/requests/image_v2/create_image.rb +54 -0
- data/lib/fog/openstack/requests/image_v2/deactivate_image.rb +25 -0
- data/lib/fog/openstack/requests/image_v2/delete_image.rb +25 -0
- data/lib/fog/openstack/requests/image_v2/download_image.rb +29 -0
- data/lib/fog/openstack/requests/image_v2/get_image.rb +47 -0
- data/lib/fog/openstack/requests/image_v2/get_image_by_id.rb +34 -0
- data/lib/fog/openstack/requests/image_v2/get_image_members.rb +31 -0
- data/lib/fog/openstack/requests/image_v2/get_member_details.rb +33 -0
- data/lib/fog/openstack/requests/image_v2/get_shared_images.rb +31 -0
- data/lib/fog/openstack/requests/image_v2/list_images.rb +35 -0
- data/lib/fog/openstack/requests/image_v2/reactivate_image.rb +25 -0
- data/lib/fog/openstack/requests/image_v2/remove_member_from_image.rb +25 -0
- data/lib/fog/openstack/requests/image_v2/remove_tag_from_image.rb +25 -0
- data/lib/fog/openstack/requests/image_v2/set_tenant.rb +21 -0
- data/lib/fog/openstack/requests/image_v2/update_image.rb +49 -0
- data/lib/fog/openstack/requests/image_v2/update_image_member.rb +34 -0
- data/lib/fog/openstack/requests/image_v2/upload_image.rb +30 -0
- data/lib/fog/openstack/requests/orchestration/patch_stack.rb +37 -0
- data/lib/fog/openstack/requests/volume/create_volume_type.rb +41 -0
- data/lib/fog/openstack/requests/{image/delete_image.rb → volume/delete_volume_type.rb} +6 -6
- data/lib/fog/openstack/requests/volume/get_quota_usage.rb +44 -0
- data/lib/fog/openstack/requests/volume/get_volume_type_details.rb +1 -1
- data/lib/fog/openstack/requests/volume/update_volume_type.rb +41 -0
- data/lib/fog/openstack/volume.rb +5 -0
- data/lib/fog/rackspace/models/compute_v2/server.rb +11 -1
- data/lib/fog/rackspace/models/compute_v2/servers.rb +2 -2
- data/lib/fog/rackspace/requests/compute_v2/create_server.rb +7 -2
- data/lib/fog/vcloud_director/requests/compute/get_execute_query.rb +13 -10
- data/lib/fog/version.rb +1 -1
- data/lib/fog/vsphere/models/compute/server.rb +1 -1
- data/lib/tasks/changelog_task.rb +1 -0
- data/spec/fog/openstack/identity_v3/authv3_a.yml +45 -52
- data/spec/fog/openstack/identity_v3/authv3_b.yml +45 -52
- data/spec/fog/openstack/identity_v3/authv3_c.yml +95 -101
- data/spec/fog/openstack/identity_v3/authv3_project.yml +68 -75
- data/spec/fog/openstack/identity_v3/authv3_token.yml +212 -174
- data/spec/fog/openstack/identity_v3/authv3_unscoped.yml +278 -266
- data/spec/fog/openstack/identity_v3/authv3_unscoped_reauth.yml +190 -202
- data/spec/fog/openstack/identity_v3/common_setup.yml +67 -445
- data/spec/fog/openstack/identity_v3/idv3_credential.yml +56 -26
- data/spec/fog/openstack/identity_v3/idv3_credential_crud.yml +292 -152
- data/spec/fog/openstack/identity_v3/idv3_domain.yml +99 -49
- data/spec/fog/openstack/identity_v3/idv3_domain_crud.yml +239 -119
- data/spec/fog/openstack/identity_v3/idv3_domain_group_roles_mutation.yml +414 -205
- data/spec/fog/openstack/identity_v3/idv3_domain_roles_mutation.yml +259 -136
- data/spec/fog/openstack/identity_v3/idv3_endpoint.yml +474 -472
- data/spec/fog/openstack/identity_v3/idv3_endpoints_crud.yml +679 -626
- data/spec/fog/openstack/identity_v3/idv3_group_crud_mutation.yml +536 -269
- data/spec/fog/openstack/identity_v3/idv3_policy.yml +76 -36
- data/spec/fog/openstack/identity_v3/idv3_policy_crud.yml +197 -97
- data/spec/fog/openstack/identity_v3/idv3_project.yml +135 -85
- data/spec/fog/openstack/identity_v3/idv3_project_crud.yml +237 -127
- data/spec/fog/openstack/identity_v3/idv3_project_group_user_roles_mutation.yml +625 -295
- data/spec/fog/openstack/identity_v3/idv3_project_hier_crud_list.yml +716 -355
- data/spec/fog/openstack/identity_v3/idv3_role.yml +134 -88
- data/spec/fog/openstack/identity_v3/idv3_role_crud.yml +312 -118
- data/spec/fog/openstack/identity_v3/idv3_service.yml +179 -133
- data/spec/fog/openstack/identity_v3/idv3_services_crud.yml +306 -212
- data/spec/fog/openstack/identity_v3/idv3_token.yml +213 -177
- data/spec/fog/openstack/identity_v3/idv3_user_crud.yml +345 -188
- data/spec/fog/openstack/identity_v3/idv3_users.yml +182 -116
- data/spec/fog/openstack/identity_v3_spec.rb +103 -85
- data/spec/fog/openstack/{identity_v3/idv3_other_region.yml → image_v1/common_setup.yml} +50 -93
- data/spec/fog/openstack/image_v1/list_images.yml +54 -0
- data/spec/fog/openstack/image_v1_spec.rb +24 -0
- data/spec/fog/openstack/image_v2/common_setup.yml +144 -0
- data/spec/fog/openstack/image_v2/image_schema.json +190 -0
- data/spec/fog/openstack/image_v2/image_v2_activation.yml +3988 -0
- data/spec/fog/openstack/image_v2/image_v2_create_id.yml +291 -0
- data/spec/fog/openstack/image_v2/image_v2_crud.yml +437 -0
- data/spec/fog/openstack/image_v2/image_v2_member_crudl.yml +451 -0
- data/spec/fog/openstack/image_v2/image_v2_tags.yml +532 -0
- data/spec/fog/openstack/image_v2/image_v2_upload_download.yml +3966 -0
- data/spec/fog/openstack/image_v2/minimal.ova +0 -0
- data/spec/fog/openstack/image_v2_spec.rb +285 -0
- data/spec/fog/openstack/image_v2_upload_spec.rb +74 -0
- data/spec/fog/openstack/shared_context.rb +14 -10
- data/tests/compute/helper.rb +0 -3
- data/tests/digitalocean/requests/compute_v2/list_flavors_tests.rb +25 -0
- data/tests/digitalocean/requests/compute_v2/list_images_tests.rb +25 -0
- data/tests/digitalocean/requests/compute_v2/list_regions_tests.rb +21 -0
- data/tests/digitalocean/requests/compute_v2/server_tests.rb +77 -0
- data/tests/helpers/mock_helper.rb +1 -0
- data/tests/opennebula/models/compute/flavor_tests.rb +1 -1
- data/tests/openstack/requests/orchestration/stack_tests.rb +5 -1
- data/tests/openstack/requests/volume/volume_type_tests.rb +32 -0
- data/tests/rackspace/models/compute_v2/server_tests.rb +7 -7
- metadata +160 -236
- data/gemfiles/Gemfile-ruby-1.8.7 +0 -17
- data/lib/fog/bin/xenserver.rb +0 -29
- data/lib/fog/openstack/models/image/image.rb +0 -76
- data/lib/fog/openstack/models/image/images.rb +0 -67
- data/lib/fog/openstack/requests/image/create_image.rb +0 -76
- data/lib/fog/openstack/requests/image/get_image.rb +0 -45
- data/lib/fog/openstack/requests/image/get_image_by_id.rb +0 -32
- data/lib/fog/openstack/requests/image/get_image_members.rb +0 -29
- data/lib/fog/openstack/requests/image/get_shared_images.rb +0 -29
- data/lib/fog/openstack/requests/image/list_public_images.rb +0 -33
- data/lib/fog/openstack/requests/image/list_public_images_detailed.rb +0 -35
- data/lib/fog/openstack/requests/image/remove_member_from_image.rb +0 -23
- data/lib/fog/openstack/requests/image/set_tenant.rb +0 -19
- data/lib/fog/openstack/requests/image/update_image.rb +0 -64
- data/lib/fog/openstack/requests/image/update_image_members.rb +0 -37
- data/lib/fog/xenserver.rb +0 -1
- data/lib/fog/xenserver/CHANGELOG.md +0 -77
- data/lib/fog/xenserver/compute.rb +0 -186
- data/lib/fog/xenserver/core.rb +0 -94
- data/lib/fog/xenserver/examples/README.md +0 -11
- data/lib/fog/xenserver/examples/chage_default_storage_repository.md +0 -99
- data/lib/fog/xenserver/examples/creating_servers.md +0 -168
- data/lib/fog/xenserver/examples/getting_started.md +0 -163
- data/lib/fog/xenserver/examples/networks-and-vlans.rb +0 -44
- data/lib/fog/xenserver/examples/storage_repositories.md +0 -94
- data/lib/fog/xenserver/models/compute/blob.rb +0 -22
- data/lib/fog/xenserver/models/compute/blobs.rb +0 -25
- data/lib/fog/xenserver/models/compute/bond.rb +0 -23
- data/lib/fog/xenserver/models/compute/bonds.rb +0 -25
- data/lib/fog/xenserver/models/compute/console.rb +0 -29
- data/lib/fog/xenserver/models/compute/consoles.rb +0 -25
- data/lib/fog/xenserver/models/compute/crash_dump.rb +0 -19
- data/lib/fog/xenserver/models/compute/crash_dumps.rb +0 -25
- data/lib/fog/xenserver/models/compute/dr_task.rb +0 -17
- data/lib/fog/xenserver/models/compute/dr_tasks.rb +0 -25
- data/lib/fog/xenserver/models/compute/gpu_group.rb +0 -22
- data/lib/fog/xenserver/models/compute/gpu_groups.rb +0 -25
- data/lib/fog/xenserver/models/compute/guest_metrics.rb +0 -26
- data/lib/fog/xenserver/models/compute/host.rb +0 -156
- data/lib/fog/xenserver/models/compute/host_cpu.rb +0 -34
- data/lib/fog/xenserver/models/compute/host_crash_dump.rb +0 -20
- data/lib/fog/xenserver/models/compute/host_crash_dumps.rb +0 -25
- data/lib/fog/xenserver/models/compute/host_metrics.rb +0 -26
- data/lib/fog/xenserver/models/compute/host_patch.rb +0 -25
- data/lib/fog/xenserver/models/compute/host_patchs.rb +0 -25
- data/lib/fog/xenserver/models/compute/hosts.rb +0 -25
- data/lib/fog/xenserver/models/compute/network.rb +0 -93
- data/lib/fog/xenserver/models/compute/networks.rb +0 -29
- data/lib/fog/xenserver/models/compute/pbd.rb +0 -37
- data/lib/fog/xenserver/models/compute/pbds.rb +0 -29
- data/lib/fog/xenserver/models/compute/pci.rb +0 -22
- data/lib/fog/xenserver/models/compute/pcis.rb +0 -25
- data/lib/fog/xenserver/models/compute/pgpu.rb +0 -20
- data/lib/fog/xenserver/models/compute/pgpus.rb +0 -25
- data/lib/fog/xenserver/models/compute/pif.rb +0 -54
- data/lib/fog/xenserver/models/compute/pif_metrics.rb +0 -28
- data/lib/fog/xenserver/models/compute/pifs.rb +0 -29
- data/lib/fog/xenserver/models/compute/pifs_metrics.rb +0 -25
- data/lib/fog/xenserver/models/compute/pool.rb +0 -75
- data/lib/fog/xenserver/models/compute/pool_patch.rb +0 -24
- data/lib/fog/xenserver/models/compute/pool_patchs.rb +0 -25
- data/lib/fog/xenserver/models/compute/pools.rb +0 -29
- data/lib/fog/xenserver/models/compute/role.rb +0 -19
- data/lib/fog/xenserver/models/compute/roles.rb +0 -25
- data/lib/fog/xenserver/models/compute/server.rb +0 -251
- data/lib/fog/xenserver/models/compute/server_appliance.rb +0 -21
- data/lib/fog/xenserver/models/compute/server_appliances.rb +0 -25
- data/lib/fog/xenserver/models/compute/servers.rb +0 -64
- data/lib/fog/xenserver/models/compute/storage_manager.rb +0 -28
- data/lib/fog/xenserver/models/compute/storage_managers.rb +0 -25
- data/lib/fog/xenserver/models/compute/storage_repositories.rb +0 -27
- data/lib/fog/xenserver/models/compute/storage_repository.rb +0 -90
- data/lib/fog/xenserver/models/compute/tunnel.rb +0 -20
- data/lib/fog/xenserver/models/compute/tunnels.rb +0 -25
- data/lib/fog/xenserver/models/compute/vbd.rb +0 -88
- data/lib/fog/xenserver/models/compute/vbd_metrics.rb +0 -25
- data/lib/fog/xenserver/models/compute/vbds.rb +0 -29
- data/lib/fog/xenserver/models/compute/vdi.rb +0 -102
- data/lib/fog/xenserver/models/compute/vdis.rb +0 -25
- data/lib/fog/xenserver/models/compute/vif.rb +0 -56
- data/lib/fog/xenserver/models/compute/vifs.rb +0 -25
- data/lib/fog/xenserver/models/compute/vlan.rb +0 -78
- data/lib/fog/xenserver/models/compute/vlans.rb +0 -35
- data/lib/fog/xenserver/models/compute/vmpp.rb +0 -35
- data/lib/fog/xenserver/models/compute/vmpps.rb +0 -25
- data/lib/fog/xenserver/models/compute/vtpm.rb +0 -18
- data/lib/fog/xenserver/models/compute/vtpms.rb +0 -25
- data/lib/fog/xenserver/parser.rb +0 -34
- data/lib/fog/xenserver/parsers/get_hosts.rb +0 -16
- data/lib/fog/xenserver/parsers/get_networks.rb +0 -16
- data/lib/fog/xenserver/parsers/get_pools.rb +0 -16
- data/lib/fog/xenserver/parsers/get_records.rb +0 -16
- data/lib/fog/xenserver/parsers/get_storage_repositories.rb +0 -16
- data/lib/fog/xenserver/parsers/get_vbds.rb +0 -16
- data/lib/fog/xenserver/parsers/get_vifs.rb +0 -16
- data/lib/fog/xenserver/parsers/get_vms.rb +0 -16
- data/lib/fog/xenserver/requests/compute/clone_server.rb +0 -30
- data/lib/fog/xenserver/requests/compute/create_network.rb +0 -46
- data/lib/fog/xenserver/requests/compute/create_server.rb +0 -144
- data/lib/fog/xenserver/requests/compute/create_sr.rb +0 -88
- data/lib/fog/xenserver/requests/compute/create_vbd.rb +0 -43
- data/lib/fog/xenserver/requests/compute/create_vdi.rb +0 -57
- data/lib/fog/xenserver/requests/compute/create_vif.rb +0 -62
- data/lib/fog/xenserver/requests/compute/create_vlan.rb +0 -43
- data/lib/fog/xenserver/requests/compute/destroy_network.rb +0 -31
- data/lib/fog/xenserver/requests/compute/destroy_record.rb +0 -11
- data/lib/fog/xenserver/requests/compute/destroy_server.rb +0 -20
- data/lib/fog/xenserver/requests/compute/destroy_sr.rb +0 -28
- data/lib/fog/xenserver/requests/compute/destroy_vdi.rb +0 -20
- data/lib/fog/xenserver/requests/compute/destroy_vif.rb +0 -20
- data/lib/fog/xenserver/requests/compute/destroy_vlan.rb +0 -30
- data/lib/fog/xenserver/requests/compute/disable_host.rb +0 -23
- data/lib/fog/xenserver/requests/compute/eject_vbd.rb +0 -17
- data/lib/fog/xenserver/requests/compute/enable_host.rb +0 -22
- data/lib/fog/xenserver/requests/compute/get_record.rb +0 -31
- data/lib/fog/xenserver/requests/compute/get_records.rb +0 -24
- data/lib/fog/xenserver/requests/compute/insert_vbd.rb +0 -17
- data/lib/fog/xenserver/requests/compute/provision_server.rb +0 -17
- data/lib/fog/xenserver/requests/compute/reboot_host.rb +0 -17
- data/lib/fog/xenserver/requests/compute/reboot_server.rb +0 -17
- data/lib/fog/xenserver/requests/compute/scan_sr.rb +0 -17
- data/lib/fog/xenserver/requests/compute/set_affinity.rb +0 -19
- data/lib/fog/xenserver/requests/compute/set_attribute.rb +0 -19
- data/lib/fog/xenserver/requests/compute/shutdown_host.rb +0 -17
- data/lib/fog/xenserver/requests/compute/shutdown_server.rb +0 -17
- data/lib/fog/xenserver/requests/compute/snapshot_revert.rb +0 -24
- data/lib/fog/xenserver/requests/compute/snapshot_server.rb +0 -17
- data/lib/fog/xenserver/requests/compute/start_server.rb +0 -17
- data/lib/fog/xenserver/requests/compute/start_vm.rb +0 -19
- data/lib/fog/xenserver/requests/compute/unplug_pbd.rb +0 -20
- data/lib/fog/xenserver/requests/compute/unplug_vbd.rb +0 -25
- data/lib/fog/xenserver/utilities.rb +0 -8
- data/tests/xenserver/README +0 -21
- data/tests/xenserver/compute_tests.rb +0 -51
- data/tests/xenserver/helper.rb +0 -36
- data/tests/xenserver/models/compute/console_test.rb +0 -35
- data/tests/xenserver/models/compute/consoles_test.rb +0 -19
- data/tests/xenserver/models/compute/host_cpu_tests.rb +0 -58
- data/tests/xenserver/models/compute/host_metrics_tests.rb +0 -48
- data/tests/xenserver/models/compute/host_tests.rb +0 -98
- data/tests/xenserver/models/compute/hosts_tests.rb +0 -22
- data/tests/xenserver/models/compute/network_tests.rb +0 -79
- data/tests/xenserver/models/compute/networks_tests.rb +0 -22
- data/tests/xenserver/models/compute/pbd_tests.rb +0 -76
- data/tests/xenserver/models/compute/pbds_tests.rb +0 -22
- data/tests/xenserver/models/compute/pif_tests.rb +0 -58
- data/tests/xenserver/models/compute/pifs_tests.rb +0 -22
- data/tests/xenserver/models/compute/pool_tests.rb +0 -56
- data/tests/xenserver/models/compute/pools_tests.rb +0 -30
- data/tests/xenserver/models/compute/server_tests.rb +0 -184
- data/tests/xenserver/models/compute/servers_tests.rb +0 -89
- data/tests/xenserver/models/compute/storage_repositories_tests.rb +0 -30
- data/tests/xenserver/models/compute/storage_repository_tests.rb +0 -114
- data/tests/xenserver/models/compute/vbd_tests.rb +0 -115
- data/tests/xenserver/models/compute/vbds_tests.rb +0 -22
- data/tests/xenserver/models/compute/vif_tests.rb +0 -53
- data/tests/xenserver/models/compute/vifs_tests.rb +0 -22
- data/tests/xenserver/models/compute/vlan_tests.rb +0 -76
- data/tests/xenserver/models/compute/vlans_tests.rb +0 -36
- data/tests/xenserver/requests/compute/clone_server_tests.rb +0 -32
- data/tests/xenserver/requests/compute/create_network_tests.rb +0 -20
- data/tests/xenserver/requests/compute/create_server_tests.rb +0 -129
- data/tests/xenserver/requests/compute/create_sr_tests.rb +0 -54
- data/tests/xenserver/requests/compute/create_vdi_tests.rb +0 -80
- data/tests/xenserver/requests/compute/create_vif_tests.rb +0 -88
- data/tests/xenserver/requests/compute/create_vlan_tests.rb +0 -36
- data/tests/xenserver/requests/compute/destroy_network_tests.rb +0 -13
- data/tests/xenserver/requests/compute/destroy_sr_tests.rb +0 -46
- data/tests/xenserver/requests/compute/destroy_vdi_tests.rb +0 -25
- data/tests/xenserver/requests/compute/destroy_vlan_tests.rb +0 -36
- data/tests/xenserver/requests/compute/disable_host_tests.rb +0 -16
- data/tests/xenserver/requests/compute/enable_host_tests.rb +0 -16
- data/tests/xenserver/requests/compute/get_record_tests.rb +0 -15
- data/tests/xenserver/requests/compute/set_attribute_tests.rb +0 -66
- data/tests/xenserver/requests/compute/unplug_pbd_tests.rb +0 -48
- data/tests/xenserver/xenserver_tests.rb +0 -33
@@ -5,10 +5,10 @@ http_interactions:
|
|
5
5
|
uri: http://devstack.openstack.stack:5000/v3/auth/tokens
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
8
|
+
string: '{"auth":{"identity":{"methods":["password"],"password":{"user":{"password":"devstack","id":"a18abc2039d6493aa7239a42033cc7c9"}}}}}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- fog
|
11
|
+
- fog-core/1.32.1
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
response:
|
@@ -17,80 +17,80 @@ http_interactions:
|
|
17
17
|
message: ''
|
18
18
|
headers:
|
19
19
|
Date:
|
20
|
-
-
|
20
|
+
- Fri, 02 Oct 2015 11:41:12 GMT
|
21
21
|
Server:
|
22
22
|
- Apache/2.4.7 (Ubuntu)
|
23
23
|
X-Subject-Token:
|
24
|
-
-
|
24
|
+
- 0253823277684498bc1a64734caf6d3c
|
25
25
|
Vary:
|
26
26
|
- X-Auth-Token
|
27
27
|
X-Openstack-Request-Id:
|
28
|
-
- req-
|
28
|
+
- req-5be1e286-76d5-444f-8256-861083955087
|
29
29
|
Content-Length:
|
30
30
|
- '297'
|
31
31
|
Content-Type:
|
32
32
|
- application/json
|
33
33
|
body:
|
34
|
-
encoding:
|
35
|
-
string:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: '{"token": {"methods": ["password"], "expires_at": "2015-10-02T12:41:12.694604Z",
|
36
36
|
"extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id":
|
37
|
-
"
|
38
|
-
"issued_at": "2015-
|
37
|
+
"a18abc2039d6493aa7239a42033cc7c9", "name": "admin"}, "audit_ids": ["-H4EM2CjRJ6ka8HEqYbqDg"],
|
38
|
+
"issued_at": "2015-10-02T11:41:12.694654Z"}}'
|
39
39
|
http_version:
|
40
|
-
recorded_at:
|
40
|
+
recorded_at: Fri, 02 Oct 2015 11:41:00 GMT
|
41
41
|
- request:
|
42
42
|
method: get
|
43
|
-
uri: http://devstack.openstack.stack:5000/v3/users/
|
43
|
+
uri: http://devstack.openstack.stack:5000/v3/users/a18abc2039d6493aa7239a42033cc7c9/projects
|
44
44
|
body:
|
45
45
|
encoding: US-ASCII
|
46
46
|
string: ''
|
47
47
|
headers:
|
48
48
|
User-Agent:
|
49
|
-
- fog
|
49
|
+
- fog-core/1.32.1
|
50
50
|
Content-Type:
|
51
51
|
- application/json
|
52
52
|
Accept:
|
53
53
|
- application/json
|
54
54
|
X-Auth-Token:
|
55
|
-
-
|
55
|
+
- 0253823277684498bc1a64734caf6d3c
|
56
56
|
response:
|
57
57
|
status:
|
58
58
|
code: 200
|
59
59
|
message: ''
|
60
60
|
headers:
|
61
61
|
Date:
|
62
|
-
-
|
62
|
+
- Fri, 02 Oct 2015 11:41:12 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-e765e7a0-4b9f-4f55-b9ad-7e6f631aa914
|
69
69
|
Content-Length:
|
70
|
-
- '
|
70
|
+
- '647'
|
71
71
|
Content-Type:
|
72
72
|
- application/json
|
73
73
|
body:
|
74
|
-
encoding:
|
75
|
-
string:
|
74
|
+
encoding: UTF-8
|
75
|
+
string: '{"links": {"self": "http://devstack.openstack.stack:5000/v3/users/a18abc2039d6493aa7239a42033cc7c9/projects",
|
76
76
|
"previous": null, "next": null}, "projects": [{"description": null, "links":
|
77
|
-
{"self": "http://devstack.openstack.stack:5000/v3/projects/
|
78
|
-
"enabled": true, "id": "
|
79
|
-
"domain_id": "default", "name": "
|
80
|
-
"http://devstack.openstack.stack:5000/v3/projects/
|
81
|
-
"enabled": true, "id": "
|
82
|
-
"domain_id": "default", "name": "
|
77
|
+
{"self": "http://devstack.openstack.stack:5000/v3/projects/ca6707581327490398bf1f68fe396a5a"},
|
78
|
+
"enabled": true, "id": "ca6707581327490398bf1f68fe396a5a", "parent_id": null,
|
79
|
+
"domain_id": "default", "name": "demo"}, {"description": null, "links": {"self":
|
80
|
+
"http://devstack.openstack.stack:5000/v3/projects/ded5a6e0922c4be59e7c15517cfb89ee"},
|
81
|
+
"enabled": true, "id": "ded5a6e0922c4be59e7c15517cfb89ee", "parent_id": null,
|
82
|
+
"domain_id": "default", "name": "admin"}]}'
|
83
83
|
http_version:
|
84
|
-
recorded_at:
|
84
|
+
recorded_at: Fri, 02 Oct 2015 11:41:00 GMT
|
85
85
|
- request:
|
86
86
|
method: post
|
87
87
|
uri: http://devstack.openstack.stack:5000/v3/auth/tokens
|
88
88
|
body:
|
89
89
|
encoding: UTF-8
|
90
|
-
string:
|
90
|
+
string: '{"auth":{"identity":{"methods":["token"],"token":{"id":"0253823277684498bc1a64734caf6d3c"}},"scope":{"project":{"name":"demo","domain":{"id":"default"}}}}}'
|
91
91
|
headers:
|
92
92
|
User-Agent:
|
93
|
-
- fog
|
93
|
+
- fog-core/1.32.1
|
94
94
|
Content-Type:
|
95
95
|
- application/json
|
96
96
|
response:
|
@@ -99,100 +99,94 @@ http_interactions:
|
|
99
99
|
message: ''
|
100
100
|
headers:
|
101
101
|
Date:
|
102
|
-
-
|
102
|
+
- Fri, 02 Oct 2015 11:41:13 GMT
|
103
103
|
Server:
|
104
104
|
- Apache/2.4.7 (Ubuntu)
|
105
105
|
X-Subject-Token:
|
106
|
-
-
|
106
|
+
- 18490fd51efb480387ae024683282c7f
|
107
107
|
Vary:
|
108
108
|
- X-Auth-Token
|
109
109
|
X-Openstack-Request-Id:
|
110
|
-
- req-
|
110
|
+
- req-aee0afea-f20b-4381-a30e-66ee67ce2e3a
|
111
111
|
Content-Length:
|
112
|
-
- '
|
112
|
+
- '5365'
|
113
113
|
Content-Type:
|
114
114
|
- application/json
|
115
115
|
body:
|
116
|
-
encoding:
|
117
|
-
string:
|
118
|
-
"name": "admin"}], "expires_at": "2015-
|
119
|
-
{"domain": {"id": "default", "name": "Default"}, "id": "
|
120
|
-
"name": "
|
121
|
-
"http://
|
122
|
-
"id": "
|
123
|
-
"http://
|
124
|
-
"id": "
|
125
|
-
"http://
|
126
|
-
"id": "
|
127
|
-
"name": "
|
128
|
-
"region": "RegionOne", "interface": "
|
129
|
-
{"region_id": "RegionOne", "url": "http://
|
130
|
-
"
|
131
|
-
|
132
|
-
"
|
133
|
-
"
|
134
|
-
|
135
|
-
"region": "RegionOne", "interface": "admin", "id": "
|
136
|
-
{"region_id": "RegionOne", "url": "http://
|
137
|
-
"RegionOne", "interface": "
|
138
|
-
{"region_id": "RegionOne", "url": "http://
|
139
|
-
"RegionOne", "interface": "
|
140
|
-
"type": "
|
141
|
-
[{"region_id": "RegionOne", "url": "http://
|
142
|
-
"region": "RegionOne", "interface": "
|
143
|
-
{"region_id": "RegionOne", "url": "http://
|
144
|
-
"region": "RegionOne", "interface": "
|
145
|
-
{"region_id": "RegionOne", "url": "http://
|
146
|
-
"region": "RegionOne", "interface": "public", "id": "
|
147
|
-
"type": "volume", "id": "
|
148
|
-
{"endpoints": [{"region_id": "RegionOne", "url": "http://
|
149
|
-
"region": "RegionOne", "interface": "
|
150
|
-
{"region_id": "RegionOne", "url": "http://
|
151
|
-
"
|
152
|
-
|
153
|
-
"
|
154
|
-
"
|
155
|
-
|
156
|
-
"region": "RegionOne", "interface": "internal", "id": "
|
157
|
-
{"region_id": "RegionOne", "url": "http://
|
158
|
-
"region": "RegionOne", "interface": "public", "id": "
|
159
|
-
{"region_id": "RegionOne", "url": "http://
|
160
|
-
"region": "RegionOne", "interface": "admin", "id": "
|
161
|
-
"type": "computev21", "id": "
|
162
|
-
{"endpoints": [{"region_id": "RegionOne", "url": "http://
|
163
|
-
"region": "RegionOne", "interface": "
|
164
|
-
{"region_id": "RegionOne", "url": "http://
|
165
|
-
"RegionOne", "interface": "
|
166
|
-
{"region_id": "RegionOne", "url": "http://
|
167
|
-
"RegionOne", "interface": "
|
168
|
-
"type": "
|
169
|
-
{"endpoints": [{"region_id": "
|
170
|
-
"region": "
|
171
|
-
{"region_id": "RegionOne", "url": "http://
|
172
|
-
"
|
173
|
-
|
174
|
-
"
|
175
|
-
|
176
|
-
"
|
177
|
-
|
178
|
-
"
|
179
|
-
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3", "region":
|
180
|
-
"RegionOne", "interface": "admin", "id": "d5f8e0da0f3345529a5fb324d735d4a3"}],
|
181
|
-
"type": "identity_v3", "id": "cd9002bbadfe495d81b5ee4c50768009", "name": "keystone_v3"}],
|
182
|
-
"extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id":
|
183
|
-
"aa9f25defa6d4cafb48466df83106065", "name": "admin"}, "audit_ids": ["h_lBUFAFSAWxhMqao9iP1g",
|
184
|
-
"nFFK-uNzRoe_dV_1q69M5g"], "issued_at": "2015-06-23T15:09:15.834851Z"}}'
|
116
|
+
encoding: UTF-8
|
117
|
+
string: '{"token": {"methods": ["token", "password"], "roles": [{"id": "d98e5f87050646f194c8c23b9e3f2bca",
|
118
|
+
"name": "admin"}], "expires_at": "2015-10-02T12:41:12.694604Z", "project":
|
119
|
+
{"domain": {"id": "default", "name": "Default"}, "id": "ca6707581327490398bf1f68fe396a5a",
|
120
|
+
"name": "demo"}, "catalog": [{"endpoints": [{"region_id": "RegionOne", "url":
|
121
|
+
"http://10.97.17.84:5000/v3", "region": "RegionOne", "interface": "public",
|
122
|
+
"id": "09bb76485f3849c1a81dfeda62f1b27b"}, {"region_id": "RegionOne", "url":
|
123
|
+
"http://10.97.17.84:35357/v3", "region": "RegionOne", "interface": "admin",
|
124
|
+
"id": "73acd28dc39e4d2cb332fe63eafd05fa"}, {"region_id": "RegionOne", "url":
|
125
|
+
"http://10.97.17.84:5000/v3", "region": "RegionOne", "interface": "internal",
|
126
|
+
"id": "c0acc2a6600148248912d585cfd3debf"}], "type": "identity", "id": "00707ec9c3574d8ebb638265844f7903",
|
127
|
+
"name": "keystone"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://10.97.17.84:9292",
|
128
|
+
"region": "RegionOne", "interface": "admin", "id": "9799d84417464a4cbb9226485ce539c7"},
|
129
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:9292", "region": "RegionOne",
|
130
|
+
"interface": "internal", "id": "a0d9872cbf42461ea5ab511d32387662"}, {"region_id":
|
131
|
+
"RegionOne", "url": "http://10.97.17.84:9292", "region": "RegionOne", "interface":
|
132
|
+
"public", "id": "a93b60395e044b9187ccd7b37cf0c68c"}], "type": "image", "id":
|
133
|
+
"1f1c2c6373754553938a93de04db5bc0", "name": "glance"}, {"endpoints": [{"region_id":
|
134
|
+
"RegionOne", "url": "http://10.97.17.84:8776/v2/ca6707581327490398bf1f68fe396a5a",
|
135
|
+
"region": "RegionOne", "interface": "admin", "id": "273424f04e404eb98eb6008cdff7654f"},
|
136
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8776/v2/ca6707581327490398bf1f68fe396a5a",
|
137
|
+
"region": "RegionOne", "interface": "internal", "id": "4d6d1528f709499ca177e637521d7e85"},
|
138
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8776/v2/ca6707581327490398bf1f68fe396a5a",
|
139
|
+
"region": "RegionOne", "interface": "public", "id": "fa22fdd7d604405bb734e5b04b825c57"}],
|
140
|
+
"type": "volumev2", "id": "49ef74e8dab84ed0b683f764ae6d510c", "name": "cinderv2"},
|
141
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://10.97.17.84:8776/v1/ca6707581327490398bf1f68fe396a5a",
|
142
|
+
"region": "RegionOne", "interface": "internal", "id": "2b86f18fc82c4f599455afa9f54cae20"},
|
143
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8776/v1/ca6707581327490398bf1f68fe396a5a",
|
144
|
+
"region": "RegionOne", "interface": "admin", "id": "5620b03559c84f6fbb01b660e3e5b8a9"},
|
145
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8776/v1/ca6707581327490398bf1f68fe396a5a",
|
146
|
+
"region": "RegionOne", "interface": "public", "id": "f63063e775db4d48962172344fcdbdf1"}],
|
147
|
+
"type": "volume", "id": "54efbe90e47244eca5fac1a65374e594", "name": "cinder"},
|
148
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://10.97.17.84:9696/",
|
149
|
+
"region": "RegionOne", "interface": "public", "id": "59f19d0e7c59457fa611c4f552fa37c3"},
|
150
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:9696/", "region": "RegionOne",
|
151
|
+
"interface": "admin", "id": "5f2d351a942e41bc8cc2163569c645b7"}, {"region_id":
|
152
|
+
"RegionOne", "url": "http://10.97.17.84:9696/", "region": "RegionOne", "interface":
|
153
|
+
"internal", "id": "8e2b48e33993420b934607375242e6a1"}], "type": "network",
|
154
|
+
"id": "b6063de99a3b474094779d6f778cd87b", "name": "neutron"}, {"endpoints":
|
155
|
+
[{"region_id": "RegionOne", "url": "http://10.97.17.84:8774/v2.1/ca6707581327490398bf1f68fe396a5a",
|
156
|
+
"region": "RegionOne", "interface": "internal", "id": "1232531a1eda43cba7c8c539270a4839"},
|
157
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8774/v2.1/ca6707581327490398bf1f68fe396a5a",
|
158
|
+
"region": "RegionOne", "interface": "public", "id": "87a9c4d67a9549e58a12e93675520929"},
|
159
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8774/v2.1/ca6707581327490398bf1f68fe396a5a",
|
160
|
+
"region": "RegionOne", "interface": "admin", "id": "aa0660735da048068454148d747bd997"}],
|
161
|
+
"type": "computev21", "id": "c6ad05da1baa4dd190bdf01dca60e911", "name": "novav21"},
|
162
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://10.97.17.84:8774/v2/ca6707581327490398bf1f68fe396a5a",
|
163
|
+
"region": "RegionOne", "interface": "internal", "id": "1f0cd271fb524becaaa23c5e06730a19"},
|
164
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8774/v2/ca6707581327490398bf1f68fe396a5a",
|
165
|
+
"region": "RegionOne", "interface": "public", "id": "51429028b9e74cb585dfe4a7df2bfd40"},
|
166
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8774/v2/ca6707581327490398bf1f68fe396a5a",
|
167
|
+
"region": "RegionOne", "interface": "admin", "id": "8b6c30d816b1481f837448bcd368263a"}],
|
168
|
+
"type": "compute", "id": "d22c9f37ebea4187ae97eb57ced02483", "name": "nova"},
|
169
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://10.97.17.84:8773/",
|
170
|
+
"region": "RegionOne", "interface": "admin", "id": "d0af6d9e8b304d69bc349b63fdb7bd00"},
|
171
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8773/", "region": "RegionOne",
|
172
|
+
"interface": "public", "id": "e08749c48e9e4d2c9f2733fa221b3b2f"}, {"region_id":
|
173
|
+
"RegionOne", "url": "http://10.97.17.84:8773/", "region": "RegionOne", "interface":
|
174
|
+
"internal", "id": "faf1491ad0244c17b13f9b4fc10becbb"}], "type": "ec2", "id":
|
175
|
+
"e2550fc44d8044398e49a080439462ed", "name": "ec2"}], "extras": {}, "user":
|
176
|
+
{"domain": {"id": "default", "name": "Default"}, "id": "a18abc2039d6493aa7239a42033cc7c9",
|
177
|
+
"name": "admin"}, "audit_ids": ["6HZLPyppQPyEokjTtW2Z4g", "-H4EM2CjRJ6ka8HEqYbqDg"],
|
178
|
+
"issued_at": "2015-10-02T11:41:13.160331Z"}}'
|
185
179
|
http_version:
|
186
|
-
recorded_at:
|
180
|
+
recorded_at: Fri, 02 Oct 2015 11:41:01 GMT
|
187
181
|
- request:
|
188
182
|
method: post
|
189
183
|
uri: http://devstack.openstack.stack:5000/v3/auth/tokens
|
190
184
|
body:
|
191
185
|
encoding: UTF-8
|
192
|
-
string:
|
186
|
+
string: '{"auth":{"identity":{"methods":["token"],"token":{"id":"18490fd51efb480387ae024683282c7f"}}}}'
|
193
187
|
headers:
|
194
188
|
User-Agent:
|
195
|
-
- fog
|
189
|
+
- fog-core/1.32.1
|
196
190
|
Content-Type:
|
197
191
|
- application/json
|
198
192
|
response:
|
@@ -201,80 +195,80 @@ http_interactions:
|
|
201
195
|
message: ''
|
202
196
|
headers:
|
203
197
|
Date:
|
204
|
-
-
|
198
|
+
- Fri, 02 Oct 2015 11:41:13 GMT
|
205
199
|
Server:
|
206
200
|
- Apache/2.4.7 (Ubuntu)
|
207
201
|
X-Subject-Token:
|
208
|
-
-
|
202
|
+
- 072da626b24142c5b4a12614987c3b8d
|
209
203
|
Vary:
|
210
204
|
- X-Auth-Token
|
211
205
|
X-Openstack-Request-Id:
|
212
|
-
- req-
|
206
|
+
- req-66a70cd8-d855-41b7-b928-fad32b1bc0d1
|
213
207
|
Content-Length:
|
214
208
|
- '332'
|
215
209
|
Content-Type:
|
216
210
|
- application/json
|
217
211
|
body:
|
218
|
-
encoding:
|
219
|
-
string:
|
212
|
+
encoding: UTF-8
|
213
|
+
string: '{"token": {"methods": ["token", "password"], "expires_at": "2015-10-02T12:41:12.694604Z",
|
220
214
|
"extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id":
|
221
|
-
"
|
222
|
-
"
|
215
|
+
"a18abc2039d6493aa7239a42033cc7c9", "name": "admin"}, "audit_ids": ["a8pgn2MNQGaxs6bTZxC7Sw",
|
216
|
+
"-H4EM2CjRJ6ka8HEqYbqDg"], "issued_at": "2015-10-02T11:41:13.524447Z"}}'
|
223
217
|
http_version:
|
224
|
-
recorded_at:
|
218
|
+
recorded_at: Fri, 02 Oct 2015 11:41:01 GMT
|
225
219
|
- request:
|
226
220
|
method: get
|
227
|
-
uri: http://devstack.openstack.stack:5000/v3/users/
|
221
|
+
uri: http://devstack.openstack.stack:5000/v3/users/a18abc2039d6493aa7239a42033cc7c9/projects
|
228
222
|
body:
|
229
223
|
encoding: US-ASCII
|
230
224
|
string: ''
|
231
225
|
headers:
|
232
226
|
User-Agent:
|
233
|
-
- fog
|
227
|
+
- fog-core/1.32.1
|
234
228
|
Content-Type:
|
235
229
|
- application/json
|
236
230
|
Accept:
|
237
231
|
- application/json
|
238
232
|
X-Auth-Token:
|
239
|
-
-
|
233
|
+
- 072da626b24142c5b4a12614987c3b8d
|
240
234
|
response:
|
241
235
|
status:
|
242
236
|
code: 200
|
243
237
|
message: ''
|
244
238
|
headers:
|
245
239
|
Date:
|
246
|
-
-
|
240
|
+
- Fri, 02 Oct 2015 11:41:13 GMT
|
247
241
|
Server:
|
248
242
|
- Apache/2.4.7 (Ubuntu)
|
249
243
|
Vary:
|
250
244
|
- X-Auth-Token
|
251
245
|
X-Openstack-Request-Id:
|
252
|
-
- req-
|
246
|
+
- req-899e6963-c658-4990-9b2a-d3c0e6f95f15
|
253
247
|
Content-Length:
|
254
|
-
- '
|
248
|
+
- '647'
|
255
249
|
Content-Type:
|
256
250
|
- application/json
|
257
251
|
body:
|
258
|
-
encoding:
|
259
|
-
string:
|
252
|
+
encoding: UTF-8
|
253
|
+
string: '{"links": {"self": "http://devstack.openstack.stack:5000/v3/users/a18abc2039d6493aa7239a42033cc7c9/projects",
|
260
254
|
"previous": null, "next": null}, "projects": [{"description": null, "links":
|
261
|
-
{"self": "http://devstack.openstack.stack:5000/v3/projects/
|
262
|
-
"enabled": true, "id": "
|
263
|
-
"domain_id": "default", "name": "
|
264
|
-
"http://devstack.openstack.stack:5000/v3/projects/
|
265
|
-
"enabled": true, "id": "
|
266
|
-
"domain_id": "default", "name": "
|
255
|
+
{"self": "http://devstack.openstack.stack:5000/v3/projects/ca6707581327490398bf1f68fe396a5a"},
|
256
|
+
"enabled": true, "id": "ca6707581327490398bf1f68fe396a5a", "parent_id": null,
|
257
|
+
"domain_id": "default", "name": "demo"}, {"description": null, "links": {"self":
|
258
|
+
"http://devstack.openstack.stack:5000/v3/projects/ded5a6e0922c4be59e7c15517cfb89ee"},
|
259
|
+
"enabled": true, "id": "ded5a6e0922c4be59e7c15517cfb89ee", "parent_id": null,
|
260
|
+
"domain_id": "default", "name": "admin"}]}'
|
267
261
|
http_version:
|
268
|
-
recorded_at:
|
262
|
+
recorded_at: Fri, 02 Oct 2015 11:41:01 GMT
|
269
263
|
- request:
|
270
264
|
method: post
|
271
265
|
uri: http://devstack.openstack.stack:5000/v3/auth/tokens
|
272
266
|
body:
|
273
267
|
encoding: UTF-8
|
274
|
-
string:
|
268
|
+
string: '{"auth":{"identity":{"methods":["token"],"token":{"id":"18490fd51efb480387ae024683282c7f"}},"scope":{"project":{"name":"demo","domain":{"id":"default"}}}}}'
|
275
269
|
headers:
|
276
270
|
User-Agent:
|
277
|
-
- fog
|
271
|
+
- fog-core/1.32.1
|
278
272
|
Content-Type:
|
279
273
|
- application/json
|
280
274
|
response:
|
@@ -283,89 +277,83 @@ http_interactions:
|
|
283
277
|
message: ''
|
284
278
|
headers:
|
285
279
|
Date:
|
286
|
-
-
|
280
|
+
- Fri, 02 Oct 2015 11:41:13 GMT
|
287
281
|
Server:
|
288
282
|
- Apache/2.4.7 (Ubuntu)
|
289
283
|
X-Subject-Token:
|
290
|
-
-
|
284
|
+
- 962b3b1f82144278b09f6e9a8ae27240
|
291
285
|
Vary:
|
292
286
|
- X-Auth-Token
|
293
287
|
X-Openstack-Request-Id:
|
294
|
-
- req-
|
288
|
+
- req-68315167-b0ba-4c41-8ac9-1f8c962016c3
|
295
289
|
Content-Length:
|
296
|
-
- '
|
290
|
+
- '5365'
|
297
291
|
Content-Type:
|
298
292
|
- application/json
|
299
293
|
body:
|
300
|
-
encoding:
|
301
|
-
string:
|
302
|
-
"name": "admin"}], "expires_at": "2015-
|
303
|
-
{"domain": {"id": "default", "name": "Default"}, "id": "
|
304
|
-
"name": "
|
305
|
-
"http://
|
306
|
-
"id": "
|
307
|
-
"http://
|
308
|
-
"id": "
|
309
|
-
"http://
|
310
|
-
"id": "
|
311
|
-
"name": "
|
312
|
-
"region": "RegionOne", "interface": "
|
313
|
-
{"region_id": "RegionOne", "url": "http://
|
314
|
-
"
|
315
|
-
|
316
|
-
"
|
317
|
-
"
|
318
|
-
|
319
|
-
"region": "RegionOne", "interface": "admin", "id": "
|
320
|
-
{"region_id": "RegionOne", "url": "http://
|
321
|
-
"RegionOne", "interface": "
|
322
|
-
{"region_id": "RegionOne", "url": "http://
|
323
|
-
"RegionOne", "interface": "
|
324
|
-
"type": "
|
325
|
-
[{"region_id": "RegionOne", "url": "http://
|
326
|
-
"region": "RegionOne", "interface": "
|
327
|
-
{"region_id": "RegionOne", "url": "http://
|
328
|
-
"region": "RegionOne", "interface": "
|
329
|
-
{"region_id": "RegionOne", "url": "http://
|
330
|
-
"region": "RegionOne", "interface": "public", "id": "
|
331
|
-
"type": "volume", "id": "
|
332
|
-
{"endpoints": [{"region_id": "RegionOne", "url": "http://
|
333
|
-
"region": "RegionOne", "interface": "
|
334
|
-
{"region_id": "RegionOne", "url": "http://
|
335
|
-
"
|
336
|
-
|
337
|
-
"
|
338
|
-
"
|
339
|
-
|
340
|
-
"region": "RegionOne", "interface": "internal", "id": "
|
341
|
-
{"region_id": "RegionOne", "url": "http://
|
342
|
-
"region": "RegionOne", "interface": "public", "id": "
|
343
|
-
{"region_id": "RegionOne", "url": "http://
|
344
|
-
"region": "RegionOne", "interface": "admin", "id": "
|
345
|
-
"type": "computev21", "id": "
|
346
|
-
{"endpoints": [{"region_id": "RegionOne", "url": "http://
|
347
|
-
"region": "RegionOne", "interface": "
|
348
|
-
{"region_id": "RegionOne", "url": "http://
|
349
|
-
"RegionOne", "interface": "
|
350
|
-
{"region_id": "RegionOne", "url": "http://
|
351
|
-
"RegionOne", "interface": "
|
352
|
-
"type": "
|
353
|
-
{"endpoints": [{"region_id": "
|
354
|
-
"region": "
|
355
|
-
{"region_id": "RegionOne", "url": "http://
|
356
|
-
"
|
357
|
-
|
358
|
-
"
|
359
|
-
|
360
|
-
"
|
361
|
-
|
362
|
-
"
|
363
|
-
{"region_id": "RegionOne", "url": "http://devstack.openstack.stack:35357/v3", "region":
|
364
|
-
"RegionOne", "interface": "admin", "id": "d5f8e0da0f3345529a5fb324d735d4a3"}],
|
365
|
-
"type": "identity_v3", "id": "cd9002bbadfe495d81b5ee4c50768009", "name": "keystone_v3"}],
|
366
|
-
"extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id":
|
367
|
-
"aa9f25defa6d4cafb48466df83106065", "name": "admin"}, "audit_ids": ["i7LXkArmTBmWNSiW4Z9HbA",
|
368
|
-
"nFFK-uNzRoe_dV_1q69M5g"], "issued_at": "2015-06-23T15:09:16.272885Z"}}'
|
294
|
+
encoding: UTF-8
|
295
|
+
string: '{"token": {"methods": ["token", "password"], "roles": [{"id": "d98e5f87050646f194c8c23b9e3f2bca",
|
296
|
+
"name": "admin"}], "expires_at": "2015-10-02T12:41:12.694604Z", "project":
|
297
|
+
{"domain": {"id": "default", "name": "Default"}, "id": "ca6707581327490398bf1f68fe396a5a",
|
298
|
+
"name": "demo"}, "catalog": [{"endpoints": [{"region_id": "RegionOne", "url":
|
299
|
+
"http://10.97.17.84:5000/v3", "region": "RegionOne", "interface": "public",
|
300
|
+
"id": "09bb76485f3849c1a81dfeda62f1b27b"}, {"region_id": "RegionOne", "url":
|
301
|
+
"http://10.97.17.84:35357/v3", "region": "RegionOne", "interface": "admin",
|
302
|
+
"id": "73acd28dc39e4d2cb332fe63eafd05fa"}, {"region_id": "RegionOne", "url":
|
303
|
+
"http://10.97.17.84:5000/v3", "region": "RegionOne", "interface": "internal",
|
304
|
+
"id": "c0acc2a6600148248912d585cfd3debf"}], "type": "identity", "id": "00707ec9c3574d8ebb638265844f7903",
|
305
|
+
"name": "keystone"}, {"endpoints": [{"region_id": "RegionOne", "url": "http://10.97.17.84:9292",
|
306
|
+
"region": "RegionOne", "interface": "admin", "id": "9799d84417464a4cbb9226485ce539c7"},
|
307
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:9292", "region": "RegionOne",
|
308
|
+
"interface": "internal", "id": "a0d9872cbf42461ea5ab511d32387662"}, {"region_id":
|
309
|
+
"RegionOne", "url": "http://10.97.17.84:9292", "region": "RegionOne", "interface":
|
310
|
+
"public", "id": "a93b60395e044b9187ccd7b37cf0c68c"}], "type": "image", "id":
|
311
|
+
"1f1c2c6373754553938a93de04db5bc0", "name": "glance"}, {"endpoints": [{"region_id":
|
312
|
+
"RegionOne", "url": "http://10.97.17.84:8776/v2/ca6707581327490398bf1f68fe396a5a",
|
313
|
+
"region": "RegionOne", "interface": "admin", "id": "273424f04e404eb98eb6008cdff7654f"},
|
314
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8776/v2/ca6707581327490398bf1f68fe396a5a",
|
315
|
+
"region": "RegionOne", "interface": "internal", "id": "4d6d1528f709499ca177e637521d7e85"},
|
316
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8776/v2/ca6707581327490398bf1f68fe396a5a",
|
317
|
+
"region": "RegionOne", "interface": "public", "id": "fa22fdd7d604405bb734e5b04b825c57"}],
|
318
|
+
"type": "volumev2", "id": "49ef74e8dab84ed0b683f764ae6d510c", "name": "cinderv2"},
|
319
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://10.97.17.84:8776/v1/ca6707581327490398bf1f68fe396a5a",
|
320
|
+
"region": "RegionOne", "interface": "internal", "id": "2b86f18fc82c4f599455afa9f54cae20"},
|
321
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8776/v1/ca6707581327490398bf1f68fe396a5a",
|
322
|
+
"region": "RegionOne", "interface": "admin", "id": "5620b03559c84f6fbb01b660e3e5b8a9"},
|
323
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8776/v1/ca6707581327490398bf1f68fe396a5a",
|
324
|
+
"region": "RegionOne", "interface": "public", "id": "f63063e775db4d48962172344fcdbdf1"}],
|
325
|
+
"type": "volume", "id": "54efbe90e47244eca5fac1a65374e594", "name": "cinder"},
|
326
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://10.97.17.84:9696/",
|
327
|
+
"region": "RegionOne", "interface": "public", "id": "59f19d0e7c59457fa611c4f552fa37c3"},
|
328
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:9696/", "region": "RegionOne",
|
329
|
+
"interface": "admin", "id": "5f2d351a942e41bc8cc2163569c645b7"}, {"region_id":
|
330
|
+
"RegionOne", "url": "http://10.97.17.84:9696/", "region": "RegionOne", "interface":
|
331
|
+
"internal", "id": "8e2b48e33993420b934607375242e6a1"}], "type": "network",
|
332
|
+
"id": "b6063de99a3b474094779d6f778cd87b", "name": "neutron"}, {"endpoints":
|
333
|
+
[{"region_id": "RegionOne", "url": "http://10.97.17.84:8774/v2.1/ca6707581327490398bf1f68fe396a5a",
|
334
|
+
"region": "RegionOne", "interface": "internal", "id": "1232531a1eda43cba7c8c539270a4839"},
|
335
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8774/v2.1/ca6707581327490398bf1f68fe396a5a",
|
336
|
+
"region": "RegionOne", "interface": "public", "id": "87a9c4d67a9549e58a12e93675520929"},
|
337
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8774/v2.1/ca6707581327490398bf1f68fe396a5a",
|
338
|
+
"region": "RegionOne", "interface": "admin", "id": "aa0660735da048068454148d747bd997"}],
|
339
|
+
"type": "computev21", "id": "c6ad05da1baa4dd190bdf01dca60e911", "name": "novav21"},
|
340
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://10.97.17.84:8774/v2/ca6707581327490398bf1f68fe396a5a",
|
341
|
+
"region": "RegionOne", "interface": "internal", "id": "1f0cd271fb524becaaa23c5e06730a19"},
|
342
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8774/v2/ca6707581327490398bf1f68fe396a5a",
|
343
|
+
"region": "RegionOne", "interface": "public", "id": "51429028b9e74cb585dfe4a7df2bfd40"},
|
344
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8774/v2/ca6707581327490398bf1f68fe396a5a",
|
345
|
+
"region": "RegionOne", "interface": "admin", "id": "8b6c30d816b1481f837448bcd368263a"}],
|
346
|
+
"type": "compute", "id": "d22c9f37ebea4187ae97eb57ced02483", "name": "nova"},
|
347
|
+
{"endpoints": [{"region_id": "RegionOne", "url": "http://10.97.17.84:8773/",
|
348
|
+
"region": "RegionOne", "interface": "admin", "id": "d0af6d9e8b304d69bc349b63fdb7bd00"},
|
349
|
+
{"region_id": "RegionOne", "url": "http://10.97.17.84:8773/", "region": "RegionOne",
|
350
|
+
"interface": "public", "id": "e08749c48e9e4d2c9f2733fa221b3b2f"}, {"region_id":
|
351
|
+
"RegionOne", "url": "http://10.97.17.84:8773/", "region": "RegionOne", "interface":
|
352
|
+
"internal", "id": "faf1491ad0244c17b13f9b4fc10becbb"}], "type": "ec2", "id":
|
353
|
+
"e2550fc44d8044398e49a080439462ed", "name": "ec2"}], "extras": {}, "user":
|
354
|
+
{"domain": {"id": "default", "name": "Default"}, "id": "a18abc2039d6493aa7239a42033cc7c9",
|
355
|
+
"name": "admin"}, "audit_ids": ["HSlukJD0S3KDe3R1K0CJ7g", "-H4EM2CjRJ6ka8HEqYbqDg"],
|
356
|
+
"issued_at": "2015-10-02T11:41:14.022040Z"}}'
|
369
357
|
http_version:
|
370
|
-
recorded_at:
|
358
|
+
recorded_at: Fri, 02 Oct 2015 11:41:02 GMT
|
371
359
|
recorded_with: VCR 2.9.3
|