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
@@ -2,505 +2,599 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://
|
5
|
+
uri: http://10.97.17.84:35357/v3/services
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- fog
|
11
|
+
- fog-core/1.32.1
|
12
|
+
Proxy-Connection:
|
13
|
+
- Keep-Alive
|
12
14
|
Content-Type:
|
13
15
|
- application/json
|
14
16
|
Accept:
|
15
17
|
- application/json
|
16
18
|
X-Auth-Token:
|
17
|
-
-
|
19
|
+
- f6af15c0332e4d3ab7716b51d8fedfff
|
18
20
|
response:
|
19
21
|
status:
|
20
22
|
code: 200
|
21
23
|
message: ''
|
22
24
|
headers:
|
23
25
|
Date:
|
24
|
-
-
|
26
|
+
- Fri, 02 Oct 2015 11:41:42 GMT
|
25
27
|
Server:
|
26
28
|
- Apache/2.4.7 (Ubuntu)
|
27
29
|
Vary:
|
28
30
|
- X-Auth-Token
|
29
31
|
X-Openstack-Request-Id:
|
30
|
-
- req-
|
32
|
+
- req-a3a985bd-7a40-456c-98ff-cd90d70ad9ff
|
31
33
|
Content-Length:
|
32
|
-
- '
|
34
|
+
- '1949'
|
33
35
|
Content-Type:
|
34
36
|
- application/json
|
37
|
+
X-Cache:
|
38
|
+
- MISS from i056593-vagrant
|
39
|
+
X-Cache-Lookup:
|
40
|
+
- MISS from i056593-vagrant:3128
|
41
|
+
Via:
|
42
|
+
- 1.1 i056593-vagrant (squid/3.3.8)
|
43
|
+
Connection:
|
44
|
+
- keep-alive
|
35
45
|
body:
|
36
|
-
encoding:
|
37
|
-
string:
|
38
|
-
"enabled": true, "type": "
|
46
|
+
encoding: UTF-8
|
47
|
+
string: '{"services": [{"name": "keystone", "links": {"self": "http://10.97.17.84:35357/v3/services/00707ec9c3574d8ebb638265844f7903"},
|
48
|
+
"enabled": true, "type": "identity", "id": "00707ec9c3574d8ebb638265844f7903",
|
49
|
+
"description": "Keystone Identity Service"}, {"name": "glance", "links": {"self":
|
50
|
+
"http://10.97.17.84:35357/v3/services/1f1c2c6373754553938a93de04db5bc0"},
|
51
|
+
"enabled": true, "type": "image", "id": "1f1c2c6373754553938a93de04db5bc0",
|
39
52
|
"description": "Glance Image Service"}, {"name": "cinderv2", "links": {"self":
|
40
|
-
"http://
|
41
|
-
"enabled": true, "type": "volumev2", "id": "
|
42
|
-
"description": "Cinder Volume Service V2"}, {"name": "
|
43
|
-
"http://
|
44
|
-
"enabled": true, "type": "
|
45
|
-
"description": "
|
46
|
-
"http://
|
47
|
-
"enabled": true, "type": "
|
48
|
-
"description": "
|
49
|
-
"
|
50
|
-
"
|
51
|
-
"
|
52
|
-
"
|
53
|
-
"
|
54
|
-
"
|
55
|
-
|
56
|
-
"
|
57
|
-
"description": "OpenStack Identity v3 x"}, {"name": "keystone_v3", "links":
|
58
|
-
{"self": "http://devstack.openstack.stack:35357/v3/services/cd9002bbadfe495d81b5ee4c50768009"},
|
59
|
-
"enabled": true, "type": "identity_v3", "id": "cd9002bbadfe495d81b5ee4c50768009",
|
60
|
-
"description": "OpenStack Identity v3"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/services",
|
53
|
+
"http://10.97.17.84:35357/v3/services/49ef74e8dab84ed0b683f764ae6d510c"},
|
54
|
+
"enabled": true, "type": "volumev2", "id": "49ef74e8dab84ed0b683f764ae6d510c",
|
55
|
+
"description": "Cinder Volume Service V2"}, {"name": "cinder", "links": {"self":
|
56
|
+
"http://10.97.17.84:35357/v3/services/54efbe90e47244eca5fac1a65374e594"},
|
57
|
+
"enabled": true, "type": "volume", "id": "54efbe90e47244eca5fac1a65374e594",
|
58
|
+
"description": "Cinder Volume Service"}, {"name": "neutron", "links": {"self":
|
59
|
+
"http://10.97.17.84:35357/v3/services/b6063de99a3b474094779d6f778cd87b"},
|
60
|
+
"enabled": true, "type": "network", "id": "b6063de99a3b474094779d6f778cd87b",
|
61
|
+
"description": "Neutron Service"}, {"name": "novav21", "links": {"self": "http://10.97.17.84:35357/v3/services/c6ad05da1baa4dd190bdf01dca60e911"},
|
62
|
+
"enabled": true, "type": "computev21", "id": "c6ad05da1baa4dd190bdf01dca60e911",
|
63
|
+
"description": "Nova Compute Service V2.1"}, {"name": "nova", "links": {"self":
|
64
|
+
"http://10.97.17.84:35357/v3/services/d22c9f37ebea4187ae97eb57ced02483"},
|
65
|
+
"enabled": true, "type": "compute", "id": "d22c9f37ebea4187ae97eb57ced02483",
|
66
|
+
"description": "Nova Compute Service"}, {"name": "ec2", "links": {"self":
|
67
|
+
"http://10.97.17.84:35357/v3/services/e2550fc44d8044398e49a080439462ed"},
|
68
|
+
"enabled": true, "type": "ec2", "id": "e2550fc44d8044398e49a080439462ed",
|
69
|
+
"description": "EC2 Compatibility Layer"}], "links": {"self": "http://10.97.17.84:35357/v3/services",
|
61
70
|
"previous": null, "next": null}}'
|
62
71
|
http_version:
|
63
|
-
recorded_at:
|
72
|
+
recorded_at: Fri, 02 Oct 2015 11:41:30 GMT
|
64
73
|
- request:
|
65
74
|
method: post
|
66
|
-
uri: http://
|
75
|
+
uri: http://10.97.17.84:35357/v3/services
|
67
76
|
body:
|
68
77
|
encoding: UTF-8
|
69
|
-
string:
|
78
|
+
string: '{"service":{"type":"volume","name":"foobar"}}'
|
70
79
|
headers:
|
71
80
|
User-Agent:
|
72
|
-
- fog
|
81
|
+
- fog-core/1.32.1
|
82
|
+
Proxy-Connection:
|
83
|
+
- Keep-Alive
|
73
84
|
Content-Type:
|
74
85
|
- application/json
|
75
86
|
Accept:
|
76
87
|
- application/json
|
77
88
|
X-Auth-Token:
|
78
|
-
-
|
89
|
+
- f6af15c0332e4d3ab7716b51d8fedfff
|
79
90
|
response:
|
80
91
|
status:
|
81
92
|
code: 201
|
82
93
|
message: ''
|
83
94
|
headers:
|
84
95
|
Date:
|
85
|
-
-
|
96
|
+
- Fri, 02 Oct 2015 11:41:43 GMT
|
86
97
|
Server:
|
87
98
|
- Apache/2.4.7 (Ubuntu)
|
88
99
|
Vary:
|
89
100
|
- X-Auth-Token
|
90
101
|
X-Openstack-Request-Id:
|
91
|
-
- req-
|
102
|
+
- req-5968229e-48ca-417f-afb5-b543cc1b1371
|
92
103
|
Content-Length:
|
93
|
-
- '
|
104
|
+
- '200'
|
94
105
|
Content-Type:
|
95
106
|
- application/json
|
107
|
+
X-Cache:
|
108
|
+
- MISS from i056593-vagrant
|
109
|
+
X-Cache-Lookup:
|
110
|
+
- MISS from i056593-vagrant:3128
|
111
|
+
Via:
|
112
|
+
- 1.1 i056593-vagrant (squid/3.3.8)
|
113
|
+
Connection:
|
114
|
+
- keep-alive
|
96
115
|
body:
|
97
|
-
encoding:
|
98
|
-
string:
|
99
|
-
|
100
|
-
"id": "
|
116
|
+
encoding: UTF-8
|
117
|
+
string: '{"service": {"enabled": true, "type": "volume", "name": "foobar", "links":
|
118
|
+
{"self": "http://10.97.17.84:35357/v3/services/cc10c7ad36e1452b9e06b75a7592b745"},
|
119
|
+
"id": "cc10c7ad36e1452b9e06b75a7592b745"}}'
|
101
120
|
http_version:
|
102
|
-
recorded_at:
|
121
|
+
recorded_at: Fri, 02 Oct 2015 11:41:31 GMT
|
103
122
|
- request:
|
104
123
|
method: get
|
105
|
-
uri: http://
|
124
|
+
uri: http://10.97.17.84:35357/v3/services?type=volume
|
106
125
|
body:
|
107
126
|
encoding: US-ASCII
|
108
127
|
string: ''
|
109
128
|
headers:
|
110
129
|
User-Agent:
|
111
|
-
- fog
|
130
|
+
- fog-core/1.32.1
|
131
|
+
Proxy-Connection:
|
132
|
+
- Keep-Alive
|
112
133
|
Content-Type:
|
113
134
|
- application/json
|
114
135
|
Accept:
|
115
136
|
- application/json
|
116
137
|
X-Auth-Token:
|
117
|
-
-
|
138
|
+
- f6af15c0332e4d3ab7716b51d8fedfff
|
118
139
|
response:
|
119
140
|
status:
|
120
141
|
code: 200
|
121
142
|
message: ''
|
122
143
|
headers:
|
123
144
|
Date:
|
124
|
-
-
|
145
|
+
- Fri, 02 Oct 2015 11:41:43 GMT
|
125
146
|
Server:
|
126
147
|
- Apache/2.4.7 (Ubuntu)
|
127
148
|
Vary:
|
128
149
|
- X-Auth-Token
|
129
150
|
X-Openstack-Request-Id:
|
130
|
-
- req-
|
151
|
+
- req-debdf887-29a7-4b27-bdc1-60a37d90ce19
|
131
152
|
Content-Length:
|
132
|
-
- '
|
153
|
+
- '535'
|
133
154
|
Content-Type:
|
134
155
|
- application/json
|
156
|
+
X-Cache:
|
157
|
+
- MISS from i056593-vagrant
|
158
|
+
X-Cache-Lookup:
|
159
|
+
- MISS from i056593-vagrant:3128
|
160
|
+
Via:
|
161
|
+
- 1.1 i056593-vagrant (squid/3.3.8)
|
162
|
+
Connection:
|
163
|
+
- keep-alive
|
135
164
|
body:
|
136
|
-
encoding:
|
137
|
-
string:
|
138
|
-
"
|
139
|
-
"
|
140
|
-
"http://
|
141
|
-
"
|
142
|
-
"description": "Cinder Volume Service"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/services?type=volume",
|
165
|
+
encoding: UTF-8
|
166
|
+
string: '{"services": [{"name": "cinder", "links": {"self": "http://10.97.17.84:35357/v3/services/54efbe90e47244eca5fac1a65374e594"},
|
167
|
+
"enabled": true, "type": "volume", "id": "54efbe90e47244eca5fac1a65374e594",
|
168
|
+
"description": "Cinder Volume Service"}, {"enabled": true, "type": "volume",
|
169
|
+
"name": "foobar", "links": {"self": "http://10.97.17.84:35357/v3/services/cc10c7ad36e1452b9e06b75a7592b745"},
|
170
|
+
"id": "cc10c7ad36e1452b9e06b75a7592b745"}], "links": {"self": "http://10.97.17.84:35357/v3/services?type=volume",
|
143
171
|
"previous": null, "next": null}}'
|
144
172
|
http_version:
|
145
|
-
recorded_at:
|
173
|
+
recorded_at: Fri, 02 Oct 2015 11:41:31 GMT
|
146
174
|
- request:
|
147
175
|
method: patch
|
148
|
-
uri: http://
|
176
|
+
uri: http://10.97.17.84:35357/v3/services/cc10c7ad36e1452b9e06b75a7592b745
|
149
177
|
body:
|
150
178
|
encoding: UTF-8
|
151
|
-
string:
|
179
|
+
string: '{"service":{"name":"baz"}}'
|
152
180
|
headers:
|
153
181
|
User-Agent:
|
154
|
-
- fog
|
182
|
+
- fog-core/1.32.1
|
183
|
+
Proxy-Connection:
|
184
|
+
- Keep-Alive
|
155
185
|
Content-Type:
|
156
186
|
- application/json
|
157
187
|
Accept:
|
158
188
|
- application/json
|
159
189
|
X-Auth-Token:
|
160
|
-
-
|
190
|
+
- f6af15c0332e4d3ab7716b51d8fedfff
|
161
191
|
response:
|
162
192
|
status:
|
163
193
|
code: 200
|
164
194
|
message: ''
|
165
195
|
headers:
|
166
196
|
Date:
|
167
|
-
-
|
197
|
+
- Fri, 02 Oct 2015 11:41:43 GMT
|
168
198
|
Server:
|
169
199
|
- Apache/2.4.7 (Ubuntu)
|
170
200
|
Vary:
|
171
201
|
- X-Auth-Token
|
172
202
|
X-Openstack-Request-Id:
|
173
|
-
- req-
|
203
|
+
- req-40a65c3b-30ba-43b6-9000-124d52baaadb
|
174
204
|
Content-Length:
|
175
|
-
- '
|
205
|
+
- '197'
|
176
206
|
Content-Type:
|
177
207
|
- application/json
|
208
|
+
X-Cache:
|
209
|
+
- MISS from i056593-vagrant
|
210
|
+
X-Cache-Lookup:
|
211
|
+
- MISS from i056593-vagrant:3128
|
212
|
+
Via:
|
213
|
+
- 1.1 i056593-vagrant (squid/3.3.8)
|
214
|
+
Connection:
|
215
|
+
- keep-alive
|
178
216
|
body:
|
179
|
-
encoding:
|
180
|
-
string:
|
181
|
-
{"self": "http://
|
182
|
-
"id": "
|
217
|
+
encoding: UTF-8
|
218
|
+
string: '{"service": {"enabled": true, "type": "volume", "name": "baz", "links":
|
219
|
+
{"self": "http://10.97.17.84:35357/v3/services/cc10c7ad36e1452b9e06b75a7592b745"},
|
220
|
+
"id": "cc10c7ad36e1452b9e06b75a7592b745"}}'
|
183
221
|
http_version:
|
184
|
-
recorded_at:
|
222
|
+
recorded_at: Fri, 02 Oct 2015 11:41:31 GMT
|
185
223
|
- request:
|
186
224
|
method: get
|
187
|
-
uri: http://
|
225
|
+
uri: http://10.97.17.84:35357/v3/services
|
188
226
|
body:
|
189
227
|
encoding: US-ASCII
|
190
228
|
string: ''
|
191
229
|
headers:
|
192
230
|
User-Agent:
|
193
|
-
- fog
|
231
|
+
- fog-core/1.32.1
|
232
|
+
Proxy-Connection:
|
233
|
+
- Keep-Alive
|
194
234
|
Content-Type:
|
195
235
|
- application/json
|
196
236
|
Accept:
|
197
237
|
- application/json
|
198
238
|
X-Auth-Token:
|
199
|
-
-
|
239
|
+
- f6af15c0332e4d3ab7716b51d8fedfff
|
200
240
|
response:
|
201
241
|
status:
|
202
242
|
code: 200
|
203
243
|
message: ''
|
204
244
|
headers:
|
205
245
|
Date:
|
206
|
-
-
|
246
|
+
- Fri, 02 Oct 2015 11:41:43 GMT
|
207
247
|
Server:
|
208
248
|
- Apache/2.4.7 (Ubuntu)
|
209
249
|
Vary:
|
210
250
|
- X-Auth-Token
|
211
251
|
X-Openstack-Request-Id:
|
212
|
-
- req-
|
252
|
+
- req-bf7f21ad-c21a-4aaf-b004-2a9225c83dbe
|
213
253
|
Content-Length:
|
214
|
-
- '
|
254
|
+
- '2135'
|
215
255
|
Content-Type:
|
216
256
|
- application/json
|
257
|
+
X-Cache:
|
258
|
+
- MISS from i056593-vagrant
|
259
|
+
X-Cache-Lookup:
|
260
|
+
- MISS from i056593-vagrant:3128
|
261
|
+
Via:
|
262
|
+
- 1.1 i056593-vagrant (squid/3.3.8)
|
263
|
+
Connection:
|
264
|
+
- keep-alive
|
217
265
|
body:
|
218
|
-
encoding:
|
219
|
-
string:
|
220
|
-
"enabled": true, "type": "
|
266
|
+
encoding: UTF-8
|
267
|
+
string: '{"services": [{"name": "keystone", "links": {"self": "http://10.97.17.84:35357/v3/services/00707ec9c3574d8ebb638265844f7903"},
|
268
|
+
"enabled": true, "type": "identity", "id": "00707ec9c3574d8ebb638265844f7903",
|
269
|
+
"description": "Keystone Identity Service"}, {"name": "glance", "links": {"self":
|
270
|
+
"http://10.97.17.84:35357/v3/services/1f1c2c6373754553938a93de04db5bc0"},
|
271
|
+
"enabled": true, "type": "image", "id": "1f1c2c6373754553938a93de04db5bc0",
|
221
272
|
"description": "Glance Image Service"}, {"name": "cinderv2", "links": {"self":
|
222
|
-
"http://
|
223
|
-
"enabled": true, "type": "volumev2", "id": "
|
224
|
-
"description": "Cinder Volume Service V2"}, {"name": "
|
225
|
-
"http://
|
226
|
-
"enabled": true, "type": "
|
227
|
-
"description": "
|
228
|
-
"
|
229
|
-
"
|
230
|
-
"http://
|
231
|
-
"enabled": true, "type": "
|
232
|
-
"description": "
|
233
|
-
"http://
|
234
|
-
"
|
235
|
-
"
|
236
|
-
"
|
237
|
-
"
|
238
|
-
"
|
239
|
-
|
240
|
-
"
|
241
|
-
"description": "OpenStack Identity v3 x"}, {"name": "keystone_v3", "links":
|
242
|
-
{"self": "http://devstack.openstack.stack:35357/v3/services/cd9002bbadfe495d81b5ee4c50768009"},
|
243
|
-
"enabled": true, "type": "identity_v3", "id": "cd9002bbadfe495d81b5ee4c50768009",
|
244
|
-
"description": "OpenStack Identity v3"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/services",
|
273
|
+
"http://10.97.17.84:35357/v3/services/49ef74e8dab84ed0b683f764ae6d510c"},
|
274
|
+
"enabled": true, "type": "volumev2", "id": "49ef74e8dab84ed0b683f764ae6d510c",
|
275
|
+
"description": "Cinder Volume Service V2"}, {"name": "cinder", "links": {"self":
|
276
|
+
"http://10.97.17.84:35357/v3/services/54efbe90e47244eca5fac1a65374e594"},
|
277
|
+
"enabled": true, "type": "volume", "id": "54efbe90e47244eca5fac1a65374e594",
|
278
|
+
"description": "Cinder Volume Service"}, {"name": "neutron", "links": {"self":
|
279
|
+
"http://10.97.17.84:35357/v3/services/b6063de99a3b474094779d6f778cd87b"},
|
280
|
+
"enabled": true, "type": "network", "id": "b6063de99a3b474094779d6f778cd87b",
|
281
|
+
"description": "Neutron Service"}, {"name": "novav21", "links": {"self": "http://10.97.17.84:35357/v3/services/c6ad05da1baa4dd190bdf01dca60e911"},
|
282
|
+
"enabled": true, "type": "computev21", "id": "c6ad05da1baa4dd190bdf01dca60e911",
|
283
|
+
"description": "Nova Compute Service V2.1"}, {"enabled": true, "type": "volume",
|
284
|
+
"name": "baz", "links": {"self": "http://10.97.17.84:35357/v3/services/cc10c7ad36e1452b9e06b75a7592b745"},
|
285
|
+
"id": "cc10c7ad36e1452b9e06b75a7592b745"}, {"name": "nova", "links": {"self":
|
286
|
+
"http://10.97.17.84:35357/v3/services/d22c9f37ebea4187ae97eb57ced02483"},
|
287
|
+
"enabled": true, "type": "compute", "id": "d22c9f37ebea4187ae97eb57ced02483",
|
288
|
+
"description": "Nova Compute Service"}, {"name": "ec2", "links": {"self":
|
289
|
+
"http://10.97.17.84:35357/v3/services/e2550fc44d8044398e49a080439462ed"},
|
290
|
+
"enabled": true, "type": "ec2", "id": "e2550fc44d8044398e49a080439462ed",
|
291
|
+
"description": "EC2 Compatibility Layer"}], "links": {"self": "http://10.97.17.84:35357/v3/services",
|
245
292
|
"previous": null, "next": null}}'
|
246
293
|
http_version:
|
247
|
-
recorded_at:
|
294
|
+
recorded_at: Fri, 02 Oct 2015 11:41:31 GMT
|
248
295
|
- request:
|
249
296
|
method: get
|
250
|
-
uri: http://
|
297
|
+
uri: http://10.97.17.84:35357/v3/services
|
251
298
|
body:
|
252
299
|
encoding: US-ASCII
|
253
300
|
string: ''
|
254
301
|
headers:
|
255
302
|
User-Agent:
|
256
|
-
- fog
|
303
|
+
- fog-core/1.32.1
|
304
|
+
Proxy-Connection:
|
305
|
+
- Keep-Alive
|
257
306
|
Content-Type:
|
258
307
|
- application/json
|
259
308
|
Accept:
|
260
309
|
- application/json
|
261
310
|
X-Auth-Token:
|
262
|
-
-
|
311
|
+
- f6af15c0332e4d3ab7716b51d8fedfff
|
263
312
|
response:
|
264
313
|
status:
|
265
314
|
code: 200
|
266
315
|
message: ''
|
267
316
|
headers:
|
268
317
|
Date:
|
269
|
-
-
|
318
|
+
- Fri, 02 Oct 2015 11:41:43 GMT
|
270
319
|
Server:
|
271
320
|
- Apache/2.4.7 (Ubuntu)
|
272
321
|
Vary:
|
273
322
|
- X-Auth-Token
|
274
323
|
X-Openstack-Request-Id:
|
275
|
-
- req-
|
324
|
+
- req-9f57f18f-2108-4daf-82f9-06f4960d5f59
|
276
325
|
Content-Length:
|
277
|
-
- '
|
326
|
+
- '2135'
|
278
327
|
Content-Type:
|
279
328
|
- application/json
|
329
|
+
X-Cache:
|
330
|
+
- MISS from i056593-vagrant
|
331
|
+
X-Cache-Lookup:
|
332
|
+
- MISS from i056593-vagrant:3128
|
333
|
+
Via:
|
334
|
+
- 1.1 i056593-vagrant (squid/3.3.8)
|
335
|
+
Connection:
|
336
|
+
- keep-alive
|
280
337
|
body:
|
281
|
-
encoding:
|
282
|
-
string:
|
283
|
-
"enabled": true, "type": "
|
338
|
+
encoding: UTF-8
|
339
|
+
string: '{"services": [{"name": "keystone", "links": {"self": "http://10.97.17.84:35357/v3/services/00707ec9c3574d8ebb638265844f7903"},
|
340
|
+
"enabled": true, "type": "identity", "id": "00707ec9c3574d8ebb638265844f7903",
|
341
|
+
"description": "Keystone Identity Service"}, {"name": "glance", "links": {"self":
|
342
|
+
"http://10.97.17.84:35357/v3/services/1f1c2c6373754553938a93de04db5bc0"},
|
343
|
+
"enabled": true, "type": "image", "id": "1f1c2c6373754553938a93de04db5bc0",
|
284
344
|
"description": "Glance Image Service"}, {"name": "cinderv2", "links": {"self":
|
285
|
-
"http://
|
286
|
-
"enabled": true, "type": "volumev2", "id": "
|
287
|
-
"description": "Cinder Volume Service V2"}, {"name": "
|
288
|
-
"http://
|
289
|
-
"enabled": true, "type": "
|
290
|
-
"description": "
|
291
|
-
"
|
292
|
-
"
|
293
|
-
"http://
|
294
|
-
"enabled": true, "type": "
|
295
|
-
"description": "
|
296
|
-
"http://
|
297
|
-
"
|
298
|
-
"
|
299
|
-
"
|
300
|
-
"
|
301
|
-
"
|
302
|
-
|
303
|
-
"
|
304
|
-
"description": "OpenStack Identity v3 x"}, {"name": "keystone_v3", "links":
|
305
|
-
{"self": "http://devstack.openstack.stack:35357/v3/services/cd9002bbadfe495d81b5ee4c50768009"},
|
306
|
-
"enabled": true, "type": "identity_v3", "id": "cd9002bbadfe495d81b5ee4c50768009",
|
307
|
-
"description": "OpenStack Identity v3"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/services",
|
345
|
+
"http://10.97.17.84:35357/v3/services/49ef74e8dab84ed0b683f764ae6d510c"},
|
346
|
+
"enabled": true, "type": "volumev2", "id": "49ef74e8dab84ed0b683f764ae6d510c",
|
347
|
+
"description": "Cinder Volume Service V2"}, {"name": "cinder", "links": {"self":
|
348
|
+
"http://10.97.17.84:35357/v3/services/54efbe90e47244eca5fac1a65374e594"},
|
349
|
+
"enabled": true, "type": "volume", "id": "54efbe90e47244eca5fac1a65374e594",
|
350
|
+
"description": "Cinder Volume Service"}, {"name": "neutron", "links": {"self":
|
351
|
+
"http://10.97.17.84:35357/v3/services/b6063de99a3b474094779d6f778cd87b"},
|
352
|
+
"enabled": true, "type": "network", "id": "b6063de99a3b474094779d6f778cd87b",
|
353
|
+
"description": "Neutron Service"}, {"name": "novav21", "links": {"self": "http://10.97.17.84:35357/v3/services/c6ad05da1baa4dd190bdf01dca60e911"},
|
354
|
+
"enabled": true, "type": "computev21", "id": "c6ad05da1baa4dd190bdf01dca60e911",
|
355
|
+
"description": "Nova Compute Service V2.1"}, {"enabled": true, "type": "volume",
|
356
|
+
"name": "baz", "links": {"self": "http://10.97.17.84:35357/v3/services/cc10c7ad36e1452b9e06b75a7592b745"},
|
357
|
+
"id": "cc10c7ad36e1452b9e06b75a7592b745"}, {"name": "nova", "links": {"self":
|
358
|
+
"http://10.97.17.84:35357/v3/services/d22c9f37ebea4187ae97eb57ced02483"},
|
359
|
+
"enabled": true, "type": "compute", "id": "d22c9f37ebea4187ae97eb57ced02483",
|
360
|
+
"description": "Nova Compute Service"}, {"name": "ec2", "links": {"self":
|
361
|
+
"http://10.97.17.84:35357/v3/services/e2550fc44d8044398e49a080439462ed"},
|
362
|
+
"enabled": true, "type": "ec2", "id": "e2550fc44d8044398e49a080439462ed",
|
363
|
+
"description": "EC2 Compatibility Layer"}], "links": {"self": "http://10.97.17.84:35357/v3/services",
|
308
364
|
"previous": null, "next": null}}'
|
309
365
|
http_version:
|
310
|
-
recorded_at:
|
366
|
+
recorded_at: Fri, 02 Oct 2015 11:41:31 GMT
|
311
367
|
- request:
|
312
368
|
method: delete
|
313
|
-
uri: http://
|
369
|
+
uri: http://10.97.17.84:35357/v3/services/cc10c7ad36e1452b9e06b75a7592b745
|
314
370
|
body:
|
315
371
|
encoding: US-ASCII
|
316
372
|
string: ''
|
317
373
|
headers:
|
318
374
|
User-Agent:
|
319
|
-
- fog
|
375
|
+
- fog-core/1.32.1
|
376
|
+
Proxy-Connection:
|
377
|
+
- Keep-Alive
|
320
378
|
Content-Type:
|
321
379
|
- application/json
|
322
380
|
Accept:
|
323
381
|
- application/json
|
324
382
|
X-Auth-Token:
|
325
|
-
-
|
383
|
+
- f6af15c0332e4d3ab7716b51d8fedfff
|
326
384
|
response:
|
327
385
|
status:
|
328
386
|
code: 204
|
329
387
|
message: ''
|
330
388
|
headers:
|
331
389
|
Date:
|
332
|
-
-
|
390
|
+
- Fri, 02 Oct 2015 11:41:43 GMT
|
333
391
|
Server:
|
334
392
|
- Apache/2.4.7 (Ubuntu)
|
335
393
|
Vary:
|
336
394
|
- X-Auth-Token
|
337
395
|
X-Openstack-Request-Id:
|
338
|
-
- req-
|
396
|
+
- req-05b50699-0d39-462b-af3b-c784858b5ef2
|
339
397
|
Content-Length:
|
340
398
|
- '0'
|
399
|
+
X-Cache:
|
400
|
+
- MISS from i056593-vagrant
|
401
|
+
X-Cache-Lookup:
|
402
|
+
- MISS from i056593-vagrant:3128
|
403
|
+
Via:
|
404
|
+
- 1.1 i056593-vagrant (squid/3.3.8)
|
405
|
+
Connection:
|
406
|
+
- keep-alive
|
341
407
|
body:
|
342
|
-
encoding:
|
408
|
+
encoding: UTF-8
|
343
409
|
string: ''
|
344
410
|
http_version:
|
345
|
-
recorded_at:
|
411
|
+
recorded_at: Fri, 02 Oct 2015 11:41:31 GMT
|
346
412
|
- request:
|
347
413
|
method: get
|
348
|
-
uri: http://
|
414
|
+
uri: http://10.97.17.84:35357/v3/services
|
349
415
|
body:
|
350
416
|
encoding: US-ASCII
|
351
417
|
string: ''
|
352
418
|
headers:
|
353
419
|
User-Agent:
|
354
|
-
- fog
|
420
|
+
- fog-core/1.32.1
|
421
|
+
Proxy-Connection:
|
422
|
+
- Keep-Alive
|
355
423
|
Content-Type:
|
356
424
|
- application/json
|
357
425
|
Accept:
|
358
426
|
- application/json
|
359
427
|
X-Auth-Token:
|
360
|
-
-
|
428
|
+
- f6af15c0332e4d3ab7716b51d8fedfff
|
361
429
|
response:
|
362
430
|
status:
|
363
431
|
code: 200
|
364
432
|
message: ''
|
365
433
|
headers:
|
366
434
|
Date:
|
367
|
-
-
|
435
|
+
- Fri, 02 Oct 2015 11:41:43 GMT
|
368
436
|
Server:
|
369
437
|
- Apache/2.4.7 (Ubuntu)
|
370
438
|
Vary:
|
371
439
|
- X-Auth-Token
|
372
440
|
X-Openstack-Request-Id:
|
373
|
-
- req-
|
441
|
+
- req-f34ffd95-e68c-4699-a1f0-aaed45aa82c3
|
374
442
|
Content-Length:
|
375
|
-
- '
|
443
|
+
- '1949'
|
376
444
|
Content-Type:
|
377
445
|
- application/json
|
446
|
+
X-Cache:
|
447
|
+
- MISS from i056593-vagrant
|
448
|
+
X-Cache-Lookup:
|
449
|
+
- MISS from i056593-vagrant:3128
|
450
|
+
Via:
|
451
|
+
- 1.1 i056593-vagrant (squid/3.3.8)
|
452
|
+
Connection:
|
453
|
+
- keep-alive
|
378
454
|
body:
|
379
|
-
encoding:
|
380
|
-
string:
|
381
|
-
"enabled": true, "type": "
|
455
|
+
encoding: UTF-8
|
456
|
+
string: '{"services": [{"name": "keystone", "links": {"self": "http://10.97.17.84:35357/v3/services/00707ec9c3574d8ebb638265844f7903"},
|
457
|
+
"enabled": true, "type": "identity", "id": "00707ec9c3574d8ebb638265844f7903",
|
458
|
+
"description": "Keystone Identity Service"}, {"name": "glance", "links": {"self":
|
459
|
+
"http://10.97.17.84:35357/v3/services/1f1c2c6373754553938a93de04db5bc0"},
|
460
|
+
"enabled": true, "type": "image", "id": "1f1c2c6373754553938a93de04db5bc0",
|
382
461
|
"description": "Glance Image Service"}, {"name": "cinderv2", "links": {"self":
|
383
|
-
"http://
|
384
|
-
"enabled": true, "type": "volumev2", "id": "
|
385
|
-
"description": "Cinder Volume Service V2"}, {"name": "
|
386
|
-
"http://
|
387
|
-
"enabled": true, "type": "
|
388
|
-
"description": "
|
389
|
-
"http://
|
390
|
-
"enabled": true, "type": "
|
391
|
-
"description": "
|
392
|
-
"
|
393
|
-
"
|
394
|
-
"
|
395
|
-
"
|
396
|
-
"
|
397
|
-
"
|
398
|
-
|
399
|
-
"
|
400
|
-
"description": "OpenStack Identity v3 x"}, {"name": "keystone_v3", "links":
|
401
|
-
{"self": "http://devstack.openstack.stack:35357/v3/services/cd9002bbadfe495d81b5ee4c50768009"},
|
402
|
-
"enabled": true, "type": "identity_v3", "id": "cd9002bbadfe495d81b5ee4c50768009",
|
403
|
-
"description": "OpenStack Identity v3"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/services",
|
462
|
+
"http://10.97.17.84:35357/v3/services/49ef74e8dab84ed0b683f764ae6d510c"},
|
463
|
+
"enabled": true, "type": "volumev2", "id": "49ef74e8dab84ed0b683f764ae6d510c",
|
464
|
+
"description": "Cinder Volume Service V2"}, {"name": "cinder", "links": {"self":
|
465
|
+
"http://10.97.17.84:35357/v3/services/54efbe90e47244eca5fac1a65374e594"},
|
466
|
+
"enabled": true, "type": "volume", "id": "54efbe90e47244eca5fac1a65374e594",
|
467
|
+
"description": "Cinder Volume Service"}, {"name": "neutron", "links": {"self":
|
468
|
+
"http://10.97.17.84:35357/v3/services/b6063de99a3b474094779d6f778cd87b"},
|
469
|
+
"enabled": true, "type": "network", "id": "b6063de99a3b474094779d6f778cd87b",
|
470
|
+
"description": "Neutron Service"}, {"name": "novav21", "links": {"self": "http://10.97.17.84:35357/v3/services/c6ad05da1baa4dd190bdf01dca60e911"},
|
471
|
+
"enabled": true, "type": "computev21", "id": "c6ad05da1baa4dd190bdf01dca60e911",
|
472
|
+
"description": "Nova Compute Service V2.1"}, {"name": "nova", "links": {"self":
|
473
|
+
"http://10.97.17.84:35357/v3/services/d22c9f37ebea4187ae97eb57ced02483"},
|
474
|
+
"enabled": true, "type": "compute", "id": "d22c9f37ebea4187ae97eb57ced02483",
|
475
|
+
"description": "Nova Compute Service"}, {"name": "ec2", "links": {"self":
|
476
|
+
"http://10.97.17.84:35357/v3/services/e2550fc44d8044398e49a080439462ed"},
|
477
|
+
"enabled": true, "type": "ec2", "id": "e2550fc44d8044398e49a080439462ed",
|
478
|
+
"description": "EC2 Compatibility Layer"}], "links": {"self": "http://10.97.17.84:35357/v3/services",
|
404
479
|
"previous": null, "next": null}}'
|
405
480
|
http_version:
|
406
|
-
recorded_at:
|
481
|
+
recorded_at: Fri, 02 Oct 2015 11:41:31 GMT
|
407
482
|
- request:
|
408
483
|
method: get
|
409
|
-
uri: http://
|
484
|
+
uri: http://10.97.17.84:35357/v3/projects/cc10c7ad36e1452b9e06b75a7592b745
|
410
485
|
body:
|
411
486
|
encoding: US-ASCII
|
412
487
|
string: ''
|
413
488
|
headers:
|
414
489
|
User-Agent:
|
415
|
-
- fog
|
490
|
+
- fog-core/1.32.1
|
491
|
+
Proxy-Connection:
|
492
|
+
- Keep-Alive
|
416
493
|
Content-Type:
|
417
494
|
- application/json
|
418
495
|
Accept:
|
419
496
|
- application/json
|
420
497
|
X-Auth-Token:
|
421
|
-
-
|
498
|
+
- f6af15c0332e4d3ab7716b51d8fedfff
|
422
499
|
response:
|
423
500
|
status:
|
424
501
|
code: 404
|
425
502
|
message: ''
|
426
503
|
headers:
|
427
504
|
Date:
|
428
|
-
-
|
505
|
+
- Fri, 02 Oct 2015 11:41:43 GMT
|
429
506
|
Server:
|
430
507
|
- Apache/2.4.7 (Ubuntu)
|
431
508
|
Vary:
|
432
509
|
- X-Auth-Token
|
433
510
|
X-Openstack-Request-Id:
|
434
|
-
- req-
|
511
|
+
- req-fc28980d-ee42-4f11-8f51-53701c3612c7
|
435
512
|
Content-Length:
|
436
513
|
- '117'
|
437
514
|
Content-Type:
|
438
515
|
- application/json
|
516
|
+
X-Cache:
|
517
|
+
- MISS from i056593-vagrant
|
518
|
+
X-Cache-Lookup:
|
519
|
+
- MISS from i056593-vagrant:3128
|
520
|
+
Via:
|
521
|
+
- 1.1 i056593-vagrant (squid/3.3.8)
|
522
|
+
Connection:
|
523
|
+
- keep-alive
|
439
524
|
body:
|
440
|
-
encoding:
|
441
|
-
string:
|
525
|
+
encoding: UTF-8
|
526
|
+
string: '{"error": {"message": "Could not find project: cc10c7ad36e1452b9e06b75a7592b745",
|
442
527
|
"code": 404, "title": "Not Found"}}'
|
443
528
|
http_version:
|
444
|
-
recorded_at:
|
529
|
+
recorded_at: Fri, 02 Oct 2015 11:41:31 GMT
|
445
530
|
- request:
|
446
531
|
method: get
|
447
|
-
uri: http://
|
532
|
+
uri: http://10.97.17.84:35357/v3/services
|
448
533
|
body:
|
449
534
|
encoding: US-ASCII
|
450
535
|
string: ''
|
451
536
|
headers:
|
452
537
|
User-Agent:
|
453
|
-
- fog
|
538
|
+
- fog-core/1.32.1
|
539
|
+
Proxy-Connection:
|
540
|
+
- Keep-Alive
|
454
541
|
Content-Type:
|
455
542
|
- application/json
|
456
543
|
Accept:
|
457
544
|
- application/json
|
458
545
|
X-Auth-Token:
|
459
|
-
-
|
546
|
+
- f6af15c0332e4d3ab7716b51d8fedfff
|
460
547
|
response:
|
461
548
|
status:
|
462
549
|
code: 200
|
463
550
|
message: ''
|
464
551
|
headers:
|
465
552
|
Date:
|
466
|
-
-
|
553
|
+
- Fri, 02 Oct 2015 11:41:43 GMT
|
467
554
|
Server:
|
468
555
|
- Apache/2.4.7 (Ubuntu)
|
469
556
|
Vary:
|
470
557
|
- X-Auth-Token
|
471
558
|
X-Openstack-Request-Id:
|
472
|
-
- req-
|
559
|
+
- req-f01c3500-4918-479f-b937-2e4bfe005ce7
|
473
560
|
Content-Length:
|
474
|
-
- '
|
561
|
+
- '1949'
|
475
562
|
Content-Type:
|
476
563
|
- application/json
|
564
|
+
X-Cache:
|
565
|
+
- MISS from i056593-vagrant
|
566
|
+
X-Cache-Lookup:
|
567
|
+
- MISS from i056593-vagrant:3128
|
568
|
+
Via:
|
569
|
+
- 1.1 i056593-vagrant (squid/3.3.8)
|
570
|
+
Connection:
|
571
|
+
- keep-alive
|
477
572
|
body:
|
478
|
-
encoding:
|
479
|
-
string:
|
480
|
-
"enabled": true, "type": "
|
573
|
+
encoding: UTF-8
|
574
|
+
string: '{"services": [{"name": "keystone", "links": {"self": "http://10.97.17.84:35357/v3/services/00707ec9c3574d8ebb638265844f7903"},
|
575
|
+
"enabled": true, "type": "identity", "id": "00707ec9c3574d8ebb638265844f7903",
|
576
|
+
"description": "Keystone Identity Service"}, {"name": "glance", "links": {"self":
|
577
|
+
"http://10.97.17.84:35357/v3/services/1f1c2c6373754553938a93de04db5bc0"},
|
578
|
+
"enabled": true, "type": "image", "id": "1f1c2c6373754553938a93de04db5bc0",
|
481
579
|
"description": "Glance Image Service"}, {"name": "cinderv2", "links": {"self":
|
482
|
-
"http://
|
483
|
-
"enabled": true, "type": "volumev2", "id": "
|
484
|
-
"description": "Cinder Volume Service V2"}, {"name": "
|
485
|
-
"http://
|
486
|
-
"enabled": true, "type": "
|
487
|
-
"description": "
|
488
|
-
"http://
|
489
|
-
"enabled": true, "type": "
|
490
|
-
"description": "
|
491
|
-
"
|
492
|
-
"
|
493
|
-
"
|
494
|
-
"
|
495
|
-
"
|
496
|
-
"
|
497
|
-
|
498
|
-
"
|
499
|
-
"description": "OpenStack Identity v3 x"}, {"name": "keystone_v3", "links":
|
500
|
-
{"self": "http://devstack.openstack.stack:35357/v3/services/cd9002bbadfe495d81b5ee4c50768009"},
|
501
|
-
"enabled": true, "type": "identity_v3", "id": "cd9002bbadfe495d81b5ee4c50768009",
|
502
|
-
"description": "OpenStack Identity v3"}], "links": {"self": "http://devstack.openstack.stack:35357/v3/services",
|
580
|
+
"http://10.97.17.84:35357/v3/services/49ef74e8dab84ed0b683f764ae6d510c"},
|
581
|
+
"enabled": true, "type": "volumev2", "id": "49ef74e8dab84ed0b683f764ae6d510c",
|
582
|
+
"description": "Cinder Volume Service V2"}, {"name": "cinder", "links": {"self":
|
583
|
+
"http://10.97.17.84:35357/v3/services/54efbe90e47244eca5fac1a65374e594"},
|
584
|
+
"enabled": true, "type": "volume", "id": "54efbe90e47244eca5fac1a65374e594",
|
585
|
+
"description": "Cinder Volume Service"}, {"name": "neutron", "links": {"self":
|
586
|
+
"http://10.97.17.84:35357/v3/services/b6063de99a3b474094779d6f778cd87b"},
|
587
|
+
"enabled": true, "type": "network", "id": "b6063de99a3b474094779d6f778cd87b",
|
588
|
+
"description": "Neutron Service"}, {"name": "novav21", "links": {"self": "http://10.97.17.84:35357/v3/services/c6ad05da1baa4dd190bdf01dca60e911"},
|
589
|
+
"enabled": true, "type": "computev21", "id": "c6ad05da1baa4dd190bdf01dca60e911",
|
590
|
+
"description": "Nova Compute Service V2.1"}, {"name": "nova", "links": {"self":
|
591
|
+
"http://10.97.17.84:35357/v3/services/d22c9f37ebea4187ae97eb57ced02483"},
|
592
|
+
"enabled": true, "type": "compute", "id": "d22c9f37ebea4187ae97eb57ced02483",
|
593
|
+
"description": "Nova Compute Service"}, {"name": "ec2", "links": {"self":
|
594
|
+
"http://10.97.17.84:35357/v3/services/e2550fc44d8044398e49a080439462ed"},
|
595
|
+
"enabled": true, "type": "ec2", "id": "e2550fc44d8044398e49a080439462ed",
|
596
|
+
"description": "EC2 Compatibility Layer"}], "links": {"self": "http://10.97.17.84:35357/v3/services",
|
503
597
|
"previous": null, "next": null}}'
|
504
598
|
http_version:
|
505
|
-
recorded_at:
|
599
|
+
recorded_at: Fri, 02 Oct 2015 11:41:31 GMT
|
506
600
|
recorded_with: VCR 2.9.3
|