fog 1.37.0 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +173 -0
- data/CONTRIBUTORS.md +3 -1
- data/README.md +8 -9
- data/Rakefile +23 -14
- data/fog.gemspec +7 -4
- data/lib/fog.rb +0 -1
- data/lib/fog/bin.rb +0 -1
- data/lib/fog/bin/digitalocean.rb +1 -1
- data/lib/fog/digitalocean.rb +1 -1
- data/lib/fog/digitalocean/compute_v2.rb +2 -2
- data/lib/fog/digitalocean/core.rb +1 -1
- data/lib/fog/digitalocean/models/compute_v2/images.rb +10 -4
- data/lib/fog/digitalocean/models/compute_v2/regions.rb +1 -1
- data/lib/fog/digitalocean/models/compute_v2/server.rb +1 -1
- data/lib/fog/digitalocean/models/compute_v2/servers.rb +8 -4
- data/lib/fog/digitalocean/models/compute_v2/ssh_keys.rb +9 -4
- data/lib/fog/digitalocean/models/paging_collection.rb +41 -0
- data/lib/fog/digitalocean/requests/compute_v2/{delete_server.rb → destroy_server.rb} +8 -1
- data/lib/fog/digitalocean/requests/compute_v2/list_images.rb +3 -3
- data/lib/fog/digitalocean/requests/compute_v2/list_regions.rb +3 -3
- data/lib/fog/digitalocean/requests/compute_v2/list_servers.rb +4 -4
- data/lib/fog/fogdocker/requests/compute/container_action.rb +2 -2
- data/lib/fog/vcloud_director/README.md +3 -0
- data/lib/fog/vcloud_director/compute.rb +10 -0
- data/lib/fog/vcloud_director/generators/compute/compose_common.rb +121 -0
- data/lib/fog/vcloud_director/generators/compute/compose_vapp.rb +25 -0
- data/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb +1 -1
- data/lib/fog/vcloud_director/generators/compute/instantiate_vapp_template_params.rb +30 -0
- data/lib/fog/vcloud_director/generators/compute/recompose_vapp.rb +34 -0
- data/lib/fog/vcloud_director/models/compute/catalog_item.rb +7 -0
- data/lib/fog/vcloud_director/models/compute/template_vm.rb +52 -0
- data/lib/fog/vcloud_director/models/compute/template_vms.rb +41 -0
- data/lib/fog/vcloud_director/models/compute/vapp_template.rb +26 -0
- data/lib/fog/vcloud_director/models/compute/vapp_templates.rb +40 -0
- data/lib/fog/vcloud_director/models/compute/vdc.rb +5 -0
- data/lib/fog/vcloud_director/models/compute/vm.rb +13 -0
- data/lib/fog/vcloud_director/parsers/compute/vm.rb +19 -14
- data/lib/fog/vcloud_director/parsers/compute/vm_customization.rb +1 -0
- data/lib/fog/vcloud_director/parsers/compute/vm_parser_helper.rb +62 -0
- data/lib/fog/vcloud_director/parsers/compute/vms.rb +15 -42
- data/lib/fog/vcloud_director/requests/compute/get_template_vm.rb +74 -0
- data/lib/fog/vcloud_director/requests/compute/get_template_vms.rb +41 -0
- data/lib/fog/vcloud_director/requests/compute/get_vdc.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/instantiate_vapp_template.rb +30 -37
- data/lib/fog/vcloud_director/requests/compute/post_compose_vapp.rb +45 -0
- data/lib/fog/vcloud_director/requests/compute/post_recompose_vapp.rb +21 -0
- data/lib/fog/vcloud_director/requests/compute/put_product_sections.rb +4 -1
- data/lib/fog/version.rb +1 -1
- data/lib/tasks/changelog_task.rb +1 -0
- data/spec/fog/bin_spec.rb +0 -3
- data/spec/vcloud_director/generators/compute/instantiate_vapp_template_params_spec.rb +68 -0
- data/spec/vcloud_director/requests/compute/instantiate_vapp_template_spec.rb +78 -0
- data/spec/vcloud_director/spec_helper.rb +11 -0
- data/tests/vcloud_director/fixtures/vapp.xml +532 -0
- data/tests/vcloud_director/fixtures/vm.xml +213 -0
- data/tests/vcloud_director/generators/compute/compose_vapp_tests.rb +108 -0
- data/tests/vcloud_director/models/compute/catalog_items_tests.rb +1 -0
- data/tests/vcloud_director/models/compute/vapp_template_tests.rb +29 -0
- data/tests/vcloud_director/models/compute/vms_tests.rb +2 -0
- data/tests/vcloud_director/requests/compute/edge_gateway_tests.rb +1 -1
- metadata +92 -2241
- data/lib/fog/bin/hp.rb +0 -60
- data/lib/fog/digitalocean/compute.rb +0 -130
- data/lib/fog/digitalocean/models/compute/flavor.rb +0 -12
- data/lib/fog/digitalocean/models/compute/flavors.rb +0 -22
- data/lib/fog/digitalocean/models/compute/image.rb +0 -13
- data/lib/fog/digitalocean/models/compute/images.rb +0 -22
- data/lib/fog/digitalocean/models/compute/region.rb +0 -12
- data/lib/fog/digitalocean/models/compute/regions.rb +0 -22
- data/lib/fog/digitalocean/models/compute/server.rb +0 -202
- data/lib/fog/digitalocean/models/compute/servers.rb +0 -95
- data/lib/fog/digitalocean/models/compute/ssh_key.rb +0 -26
- data/lib/fog/digitalocean/models/compute/ssh_keys.rb +0 -25
- data/lib/fog/digitalocean/requests/compute/create_server.rb +0 -77
- data/lib/fog/digitalocean/requests/compute/create_ssh_key.rb +0 -34
- data/lib/fog/digitalocean/requests/compute/destroy_server.rb +0 -35
- data/lib/fog/digitalocean/requests/compute/destroy_ssh_key.rb +0 -33
- data/lib/fog/digitalocean/requests/compute/get_server_details.rb +0 -31
- data/lib/fog/digitalocean/requests/compute/get_ssh_key.rb +0 -35
- data/lib/fog/digitalocean/requests/compute/list_flavors.rb +0 -34
- data/lib/fog/digitalocean/requests/compute/list_images.rb +0 -45
- data/lib/fog/digitalocean/requests/compute/list_regions.rb +0 -34
- data/lib/fog/digitalocean/requests/compute/list_servers.rb +0 -27
- data/lib/fog/digitalocean/requests/compute/list_ssh_keys.rb +0 -27
- data/lib/fog/digitalocean/requests/compute/power_cycle_server.rb +0 -29
- data/lib/fog/digitalocean/requests/compute/power_off_server.rb +0 -29
- data/lib/fog/digitalocean/requests/compute/power_on_server.rb +0 -29
- data/lib/fog/digitalocean/requests/compute/reboot_server.rb +0 -29
- data/lib/fog/digitalocean/requests/compute/shutdown_server.rb +0 -32
- data/lib/fog/hp.rb +0 -9
- data/lib/fog/hp/CHANGELOG.hp +0 -156
- data/lib/fog/hp/README.md +0 -57
- data/lib/fog/hp/articles/auth_caching.md +0 -23
- data/lib/fog/hp/block_storage.rb +0 -170
- data/lib/fog/hp/block_storage_v2.rb +0 -159
- data/lib/fog/hp/cdn.rb +0 -154
- data/lib/fog/hp/compute.rb +0 -252
- data/lib/fog/hp/compute_v2.rb +0 -306
- data/lib/fog/hp/core.rb +0 -353
- data/lib/fog/hp/dns.rb +0 -130
- data/lib/fog/hp/docs/connect.md +0 -152
- data/lib/fog/hp/docs/install.md +0 -133
- data/lib/fog/hp/examples/block_storage.md +0 -296
- data/lib/fog/hp/examples/block_storage_v2.md +0 -446
- data/lib/fog/hp/examples/cdn.md +0 -54
- data/lib/fog/hp/examples/compute.md +0 -794
- data/lib/fog/hp/examples/compute_v2.md +0 -851
- data/lib/fog/hp/examples/getting_started_examples.md +0 -30
- data/lib/fog/hp/examples/networking.md +0 -472
- data/lib/fog/hp/examples/object_storage.md +0 -387
- data/lib/fog/hp/lb.rb +0 -163
- data/lib/fog/hp/models/block_storage/bootable_volumes.rb +0 -24
- data/lib/fog/hp/models/block_storage/snapshot.rb +0 -52
- data/lib/fog/hp/models/block_storage/snapshots.rb +0 -25
- data/lib/fog/hp/models/block_storage/volume.rb +0 -98
- data/lib/fog/hp/models/block_storage/volumes.rb +0 -24
- data/lib/fog/hp/models/block_storage_v2/snapshot.rb +0 -72
- data/lib/fog/hp/models/block_storage_v2/snapshots.rb +0 -39
- data/lib/fog/hp/models/block_storage_v2/volume.rb +0 -135
- data/lib/fog/hp/models/block_storage_v2/volume_backup.rb +0 -54
- data/lib/fog/hp/models/block_storage_v2/volume_backups.rb +0 -38
- data/lib/fog/hp/models/block_storage_v2/volumes.rb +0 -38
- data/lib/fog/hp/models/compute/address.rb +0 -66
- data/lib/fog/hp/models/compute/addresses.rb +0 -25
- data/lib/fog/hp/models/compute/flavor.rb +0 -20
- data/lib/fog/hp/models/compute/flavors.rb +0 -24
- data/lib/fog/hp/models/compute/image.rb +0 -72
- data/lib/fog/hp/models/compute/images.rb +0 -25
- data/lib/fog/hp/models/compute/key_pair.rb +0 -51
- data/lib/fog/hp/models/compute/key_pairs.rb +0 -28
- data/lib/fog/hp/models/compute/meta.rb +0 -27
- data/lib/fog/hp/models/compute/metadata.rb +0 -74
- data/lib/fog/hp/models/compute/security_group.rb +0 -48
- data/lib/fog/hp/models/compute/security_groups.rb +0 -26
- data/lib/fog/hp/models/compute/server.rb +0 -293
- data/lib/fog/hp/models/compute/servers.rb +0 -32
- data/lib/fog/hp/models/compute_v2/address.rb +0 -66
- data/lib/fog/hp/models/compute_v2/addresses.rb +0 -25
- data/lib/fog/hp/models/compute_v2/availability_zone.rb +0 -18
- data/lib/fog/hp/models/compute_v2/availability_zones.rb +0 -25
- data/lib/fog/hp/models/compute_v2/flavor.rb +0 -18
- data/lib/fog/hp/models/compute_v2/flavors.rb +0 -38
- data/lib/fog/hp/models/compute_v2/image.rb +0 -82
- data/lib/fog/hp/models/compute_v2/images.rb +0 -39
- data/lib/fog/hp/models/compute_v2/key_pair.rb +0 -51
- data/lib/fog/hp/models/compute_v2/key_pairs.rb +0 -28
- data/lib/fog/hp/models/compute_v2/meta.rb +0 -27
- data/lib/fog/hp/models/compute_v2/meta_parent.rb +0 -31
- data/lib/fog/hp/models/compute_v2/metadata.rb +0 -74
- data/lib/fog/hp/models/compute_v2/server.rb +0 -334
- data/lib/fog/hp/models/compute_v2/servers.rb +0 -52
- data/lib/fog/hp/models/compute_v2/volume_attachment.rb +0 -41
- data/lib/fog/hp/models/compute_v2/volume_attachments.rb +0 -29
- data/lib/fog/hp/models/dns/domain.rb +0 -53
- data/lib/fog/hp/models/dns/domains.rb +0 -25
- data/lib/fog/hp/models/dns/record.rb +0 -57
- data/lib/fog/hp/models/dns/records.rb +0 -29
- data/lib/fog/hp/models/lb/algorithm.rb +0 -23
- data/lib/fog/hp/models/lb/algorithms.rb +0 -25
- data/lib/fog/hp/models/lb/load_balancer.rb +0 -82
- data/lib/fog/hp/models/lb/load_balancers.rb +0 -25
- data/lib/fog/hp/models/lb/node.rb +0 -51
- data/lib/fog/hp/models/lb/nodes.rb +0 -28
- data/lib/fog/hp/models/lb/protocol.rb +0 -24
- data/lib/fog/hp/models/lb/protocols.rb +0 -25
- data/lib/fog/hp/models/lb/virtual_ip.rb +0 -33
- data/lib/fog/hp/models/lb/virtual_ips.rb +0 -31
- data/lib/fog/hp/models/meta_parent.rb +0 -31
- data/lib/fog/hp/models/network/floating_ip.rb +0 -43
- data/lib/fog/hp/models/network/floating_ips.rb +0 -33
- data/lib/fog/hp/models/network/network.rb +0 -54
- data/lib/fog/hp/models/network/networks.rb +0 -33
- data/lib/fog/hp/models/network/port.rb +0 -51
- data/lib/fog/hp/models/network/ports.rb +0 -33
- data/lib/fog/hp/models/network/router.rb +0 -64
- data/lib/fog/hp/models/network/routers.rb +0 -33
- data/lib/fog/hp/models/network/security_group.rb +0 -28
- data/lib/fog/hp/models/network/security_group_rule.rb +0 -33
- data/lib/fog/hp/models/network/security_group_rules.rb +0 -33
- data/lib/fog/hp/models/network/security_groups.rb +0 -33
- data/lib/fog/hp/models/network/subnet.rb +0 -47
- data/lib/fog/hp/models/network/subnets.rb +0 -33
- data/lib/fog/hp/models/storage/directories.rb +0 -71
- data/lib/fog/hp/models/storage/directory.rb +0 -305
- data/lib/fog/hp/models/storage/file.rb +0 -105
- data/lib/fog/hp/models/storage/files.rb +0 -129
- data/lib/fog/hp/models/storage/meta.rb +0 -27
- data/lib/fog/hp/models/storage/meta_parent.rb +0 -21
- data/lib/fog/hp/models/storage/metadata.rb +0 -77
- data/lib/fog/hp/models/storage/shared_directories.rb +0 -51
- data/lib/fog/hp/models/storage/shared_directory.rb +0 -36
- data/lib/fog/hp/models/storage/shared_file.rb +0 -64
- data/lib/fog/hp/models/storage/shared_files.rb +0 -60
- data/lib/fog/hp/network.rb +0 -200
- data/lib/fog/hp/requests/block_storage/create_snapshot.rb +0 -72
- data/lib/fog/hp/requests/block_storage/create_volume.rb +0 -83
- data/lib/fog/hp/requests/block_storage/delete_snapshot.rb +0 -34
- data/lib/fog/hp/requests/block_storage/delete_volume.rb +0 -34
- data/lib/fog/hp/requests/block_storage/get_bootable_volume_details.rb +0 -54
- data/lib/fog/hp/requests/block_storage/get_snapshot_details.rb +0 -49
- data/lib/fog/hp/requests/block_storage/get_volume_details.rb +0 -53
- data/lib/fog/hp/requests/block_storage/list_bootable_volumes.rb +0 -49
- data/lib/fog/hp/requests/block_storage/list_snapshots.rb +0 -44
- data/lib/fog/hp/requests/block_storage/list_volumes.rb +0 -48
- data/lib/fog/hp/requests/block_storage_v2/create_snapshot.rb +0 -72
- data/lib/fog/hp/requests/block_storage_v2/create_volume.rb +0 -86
- data/lib/fog/hp/requests/block_storage_v2/create_volume_backup.rb +0 -79
- data/lib/fog/hp/requests/block_storage_v2/delete_snapshot.rb +0 -34
- data/lib/fog/hp/requests/block_storage_v2/delete_volume.rb +0 -34
- data/lib/fog/hp/requests/block_storage_v2/delete_volume_backup.rb +0 -34
- data/lib/fog/hp/requests/block_storage_v2/get_snapshot_details.rb +0 -49
- data/lib/fog/hp/requests/block_storage_v2/get_volume_backup_details.rb +0 -50
- data/lib/fog/hp/requests/block_storage_v2/get_volume_details.rb +0 -53
- data/lib/fog/hp/requests/block_storage_v2/list_snapshots.rb +0 -53
- data/lib/fog/hp/requests/block_storage_v2/list_snapshots_detail.rb +0 -50
- data/lib/fog/hp/requests/block_storage_v2/list_volume_backups.rb +0 -48
- data/lib/fog/hp/requests/block_storage_v2/list_volume_backups_detail.rb +0 -54
- data/lib/fog/hp/requests/block_storage_v2/list_volumes.rb +0 -57
- data/lib/fog/hp/requests/block_storage_v2/list_volumes_detail.rb +0 -55
- data/lib/fog/hp/requests/block_storage_v2/restore_volume_backup.rb +0 -93
- data/lib/fog/hp/requests/block_storage_v2/update_snapshot.rb +0 -64
- data/lib/fog/hp/requests/block_storage_v2/update_volume.rb +0 -66
- data/lib/fog/hp/requests/cdn/delete_container.rb +0 -35
- data/lib/fog/hp/requests/cdn/get_containers.rb +0 -39
- data/lib/fog/hp/requests/cdn/head_container.rb +0 -47
- data/lib/fog/hp/requests/cdn/post_container.rb +0 -49
- data/lib/fog/hp/requests/cdn/put_container.rb +0 -50
- data/lib/fog/hp/requests/compute/allocate_address.rb +0 -44
- data/lib/fog/hp/requests/compute/associate_address.rb +0 -38
- data/lib/fog/hp/requests/compute/attach_volume.rb +0 -74
- data/lib/fog/hp/requests/compute/change_password_server.rb +0 -29
- data/lib/fog/hp/requests/compute/confirm_resized_server.rb +0 -30
- data/lib/fog/hp/requests/compute/create_image.rb +0 -55
- data/lib/fog/hp/requests/compute/create_key_pair.rb +0 -76
- data/lib/fog/hp/requests/compute/create_persistent_server.rb +0 -163
- data/lib/fog/hp/requests/compute/create_security_group.rb +0 -78
- data/lib/fog/hp/requests/compute/create_security_group_rule.rb +0 -70
- data/lib/fog/hp/requests/compute/create_server.rb +0 -142
- data/lib/fog/hp/requests/compute/delete_image.rb +0 -40
- data/lib/fog/hp/requests/compute/delete_key_pair.rb +0 -35
- data/lib/fog/hp/requests/compute/delete_meta.rb +0 -50
- data/lib/fog/hp/requests/compute/delete_security_group.rb +0 -37
- data/lib/fog/hp/requests/compute/delete_security_group_rule.rb +0 -44
- data/lib/fog/hp/requests/compute/delete_server.rb +0 -39
- data/lib/fog/hp/requests/compute/detach_volume.rb +0 -43
- data/lib/fog/hp/requests/compute/disassociate_address.rb +0 -35
- data/lib/fog/hp/requests/compute/get_address.rb +0 -41
- data/lib/fog/hp/requests/compute/get_console_output.rb +0 -37
- data/lib/fog/hp/requests/compute/get_flavor_details.rb +0 -47
- data/lib/fog/hp/requests/compute/get_image_details.rb +0 -38
- data/lib/fog/hp/requests/compute/get_meta.rb +0 -52
- data/lib/fog/hp/requests/compute/get_security_group.rb +0 -53
- data/lib/fog/hp/requests/compute/get_server_details.rb +0 -48
- data/lib/fog/hp/requests/compute/get_vnc_console.rb +0 -41
- data/lib/fog/hp/requests/compute/get_windows_password.rb +0 -40
- data/lib/fog/hp/requests/compute/list_addresses.rb +0 -37
- data/lib/fog/hp/requests/compute/list_flavors.rb +0 -40
- data/lib/fog/hp/requests/compute/list_flavors_detail.rb +0 -42
- data/lib/fog/hp/requests/compute/list_images.rb +0 -36
- data/lib/fog/hp/requests/compute/list_images_detail.rb +0 -45
- data/lib/fog/hp/requests/compute/list_key_pairs.rb +0 -40
- data/lib/fog/hp/requests/compute/list_metadata.rb +0 -52
- data/lib/fog/hp/requests/compute/list_security_groups.rb +0 -50
- data/lib/fog/hp/requests/compute/list_server_addresses.rb +0 -38
- data/lib/fog/hp/requests/compute/list_server_private_addresses.rb +0 -54
- data/lib/fog/hp/requests/compute/list_server_public_addresses.rb +0 -54
- data/lib/fog/hp/requests/compute/list_server_volumes.rb +0 -45
- data/lib/fog/hp/requests/compute/list_servers.rb +0 -37
- data/lib/fog/hp/requests/compute/list_servers_detail.rb +0 -52
- data/lib/fog/hp/requests/compute/reboot_server.rb +0 -30
- data/lib/fog/hp/requests/compute/rebuild_server.rb +0 -27
- data/lib/fog/hp/requests/compute/release_address.rb +0 -35
- data/lib/fog/hp/requests/compute/resize_server.rb +0 -35
- data/lib/fog/hp/requests/compute/revert_resized_server.rb +0 -31
- data/lib/fog/hp/requests/compute/server_action.rb +0 -23
- data/lib/fog/hp/requests/compute/set_metadata.rb +0 -53
- data/lib/fog/hp/requests/compute/update_meta.rb +0 -54
- data/lib/fog/hp/requests/compute/update_metadata.rb +0 -53
- data/lib/fog/hp/requests/compute/update_server.rb +0 -38
- data/lib/fog/hp/requests/compute_v2/add_security_group.rb +0 -36
- data/lib/fog/hp/requests/compute_v2/allocate_address.rb +0 -48
- data/lib/fog/hp/requests/compute_v2/associate_address.rb +0 -42
- data/lib/fog/hp/requests/compute_v2/attach_volume.rb +0 -76
- data/lib/fog/hp/requests/compute_v2/create_image.rb +0 -58
- data/lib/fog/hp/requests/compute_v2/create_key_pair.rb +0 -68
- data/lib/fog/hp/requests/compute_v2/create_persistent_server.rb +0 -177
- data/lib/fog/hp/requests/compute_v2/create_server.rb +0 -164
- data/lib/fog/hp/requests/compute_v2/delete_image.rb +0 -39
- data/lib/fog/hp/requests/compute_v2/delete_key_pair.rb +0 -34
- data/lib/fog/hp/requests/compute_v2/delete_meta.rb +0 -50
- data/lib/fog/hp/requests/compute_v2/delete_server.rb +0 -39
- data/lib/fog/hp/requests/compute_v2/detach_volume.rb +0 -43
- data/lib/fog/hp/requests/compute_v2/disassociate_address.rb +0 -35
- data/lib/fog/hp/requests/compute_v2/get_address.rb +0 -44
- data/lib/fog/hp/requests/compute_v2/get_console_output.rb +0 -37
- data/lib/fog/hp/requests/compute_v2/get_flavor_details.rb +0 -53
- data/lib/fog/hp/requests/compute_v2/get_image_details.rb +0 -50
- data/lib/fog/hp/requests/compute_v2/get_key_pair.rb +0 -40
- data/lib/fog/hp/requests/compute_v2/get_meta.rb +0 -52
- data/lib/fog/hp/requests/compute_v2/get_server_details.rb +0 -68
- data/lib/fog/hp/requests/compute_v2/get_server_volume_details.rb +0 -43
- data/lib/fog/hp/requests/compute_v2/get_vnc_console.rb +0 -41
- data/lib/fog/hp/requests/compute_v2/get_windows_password.rb +0 -40
- data/lib/fog/hp/requests/compute_v2/list_addresses.rb +0 -40
- data/lib/fog/hp/requests/compute_v2/list_availability_zones.rb +0 -43
- data/lib/fog/hp/requests/compute_v2/list_flavors.rb +0 -49
- data/lib/fog/hp/requests/compute_v2/list_flavors_detail.rb +0 -49
- data/lib/fog/hp/requests/compute_v2/list_images.rb +0 -48
- data/lib/fog/hp/requests/compute_v2/list_images_detail.rb +0 -62
- data/lib/fog/hp/requests/compute_v2/list_key_pairs.rb +0 -38
- data/lib/fog/hp/requests/compute_v2/list_limits.rb +0 -58
- data/lib/fog/hp/requests/compute_v2/list_metadata.rb +0 -52
- data/lib/fog/hp/requests/compute_v2/list_server_addresses.rb +0 -38
- data/lib/fog/hp/requests/compute_v2/list_server_addresses_by_network.rb +0 -42
- data/lib/fog/hp/requests/compute_v2/list_server_volumes.rb +0 -45
- data/lib/fog/hp/requests/compute_v2/list_servers.rb +0 -49
- data/lib/fog/hp/requests/compute_v2/list_servers_detail.rb +0 -76
- data/lib/fog/hp/requests/compute_v2/reboot_server.rb +0 -30
- data/lib/fog/hp/requests/compute_v2/rebuild_server.rb +0 -77
- data/lib/fog/hp/requests/compute_v2/release_address.rb +0 -34
- data/lib/fog/hp/requests/compute_v2/remove_security_group.rb +0 -33
- data/lib/fog/hp/requests/compute_v2/server_action.rb +0 -23
- data/lib/fog/hp/requests/compute_v2/set_metadata.rb +0 -53
- data/lib/fog/hp/requests/compute_v2/update_meta.rb +0 -54
- data/lib/fog/hp/requests/compute_v2/update_metadata.rb +0 -53
- data/lib/fog/hp/requests/compute_v2/update_server.rb +0 -69
- data/lib/fog/hp/requests/dns/create_domain.rb +0 -65
- data/lib/fog/hp/requests/dns/create_record.rb +0 -76
- data/lib/fog/hp/requests/dns/delete_domain.rb +0 -32
- data/lib/fog/hp/requests/dns/delete_record.rb +0 -34
- data/lib/fog/hp/requests/dns/get_domain.rb +0 -41
- data/lib/fog/hp/requests/dns/get_record.rb +0 -46
- data/lib/fog/hp/requests/dns/get_servers_hosting_domain.rb +0 -60
- data/lib/fog/hp/requests/dns/list_domains.rb +0 -36
- data/lib/fog/hp/requests/dns/list_records_in_a_domain.rb +0 -53
- data/lib/fog/hp/requests/dns/update_domain.rb +0 -61
- data/lib/fog/hp/requests/dns/update_record.rb +0 -66
- data/lib/fog/hp/requests/lb/create_load_balancer.rb +0 -109
- data/lib/fog/hp/requests/lb/create_load_balancer_node.rb +0 -68
- data/lib/fog/hp/requests/lb/delete_load_balancer.rb +0 -32
- data/lib/fog/hp/requests/lb/delete_load_balancer_node.rb +0 -43
- data/lib/fog/hp/requests/lb/get_load_balancer.rb +0 -57
- data/lib/fog/hp/requests/lb/get_load_balancer_node.rb +0 -51
- data/lib/fog/hp/requests/lb/list_algorithms.rb +0 -31
- data/lib/fog/hp/requests/lb/list_limits.rb +0 -36
- data/lib/fog/hp/requests/lb/list_load_balancer_nodes.rb +0 -39
- data/lib/fog/hp/requests/lb/list_load_balancer_virtual_ips.rb +0 -41
- data/lib/fog/hp/requests/lb/list_load_balancers.rb +0 -39
- data/lib/fog/hp/requests/lb/list_protocols.rb +0 -33
- data/lib/fog/hp/requests/lb/list_versions.rb +0 -24
- data/lib/fog/hp/requests/lb/update_load_balancer.rb +0 -45
- data/lib/fog/hp/requests/lb/update_load_balancer_node.rb +0 -55
- data/lib/fog/hp/requests/network/add_router_interface.rb +0 -73
- data/lib/fog/hp/requests/network/associate_floating_ip.rb +0 -69
- data/lib/fog/hp/requests/network/create_floating_ip.rb +0 -67
- data/lib/fog/hp/requests/network/create_network.rb +0 -65
- data/lib/fog/hp/requests/network/create_port.rb +0 -90
- data/lib/fog/hp/requests/network/create_router.rb +0 -62
- data/lib/fog/hp/requests/network/create_security_group.rb +0 -95
- data/lib/fog/hp/requests/network/create_security_group_rule.rb +0 -78
- data/lib/fog/hp/requests/network/create_subnet.rb +0 -95
- data/lib/fog/hp/requests/network/delete_floating_ip.rb +0 -32
- data/lib/fog/hp/requests/network/delete_network.rb +0 -32
- data/lib/fog/hp/requests/network/delete_port.rb +0 -32
- data/lib/fog/hp/requests/network/delete_router.rb +0 -32
- data/lib/fog/hp/requests/network/delete_security_group.rb +0 -32
- data/lib/fog/hp/requests/network/delete_security_group_rule.rb +0 -32
- data/lib/fog/hp/requests/network/delete_subnet.rb +0 -32
- data/lib/fog/hp/requests/network/disassociate_floating_ip.rb +0 -69
- data/lib/fog/hp/requests/network/get_floating_ip.rb +0 -44
- data/lib/fog/hp/requests/network/get_network.rb +0 -46
- data/lib/fog/hp/requests/network/get_port.rb +0 -51
- data/lib/fog/hp/requests/network/get_router.rb +0 -44
- data/lib/fog/hp/requests/network/get_security_group.rb +0 -52
- data/lib/fog/hp/requests/network/get_security_group_rule.rb +0 -47
- data/lib/fog/hp/requests/network/get_subnet.rb +0 -50
- data/lib/fog/hp/requests/network/list_floating_ips.rb +0 -44
- data/lib/fog/hp/requests/network/list_networks.rb +0 -58
- data/lib/fog/hp/requests/network/list_ports.rb +0 -50
- data/lib/fog/hp/requests/network/list_routers.rb +0 -43
- data/lib/fog/hp/requests/network/list_security_group_rules.rb +0 -48
- data/lib/fog/hp/requests/network/list_security_groups.rb +0 -53
- data/lib/fog/hp/requests/network/list_subnets.rb +0 -49
- data/lib/fog/hp/requests/network/remove_router_interface.rb +0 -65
- data/lib/fog/hp/requests/network/update_network.rb +0 -60
- data/lib/fog/hp/requests/network/update_port.rb +0 -73
- data/lib/fog/hp/requests/network/update_router.rb +0 -60
- data/lib/fog/hp/requests/network/update_subnet.rb +0 -70
- data/lib/fog/hp/requests/storage/delete_container.rb +0 -38
- data/lib/fog/hp/requests/storage/delete_object.rb +0 -39
- data/lib/fog/hp/requests/storage/delete_shared_object.rb +0 -33
- data/lib/fog/hp/requests/storage/get_container.rb +0 -87
- data/lib/fog/hp/requests/storage/get_containers.rb +0 -66
- data/lib/fog/hp/requests/storage/get_object.rb +0 -82
- data/lib/fog/hp/requests/storage/get_object_temp_url.rb +0 -26
- data/lib/fog/hp/requests/storage/get_shared_container.rb +0 -69
- data/lib/fog/hp/requests/storage/get_shared_object.rb +0 -61
- data/lib/fog/hp/requests/storage/head_container.rb +0 -36
- data/lib/fog/hp/requests/storage/head_containers.rb +0 -32
- data/lib/fog/hp/requests/storage/head_object.rb +0 -31
- data/lib/fog/hp/requests/storage/head_shared_container.rb +0 -40
- data/lib/fog/hp/requests/storage/head_shared_object.rb +0 -34
- data/lib/fog/hp/requests/storage/post_container.rb +0 -33
- data/lib/fog/hp/requests/storage/post_object.rb +0 -51
- data/lib/fog/hp/requests/storage/put_container.rb +0 -45
- data/lib/fog/hp/requests/storage/put_object.rb +0 -100
- data/lib/fog/hp/requests/storage/put_shared_object.rb +0 -80
- data/lib/fog/hp/simple_http_instrumentor.rb +0 -58
- data/lib/fog/hp/storage.rb +0 -438
- data/lib/fog/openstack.rb +0 -15
- data/lib/fog/openstack/CHANGELOG.md +0 -47
- data/lib/fog/openstack/baremetal.rb +0 -308
- data/lib/fog/openstack/common.rb +0 -46
- data/lib/fog/openstack/compute.rb +0 -395
- data/lib/fog/openstack/core.rb +0 -634
- data/lib/fog/openstack/docs/compute.md +0 -681
- data/lib/fog/openstack/docs/getting_started.md +0 -81
- data/lib/fog/openstack/docs/orchestration.md +0 -318
- data/lib/fog/openstack/docs/planning.md +0 -270
- data/lib/fog/openstack/docs/storage.md +0 -453
- data/lib/fog/openstack/examples/compute/basics.rb +0 -50
- data/lib/fog/openstack/examples/compute/block_device_mapping_v2.rb +0 -32
- data/lib/fog/openstack/examples/identity/basics.rb +0 -68
- data/lib/fog/openstack/examples/image/upload-test-image.rb +0 -77
- data/lib/fog/openstack/examples/network/network_subnets_routers.rb +0 -62
- data/lib/fog/openstack/examples/planning/basics.rb +0 -53
- data/lib/fog/openstack/examples/storage/set-account-quota.rb +0 -66
- data/lib/fog/openstack/identity.rb +0 -27
- data/lib/fog/openstack/identity_v2.rb +0 -200
- data/lib/fog/openstack/identity_v3.rb +0 -178
- data/lib/fog/openstack/image.rb +0 -22
- data/lib/fog/openstack/image_v1.rb +0 -148
- data/lib/fog/openstack/image_v2.rb +0 -142
- data/lib/fog/openstack/metering.rb +0 -145
- data/lib/fog/openstack/models/baremetal/chassis.rb +0 -49
- data/lib/fog/openstack/models/baremetal/chassis_collection.rb +0 -44
- data/lib/fog/openstack/models/baremetal/driver.rb +0 -24
- data/lib/fog/openstack/models/baremetal/drivers.rb +0 -21
- data/lib/fog/openstack/models/baremetal/node.rb +0 -96
- data/lib/fog/openstack/models/baremetal/nodes.rb +0 -44
- data/lib/fog/openstack/models/baremetal/port.rb +0 -50
- data/lib/fog/openstack/models/baremetal/ports.rb +0 -44
- data/lib/fog/openstack/models/collection.rb +0 -45
- data/lib/fog/openstack/models/compute/address.rb +0 -67
- data/lib/fog/openstack/models/compute/addresses.rb +0 -28
- data/lib/fog/openstack/models/compute/aggregate.rb +0 -58
- data/lib/fog/openstack/models/compute/aggregates.rb +0 -26
- data/lib/fog/openstack/models/compute/availability_zone.rb +0 -14
- data/lib/fog/openstack/models/compute/availability_zones.rb +0 -22
- data/lib/fog/openstack/models/compute/flavor.rb +0 -52
- data/lib/fog/openstack/models/compute/flavors.rb +0 -29
- data/lib/fog/openstack/models/compute/host.rb +0 -28
- data/lib/fog/openstack/models/compute/hosts.rb +0 -28
- data/lib/fog/openstack/models/compute/image.rb +0 -48
- data/lib/fog/openstack/models/compute/images.rb +0 -38
- data/lib/fog/openstack/models/compute/key_pair.rb +0 -56
- data/lib/fog/openstack/models/compute/key_pairs.rb +0 -29
- data/lib/fog/openstack/models/compute/metadata.rb +0 -65
- data/lib/fog/openstack/models/compute/metadatum.rb +0 -27
- data/lib/fog/openstack/models/compute/network.rb +0 -13
- data/lib/fog/openstack/models/compute/networks.rb +0 -30
- data/lib/fog/openstack/models/compute/security_group.rb +0 -57
- data/lib/fog/openstack/models/compute/security_group_rule.rb +0 -32
- data/lib/fog/openstack/models/compute/security_group_rules.rb +0 -21
- data/lib/fog/openstack/models/compute/security_groups.rb +0 -24
- data/lib/fog/openstack/models/compute/server.rb +0 -400
- data/lib/fog/openstack/models/compute/servers.rb +0 -59
- data/lib/fog/openstack/models/compute/service.rb +0 -42
- data/lib/fog/openstack/models/compute/services.rb +0 -23
- data/lib/fog/openstack/models/compute/snapshot.rb +0 -32
- data/lib/fog/openstack/models/compute/snapshots.rb +0 -37
- data/lib/fog/openstack/models/compute/tenant.rb +0 -24
- data/lib/fog/openstack/models/compute/tenants.rb +0 -25
- data/lib/fog/openstack/models/compute/volume.rb +0 -52
- data/lib/fog/openstack/models/compute/volumes.rb +0 -37
- data/lib/fog/openstack/models/identity_v2/ec2_credential.rb +0 -39
- data/lib/fog/openstack/models/identity_v2/ec2_credentials.rb +0 -56
- data/lib/fog/openstack/models/identity_v2/role.rb +0 -52
- data/lib/fog/openstack/models/identity_v2/roles.rb +0 -22
- data/lib/fog/openstack/models/identity_v2/tenant.rb +0 -60
- data/lib/fog/openstack/models/identity_v2/tenants.rb +0 -31
- data/lib/fog/openstack/models/identity_v2/user.rb +0 -69
- data/lib/fog/openstack/models/identity_v2/users.rb +0 -45
- data/lib/fog/openstack/models/identity_v3/domain.rb +0 -49
- data/lib/fog/openstack/models/identity_v3/domains.rb +0 -50
- data/lib/fog/openstack/models/identity_v3/endpoint.rb +0 -46
- data/lib/fog/openstack/models/identity_v3/endpoints.rb +0 -26
- data/lib/fog/openstack/models/identity_v3/group.rb +0 -92
- data/lib/fog/openstack/models/identity_v3/groups.rb +0 -31
- data/lib/fog/openstack/models/identity_v3/os_credential.rb +0 -73
- data/lib/fog/openstack/models/identity_v3/os_credentials.rb +0 -31
- data/lib/fog/openstack/models/identity_v3/policies.rb +0 -31
- data/lib/fog/openstack/models/identity_v3/policy.rb +0 -42
- data/lib/fog/openstack/models/identity_v3/project.rb +0 -106
- data/lib/fog/openstack/models/identity_v3/projects.rb +0 -57
- data/lib/fog/openstack/models/identity_v3/role.rb +0 -40
- data/lib/fog/openstack/models/identity_v3/role_assignment.rb +0 -22
- data/lib/fog/openstack/models/identity_v3/role_assignments.rb +0 -25
- data/lib/fog/openstack/models/identity_v3/roles.rb +0 -39
- data/lib/fog/openstack/models/identity_v3/service.rb +0 -47
- data/lib/fog/openstack/models/identity_v3/services.rb +0 -31
- data/lib/fog/openstack/models/identity_v3/token.rb +0 -26
- data/lib/fog/openstack/models/identity_v3/tokens.rb +0 -41
- data/lib/fog/openstack/models/identity_v3/user.rb +0 -81
- data/lib/fog/openstack/models/identity_v3/users.rb +0 -35
- data/lib/fog/openstack/models/image_v1/image.rb +0 -78
- data/lib/fog/openstack/models/image_v1/images.rb +0 -70
- data/lib/fog/openstack/models/image_v2/image.rb +0 -149
- data/lib/fog/openstack/models/image_v2/images.rb +0 -67
- data/lib/fog/openstack/models/meta_parent.rb +0 -31
- data/lib/fog/openstack/models/metering/meter.rb +0 -0
- data/lib/fog/openstack/models/metering/meters.rb +0 -0
- data/lib/fog/openstack/models/metering/resource.rb +0 -15
- data/lib/fog/openstack/models/metering/resources.rb +0 -23
- data/lib/fog/openstack/models/model.rb +0 -44
- data/lib/fog/openstack/models/network/floating_ip.rb +0 -40
- data/lib/fog/openstack/models/network/floating_ips.rb +0 -32
- data/lib/fog/openstack/models/network/lb_health_monitor.rb +0 -57
- data/lib/fog/openstack/models/network/lb_health_monitors.rb +0 -32
- data/lib/fog/openstack/models/network/lb_member.rb +0 -42
- data/lib/fog/openstack/models/network/lb_members.rb +0 -32
- data/lib/fog/openstack/models/network/lb_pool.rb +0 -67
- data/lib/fog/openstack/models/network/lb_pools.rb +0 -32
- data/lib/fog/openstack/models/network/lb_vip.rb +0 -48
- data/lib/fog/openstack/models/network/lb_vips.rb +0 -32
- data/lib/fog/openstack/models/network/network.rb +0 -43
- data/lib/fog/openstack/models/network/networks.rb +0 -32
- data/lib/fog/openstack/models/network/port.rb +0 -42
- data/lib/fog/openstack/models/network/ports.rb +0 -32
- data/lib/fog/openstack/models/network/router.rb +0 -61
- data/lib/fog/openstack/models/network/routers.rb +0 -32
- data/lib/fog/openstack/models/network/security_group.rb +0 -32
- data/lib/fog/openstack/models/network/security_group_rule.rb +0 -33
- data/lib/fog/openstack/models/network/security_group_rules.rb +0 -32
- data/lib/fog/openstack/models/network/security_groups.rb +0 -32
- data/lib/fog/openstack/models/network/subnet.rb +0 -44
- data/lib/fog/openstack/models/network/subnets.rb +0 -32
- data/lib/fog/openstack/models/orchestration/event.rb +0 -20
- data/lib/fog/openstack/models/orchestration/events.rb +0 -31
- data/lib/fog/openstack/models/orchestration/resource.rb +0 -32
- data/lib/fog/openstack/models/orchestration/resource_schemas.rb +0 -17
- data/lib/fog/openstack/models/orchestration/resources.rb +0 -36
- data/lib/fog/openstack/models/orchestration/stack.rb +0 -120
- data/lib/fog/openstack/models/orchestration/stacks.rb +0 -64
- data/lib/fog/openstack/models/orchestration/template.rb +0 -15
- data/lib/fog/openstack/models/orchestration/templates.rb +0 -45
- data/lib/fog/openstack/models/planning/plan.rb +0 -70
- data/lib/fog/openstack/models/planning/plans.rb +0 -31
- data/lib/fog/openstack/models/planning/role.rb +0 -23
- data/lib/fog/openstack/models/planning/roles.rb +0 -16
- data/lib/fog/openstack/models/storage/directories.rb +0 -36
- data/lib/fog/openstack/models/storage/directory.rb +0 -50
- data/lib/fog/openstack/models/storage/file.rb +0 -185
- data/lib/fog/openstack/models/storage/files.rb +0 -101
- data/lib/fog/openstack/models/volume/availability_zone.rb +0 -10
- data/lib/fog/openstack/models/volume/availability_zones.rb +0 -14
- data/lib/fog/openstack/models/volume/transfer.rb +0 -28
- data/lib/fog/openstack/models/volume/transfers.rb +0 -35
- data/lib/fog/openstack/models/volume/volume.rb +0 -36
- data/lib/fog/openstack/models/volume/volume_type.rb +0 -36
- data/lib/fog/openstack/models/volume/volume_types.rb +0 -22
- data/lib/fog/openstack/models/volume/volumes.rb +0 -35
- data/lib/fog/openstack/models/volume_v1/availability_zone.rb +0 -15
- data/lib/fog/openstack/models/volume_v1/availability_zones.rb +0 -16
- data/lib/fog/openstack/models/volume_v1/transfer.rb +0 -18
- data/lib/fog/openstack/models/volume_v1/transfers.rb +0 -16
- data/lib/fog/openstack/models/volume_v1/volume.rb +0 -26
- data/lib/fog/openstack/models/volume_v1/volume_type.rb +0 -16
- data/lib/fog/openstack/models/volume_v1/volume_types.rb +0 -16
- data/lib/fog/openstack/models/volume_v1/volumes.rb +0 -16
- data/lib/fog/openstack/models/volume_v2/availability_zone.rb +0 -15
- data/lib/fog/openstack/models/volume_v2/availability_zones.rb +0 -16
- data/lib/fog/openstack/models/volume_v2/transfer.rb +0 -19
- data/lib/fog/openstack/models/volume_v2/transfers.rb +0 -16
- data/lib/fog/openstack/models/volume_v2/volume.rb +0 -27
- data/lib/fog/openstack/models/volume_v2/volume_type.rb +0 -16
- data/lib/fog/openstack/models/volume_v2/volume_types.rb +0 -16
- data/lib/fog/openstack/models/volume_v2/volumes.rb +0 -16
- data/lib/fog/openstack/network.rb +0 -293
- data/lib/fog/openstack/orchestration.rb +0 -192
- data/lib/fog/openstack/planning.rb +0 -174
- data/lib/fog/openstack/requests/baremetal/create_chassis.rb +0 -44
- data/lib/fog/openstack/requests/baremetal/create_node.rb +0 -54
- data/lib/fog/openstack/requests/baremetal/create_port.rb +0 -46
- data/lib/fog/openstack/requests/baremetal/delete_chassis.rb +0 -25
- data/lib/fog/openstack/requests/baremetal/delete_node.rb +0 -25
- data/lib/fog/openstack/requests/baremetal/delete_port.rb +0 -25
- data/lib/fog/openstack/requests/baremetal/get_chassis.rb +0 -24
- data/lib/fog/openstack/requests/baremetal/get_driver.rb +0 -24
- data/lib/fog/openstack/requests/baremetal/get_driver_properties.rb +0 -40
- data/lib/fog/openstack/requests/baremetal/get_node.rb +0 -24
- data/lib/fog/openstack/requests/baremetal/get_port.rb +0 -24
- data/lib/fog/openstack/requests/baremetal/list_chassis.rb +0 -42
- data/lib/fog/openstack/requests/baremetal/list_chassis_detailed.rb +0 -25
- data/lib/fog/openstack/requests/baremetal/list_drivers.rb +0 -25
- data/lib/fog/openstack/requests/baremetal/list_nodes.rb +0 -34
- data/lib/fog/openstack/requests/baremetal/list_nodes_detailed.rb +0 -25
- data/lib/fog/openstack/requests/baremetal/list_ports.rb +0 -42
- data/lib/fog/openstack/requests/baremetal/list_ports_detailed.rb +0 -25
- data/lib/fog/openstack/requests/baremetal/patch_chassis.rb +0 -42
- data/lib/fog/openstack/requests/baremetal/patch_node.rb +0 -41
- data/lib/fog/openstack/requests/baremetal/patch_port.rb +0 -41
- data/lib/fog/openstack/requests/baremetal/set_node_maintenance.rb +0 -36
- data/lib/fog/openstack/requests/baremetal/set_node_power_state.rb +0 -35
- data/lib/fog/openstack/requests/baremetal/set_node_provision_state.rb +0 -38
- data/lib/fog/openstack/requests/baremetal/unset_node_maintenance.rb +0 -36
- data/lib/fog/openstack/requests/compute/add_aggregate_host.rb +0 -30
- data/lib/fog/openstack/requests/compute/add_fixed_ip.rb +0 -29
- data/lib/fog/openstack/requests/compute/add_flavor_access.rb +0 -31
- data/lib/fog/openstack/requests/compute/add_security_group.rb +0 -20
- data/lib/fog/openstack/requests/compute/allocate_address.rb +0 -39
- data/lib/fog/openstack/requests/compute/associate_address.rb +0 -30
- data/lib/fog/openstack/requests/compute/attach_volume.rb +0 -38
- data/lib/fog/openstack/requests/compute/boot_from_snapshot.rb +0 -41
- data/lib/fog/openstack/requests/compute/change_server_password.rb +0 -20
- data/lib/fog/openstack/requests/compute/confirm_resize_server.rb +0 -20
- data/lib/fog/openstack/requests/compute/create_aggregate.rb +0 -42
- data/lib/fog/openstack/requests/compute/create_flavor.rb +0 -85
- data/lib/fog/openstack/requests/compute/create_flavor_metadata.rb +0 -38
- data/lib/fog/openstack/requests/compute/create_image.rb +0 -44
- data/lib/fog/openstack/requests/compute/create_key_pair.rb +0 -46
- data/lib/fog/openstack/requests/compute/create_security_group.rb +0 -50
- data/lib/fog/openstack/requests/compute/create_security_group_rule.rb +0 -57
- data/lib/fog/openstack/requests/compute/create_server.rb +0 -185
- data/lib/fog/openstack/requests/compute/create_volume.rb +0 -51
- data/lib/fog/openstack/requests/compute/create_volume_snapshot.rb +0 -44
- data/lib/fog/openstack/requests/compute/delete_aggregate.rb +0 -28
- data/lib/fog/openstack/requests/compute/delete_flavor.rb +0 -28
- data/lib/fog/openstack/requests/compute/delete_image.rb +0 -35
- data/lib/fog/openstack/requests/compute/delete_key_pair.rb +0 -29
- data/lib/fog/openstack/requests/compute/delete_meta.rb +0 -35
- data/lib/fog/openstack/requests/compute/delete_metadata.rb +0 -23
- data/lib/fog/openstack/requests/compute/delete_security_group.rb +0 -31
- data/lib/fog/openstack/requests/compute/delete_security_group_rule.rb +0 -31
- data/lib/fog/openstack/requests/compute/delete_server.rb +0 -34
- data/lib/fog/openstack/requests/compute/delete_service.rb +0 -32
- data/lib/fog/openstack/requests/compute/delete_snapshot.rb +0 -23
- data/lib/fog/openstack/requests/compute/delete_volume.rb +0 -28
- data/lib/fog/openstack/requests/compute/detach_volume.rb +0 -28
- data/lib/fog/openstack/requests/compute/disable_service.rb +0 -37
- data/lib/fog/openstack/requests/compute/disable_service_log_reason.rb +0 -38
- data/lib/fog/openstack/requests/compute/disassociate_address.rb +0 -25
- data/lib/fog/openstack/requests/compute/enable_service.rb +0 -38
- data/lib/fog/openstack/requests/compute/evacuate_server.rb +0 -26
- data/lib/fog/openstack/requests/compute/get_address.rb +0 -38
- data/lib/fog/openstack/requests/compute/get_aggregate.rb +0 -26
- data/lib/fog/openstack/requests/compute/get_console_output.rb +0 -24
- data/lib/fog/openstack/requests/compute/get_flavor_details.rb +0 -39
- data/lib/fog/openstack/requests/compute/get_flavor_metadata.rb +0 -27
- data/lib/fog/openstack/requests/compute/get_host_details.rb +0 -66
- data/lib/fog/openstack/requests/compute/get_hypervisor_statistics.rb +0 -39
- data/lib/fog/openstack/requests/compute/get_image_details.rb +0 -28
- data/lib/fog/openstack/requests/compute/get_limits.rb +0 -89
- data/lib/fog/openstack/requests/compute/get_metadata.rb +0 -24
- data/lib/fog/openstack/requests/compute/get_quota.rb +0 -26
- data/lib/fog/openstack/requests/compute/get_quota_defaults.rb +0 -26
- data/lib/fog/openstack/requests/compute/get_security_group.rb +0 -37
- data/lib/fog/openstack/requests/compute/get_security_group_rule.rb +0 -38
- data/lib/fog/openstack/requests/compute/get_server_details.rb +0 -28
- data/lib/fog/openstack/requests/compute/get_server_volumes.rb +0 -27
- data/lib/fog/openstack/requests/compute/get_snapshot_details.rb +0 -34
- data/lib/fog/openstack/requests/compute/get_usage.rb +0 -51
- data/lib/fog/openstack/requests/compute/get_vnc_console.rb +0 -40
- data/lib/fog/openstack/requests/compute/get_volume_details.rb +0 -28
- data/lib/fog/openstack/requests/compute/list_address_pools.rb +0 -28
- data/lib/fog/openstack/requests/compute/list_addresses.rb +0 -28
- data/lib/fog/openstack/requests/compute/list_aggregates.rb +0 -36
- data/lib/fog/openstack/requests/compute/list_all_addresses.rb +0 -62
- data/lib/fog/openstack/requests/compute/list_flavors.rb +0 -35
- data/lib/fog/openstack/requests/compute/list_flavors_detail.rb +0 -35
- data/lib/fog/openstack/requests/compute/list_hosts.rb +0 -28
- data/lib/fog/openstack/requests/compute/list_images.rb +0 -29
- data/lib/fog/openstack/requests/compute/list_images_detail.rb +0 -36
- data/lib/fog/openstack/requests/compute/list_key_pairs.rb +0 -38
- data/lib/fog/openstack/requests/compute/list_metadata.rb +0 -24
- data/lib/fog/openstack/requests/compute/list_private_addresses.rb +0 -28
- data/lib/fog/openstack/requests/compute/list_public_addresses.rb +0 -28
- data/lib/fog/openstack/requests/compute/list_security_groups.rb +0 -69
- data/lib/fog/openstack/requests/compute/list_servers.rb +0 -36
- data/lib/fog/openstack/requests/compute/list_servers_detail.rb +0 -43
- data/lib/fog/openstack/requests/compute/list_services.rb +0 -72
- data/lib/fog/openstack/requests/compute/list_snapshots.rb +0 -41
- data/lib/fog/openstack/requests/compute/list_snapshots_detail.rb +0 -27
- data/lib/fog/openstack/requests/compute/list_tenants.rb +0 -45
- data/lib/fog/openstack/requests/compute/list_tenants_with_flavor_access.rb +0 -26
- data/lib/fog/openstack/requests/compute/list_usages.rb +0 -41
- data/lib/fog/openstack/requests/compute/list_volumes.rb +0 -39
- data/lib/fog/openstack/requests/compute/list_volumes_detail.rb +0 -25
- data/lib/fog/openstack/requests/compute/list_zones.rb +0 -33
- data/lib/fog/openstack/requests/compute/list_zones_detailed.rb +0 -55
- data/lib/fog/openstack/requests/compute/live_migrate_server.rb +0 -26
- data/lib/fog/openstack/requests/compute/migrate_server.rb +0 -20
- data/lib/fog/openstack/requests/compute/pause_server.rb +0 -24
- data/lib/fog/openstack/requests/compute/reboot_server.rb +0 -20
- data/lib/fog/openstack/requests/compute/rebuild_server.rb +0 -34
- data/lib/fog/openstack/requests/compute/release_address.rb +0 -29
- data/lib/fog/openstack/requests/compute/remove_aggregate_host.rb +0 -30
- data/lib/fog/openstack/requests/compute/remove_fixed_ip.rb +0 -29
- data/lib/fog/openstack/requests/compute/remove_flavor_access.rb +0 -31
- data/lib/fog/openstack/requests/compute/remove_security_group.rb +0 -20
- data/lib/fog/openstack/requests/compute/rescue_server.rb +0 -24
- data/lib/fog/openstack/requests/compute/reset_server_state.rb +0 -20
- data/lib/fog/openstack/requests/compute/resize_server.rb +0 -20
- data/lib/fog/openstack/requests/compute/resume_server.rb +0 -24
- data/lib/fog/openstack/requests/compute/revert_resize_server.rb +0 -26
- data/lib/fog/openstack/requests/compute/server_action.rb +0 -16
- data/lib/fog/openstack/requests/compute/server_actions.rb +0 -38
- data/lib/fog/openstack/requests/compute/server_diagnostics.rb +0 -25
- data/lib/fog/openstack/requests/compute/set_metadata.rb +0 -37
- data/lib/fog/openstack/requests/compute/set_tenant.rb +0 -19
- data/lib/fog/openstack/requests/compute/shelve_offload_server.rb +0 -24
- data/lib/fog/openstack/requests/compute/shelve_server.rb +0 -24
- data/lib/fog/openstack/requests/compute/start_server.rb +0 -24
- data/lib/fog/openstack/requests/compute/stop_server.rb +0 -24
- data/lib/fog/openstack/requests/compute/suspend_server.rb +0 -24
- data/lib/fog/openstack/requests/compute/unpause_server.rb +0 -24
- data/lib/fog/openstack/requests/compute/unshelve_server.rb +0 -24
- data/lib/fog/openstack/requests/compute/update_aggregate.rb +0 -37
- data/lib/fog/openstack/requests/compute/update_aggregate_metadata.rb +0 -30
- data/lib/fog/openstack/requests/compute/update_meta.rb +0 -38
- data/lib/fog/openstack/requests/compute/update_metadata.rb +0 -38
- data/lib/fog/openstack/requests/compute/update_quota.rb +0 -28
- data/lib/fog/openstack/requests/compute/update_server.rb +0 -31
- data/lib/fog/openstack/requests/identity_v2/add_user_to_tenant.rb +0 -36
- data/lib/fog/openstack/requests/identity_v2/check_token.rb +0 -22
- data/lib/fog/openstack/requests/identity_v2/create_ec2_credential.rb +0 -59
- data/lib/fog/openstack/requests/identity_v2/create_role.rb +0 -38
- data/lib/fog/openstack/requests/identity_v2/create_tenant.rb +0 -34
- data/lib/fog/openstack/requests/identity_v2/create_user.rb +0 -45
- data/lib/fog/openstack/requests/identity_v2/create_user_role.rb +0 -26
- data/lib/fog/openstack/requests/identity_v2/delete_ec2_credential.rb +0 -43
- data/lib/fog/openstack/requests/identity_v2/delete_role.rb +0 -30
- data/lib/fog/openstack/requests/identity_v2/delete_tenant.rb +0 -33
- data/lib/fog/openstack/requests/identity_v2/delete_user.rb +0 -30
- data/lib/fog/openstack/requests/identity_v2/delete_user_role.rb +0 -25
- data/lib/fog/openstack/requests/identity_v2/get_ec2_credential.rb +0 -50
- data/lib/fog/openstack/requests/identity_v2/get_role.rb +0 -30
- data/lib/fog/openstack/requests/identity_v2/get_tenant.rb +0 -33
- data/lib/fog/openstack/requests/identity_v2/get_tenants_by_id.rb +0 -20
- data/lib/fog/openstack/requests/identity_v2/get_tenants_by_name.rb +0 -20
- data/lib/fog/openstack/requests/identity_v2/get_user_by_id.rb +0 -34
- data/lib/fog/openstack/requests/identity_v2/get_user_by_name.rb +0 -29
- data/lib/fog/openstack/requests/identity_v2/list_ec2_credentials.rb +0 -61
- data/lib/fog/openstack/requests/identity_v2/list_endpoints_for_token.rb +0 -20
- data/lib/fog/openstack/requests/identity_v2/list_roles.rb +0 -34
- data/lib/fog/openstack/requests/identity_v2/list_roles_for_user_on_tenant.rb +0 -32
- data/lib/fog/openstack/requests/identity_v2/list_tenants.rb +0 -53
- data/lib/fog/openstack/requests/identity_v2/list_user_global_roles.rb +0 -20
- data/lib/fog/openstack/requests/identity_v2/list_users.rb +0 -47
- data/lib/fog/openstack/requests/identity_v2/remove_user_from_tenant.rb +0 -22
- data/lib/fog/openstack/requests/identity_v2/set_tenant.rb +0 -21
- data/lib/fog/openstack/requests/identity_v2/update_tenant.rb +0 -30
- data/lib/fog/openstack/requests/identity_v2/update_user.rb +0 -34
- data/lib/fog/openstack/requests/identity_v2/validate_token.rb +0 -22
- data/lib/fog/openstack/requests/identity_v3/add_user_to_group.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/auth_domains.rb +0 -24
- data/lib/fog/openstack/requests/identity_v3/auth_projects.rb +0 -24
- data/lib/fog/openstack/requests/identity_v3/check_domain_group_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/check_domain_user_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/check_project_group_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/check_project_user_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/create_domain.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/create_endpoint.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/create_group.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/create_os_credential.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/create_policy.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/create_project.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/create_role.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/create_service.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/create_user.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/delete_domain.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/delete_endpoint.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/delete_group.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/delete_os_credential.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/delete_policy.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/delete_project.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/delete_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/delete_service.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/delete_user.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/get_domain.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/get_endpoint.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/get_group.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/get_os_credential.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/get_policy.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/get_project.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/get_role.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/get_service.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/get_user.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/grant_domain_group_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/grant_domain_user_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/grant_project_group_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/grant_project_user_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/group_user_check.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/list_domain_group_roles.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/list_domain_user_roles.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/list_domains.rb +0 -24
- data/lib/fog/openstack/requests/identity_v3/list_endpoints.rb +0 -24
- data/lib/fog/openstack/requests/identity_v3/list_group_users.rb +0 -24
- data/lib/fog/openstack/requests/identity_v3/list_groups.rb +0 -32
- data/lib/fog/openstack/requests/identity_v3/list_os_credentials.rb +0 -24
- data/lib/fog/openstack/requests/identity_v3/list_policies.rb +0 -24
- data/lib/fog/openstack/requests/identity_v3/list_project_group_roles.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/list_project_user_roles.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/list_projects.rb +0 -31
- data/lib/fog/openstack/requests/identity_v3/list_role_assignments.rb +0 -39
- data/lib/fog/openstack/requests/identity_v3/list_roles.rb +0 -24
- data/lib/fog/openstack/requests/identity_v3/list_services.rb +0 -24
- data/lib/fog/openstack/requests/identity_v3/list_user_groups.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/list_user_projects.rb +0 -23
- data/lib/fog/openstack/requests/identity_v3/list_users.rb +0 -24
- data/lib/fog/openstack/requests/identity_v3/remove_user_from_group.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/revoke_domain_group_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/revoke_domain_user_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/revoke_project_group_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/revoke_project_user_role.rb +0 -20
- data/lib/fog/openstack/requests/identity_v3/token_authenticate.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/token_check.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/token_revoke.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/token_validate.rb +0 -22
- data/lib/fog/openstack/requests/identity_v3/update_domain.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/update_endpoint.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/update_group.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/update_os_credential.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/update_policy.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/update_project.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/update_role.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/update_service.rb +0 -21
- data/lib/fog/openstack/requests/identity_v3/update_user.rb +0 -21
- data/lib/fog/openstack/requests/image_v1/add_member_to_image.rb +0 -25
- data/lib/fog/openstack/requests/image_v1/create_image.rb +0 -78
- data/lib/fog/openstack/requests/image_v1/delete_image.rb +0 -25
- data/lib/fog/openstack/requests/image_v1/get_image.rb +0 -47
- data/lib/fog/openstack/requests/image_v1/get_image_by_id.rb +0 -34
- data/lib/fog/openstack/requests/image_v1/get_image_members.rb +0 -31
- data/lib/fog/openstack/requests/image_v1/get_shared_images.rb +0 -31
- data/lib/fog/openstack/requests/image_v1/list_public_images.rb +0 -35
- data/lib/fog/openstack/requests/image_v1/list_public_images_detailed.rb +0 -37
- data/lib/fog/openstack/requests/image_v1/remove_member_from_image.rb +0 -25
- data/lib/fog/openstack/requests/image_v1/set_tenant.rb +0 -21
- data/lib/fog/openstack/requests/image_v1/update_image.rb +0 -66
- data/lib/fog/openstack/requests/image_v1/update_image_members.rb +0 -39
- data/lib/fog/openstack/requests/image_v2/add_member_to_image.rb +0 -26
- data/lib/fog/openstack/requests/image_v2/add_tag_to_image.rb +0 -25
- data/lib/fog/openstack/requests/image_v2/create_image.rb +0 -54
- data/lib/fog/openstack/requests/image_v2/deactivate_image.rb +0 -25
- data/lib/fog/openstack/requests/image_v2/delete_image.rb +0 -25
- data/lib/fog/openstack/requests/image_v2/download_image.rb +0 -29
- data/lib/fog/openstack/requests/image_v2/get_image.rb +0 -47
- data/lib/fog/openstack/requests/image_v2/get_image_by_id.rb +0 -34
- data/lib/fog/openstack/requests/image_v2/get_image_members.rb +0 -31
- data/lib/fog/openstack/requests/image_v2/get_member_details.rb +0 -33
- data/lib/fog/openstack/requests/image_v2/get_shared_images.rb +0 -31
- data/lib/fog/openstack/requests/image_v2/list_images.rb +0 -35
- data/lib/fog/openstack/requests/image_v2/reactivate_image.rb +0 -25
- data/lib/fog/openstack/requests/image_v2/remove_member_from_image.rb +0 -25
- data/lib/fog/openstack/requests/image_v2/remove_tag_from_image.rb +0 -25
- data/lib/fog/openstack/requests/image_v2/set_tenant.rb +0 -21
- data/lib/fog/openstack/requests/image_v2/update_image.rb +0 -49
- data/lib/fog/openstack/requests/image_v2/update_image_member.rb +0 -34
- data/lib/fog/openstack/requests/image_v2/upload_image.rb +0 -30
- data/lib/fog/openstack/requests/metering/get_resource.rb +0 -28
- data/lib/fog/openstack/requests/metering/get_samples.rb +0 -50
- data/lib/fog/openstack/requests/metering/get_statistics.rb +0 -51
- data/lib/fog/openstack/requests/metering/list_meters.rb +0 -45
- data/lib/fog/openstack/requests/metering/list_resources.rb +0 -28
- data/lib/fog/openstack/requests/network/add_router_interface.rb +0 -54
- data/lib/fog/openstack/requests/network/associate_floating_ip.rb +0 -47
- data/lib/fog/openstack/requests/network/associate_lb_health_monitor.rb +0 -37
- data/lib/fog/openstack/requests/network/create_floating_ip.rb +0 -45
- data/lib/fog/openstack/requests/network/create_lb_health_monitor.rb +0 -54
- data/lib/fog/openstack/requests/network/create_lb_member.rb +0 -51
- data/lib/fog/openstack/requests/network/create_lb_pool.rb +0 -58
- data/lib/fog/openstack/requests/network/create_lb_vip.rb +0 -58
- data/lib/fog/openstack/requests/network/create_network.rb +0 -97
- data/lib/fog/openstack/requests/network/create_port.rb +0 -53
- data/lib/fog/openstack/requests/network/create_router.rb +0 -76
- data/lib/fog/openstack/requests/network/create_security_group.rb +0 -94
- data/lib/fog/openstack/requests/network/create_security_group_rule.rb +0 -79
- data/lib/fog/openstack/requests/network/create_subnet.rb +0 -54
- data/lib/fog/openstack/requests/network/delete_floating_ip.rb +0 -28
- data/lib/fog/openstack/requests/network/delete_lb_health_monitor.rb +0 -28
- data/lib/fog/openstack/requests/network/delete_lb_member.rb +0 -28
- data/lib/fog/openstack/requests/network/delete_lb_pool.rb +0 -28
- data/lib/fog/openstack/requests/network/delete_lb_vip.rb +0 -28
- data/lib/fog/openstack/requests/network/delete_network.rb +0 -28
- data/lib/fog/openstack/requests/network/delete_port.rb +0 -28
- data/lib/fog/openstack/requests/network/delete_quota.rb +0 -23
- data/lib/fog/openstack/requests/network/delete_router.rb +0 -28
- data/lib/fog/openstack/requests/network/delete_security_group.rb +0 -32
- data/lib/fog/openstack/requests/network/delete_security_group_rule.rb +0 -32
- data/lib/fog/openstack/requests/network/delete_subnet.rb +0 -28
- data/lib/fog/openstack/requests/network/disassociate_floating_ip.rb +0 -47
- data/lib/fog/openstack/requests/network/disassociate_lb_health_monitor.rb +0 -29
- data/lib/fog/openstack/requests/network/get_floating_ip.rb +0 -39
- data/lib/fog/openstack/requests/network/get_lb_health_monitor.rb +0 -28
- data/lib/fog/openstack/requests/network/get_lb_member.rb +0 -28
- data/lib/fog/openstack/requests/network/get_lb_pool.rb +0 -28
- data/lib/fog/openstack/requests/network/get_lb_pool_stats.rb +0 -33
- data/lib/fog/openstack/requests/network/get_lb_vip.rb +0 -28
- data/lib/fog/openstack/requests/network/get_network.rb +0 -40
- data/lib/fog/openstack/requests/network/get_port.rb +0 -51
- data/lib/fog/openstack/requests/network/get_quota.rb +0 -26
- data/lib/fog/openstack/requests/network/get_quotas.rb +0 -26
- data/lib/fog/openstack/requests/network/get_router.rb +0 -30
- data/lib/fog/openstack/requests/network/get_security_group.rb +0 -52
- data/lib/fog/openstack/requests/network/get_security_group_rule.rb +0 -47
- data/lib/fog/openstack/requests/network/get_subnet.rb +0 -47
- data/lib/fog/openstack/requests/network/list_floating_ips.rb +0 -25
- data/lib/fog/openstack/requests/network/list_lb_health_monitors.rb +0 -25
- data/lib/fog/openstack/requests/network/list_lb_members.rb +0 -25
- data/lib/fog/openstack/requests/network/list_lb_pools.rb +0 -25
- data/lib/fog/openstack/requests/network/list_lb_vips.rb +0 -25
- data/lib/fog/openstack/requests/network/list_networks.rb +0 -25
- data/lib/fog/openstack/requests/network/list_ports.rb +0 -25
- data/lib/fog/openstack/requests/network/list_routers.rb +0 -25
- data/lib/fog/openstack/requests/network/list_security_group_rules.rb +0 -48
- data/lib/fog/openstack/requests/network/list_security_groups.rb +0 -53
- data/lib/fog/openstack/requests/network/list_subnets.rb +0 -25
- data/lib/fog/openstack/requests/network/remove_router_interface.rb +0 -34
- data/lib/fog/openstack/requests/network/set_tenant.rb +0 -20
- data/lib/fog/openstack/requests/network/update_lb_health_monitor.rb +0 -43
- data/lib/fog/openstack/requests/network/update_lb_member.rb +0 -39
- data/lib/fog/openstack/requests/network/update_lb_pool.rb +0 -40
- data/lib/fog/openstack/requests/network/update_lb_vip.rb +0 -42
- data/lib/fog/openstack/requests/network/update_network.rb +0 -39
- data/lib/fog/openstack/requests/network/update_port.rb +0 -43
- data/lib/fog/openstack/requests/network/update_quota.rb +0 -27
- data/lib/fog/openstack/requests/network/update_router.rb +0 -69
- data/lib/fog/openstack/requests/network/update_subnet.rb +0 -43
- data/lib/fog/openstack/requests/orchestration/abandon_stack.rb +0 -15
- data/lib/fog/openstack/requests/orchestration/build_info.rb +0 -15
- data/lib/fog/openstack/requests/orchestration/create_stack.rb +0 -75
- data/lib/fog/openstack/requests/orchestration/delete_stack.rb +0 -58
- data/lib/fog/openstack/requests/orchestration/get_stack_template.rb +0 -20
- data/lib/fog/openstack/requests/orchestration/list_events.rb +0 -46
- data/lib/fog/openstack/requests/orchestration/list_resource_events.rb +0 -28
- data/lib/fog/openstack/requests/orchestration/list_resource_types.rb +0 -27
- data/lib/fog/openstack/requests/orchestration/list_resources.rb +0 -46
- data/lib/fog/openstack/requests/orchestration/list_stack_data.rb +0 -27
- data/lib/fog/openstack/requests/orchestration/list_stack_data_detailed.rb +0 -49
- data/lib/fog/openstack/requests/orchestration/list_stack_events.rb +0 -27
- data/lib/fog/openstack/requests/orchestration/patch_stack.rb +0 -37
- data/lib/fog/openstack/requests/orchestration/preview_stack.rb +0 -16
- data/lib/fog/openstack/requests/orchestration/show_event_details.rb +0 -26
- data/lib/fog/openstack/requests/orchestration/show_resource_data.rb +0 -26
- data/lib/fog/openstack/requests/orchestration/show_resource_metadata.rb +0 -26
- data/lib/fog/openstack/requests/orchestration/show_resource_schema.rb +0 -15
- data/lib/fog/openstack/requests/orchestration/show_resource_template.rb +0 -20
- data/lib/fog/openstack/requests/orchestration/show_stack_details.rb +0 -26
- data/lib/fog/openstack/requests/orchestration/update_stack.rb +0 -66
- data/lib/fog/openstack/requests/orchestration/validate_template.rb +0 -16
- data/lib/fog/openstack/requests/planning/add_role_to_plan.rb +0 -40
- data/lib/fog/openstack/requests/planning/create_plan.rb +0 -33
- data/lib/fog/openstack/requests/planning/delete_plan.rb +0 -23
- data/lib/fog/openstack/requests/planning/get_plan.rb +0 -58
- data/lib/fog/openstack/requests/planning/get_plan_templates.rb +0 -28
- data/lib/fog/openstack/requests/planning/list_plans.rb +0 -61
- data/lib/fog/openstack/requests/planning/list_roles.rb +0 -32
- data/lib/fog/openstack/requests/planning/patch_plan.rb +0 -51
- data/lib/fog/openstack/requests/planning/remove_role_from_plan.rb +0 -32
- data/lib/fog/openstack/requests/storage/copy_object.rb +0 -25
- data/lib/fog/openstack/requests/storage/delete_container.rb +0 -20
- data/lib/fog/openstack/requests/storage/delete_multiple_objects.rb +0 -65
- data/lib/fog/openstack/requests/storage/delete_object.rb +0 -21
- data/lib/fog/openstack/requests/storage/delete_static_large_object.rb +0 -41
- data/lib/fog/openstack/requests/storage/get_container.rb +0 -42
- data/lib/fog/openstack/requests/storage/get_containers.rb +0 -31
- data/lib/fog/openstack/requests/storage/get_object.rb +0 -27
- data/lib/fog/openstack/requests/storage/get_object_http_url.rb +0 -21
- data/lib/fog/openstack/requests/storage/get_object_https_url.rb +0 -81
- data/lib/fog/openstack/requests/storage/head_container.rb +0 -26
- data/lib/fog/openstack/requests/storage/head_containers.rb +0 -23
- data/lib/fog/openstack/requests/storage/head_object.rb +0 -21
- data/lib/fog/openstack/requests/storage/post_set_meta_temp_url_key.rb +0 -33
- data/lib/fog/openstack/requests/storage/public_url.rb +0 -28
- data/lib/fog/openstack/requests/storage/put_container.rb +0 -24
- data/lib/fog/openstack/requests/storage/put_dynamic_obj_manifest.rb +0 -41
- data/lib/fog/openstack/requests/storage/put_object.rb +0 -41
- data/lib/fog/openstack/requests/storage/put_object_manifest.rb +0 -14
- data/lib/fog/openstack/requests/storage/put_static_obj_manifest.rb +0 -55
- data/lib/fog/openstack/requests/volume/accept_transfer.rb +0 -22
- data/lib/fog/openstack/requests/volume/create_transfer.rb +0 -25
- data/lib/fog/openstack/requests/volume/create_volume.rb +0 -22
- data/lib/fog/openstack/requests/volume/create_volume_snapshot.rb +0 -26
- data/lib/fog/openstack/requests/volume/create_volume_type.rb +0 -41
- data/lib/fog/openstack/requests/volume/delete_snapshot.rb +0 -23
- data/lib/fog/openstack/requests/volume/delete_transfer.rb +0 -15
- data/lib/fog/openstack/requests/volume/delete_volume.rb +0 -23
- data/lib/fog/openstack/requests/volume/delete_volume_type.rb +0 -23
- data/lib/fog/openstack/requests/volume/extend_volume.rb +0 -25
- data/lib/fog/openstack/requests/volume/get_quota.rb +0 -26
- data/lib/fog/openstack/requests/volume/get_quota_defaults.rb +0 -26
- data/lib/fog/openstack/requests/volume/get_quota_usage.rb +0 -44
- data/lib/fog/openstack/requests/volume/get_snapshot_details.rb +0 -15
- data/lib/fog/openstack/requests/volume/get_transfer_details.rb +0 -17
- data/lib/fog/openstack/requests/volume/get_volume_details.rb +0 -16
- data/lib/fog/openstack/requests/volume/get_volume_type_details.rb +0 -32
- data/lib/fog/openstack/requests/volume/list_snapshots.rb +0 -41
- data/lib/fog/openstack/requests/volume/list_snapshots_detailed.rb +0 -27
- data/lib/fog/openstack/requests/volume/list_transfers.rb +0 -18
- data/lib/fog/openstack/requests/volume/list_transfers_detailed.rb +0 -18
- data/lib/fog/openstack/requests/volume/list_volume_types.rb +0 -41
- data/lib/fog/openstack/requests/volume/list_volumes.rb +0 -30
- data/lib/fog/openstack/requests/volume/list_volumes_detailed.rb +0 -16
- data/lib/fog/openstack/requests/volume/list_zones.rb +0 -32
- data/lib/fog/openstack/requests/volume/set_tenant.rb +0 -19
- data/lib/fog/openstack/requests/volume/update_quota.rb +0 -28
- data/lib/fog/openstack/requests/volume/update_volume_type.rb +0 -41
- data/lib/fog/openstack/requests/volume_v1/accept_transfer.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/create_transfer.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/create_volume.rb +0 -49
- data/lib/fog/openstack/requests/volume_v1/create_volume_snapshot.rb +0 -44
- data/lib/fog/openstack/requests/volume_v1/create_volume_type.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/delete_snapshot.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/delete_transfer.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/delete_volume.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/delete_volume_type.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/extend_volume.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/get_quota.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/get_quota_defaults.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/get_quota_usage.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/get_snapshot_details.rb +0 -32
- data/lib/fog/openstack/requests/volume_v1/get_transfer_details.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/get_volume_details.rb +0 -35
- data/lib/fog/openstack/requests/volume_v1/get_volume_type_details.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/list_snapshots.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/list_snapshots_detailed.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/list_transfers.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/list_transfers_detailed.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/list_volume_types.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/list_volumes.rb +0 -46
- data/lib/fog/openstack/requests/volume_v1/list_volumes_detailed.rb +0 -46
- data/lib/fog/openstack/requests/volume_v1/list_zones.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/real.rb +0 -11
- data/lib/fog/openstack/requests/volume_v1/real_mock.rb +0 -14
- data/lib/fog/openstack/requests/volume_v1/set_tenant.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/update_quota.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/accept_transfer.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/create_transfer.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/create_volume.rb +0 -49
- data/lib/fog/openstack/requests/volume_v2/create_volume_snapshot.rb +0 -43
- data/lib/fog/openstack/requests/volume_v2/create_volume_type.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/delete_snapshot.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/delete_transfer.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/delete_volume.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/delete_volume_type.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/extend_volume.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/get_quota.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/get_quota_defaults.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/get_quota_usage.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/get_snapshot_details.rb +0 -32
- data/lib/fog/openstack/requests/volume_v2/get_transfer_details.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/get_volume_details.rb +0 -35
- data/lib/fog/openstack/requests/volume_v2/get_volume_type_details.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/list_snapshots.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/list_snapshots_detailed.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/list_transfers.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/list_transfers_detailed.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/list_volume_types.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/list_volumes.rb +0 -46
- data/lib/fog/openstack/requests/volume_v2/list_volumes_detailed.rb +0 -46
- data/lib/fog/openstack/requests/volume_v2/list_zones.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/real.rb +0 -11
- data/lib/fog/openstack/requests/volume_v2/real_mock.rb +0 -14
- data/lib/fog/openstack/requests/volume_v2/set_tenant.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/update_quota.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/update_volume_type.rb +0 -2
- data/lib/fog/openstack/storage.rb +0 -182
- data/lib/fog/openstack/volume.rb +0 -31
- data/lib/fog/openstack/volume_v1.rb +0 -163
- data/lib/fog/openstack/volume_v2.rb +0 -164
- data/lib/fog/rackspace.rb +0 -16
- data/lib/fog/rackspace/auto_scale.rb +0 -134
- data/lib/fog/rackspace/block_storage.rb +0 -175
- data/lib/fog/rackspace/cdn.rb +0 -198
- data/lib/fog/rackspace/cdn_v2.rb +0 -123
- data/lib/fog/rackspace/compute.rb +0 -256
- data/lib/fog/rackspace/compute_v2.rb +0 -251
- data/lib/fog/rackspace/core.rb +0 -150
- data/lib/fog/rackspace/databases.rb +0 -164
- data/lib/fog/rackspace/dns.rb +0 -172
- data/lib/fog/rackspace/docs/auto_scale.md +0 -503
- data/lib/fog/rackspace/docs/block_storage.md +0 -417
- data/lib/fog/rackspace/docs/cdn_v2.md +0 -351
- data/lib/fog/rackspace/docs/compute_v2.md +0 -723
- data/lib/fog/rackspace/docs/getting_started.md +0 -88
- data/lib/fog/rackspace/docs/networking_v2.md +0 -422
- data/lib/fog/rackspace/docs/orchestration.md +0 -356
- data/lib/fog/rackspace/docs/queues.md +0 -312
- data/lib/fog/rackspace/docs/storage.md +0 -557
- data/lib/fog/rackspace/errors.rb +0 -33
- data/lib/fog/rackspace/examples/README.md +0 -47
- data/lib/fog/rackspace/examples/auto_scale/add_policy.rb +0 -66
- data/lib/fog/rackspace/examples/auto_scale/add_webhook.rb +0 -74
- data/lib/fog/rackspace/examples/auto_scale/create_scaling_group.rb +0 -111
- data/lib/fog/rackspace/examples/auto_scale/delete_policy.rb +0 -71
- data/lib/fog/rackspace/examples/auto_scale/delete_scaling_group.rb +0 -59
- data/lib/fog/rackspace/examples/auto_scale/delete_webhook.rb +0 -89
- data/lib/fog/rackspace/examples/block_storage/create_snapshot.rb +0 -116
- data/lib/fog/rackspace/examples/block_storage/create_volume.rb +0 -58
- data/lib/fog/rackspace/examples/block_storage/delete_volume.rb +0 -53
- data/lib/fog/rackspace/examples/compute_v2/bootstrap_server.rb +0 -96
- data/lib/fog/rackspace/examples/compute_v2/create_image.rb +0 -59
- data/lib/fog/rackspace/examples/compute_v2/create_network.rb +0 -81
- data/lib/fog/rackspace/examples/compute_v2/create_server.rb +0 -87
- data/lib/fog/rackspace/examples/compute_v2/delete_image.rb +0 -60
- data/lib/fog/rackspace/examples/compute_v2/delete_network.rb +0 -78
- data/lib/fog/rackspace/examples/compute_v2/delete_server.rb +0 -55
- data/lib/fog/rackspace/examples/compute_v2/detach_volume.rb +0 -93
- data/lib/fog/rackspace/examples/compute_v2/resize_server.rb +0 -106
- data/lib/fog/rackspace/examples/compute_v2/server_attachments.rb +0 -68
- data/lib/fog/rackspace/examples/compute_v2/server_metadata.rb +0 -83
- data/lib/fog/rackspace/examples/queues/claim_messages.rb +0 -60
- data/lib/fog/rackspace/examples/queues/create_queue.rb +0 -45
- data/lib/fog/rackspace/examples/queues/delete_message.rb +0 -71
- data/lib/fog/rackspace/examples/queues/delete_queue.rb +0 -53
- data/lib/fog/rackspace/examples/queues/list_messages.rb +0 -64
- data/lib/fog/rackspace/examples/queues/post_message.rb +0 -59
- data/lib/fog/rackspace/examples/storage/create_cdn_directory.rb +0 -43
- data/lib/fog/rackspace/examples/storage/create_private_directory.rb +0 -43
- data/lib/fog/rackspace/examples/storage/delete_directory.rb +0 -62
- data/lib/fog/rackspace/examples/storage/delete_file.rb +0 -70
- data/lib/fog/rackspace/examples/storage/download_file.rb +0 -75
- data/lib/fog/rackspace/examples/storage/lorem.txt +0 -1
- data/lib/fog/rackspace/examples/storage/storage_metadata.rb +0 -76
- data/lib/fog/rackspace/examples/storage/upload_file.rb +0 -44
- data/lib/fog/rackspace/examples/storage/upload_large_files.rb +0 -101
- data/lib/fog/rackspace/identity.rb +0 -83
- data/lib/fog/rackspace/load_balancers.rb +0 -206
- data/lib/fog/rackspace/mock_data.rb +0 -252
- data/lib/fog/rackspace/models/auto_scale/group.rb +0 -214
- data/lib/fog/rackspace/models/auto_scale/group_builder.rb +0 -86
- data/lib/fog/rackspace/models/auto_scale/group_config.rb +0 -76
- data/lib/fog/rackspace/models/auto_scale/groups.rb +0 -45
- data/lib/fog/rackspace/models/auto_scale/launch_config.rb +0 -61
- data/lib/fog/rackspace/models/auto_scale/policies.rb +0 -65
- data/lib/fog/rackspace/models/auto_scale/policy.rb +0 -220
- data/lib/fog/rackspace/models/auto_scale/webhook.rb +0 -116
- data/lib/fog/rackspace/models/auto_scale/webhooks.rb +0 -62
- data/lib/fog/rackspace/models/block_storage/snapshot.rb +0 -93
- data/lib/fog/rackspace/models/block_storage/snapshots.rb +0 -39
- data/lib/fog/rackspace/models/block_storage/volume.rb +0 -134
- data/lib/fog/rackspace/models/block_storage/volume_type.rb +0 -19
- data/lib/fog/rackspace/models/block_storage/volume_types.rb +0 -39
- data/lib/fog/rackspace/models/block_storage/volumes.rb +0 -39
- data/lib/fog/rackspace/models/cdn_v2/flavor.rb +0 -14
- data/lib/fog/rackspace/models/cdn_v2/flavors.rb +0 -24
- data/lib/fog/rackspace/models/cdn_v2/service.rb +0 -66
- data/lib/fog/rackspace/models/cdn_v2/services.rb +0 -24
- data/lib/fog/rackspace/models/compute/flavor.rb +0 -42
- data/lib/fog/rackspace/models/compute/flavors.rb +0 -24
- data/lib/fog/rackspace/models/compute/image.rb +0 -44
- data/lib/fog/rackspace/models/compute/images.rb +0 -31
- data/lib/fog/rackspace/models/compute/server.rb +0 -102
- data/lib/fog/rackspace/models/compute/servers.rb +0 -32
- data/lib/fog/rackspace/models/compute_v2/attachment.rb +0 -61
- data/lib/fog/rackspace/models/compute_v2/attachments.rb +0 -38
- data/lib/fog/rackspace/models/compute_v2/flavor.rb +0 -33
- data/lib/fog/rackspace/models/compute_v2/flavors.rb +0 -39
- data/lib/fog/rackspace/models/compute_v2/image.rb +0 -117
- data/lib/fog/rackspace/models/compute_v2/images.rb +0 -73
- data/lib/fog/rackspace/models/compute_v2/key_pair.rb +0 -54
- data/lib/fog/rackspace/models/compute_v2/key_pairs.rb +0 -40
- data/lib/fog/rackspace/models/compute_v2/meta_parent.rb +0 -40
- data/lib/fog/rackspace/models/compute_v2/metadata.rb +0 -108
- data/lib/fog/rackspace/models/compute_v2/metadatum.rb +0 -39
- data/lib/fog/rackspace/models/compute_v2/network.rb +0 -27
- data/lib/fog/rackspace/models/compute_v2/networks.rb +0 -23
- data/lib/fog/rackspace/models/compute_v2/server.rb +0 -655
- data/lib/fog/rackspace/models/compute_v2/servers.rb +0 -64
- data/lib/fog/rackspace/models/compute_v2/virtual_interface.rb +0 -85
- data/lib/fog/rackspace/models/compute_v2/virtual_interfaces.rb +0 -46
- data/lib/fog/rackspace/models/databases/database.rb +0 -43
- data/lib/fog/rackspace/models/databases/databases.rb +0 -30
- data/lib/fog/rackspace/models/databases/flavor.rb +0 -15
- data/lib/fog/rackspace/models/databases/flavors.rb +0 -24
- data/lib/fog/rackspace/models/databases/instance.rb +0 -104
- data/lib/fog/rackspace/models/databases/instances.rb +0 -24
- data/lib/fog/rackspace/models/databases/user.rb +0 -33
- data/lib/fog/rackspace/models/databases/users.rb +0 -30
- data/lib/fog/rackspace/models/dns/callback.rb +0 -28
- data/lib/fog/rackspace/models/dns/record.rb +0 -98
- data/lib/fog/rackspace/models/dns/records.rb +0 -58
- data/lib/fog/rackspace/models/dns/zone.rb +0 -66
- data/lib/fog/rackspace/models/dns/zones.rb +0 -74
- data/lib/fog/rackspace/models/identity/credential.rb +0 -13
- data/lib/fog/rackspace/models/identity/credentials.rb +0 -32
- data/lib/fog/rackspace/models/identity/role.rb +0 -14
- data/lib/fog/rackspace/models/identity/roles.rb +0 -31
- data/lib/fog/rackspace/models/identity/service_catalog.rb +0 -84
- data/lib/fog/rackspace/models/identity/tenant.rb +0 -15
- data/lib/fog/rackspace/models/identity/tenants.rb +0 -27
- data/lib/fog/rackspace/models/identity/user.rb +0 -53
- data/lib/fog/rackspace/models/identity/users.rb +0 -35
- data/lib/fog/rackspace/models/load_balancers/access_rule.rb +0 -38
- data/lib/fog/rackspace/models/load_balancers/access_rules.rb +0 -29
- data/lib/fog/rackspace/models/load_balancers/load_balancer.rb +0 -286
- data/lib/fog/rackspace/models/load_balancers/load_balancers.rb +0 -25
- data/lib/fog/rackspace/models/load_balancers/node.rb +0 -65
- data/lib/fog/rackspace/models/load_balancers/nodes.rb +0 -29
- data/lib/fog/rackspace/models/load_balancers/virtual_ip.rb +0 -34
- data/lib/fog/rackspace/models/load_balancers/virtual_ips.rb +0 -32
- data/lib/fog/rackspace/models/monitoring/agent_token.rb +0 -38
- data/lib/fog/rackspace/models/monitoring/agent_tokens.rb +0 -29
- data/lib/fog/rackspace/models/monitoring/alarm.rb +0 -58
- data/lib/fog/rackspace/models/monitoring/alarm_example.rb +0 -24
- data/lib/fog/rackspace/models/monitoring/alarm_examples.rb +0 -29
- data/lib/fog/rackspace/models/monitoring/alarms.rb +0 -41
- data/lib/fog/rackspace/models/monitoring/base.rb +0 -29
- data/lib/fog/rackspace/models/monitoring/check.rb +0 -72
- data/lib/fog/rackspace/models/monitoring/check_type.rb +0 -15
- data/lib/fog/rackspace/models/monitoring/check_types.rb +0 -21
- data/lib/fog/rackspace/models/monitoring/checks.rb +0 -41
- data/lib/fog/rackspace/models/monitoring/data_point.rb +0 -18
- data/lib/fog/rackspace/models/monitoring/data_points.rb +0 -47
- data/lib/fog/rackspace/models/monitoring/entities.rb +0 -47
- data/lib/fog/rackspace/models/monitoring/entity.rb +0 -62
- data/lib/fog/rackspace/models/monitoring/metric.rb +0 -22
- data/lib/fog/rackspace/models/monitoring/metrics.rb +0 -25
- data/lib/fog/rackspace/models/monitoring/notification.rb +0 -40
- data/lib/fog/rackspace/models/monitoring/notifications.rb +0 -28
- data/lib/fog/rackspace/models/networking/network.rb +0 -27
- data/lib/fog/rackspace/models/networking/networks.rb +0 -23
- data/lib/fog/rackspace/models/networking/virtual_interface.rb +0 -85
- data/lib/fog/rackspace/models/networking/virtual_interfaces.rb +0 -45
- data/lib/fog/rackspace/models/networking_v2/network.rb +0 -36
- data/lib/fog/rackspace/models/networking_v2/networks.rb +0 -23
- data/lib/fog/rackspace/models/networking_v2/port.rb +0 -39
- data/lib/fog/rackspace/models/networking_v2/ports.rb +0 -23
- data/lib/fog/rackspace/models/networking_v2/security_group.rb +0 -32
- data/lib/fog/rackspace/models/networking_v2/security_group_rule.rb +0 -38
- data/lib/fog/rackspace/models/networking_v2/security_group_rules.rb +0 -23
- data/lib/fog/rackspace/models/networking_v2/security_groups.rb +0 -23
- data/lib/fog/rackspace/models/networking_v2/subnet.rb +0 -38
- data/lib/fog/rackspace/models/networking_v2/subnets.rb +0 -23
- data/lib/fog/rackspace/models/orchestration/event.rb +0 -18
- data/lib/fog/rackspace/models/orchestration/events.rb +0 -28
- data/lib/fog/rackspace/models/orchestration/resource.rb +0 -30
- data/lib/fog/rackspace/models/orchestration/resource_schemas.rb +0 -16
- data/lib/fog/rackspace/models/orchestration/resources.rb +0 -35
- data/lib/fog/rackspace/models/orchestration/stack.rb +0 -48
- data/lib/fog/rackspace/models/orchestration/stacks.rb +0 -40
- data/lib/fog/rackspace/models/orchestration/template.rb +0 -13
- data/lib/fog/rackspace/models/orchestration/templates.rb +0 -31
- data/lib/fog/rackspace/models/queues/claim.rb +0 -139
- data/lib/fog/rackspace/models/queues/claims.rb +0 -64
- data/lib/fog/rackspace/models/queues/message.rb +0 -88
- data/lib/fog/rackspace/models/queues/messages.rb +0 -90
- data/lib/fog/rackspace/models/queues/queue.rb +0 -135
- data/lib/fog/rackspace/models/queues/queues.rb +0 -46
- data/lib/fog/rackspace/models/storage/account.rb +0 -50
- data/lib/fog/rackspace/models/storage/directories.rb +0 -62
- data/lib/fog/rackspace/models/storage/directory.rb +0 -194
- data/lib/fog/rackspace/models/storage/file.rb +0 -286
- data/lib/fog/rackspace/models/storage/files.rb +0 -201
- data/lib/fog/rackspace/models/storage/metadata.rb +0 -165
- data/lib/fog/rackspace/monitoring.rb +0 -184
- data/lib/fog/rackspace/networking.rb +0 -192
- data/lib/fog/rackspace/networking_v2.rb +0 -222
- data/lib/fog/rackspace/orchestration.rb +0 -227
- data/lib/fog/rackspace/queues.rb +0 -406
- data/lib/fog/rackspace/requests/auto_scale/create_group.rb +0 -58
- data/lib/fog/rackspace/requests/auto_scale/create_policy.rb +0 -42
- data/lib/fog/rackspace/requests/auto_scale/create_webhook.rb +0 -54
- data/lib/fog/rackspace/requests/auto_scale/delete_group.rb +0 -22
- data/lib/fog/rackspace/requests/auto_scale/delete_policy.rb +0 -29
- data/lib/fog/rackspace/requests/auto_scale/delete_webhook.rb +0 -33
- data/lib/fog/rackspace/requests/auto_scale/execute_anonymous_webhook.rb +0 -21
- data/lib/fog/rackspace/requests/auto_scale/execute_policy.rb +0 -21
- data/lib/fog/rackspace/requests/auto_scale/get_group.rb +0 -26
- data/lib/fog/rackspace/requests/auto_scale/get_group_config.rb +0 -27
- data/lib/fog/rackspace/requests/auto_scale/get_group_state.rb +0 -58
- data/lib/fog/rackspace/requests/auto_scale/get_launch_config.rb +0 -27
- data/lib/fog/rackspace/requests/auto_scale/get_policy.rb +0 -31
- data/lib/fog/rackspace/requests/auto_scale/get_webhook.rb +0 -36
- data/lib/fog/rackspace/requests/auto_scale/list_groups.rb +0 -34
- data/lib/fog/rackspace/requests/auto_scale/list_policies.rb +0 -22
- data/lib/fog/rackspace/requests/auto_scale/list_webhooks.rb +0 -31
- data/lib/fog/rackspace/requests/auto_scale/pause_group_state.rb +0 -22
- data/lib/fog/rackspace/requests/auto_scale/resume_group_state.rb +0 -21
- data/lib/fog/rackspace/requests/auto_scale/update_group_config.rb +0 -37
- data/lib/fog/rackspace/requests/auto_scale/update_launch_config.rb +0 -34
- data/lib/fog/rackspace/requests/auto_scale/update_policy.rb +0 -31
- data/lib/fog/rackspace/requests/auto_scale/update_webhook.rb +0 -41
- data/lib/fog/rackspace/requests/block_storage/create_snapshot.rb +0 -77
- data/lib/fog/rackspace/requests/block_storage/create_volume.rb +0 -96
- data/lib/fog/rackspace/requests/block_storage/delete_snapshot.rb +0 -31
- data/lib/fog/rackspace/requests/block_storage/delete_volume.rb +0 -42
- data/lib/fog/rackspace/requests/block_storage/get_snapshot.rb +0 -45
- data/lib/fog/rackspace/requests/block_storage/get_volume.rb +0 -55
- data/lib/fog/rackspace/requests/block_storage/get_volume_type.rb +0 -41
- data/lib/fog/rackspace/requests/block_storage/list_snapshots.rb +0 -39
- data/lib/fog/rackspace/requests/block_storage/list_volume_types.rb +0 -34
- data/lib/fog/rackspace/requests/block_storage/list_volumes.rb +0 -42
- data/lib/fog/rackspace/requests/cdn/delete_object.rb +0 -39
- data/lib/fog/rackspace/requests/cdn/get_containers.rb +0 -66
- data/lib/fog/rackspace/requests/cdn/head_container.rb +0 -58
- data/lib/fog/rackspace/requests/cdn/post_container.rb +0 -52
- data/lib/fog/rackspace/requests/cdn/put_container.rb +0 -52
- data/lib/fog/rackspace/requests/cdn_v2/create_service.rb +0 -10
- data/lib/fog/rackspace/requests/cdn_v2/delete_assets.rb +0 -12
- data/lib/fog/rackspace/requests/cdn_v2/delete_service.rb +0 -9
- data/lib/fog/rackspace/requests/cdn_v2/get_flavor.rb +0 -9
- data/lib/fog/rackspace/requests/cdn_v2/get_home_document.rb +0 -9
- data/lib/fog/rackspace/requests/cdn_v2/get_ping.rb +0 -10
- data/lib/fog/rackspace/requests/cdn_v2/get_service.rb +0 -9
- data/lib/fog/rackspace/requests/cdn_v2/list_flavors.rb +0 -9
- data/lib/fog/rackspace/requests/cdn_v2/list_services.rb +0 -9
- data/lib/fog/rackspace/requests/cdn_v2/update_service.rb +0 -13
- data/lib/fog/rackspace/requests/compute/confirm_resized_server.rb +0 -30
- data/lib/fog/rackspace/requests/compute/create_image.rb +0 -56
- data/lib/fog/rackspace/requests/compute/create_server.rb +0 -90
- data/lib/fog/rackspace/requests/compute/delete_image.rb +0 -40
- data/lib/fog/rackspace/requests/compute/delete_server.rb +0 -39
- data/lib/fog/rackspace/requests/compute/get_flavor_details.rb +0 -48
- data/lib/fog/rackspace/requests/compute/get_image_details.rb +0 -25
- data/lib/fog/rackspace/requests/compute/get_server_details.rb +0 -48
- data/lib/fog/rackspace/requests/compute/list_addresses.rb +0 -39
- data/lib/fog/rackspace/requests/compute/list_flavors.rb +0 -41
- data/lib/fog/rackspace/requests/compute/list_flavors_detail.rb +0 -43
- data/lib/fog/rackspace/requests/compute/list_images.rb +0 -36
- data/lib/fog/rackspace/requests/compute/list_images_detail.rb +0 -45
- data/lib/fog/rackspace/requests/compute/list_private_addresses.rb +0 -37
- data/lib/fog/rackspace/requests/compute/list_public_addresses.rb +0 -37
- data/lib/fog/rackspace/requests/compute/list_servers.rb +0 -37
- data/lib/fog/rackspace/requests/compute/list_servers_detail.rb +0 -52
- data/lib/fog/rackspace/requests/compute/reboot_server.rb +0 -26
- data/lib/fog/rackspace/requests/compute/resize_server.rb +0 -35
- data/lib/fog/rackspace/requests/compute/revert_resized_server.rb +0 -31
- data/lib/fog/rackspace/requests/compute/server_action.rb +0 -23
- data/lib/fog/rackspace/requests/compute/update_server.rb +0 -41
- data/lib/fog/rackspace/requests/compute_v2/attach_volume.rb +0 -78
- data/lib/fog/rackspace/requests/compute_v2/change_server_password.rb +0 -38
- data/lib/fog/rackspace/requests/compute_v2/confirm_resize_server.rb +0 -41
- data/lib/fog/rackspace/requests/compute_v2/create_image.rb +0 -97
- data/lib/fog/rackspace/requests/compute_v2/create_keypair.rb +0 -62
- data/lib/fog/rackspace/requests/compute_v2/create_network.rb +0 -36
- data/lib/fog/rackspace/requests/compute_v2/create_server.rb +0 -243
- data/lib/fog/rackspace/requests/compute_v2/create_virtual_interface.rb +0 -30
- data/lib/fog/rackspace/requests/compute_v2/delete_attachment.rb +0 -39
- data/lib/fog/rackspace/requests/compute_v2/delete_image.rb +0 -32
- data/lib/fog/rackspace/requests/compute_v2/delete_keypair.rb +0 -34
- data/lib/fog/rackspace/requests/compute_v2/delete_metadata_item.rb +0 -36
- data/lib/fog/rackspace/requests/compute_v2/delete_network.rb +0 -21
- data/lib/fog/rackspace/requests/compute_v2/delete_server.rb +0 -35
- data/lib/fog/rackspace/requests/compute_v2/delete_virtual_interface.rb +0 -23
- data/lib/fog/rackspace/requests/compute_v2/get_attachment.rb +0 -38
- data/lib/fog/rackspace/requests/compute_v2/get_flavor.rb +0 -43
- data/lib/fog/rackspace/requests/compute_v2/get_image.rb +0 -47
- data/lib/fog/rackspace/requests/compute_v2/get_keypair.rb +0 -39
- data/lib/fog/rackspace/requests/compute_v2/get_metadata_item.rb +0 -38
- data/lib/fog/rackspace/requests/compute_v2/get_network.rb +0 -21
- data/lib/fog/rackspace/requests/compute_v2/get_server.rb +0 -63
- data/lib/fog/rackspace/requests/compute_v2/get_vnc_console.rb +0 -45
- data/lib/fog/rackspace/requests/compute_v2/list_addresses.rb +0 -39
- data/lib/fog/rackspace/requests/compute_v2/list_addresses_by_network.rb +0 -48
- data/lib/fog/rackspace/requests/compute_v2/list_attachments.rb +0 -37
- data/lib/fog/rackspace/requests/compute_v2/list_flavors.rb +0 -35
- data/lib/fog/rackspace/requests/compute_v2/list_flavors_detail.rb +0 -38
- data/lib/fog/rackspace/requests/compute_v2/list_images.rb +0 -45
- data/lib/fog/rackspace/requests/compute_v2/list_images_detail.rb +0 -52
- data/lib/fog/rackspace/requests/compute_v2/list_keypairs.rb +0 -35
- data/lib/fog/rackspace/requests/compute_v2/list_metadata.rb +0 -37
- data/lib/fog/rackspace/requests/compute_v2/list_networks.rb +0 -18
- data/lib/fog/rackspace/requests/compute_v2/list_servers.rb +0 -56
- data/lib/fog/rackspace/requests/compute_v2/list_virtual_interfaces.rb +0 -22
- data/lib/fog/rackspace/requests/compute_v2/reboot_server.rb +0 -44
- data/lib/fog/rackspace/requests/compute_v2/rebuild_server.rb +0 -71
- data/lib/fog/rackspace/requests/compute_v2/rescue_server.rb +0 -43
- data/lib/fog/rackspace/requests/compute_v2/resize_server.rb +0 -44
- data/lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb +0 -42
- data/lib/fog/rackspace/requests/compute_v2/set_metadata.rb +0 -39
- data/lib/fog/rackspace/requests/compute_v2/set_metadata_item.rb +0 -40
- data/lib/fog/rackspace/requests/compute_v2/unrescue_server.rb +0 -40
- data/lib/fog/rackspace/requests/compute_v2/update_metadata.rb +0 -39
- data/lib/fog/rackspace/requests/compute_v2/update_server.rb +0 -44
- data/lib/fog/rackspace/requests/databases/check_root_user.rb +0 -15
- data/lib/fog/rackspace/requests/databases/create_database.rb +0 -24
- data/lib/fog/rackspace/requests/databases/create_instance.rb +0 -28
- data/lib/fog/rackspace/requests/databases/create_user.rb +0 -25
- data/lib/fog/rackspace/requests/databases/delete_database.rb +0 -15
- data/lib/fog/rackspace/requests/databases/delete_instance.rb +0 -15
- data/lib/fog/rackspace/requests/databases/delete_user.rb +0 -15
- data/lib/fog/rackspace/requests/databases/enable_root_user.rb +0 -15
- data/lib/fog/rackspace/requests/databases/get_flavor.rb +0 -15
- data/lib/fog/rackspace/requests/databases/get_instance.rb +0 -15
- data/lib/fog/rackspace/requests/databases/grant_user_access.rb +0 -32
- data/lib/fog/rackspace/requests/databases/list_databases.rb +0 -15
- data/lib/fog/rackspace/requests/databases/list_flavors.rb +0 -15
- data/lib/fog/rackspace/requests/databases/list_instances.rb +0 -15
- data/lib/fog/rackspace/requests/databases/list_users.rb +0 -15
- data/lib/fog/rackspace/requests/databases/resize_instance.rb +0 -22
- data/lib/fog/rackspace/requests/databases/resize_instance_volume.rb +0 -24
- data/lib/fog/rackspace/requests/databases/restart_instance.rb +0 -20
- data/lib/fog/rackspace/requests/databases/revoke_user_access.rb +0 -26
- data/lib/fog/rackspace/requests/dns/add_records.rb +0 -37
- data/lib/fog/rackspace/requests/dns/callback.rb +0 -18
- data/lib/fog/rackspace/requests/dns/create_domains.rb +0 -48
- data/lib/fog/rackspace/requests/dns/list_domain_details.rb +0 -31
- data/lib/fog/rackspace/requests/dns/list_domains.rb +0 -20
- data/lib/fog/rackspace/requests/dns/list_record_details.rb +0 -20
- data/lib/fog/rackspace/requests/dns/list_records.rb +0 -22
- data/lib/fog/rackspace/requests/dns/list_subdomains.rb +0 -22
- data/lib/fog/rackspace/requests/dns/modify_domain.rb +0 -35
- data/lib/fog/rackspace/requests/dns/modify_record.rb +0 -36
- data/lib/fog/rackspace/requests/dns/remove_domain.rb +0 -28
- data/lib/fog/rackspace/requests/dns/remove_domains.rb +0 -26
- data/lib/fog/rackspace/requests/dns/remove_record.rb +0 -20
- data/lib/fog/rackspace/requests/dns/remove_records.rb +0 -19
- data/lib/fog/rackspace/requests/identity/create_token.rb +0 -222
- data/lib/fog/rackspace/requests/identity/create_user.rb +0 -25
- data/lib/fog/rackspace/requests/identity/delete_user.rb +0 -15
- data/lib/fog/rackspace/requests/identity/get_user_by_id.rb +0 -15
- data/lib/fog/rackspace/requests/identity/get_user_by_name.rb +0 -15
- data/lib/fog/rackspace/requests/identity/list_credentials.rb +0 -22
- data/lib/fog/rackspace/requests/identity/list_tenants.rb +0 -45
- data/lib/fog/rackspace/requests/identity/list_user_roles.rb +0 -22
- data/lib/fog/rackspace/requests/identity/list_users.rb +0 -22
- data/lib/fog/rackspace/requests/identity/update_user.rb +0 -24
- data/lib/fog/rackspace/requests/load_balancers/create_access_rule.rb +0 -24
- data/lib/fog/rackspace/requests/load_balancers/create_load_balancer.rb +0 -109
- data/lib/fog/rackspace/requests/load_balancers/create_node.rb +0 -30
- data/lib/fog/rackspace/requests/load_balancers/create_virtual_ip.rb +0 -20
- data/lib/fog/rackspace/requests/load_balancers/delete_access_rule.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/delete_all_access_rules.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/delete_load_balancer.rb +0 -23
- data/lib/fog/rackspace/requests/load_balancers/delete_node.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/delete_nodes.rb +0 -16
- data/lib/fog/rackspace/requests/load_balancers/delete_virtual_ip.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/get_connection_logging.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/get_connection_throttling.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/get_content_caching.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/get_error_page.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/get_load_balancer.rb +0 -44
- data/lib/fog/rackspace/requests/load_balancers/get_load_balancer_usage.rb +0 -21
- data/lib/fog/rackspace/requests/load_balancers/get_monitor.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/get_node.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/get_session_persistence.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/get_ssl_termination.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/get_stats.rb +0 -30
- data/lib/fog/rackspace/requests/load_balancers/get_usage.rb +0 -20
- data/lib/fog/rackspace/requests/load_balancers/list_access_rules.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/list_algorithms.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/list_load_balancers.rb +0 -21
- data/lib/fog/rackspace/requests/load_balancers/list_nodes.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/list_protocols.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/list_virtual_ips.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/remove_connection_throttling.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/remove_error_page.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/remove_monitor.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/remove_session_persistence.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/remove_ssl_termination.rb +0 -15
- data/lib/fog/rackspace/requests/load_balancers/set_connection_logging.rb +0 -21
- data/lib/fog/rackspace/requests/load_balancers/set_connection_throttling.rb +0 -22
- data/lib/fog/rackspace/requests/load_balancers/set_content_caching.rb +0 -21
- data/lib/fog/rackspace/requests/load_balancers/set_error_page.rb +0 -21
- data/lib/fog/rackspace/requests/load_balancers/set_monitor.rb +0 -31
- data/lib/fog/rackspace/requests/load_balancers/set_session_persistence.rb +0 -21
- data/lib/fog/rackspace/requests/load_balancers/set_ssl_termination.rb +0 -31
- data/lib/fog/rackspace/requests/load_balancers/update_load_balancer.rb +0 -26
- data/lib/fog/rackspace/requests/load_balancers/update_node.rb +0 -29
- data/lib/fog/rackspace/requests/monitoring/create_agent_token.rb +0 -47
- data/lib/fog/rackspace/requests/monitoring/create_alarm.rb +0 -47
- data/lib/fog/rackspace/requests/monitoring/create_check.rb +0 -47
- data/lib/fog/rackspace/requests/monitoring/create_entity.rb +0 -47
- data/lib/fog/rackspace/requests/monitoring/create_notification.rb +0 -17
- data/lib/fog/rackspace/requests/monitoring/delete_agent_token.rb +0 -45
- data/lib/fog/rackspace/requests/monitoring/delete_alarm.rb +0 -41
- data/lib/fog/rackspace/requests/monitoring/delete_check.rb +0 -40
- data/lib/fog/rackspace/requests/monitoring/delete_entity.rb +0 -40
- data/lib/fog/rackspace/requests/monitoring/delete_notification.rb +0 -15
- data/lib/fog/rackspace/requests/monitoring/evaluate_alarm_example.rb +0 -18
- data/lib/fog/rackspace/requests/monitoring/get_agent.rb +0 -44
- data/lib/fog/rackspace/requests/monitoring/get_agent_token.rb +0 -47
- data/lib/fog/rackspace/requests/monitoring/get_alarm.rb +0 -51
- data/lib/fog/rackspace/requests/monitoring/get_alarm_example.rb +0 -15
- data/lib/fog/rackspace/requests/monitoring/get_check.rb +0 -56
- data/lib/fog/rackspace/requests/monitoring/get_cpus_info.rb +0 -61
- data/lib/fog/rackspace/requests/monitoring/get_disks_info.rb +0 -54
- data/lib/fog/rackspace/requests/monitoring/get_entity.rb +0 -55
- data/lib/fog/rackspace/requests/monitoring/get_filesystems_info.rb +0 -62
- data/lib/fog/rackspace/requests/monitoring/get_logged_in_user_info.rb +0 -56
- data/lib/fog/rackspace/requests/monitoring/get_memory_info.rb +0 -57
- data/lib/fog/rackspace/requests/monitoring/get_monitoring_zone.rb +0 -15
- data/lib/fog/rackspace/requests/monitoring/get_network_interfaces_info.rb +0 -89
- data/lib/fog/rackspace/requests/monitoring/get_notification.rb +0 -46
- data/lib/fog/rackspace/requests/monitoring/get_processes_info.rb +0 -70
- data/lib/fog/rackspace/requests/monitoring/get_system_info.rb +0 -51
- data/lib/fog/rackspace/requests/monitoring/list_agent_tokens.rb +0 -55
- data/lib/fog/rackspace/requests/monitoring/list_agents.rb +0 -61
- data/lib/fog/rackspace/requests/monitoring/list_alarm_examples.rb +0 -15
- data/lib/fog/rackspace/requests/monitoring/list_alarms.rb +0 -64
- data/lib/fog/rackspace/requests/monitoring/list_check_types.rb +0 -86
- data/lib/fog/rackspace/requests/monitoring/list_checks.rb +0 -70
- data/lib/fog/rackspace/requests/monitoring/list_data_points.rb +0 -51
- data/lib/fog/rackspace/requests/monitoring/list_entities.rb +0 -70
- data/lib/fog/rackspace/requests/monitoring/list_metrics.rb +0 -80
- data/lib/fog/rackspace/requests/monitoring/list_monitoring_zones.rb +0 -15
- data/lib/fog/rackspace/requests/monitoring/list_notification_plans.rb +0 -70
- data/lib/fog/rackspace/requests/monitoring/list_notifications.rb +0 -63
- data/lib/fog/rackspace/requests/monitoring/list_overview.rb +0 -111
- data/lib/fog/rackspace/requests/monitoring/update_alarm.rb +0 -45
- data/lib/fog/rackspace/requests/monitoring/update_check.rb +0 -45
- data/lib/fog/rackspace/requests/monitoring/update_entity.rb +0 -45
- data/lib/fog/rackspace/requests/monitoring/update_notification.rb +0 -16
- data/lib/fog/rackspace/requests/networking/create_network.rb +0 -36
- data/lib/fog/rackspace/requests/networking/create_virtual_interface.rb +0 -30
- data/lib/fog/rackspace/requests/networking/delete_network.rb +0 -21
- data/lib/fog/rackspace/requests/networking/delete_virtual_interface.rb +0 -23
- data/lib/fog/rackspace/requests/networking/get_network.rb +0 -21
- data/lib/fog/rackspace/requests/networking/list_networks.rb +0 -18
- data/lib/fog/rackspace/requests/networking/list_virtual_interfaces.rb +0 -22
- data/lib/fog/rackspace/requests/networking_v2/create_network.rb +0 -18
- data/lib/fog/rackspace/requests/networking_v2/create_port.rb +0 -18
- data/lib/fog/rackspace/requests/networking_v2/create_security_group.rb +0 -12
- data/lib/fog/rackspace/requests/networking_v2/create_security_group_rule.rb +0 -12
- data/lib/fog/rackspace/requests/networking_v2/create_subnet.rb +0 -18
- data/lib/fog/rackspace/requests/networking_v2/delete_network.rb +0 -11
- data/lib/fog/rackspace/requests/networking_v2/delete_port.rb +0 -11
- data/lib/fog/rackspace/requests/networking_v2/delete_security_group.rb +0 -5
- data/lib/fog/rackspace/requests/networking_v2/delete_security_group_rule.rb +0 -5
- data/lib/fog/rackspace/requests/networking_v2/delete_subnet.rb +0 -11
- data/lib/fog/rackspace/requests/networking_v2/list_networks.rb +0 -11
- data/lib/fog/rackspace/requests/networking_v2/list_ports.rb +0 -11
- data/lib/fog/rackspace/requests/networking_v2/list_security_group_rules.rb +0 -5
- data/lib/fog/rackspace/requests/networking_v2/list_security_groups.rb +0 -5
- data/lib/fog/rackspace/requests/networking_v2/list_subnets.rb +0 -11
- data/lib/fog/rackspace/requests/networking_v2/show_network.rb +0 -11
- data/lib/fog/rackspace/requests/networking_v2/show_port.rb +0 -11
- data/lib/fog/rackspace/requests/networking_v2/show_security_group.rb +0 -5
- data/lib/fog/rackspace/requests/networking_v2/show_security_group_rule.rb +0 -5
- data/lib/fog/rackspace/requests/networking_v2/show_subnet.rb +0 -11
- data/lib/fog/rackspace/requests/networking_v2/update_network.rb +0 -18
- data/lib/fog/rackspace/requests/networking_v2/update_port.rb +0 -18
- data/lib/fog/rackspace/requests/networking_v2/update_security_group.rb +0 -12
- data/lib/fog/rackspace/requests/networking_v2/update_subnet.rb +0 -23
- data/lib/fog/rackspace/requests/orchestration/abandon_stack.rb +0 -15
- data/lib/fog/rackspace/requests/orchestration/build_info.rb +0 -15
- data/lib/fog/rackspace/requests/orchestration/create_stack.rb +0 -16
- data/lib/fog/rackspace/requests/orchestration/delete_stack.rb +0 -15
- data/lib/fog/rackspace/requests/orchestration/get_stack_template.rb +0 -20
- data/lib/fog/rackspace/requests/orchestration/list_resource_events.rb +0 -19
- data/lib/fog/rackspace/requests/orchestration/list_resource_types.rb +0 -22
- data/lib/fog/rackspace/requests/orchestration/list_resources.rb +0 -19
- data/lib/fog/rackspace/requests/orchestration/list_stack_data.rb +0 -22
- data/lib/fog/rackspace/requests/orchestration/list_stack_events.rb +0 -19
- data/lib/fog/rackspace/requests/orchestration/preview_stack.rb +0 -16
- data/lib/fog/rackspace/requests/orchestration/show_event_details.rb +0 -22
- data/lib/fog/rackspace/requests/orchestration/show_resource_data.rb +0 -22
- data/lib/fog/rackspace/requests/orchestration/show_resource_metadata.rb +0 -22
- data/lib/fog/rackspace/requests/orchestration/show_resource_schema.rb +0 -15
- data/lib/fog/rackspace/requests/orchestration/show_resource_template.rb +0 -20
- data/lib/fog/rackspace/requests/orchestration/show_stack_details.rb +0 -22
- data/lib/fog/rackspace/requests/orchestration/update_stack.rb +0 -16
- data/lib/fog/rackspace/requests/orchestration/validate_template.rb +0 -16
- data/lib/fog/rackspace/requests/queues/create_claim.rb +0 -72
- data/lib/fog/rackspace/requests/queues/create_message.rb +0 -56
- data/lib/fog/rackspace/requests/queues/create_queue.rb +0 -39
- data/lib/fog/rackspace/requests/queues/delete_claim.rb +0 -42
- data/lib/fog/rackspace/requests/queues/delete_message.rb +0 -62
- data/lib/fog/rackspace/requests/queues/delete_queue.rb +0 -33
- data/lib/fog/rackspace/requests/queues/get_claim.rb +0 -37
- data/lib/fog/rackspace/requests/queues/get_message.rb +0 -41
- data/lib/fog/rackspace/requests/queues/get_queue.rb +0 -36
- data/lib/fog/rackspace/requests/queues/get_queue_stats.rb +0 -57
- data/lib/fog/rackspace/requests/queues/list_messages.rb +0 -73
- data/lib/fog/rackspace/requests/queues/list_queues.rb +0 -62
- data/lib/fog/rackspace/requests/queues/update_claim.rb +0 -39
- data/lib/fog/rackspace/requests/storage/copy_object.rb +0 -29
- data/lib/fog/rackspace/requests/storage/delete_container.rb +0 -36
- data/lib/fog/rackspace/requests/storage/delete_multiple_objects.rb +0 -128
- data/lib/fog/rackspace/requests/storage/delete_object.rb +0 -36
- data/lib/fog/rackspace/requests/storage/delete_static_large_object.rb +0 -78
- data/lib/fog/rackspace/requests/storage/extract_archive.rb +0 -37
- data/lib/fog/rackspace/requests/storage/get_container.rb +0 -69
- data/lib/fog/rackspace/requests/storage/get_containers.rb +0 -51
- data/lib/fog/rackspace/requests/storage/get_object.rb +0 -54
- data/lib/fog/rackspace/requests/storage/get_object_http_url.rb +0 -35
- data/lib/fog/rackspace/requests/storage/get_object_https_url.rb +0 -71
- data/lib/fog/rackspace/requests/storage/head_container.rb +0 -41
- data/lib/fog/rackspace/requests/storage/head_containers.rb +0 -44
- data/lib/fog/rackspace/requests/storage/head_object.rb +0 -48
- data/lib/fog/rackspace/requests/storage/post_set_meta_temp_url_key.rb +0 -46
- data/lib/fog/rackspace/requests/storage/put_container.rb +0 -42
- data/lib/fog/rackspace/requests/storage/put_dynamic_obj_manifest.rb +0 -63
- data/lib/fog/rackspace/requests/storage/put_object.rb +0 -77
- data/lib/fog/rackspace/requests/storage/put_object_manifest.rb +0 -22
- data/lib/fog/rackspace/requests/storage/put_static_obj_manifest.rb +0 -102
- data/lib/fog/rackspace/service.rb +0 -142
- data/lib/fog/rackspace/storage.rb +0 -465
- data/spec/fog/bin/hp_spec.rb +0 -10
- data/spec/fog/openstack/identity_v3/authv3_a.yml +0 -74
- data/spec/fog/openstack/identity_v3/authv3_b.yml +0 -74
- data/spec/fog/openstack/identity_v3/authv3_c.yml +0 -419
- data/spec/fog/openstack/identity_v3/authv3_token.yml +0 -490
- data/spec/fog/openstack/identity_v3/authv3_unscoped.yml +0 -592
- data/spec/fog/openstack/identity_v3/authv3_unscoped_reauth.yml +0 -835
- data/spec/fog/openstack/identity_v3/common_setup.yml +0 -98
- data/spec/fog/openstack/identity_v3/idv3_credential.yml +0 -147
- data/spec/fog/openstack/identity_v3/idv3_credential_crud.yml +0 -938
- data/spec/fog/openstack/identity_v3/idv3_domain.yml +0 -156
- data/spec/fog/openstack/identity_v3/idv3_domain_crud.yml +0 -536
- data/spec/fog/openstack/identity_v3/idv3_domain_group_roles_mutation.yml +0 -1013
- data/spec/fog/openstack/identity_v3/idv3_domain_roles_mutation.yml +0 -841
- data/spec/fog/openstack/identity_v3/idv3_endpoint.yml +0 -623
- data/spec/fog/openstack/identity_v3/idv3_endpoints_crud.yml +0 -1005
- data/spec/fog/openstack/identity_v3/idv3_group_crud_mutation.yml +0 -1325
- data/spec/fog/openstack/identity_v3/idv3_policy.yml +0 -195
- data/spec/fog/openstack/identity_v3/idv3_policy_crud.yml +0 -488
- data/spec/fog/openstack/identity_v3/idv3_project.yml +0 -397
- data/spec/fog/openstack/identity_v3/idv3_project_crud.yml +0 -490
- data/spec/fog/openstack/identity_v3/idv3_project_group_user_roles_mutation.yml +0 -1519
- data/spec/fog/openstack/identity_v3/idv3_project_hier_crud_list.yml +0 -1405
- data/spec/fog/openstack/identity_v3/idv3_role.yml +0 -279
- data/spec/fog/openstack/identity_v3/idv3_role_crud.yml +0 -602
- data/spec/fog/openstack/identity_v3/idv3_service.yml +0 -331
- data/spec/fog/openstack/identity_v3/idv3_services_crud.yml +0 -600
- data/spec/fog/openstack/identity_v3/idv3_token.yml +0 -370
- data/spec/fog/openstack/identity_v3/idv3_user_crud.yml +0 -827
- data/spec/fog/openstack/identity_v3/idv3_users.yml +0 -409
- data/spec/fog/openstack/identity_v3_spec.rb +0 -1034
- data/spec/fog/openstack/image_v1/common_setup.yml +0 -144
- data/spec/fog/openstack/image_v1/list_images.yml +0 -54
- data/spec/fog/openstack/image_v1_spec.rb +0 -24
- data/spec/fog/openstack/image_v2/common_setup.yml +0 -144
- data/spec/fog/openstack/image_v2/image_schema.json +0 -190
- data/spec/fog/openstack/image_v2/image_v2_activation.yml +0 -3988
- data/spec/fog/openstack/image_v2/image_v2_create_id.yml +0 -291
- data/spec/fog/openstack/image_v2/image_v2_crud.yml +0 -437
- data/spec/fog/openstack/image_v2/image_v2_member_crudl.yml +0 -451
- data/spec/fog/openstack/image_v2/image_v2_tags.yml +0 -532
- data/spec/fog/openstack/image_v2/image_v2_upload_download.yml +0 -3966
- data/spec/fog/openstack/image_v2/minimal.ova +0 -0
- data/spec/fog/openstack/image_v2_spec.rb +0 -285
- data/spec/fog/openstack/image_v2_upload_spec.rb +0 -74
- data/spec/fog/openstack/network/common_setup.yml +0 -140
- data/spec/fog/openstack/network/subnets_crud.yml +0 -180
- data/spec/fog/openstack/network_spec.rb +0 -43
- data/spec/fog/openstack/shared_context.rb +0 -115
- data/spec/fog/openstack/volume/common_setup.yml +0 -100
- data/spec/fog/openstack/volume/volume_crud.yml +0 -611
- data/spec/fog/openstack/volume/volume_extend.yml +0 -669
- data/spec/fog/openstack/volume/volume_transfer_and_accept.yml +0 -1072
- data/spec/fog/openstack/volume/volume_transfer_and_delete.yml +0 -666
- data/spec/fog/openstack/volume/volume_type_read.yml +0 -114
- data/spec/fog/openstack/volume_spec.rb +0 -362
- data/spec/fog/openstack/volume_v1/common_setup.yml +0 -100
- data/spec/fog/openstack/volume_v1/volume_crud.yml +0 -535
- data/spec/fog/openstack/volume_v1/volume_extend.yml +0 -596
- data/spec/fog/openstack/volume_v1/volume_transfer_and_accept.yml +0 -1010
- data/spec/fog/openstack/volume_v1/volume_transfer_and_delete.yml +0 -645
- data/spec/fog/openstack/volume_v1/volume_type_read.yml +0 -114
- data/spec/fog/openstack/volume_v2/common_setup.yml +0 -100
- data/spec/fog/openstack/volume_v2/volume_crud.yml +0 -611
- data/spec/fog/openstack/volume_v2/volume_extend.yml +0 -669
- data/spec/fog/openstack/volume_v2/volume_transfer_and_accept.yml +0 -1072
- data/spec/fog/openstack/volume_v2/volume_transfer_and_delete.yml +0 -666
- data/spec/fog/openstack/volume_v2/volume_type_read.yml +0 -114
- data/tests/digitalocean/models/compute/flavor_tests.rb +0 -29
- data/tests/digitalocean/models/compute/image_tests.rb +0 -30
- data/tests/digitalocean/models/compute/region_tests.rb +0 -29
- data/tests/digitalocean/models/compute/server_tests.rb +0 -93
- data/tests/digitalocean/models/compute/servers_tests.rb +0 -39
- data/tests/digitalocean/models/compute/ssh_key_tests.rb +0 -43
- data/tests/digitalocean/models/compute/ssh_keys_tests.rb +0 -32
- data/tests/digitalocean/requests/compute/create_server_tests.rb +0 -32
- data/tests/digitalocean/requests/compute/create_ssh_key_tests.rb +0 -22
- data/tests/digitalocean/requests/compute/destroy_server_tests.rb +0 -14
- data/tests/digitalocean/requests/compute/destroy_ssh_key_tests.rb +0 -23
- data/tests/digitalocean/requests/compute/get_server_details_tests.rb +0 -13
- data/tests/digitalocean/requests/compute/get_ssh_key_tests.rb +0 -25
- data/tests/digitalocean/requests/compute/list_flavors_tests.rb +0 -23
- data/tests/digitalocean/requests/compute/list_images_tests.rb +0 -24
- data/tests/digitalocean/requests/compute/list_regions_tests.rb +0 -23
- data/tests/digitalocean/requests/compute/list_servers_tests.rb +0 -27
- data/tests/digitalocean/requests/compute/list_ssh_keys_tests.rb +0 -24
- data/tests/digitalocean/requests/compute/power_cycle_server_tests.rb +0 -20
- data/tests/digitalocean/requests/compute/power_state_tests.rb +0 -25
- data/tests/digitalocean/requests/compute/reboot_server_tests.rb +0 -14
- data/tests/openstack/authenticate_tests.rb +0 -197
- data/tests/openstack/models/compute/images_tests.rb +0 -13
- data/tests/openstack/models/compute/security_group_tests.rb +0 -54
- data/tests/openstack/models/compute/server_tests.rb +0 -220
- data/tests/openstack/models/identity/ec2_credential_tests.rb +0 -41
- data/tests/openstack/models/identity/ec2_credentials_tests.rb +0 -58
- data/tests/openstack/models/identity/role_tests.rb +0 -26
- data/tests/openstack/models/identity/roles_tests.rb +0 -20
- data/tests/openstack/models/identity/tenant_tests.rb +0 -30
- data/tests/openstack/models/identity/tenants_tests.rb +0 -26
- data/tests/openstack/models/identity/user_tests.rb +0 -46
- data/tests/openstack/models/identity/users_tests.rb +0 -42
- data/tests/openstack/models/image/image_tests.rb +0 -36
- data/tests/openstack/models/image/images_tests.rb +0 -19
- data/tests/openstack/models/network/floating_ip_tests.rb +0 -22
- data/tests/openstack/models/network/floating_ips_tests.rb +0 -19
- data/tests/openstack/models/network/lb_health_monitor_tests.rb +0 -52
- data/tests/openstack/models/network/lb_health_monitors_tests.rb +0 -21
- data/tests/openstack/models/network/lb_member_tests.rb +0 -28
- data/tests/openstack/models/network/lb_members_tests.rb +0 -21
- data/tests/openstack/models/network/lb_pool_tests.rb +0 -53
- data/tests/openstack/models/network/lb_pools_tests.rb +0 -20
- data/tests/openstack/models/network/lb_vip_tests.rb +0 -39
- data/tests/openstack/models/network/lb_vips_tests.rb +0 -21
- data/tests/openstack/models/network/network_tests.rb +0 -61
- data/tests/openstack/models/network/networks_tests.rb +0 -21
- data/tests/openstack/models/network/port_tests.rb +0 -28
- data/tests/openstack/models/network/ports_tests.rb +0 -25
- data/tests/openstack/models/network/router_tests.rb +0 -39
- data/tests/openstack/models/network/routers_tests.rb +0 -21
- data/tests/openstack/models/network/security_group_rule_tests.rb +0 -27
- data/tests/openstack/models/network/security_group_rules_tests.rb +0 -25
- data/tests/openstack/models/network/security_group_tests.rb +0 -17
- data/tests/openstack/models/network/security_groups_tests.rb +0 -16
- data/tests/openstack/models/network/subnet_tests.rb +0 -30
- data/tests/openstack/models/network/subnets_tests.rb +0 -27
- data/tests/openstack/models/planning/.gitkeep +0 -0
- data/tests/openstack/models/planning/plan_tests.rb +0 -51
- data/tests/openstack/models/planning/plans_tests.rb +0 -18
- data/tests/openstack/models/planning/role_tests.rb +0 -14
- data/tests/openstack/models/storage/file_tests.rb +0 -251
- data/tests/openstack/requests/baremetal/chassis_tests.rb +0 -48
- data/tests/openstack/requests/baremetal/driver_tests.rb +0 -40
- data/tests/openstack/requests/baremetal/node_tests.rb +0 -83
- data/tests/openstack/requests/baremetal/port_tests.rb +0 -56
- data/tests/openstack/requests/compute/address_tests.rb +0 -58
- data/tests/openstack/requests/compute/aggregate_tests.rb +0 -59
- data/tests/openstack/requests/compute/availability_zone_tests.rb +0 -18
- data/tests/openstack/requests/compute/flavor_tests.rb +0 -95
- data/tests/openstack/requests/compute/helper.rb +0 -41
- data/tests/openstack/requests/compute/image_tests.rb +0 -58
- data/tests/openstack/requests/compute/keypair_tests.rb +0 -30
- data/tests/openstack/requests/compute/limit_tests.rb +0 -59
- data/tests/openstack/requests/compute/quota_tests.rb +0 -60
- data/tests/openstack/requests/compute/security_group_tests.rb +0 -61
- data/tests/openstack/requests/compute/server_tests.rb +0 -289
- data/tests/openstack/requests/compute/service_tests.rb +0 -33
- data/tests/openstack/requests/compute/tenant_tests.rb +0 -19
- data/tests/openstack/requests/compute/volume_tests.rb +0 -38
- data/tests/openstack/requests/identity/ec2_credentials_tests.rb +0 -44
- data/tests/openstack/requests/identity/helper.rb +0 -13
- data/tests/openstack/requests/identity/role_tests.rb +0 -45
- data/tests/openstack/requests/identity/tenant_tests.rb +0 -56
- data/tests/openstack/requests/identity/user_tests.rb +0 -41
- data/tests/openstack/requests/image/image_tests.rb +0 -134
- data/tests/openstack/requests/metering/meter_tests.rb +0 -52
- data/tests/openstack/requests/metering/resource_tests.rb +0 -19
- data/tests/openstack/requests/network/lb_health_monitor_tests.rb +0 -93
- data/tests/openstack/requests/network/lb_member_tests.rb +0 -60
- data/tests/openstack/requests/network/lb_pool_tests.rb +0 -80
- data/tests/openstack/requests/network/lb_vip_tests.rb +0 -71
- data/tests/openstack/requests/network/network_tests.rb +0 -107
- data/tests/openstack/requests/network/port_tests.rb +0 -66
- data/tests/openstack/requests/network/quota_tests.rb +0 -65
- data/tests/openstack/requests/network/router_tests.rb +0 -73
- data/tests/openstack/requests/network/security_group_rule_tests.rb +0 -58
- data/tests/openstack/requests/network/security_group_tests.rb +0 -43
- data/tests/openstack/requests/network/subnet_tests.rb +0 -66
- data/tests/openstack/requests/orchestration/stack_tests.rb +0 -64
- data/tests/openstack/requests/planning/.gitkeep +0 -0
- data/tests/openstack/requests/planning/plan_tests.rb +0 -65
- data/tests/openstack/requests/planning/role_tests.rb +0 -16
- data/tests/openstack/requests/storage/container_tests.rb +0 -64
- data/tests/openstack/requests/storage/large_object_tests.rb +0 -372
- data/tests/openstack/requests/storage/object_tests.rb +0 -208
- data/tests/openstack/requests/volume/availability_zone_tests.rb +0 -13
- data/tests/openstack/requests/volume/quota_tests.rb +0 -50
- data/tests/openstack/requests/volume/volume_type_tests.rb +0 -32
- data/tests/openstack/storage_tests.rb +0 -18
- data/tests/openstack/version_tests.rb +0 -55
- data/tests/openstack/volume_tests.rb +0 -18
- data/tests/rackspace/auto_scale_tests.rb +0 -83
- data/tests/rackspace/block_storage_tests.rb +0 -119
- data/tests/rackspace/cdn_tests.rb +0 -186
- data/tests/rackspace/compute_tests.rb +0 -100
- data/tests/rackspace/compute_v2_tests.rb +0 -118
- data/tests/rackspace/databases_tests.rb +0 -140
- data/tests/rackspace/dns_tests.rb +0 -110
- data/tests/rackspace/helper.rb +0 -106
- data/tests/rackspace/identity_tests.rb +0 -26
- data/tests/rackspace/load_balancer_tests.rb +0 -135
- data/tests/rackspace/models/auto_scale/group_builder_tests.rb +0 -145
- data/tests/rackspace/models/auto_scale/group_tests.rb +0 -35
- data/tests/rackspace/models/auto_scale/groups_tests.rb +0 -17
- data/tests/rackspace/models/auto_scale/policies_tests.rb +0 -24
- data/tests/rackspace/models/auto_scale/policy_tests.rb +0 -35
- data/tests/rackspace/models/auto_scale/webhook_tests.rb +0 -42
- data/tests/rackspace/models/auto_scale/webhooks_tests.rb +0 -28
- data/tests/rackspace/models/block_storage/snapshot_tests.rb +0 -25
- data/tests/rackspace/models/block_storage/snapshots_tests.rb +0 -18
- data/tests/rackspace/models/block_storage/volume_tests.rb +0 -31
- data/tests/rackspace/models/block_storage/volume_types_tests.rb +0 -18
- data/tests/rackspace/models/block_storage/volumes_tests.rb +0 -9
- data/tests/rackspace/models/compute_v2/flavors_tests.rb +0 -17
- data/tests/rackspace/models/compute_v2/image_tests.rb +0 -74
- data/tests/rackspace/models/compute_v2/images_tests.rb +0 -20
- data/tests/rackspace/models/compute_v2/keypairs_tests.rb +0 -47
- data/tests/rackspace/models/compute_v2/metadata_tests.rb +0 -44
- data/tests/rackspace/models/compute_v2/network_tests.rb +0 -10
- data/tests/rackspace/models/compute_v2/networks_tests.rb +0 -10
- data/tests/rackspace/models/compute_v2/server_tests.rb +0 -274
- data/tests/rackspace/models/compute_v2/servers_tests.rb +0 -22
- data/tests/rackspace/models/compute_v2/virtual_interface_tests.rb +0 -33
- data/tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb +0 -24
- data/tests/rackspace/models/databases/database_tests.rb +0 -29
- data/tests/rackspace/models/databases/databases_tests.rb +0 -17
- data/tests/rackspace/models/databases/flavors_tests.rb +0 -20
- data/tests/rackspace/models/databases/instance_tests.rb +0 -43
- data/tests/rackspace/models/databases/instances_tests.rb +0 -14
- data/tests/rackspace/models/databases/user_tests.rb +0 -21
- data/tests/rackspace/models/databases/users_tests.rb +0 -21
- data/tests/rackspace/models/dns/zone_tests.rb +0 -14
- data/tests/rackspace/models/dns/zones_tests.rb +0 -36
- data/tests/rackspace/models/identity/credentials_tests.rb +0 -25
- data/tests/rackspace/models/identity/roles_tests.rb +0 -16
- data/tests/rackspace/models/identity/service_catalog_tests.rb +0 -154
- data/tests/rackspace/models/identity/tenants_tests.rb +0 -21
- data/tests/rackspace/models/identity/user_tests.rb +0 -17
- data/tests/rackspace/models/identity/users_tests.rb +0 -17
- data/tests/rackspace/models/load_balancers/access_list_tests.rb +0 -12
- data/tests/rackspace/models/load_balancers/access_lists_tests.rb +0 -12
- data/tests/rackspace/models/load_balancers/load_balancer_tests.rb +0 -229
- data/tests/rackspace/models/load_balancers/load_balancers_tests.rb +0 -19
- data/tests/rackspace/models/load_balancers/node_tests.rb +0 -19
- data/tests/rackspace/models/load_balancers/nodes_tests.rb +0 -12
- data/tests/rackspace/models/load_balancers/virtual_ip_tests.rb +0 -16
- data/tests/rackspace/models/load_balancers/virtual_ips_tests.rb +0 -12
- data/tests/rackspace/models/monitoring/agent_token_tests.rb +0 -9
- data/tests/rackspace/models/monitoring/agent_tokens_tests.rb +0 -9
- data/tests/rackspace/models/monitoring/alarm_example_tests.rb +0 -18
- data/tests/rackspace/models/monitoring/alarm_examples_tests.rb +0 -19
- data/tests/rackspace/models/monitoring/alarm_tests.rb +0 -59
- data/tests/rackspace/models/monitoring/alarms_tests.rb +0 -25
- data/tests/rackspace/models/monitoring/check_tests.rb +0 -49
- data/tests/rackspace/models/monitoring/check_types_tests.rb +0 -14
- data/tests/rackspace/models/monitoring/checks_tests.rb +0 -16
- data/tests/rackspace/models/monitoring/data_points_tests.rb +0 -19
- data/tests/rackspace/models/monitoring/entities_tests.rb +0 -14
- data/tests/rackspace/models/monitoring/entity_tests.rb +0 -26
- data/tests/rackspace/models/monitoring/metric_tests.rb +0 -19
- data/tests/rackspace/models/monitoring/metrics_tests.rb +0 -17
- data/tests/rackspace/models/monitoring/notification_tests.rb +0 -19
- data/tests/rackspace/models/monitoring/notifications_tests.rb +0 -10
- data/tests/rackspace/models/networking/network_tests.rb +0 -10
- data/tests/rackspace/models/networking/networks_tests.rb +0 -10
- data/tests/rackspace/models/networking/virtual_interface_tests.rb +0 -33
- data/tests/rackspace/models/networking/virtual_interfaces_tests.rb +0 -24
- data/tests/rackspace/models/queues/claim_tests.rb +0 -41
- data/tests/rackspace/models/queues/claims_tests.rb +0 -53
- data/tests/rackspace/models/queues/message_tests.rb +0 -49
- data/tests/rackspace/models/queues/messages_tests.rb +0 -16
- data/tests/rackspace/models/queues/queue_tests.rb +0 -37
- data/tests/rackspace/models/queues/queues_tests.rb +0 -8
- data/tests/rackspace/models/storage/account_tests.rb +0 -26
- data/tests/rackspace/models/storage/directories_tests.rb +0 -26
- data/tests/rackspace/models/storage/directory_tests.rb +0 -138
- data/tests/rackspace/models/storage/file_tests.rb +0 -400
- data/tests/rackspace/models/storage/files_tests.rb +0 -39
- data/tests/rackspace/models/storage/metadata_tests.rb +0 -208
- data/tests/rackspace/monitoring_tests.rb +0 -76
- data/tests/rackspace/networking_tests.rb +0 -118
- data/tests/rackspace/queues_tests.rb +0 -105
- data/tests/rackspace/rackspace_tests.rb +0 -56
- data/tests/rackspace/requests/auto_scale/config_tests.rb +0 -97
- data/tests/rackspace/requests/auto_scale/group_tests.rb +0 -50
- data/tests/rackspace/requests/auto_scale/helper.rb +0 -224
- data/tests/rackspace/requests/auto_scale/policy_tests.rb +0 -71
- data/tests/rackspace/requests/auto_scale/webhook_tests.rb +0 -58
- data/tests/rackspace/requests/block_storage/snapshot_tests.rb +0 -80
- data/tests/rackspace/requests/block_storage/volume_tests.rb +0 -75
- data/tests/rackspace/requests/block_storage/volume_type_tests.rb +0 -21
- data/tests/rackspace/requests/cdn/cdn_tests.rb +0 -75
- data/tests/rackspace/requests/compute/address_tests.rb +0 -42
- data/tests/rackspace/requests/compute/flavor_tests.rb +0 -39
- data/tests/rackspace/requests/compute/helper.rb +0 -10
- data/tests/rackspace/requests/compute/image_tests.rb +0 -70
- data/tests/rackspace/requests/compute/resize_tests.rb +0 -35
- data/tests/rackspace/requests/compute/server_tests.rb +0 -94
- data/tests/rackspace/requests/compute_v2/address_tests.rb +0 -45
- data/tests/rackspace/requests/compute_v2/attachment_tests.rb +0 -66
- data/tests/rackspace/requests/compute_v2/flavor_tests.rb +0 -47
- data/tests/rackspace/requests/compute_v2/image_tests.rb +0 -77
- data/tests/rackspace/requests/compute_v2/keypair_tests.rb +0 -55
- data/tests/rackspace/requests/compute_v2/metadata_tests.rb +0 -104
- data/tests/rackspace/requests/compute_v2/network_tests.rb +0 -49
- data/tests/rackspace/requests/compute_v2/server_tests.rb +0 -172
- data/tests/rackspace/requests/compute_v2/virtual_interface_tests.rb +0 -49
- data/tests/rackspace/requests/databases/database_tests.rb +0 -39
- data/tests/rackspace/requests/databases/flavor_tests.rb +0 -16
- data/tests/rackspace/requests/databases/helper.rb +0 -79
- data/tests/rackspace/requests/databases/instance_tests.rb +0 -77
- data/tests/rackspace/requests/databases/user_tests.rb +0 -37
- data/tests/rackspace/requests/dns/dns_tests.rb +0 -125
- data/tests/rackspace/requests/dns/helper.rb +0 -124
- data/tests/rackspace/requests/dns/records_tests.rb +0 -83
- data/tests/rackspace/requests/identity/tenants_tests.rb +0 -21
- data/tests/rackspace/requests/identity/token_tests.rb +0 -70
- data/tests/rackspace/requests/identity/user_tests.rb +0 -106
- data/tests/rackspace/requests/load_balancers/access_list_tests.rb +0 -56
- data/tests/rackspace/requests/load_balancers/algorithm_tests.rb +0 -19
- data/tests/rackspace/requests/load_balancers/connection_logging_tests.rb +0 -25
- data/tests/rackspace/requests/load_balancers/connection_throttling_tests.rb +0 -37
- data/tests/rackspace/requests/load_balancers/content_caching_tests.rb +0 -25
- data/tests/rackspace/requests/load_balancers/error_page_tests.rb +0 -31
- data/tests/rackspace/requests/load_balancers/get_stats_tests.rb +0 -13
- data/tests/rackspace/requests/load_balancers/helper.rb +0 -229
- data/tests/rackspace/requests/load_balancers/load_balancer_tests.rb +0 -86
- data/tests/rackspace/requests/load_balancers/load_balancer_usage_tests.rb +0 -19
- data/tests/rackspace/requests/load_balancers/monitor_tests.rb +0 -46
- data/tests/rackspace/requests/load_balancers/node_tests.rb +0 -93
- data/tests/rackspace/requests/load_balancers/protocol_tests.rb +0 -21
- data/tests/rackspace/requests/load_balancers/session_persistence_tests.rb +0 -33
- data/tests/rackspace/requests/load_balancers/ssl_termination_tests.rb +0 -38
- data/tests/rackspace/requests/load_balancers/usage_tests.rb +0 -19
- data/tests/rackspace/requests/load_balancers/virtual_ip_tests.rb +0 -40
- data/tests/rackspace/requests/monitoring/agent_tests.rb +0 -74
- data/tests/rackspace/requests/monitoring/alarm_example_tests.rb +0 -30
- data/tests/rackspace/requests/monitoring/alarm_tests.rb +0 -55
- data/tests/rackspace/requests/monitoring/check_tests.rb +0 -39
- data/tests/rackspace/requests/monitoring/entity_tests.rb +0 -36
- data/tests/rackspace/requests/monitoring/helper.rb +0 -139
- data/tests/rackspace/requests/monitoring/list_tests.rb +0 -83
- data/tests/rackspace/requests/monitoring/notification_tests.rb +0 -46
- data/tests/rackspace/requests/networking/network_tests.rb +0 -49
- data/tests/rackspace/requests/networking/virtual_interface_tests.rb +0 -49
- data/tests/rackspace/requests/queues/claim_tests.rb +0 -60
- data/tests/rackspace/requests/queues/helper.rb +0 -50
- data/tests/rackspace/requests/queues/messages_tests.rb +0 -54
- data/tests/rackspace/requests/queues/queues_tests.rb +0 -38
- data/tests/rackspace/requests/storage/account_tests.rb +0 -15
- data/tests/rackspace/requests/storage/container_tests.rb +0 -67
- data/tests/rackspace/requests/storage/large_object_tests.rb +0 -355
- data/tests/rackspace/requests/storage/object_tests.rb +0 -230
- data/tests/rackspace/service_tests.rb +0 -82
- data/tests/rackspace/storage_tests.rb +0 -128
- data/tests/rackspace/url_encoding_tests.rb +0 -5
@@ -1,409 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://devstack.openstack.stack:35357/v3/users
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- fog-core/1.32.1
|
12
|
-
Proxy-Connection:
|
13
|
-
- Keep-Alive
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Accept:
|
17
|
-
- application/json
|
18
|
-
X-Auth-Token:
|
19
|
-
- e6b2788de4cb4562b55c8a7bb05e8444
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: ''
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Wed, 28 Oct 2015 16:05:38 GMT
|
27
|
-
Server:
|
28
|
-
- Apache/2.4.7 (Ubuntu)
|
29
|
-
Vary:
|
30
|
-
- X-Auth-Token
|
31
|
-
X-Openstack-Request-Id:
|
32
|
-
- req-58232f8a-a376-45af-9838-2eb6ebdad5d9
|
33
|
-
Content-Length:
|
34
|
-
- '1845'
|
35
|
-
Content-Type:
|
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
|
45
|
-
body:
|
46
|
-
encoding: UTF-8
|
47
|
-
string: '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/3fac8bae1b6f4d2e99a1cecf9b27f797"},
|
48
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "3fac8bae1b6f4d2e99a1cecf9b27f797"},
|
49
|
-
{"name": "nova", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/4467ea650993437786817ca7ec1348ad"},
|
50
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "4467ea650993437786817ca7ec1348ad"},
|
51
|
-
{"name": "neutron", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/5f2d40b549ab419291fdc02ca93a2b21"},
|
52
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "5f2d40b549ab419291fdc02ca93a2b21"},
|
53
|
-
{"name": "cinder", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/74e0fdd6679f49a79e0d02729e70834e"},
|
54
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "74e0fdd6679f49a79e0d02729e70834e"},
|
55
|
-
{"name": "demo", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/83e19aa7df6843d497f7cde5ef8faf65"},
|
56
|
-
"domain_id": "default", "enabled": true, "email": "demo@example.com", "id":
|
57
|
-
"83e19aa7df6843d497f7cde5ef8faf65"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/a18abc2039d6493aa7239a42033cc7c9"},
|
58
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "a18abc2039d6493aa7239a42033cc7c9"},
|
59
|
-
{"name": "user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/c594720d5b4948e287fae4f7d39efe23"},
|
60
|
-
"domain_id": "405196a795c64f748551e468f2ba4164", "enabled": true, "email":
|
61
|
-
"user1@example1.com", "id": "c594720d5b4948e287fae4f7d39efe23"}, {"name":
|
62
|
-
"user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/fe4e7a2eebde4addb5d288afeed3af30"},
|
63
|
-
"domain_id": "85b07761a17741ef9b5177cb7de4d000", "enabled": true, "email":
|
64
|
-
"user1@example2.com", "id": "fe4e7a2eebde4addb5d288afeed3af30"}], "links":
|
65
|
-
{"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next": null}}'
|
66
|
-
http_version:
|
67
|
-
recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
|
68
|
-
- request:
|
69
|
-
method: get
|
70
|
-
uri: http://devstack.openstack.stack:35357/v3/users/u-random-blah
|
71
|
-
body:
|
72
|
-
encoding: US-ASCII
|
73
|
-
string: ''
|
74
|
-
headers:
|
75
|
-
User-Agent:
|
76
|
-
- fog-core/1.32.1
|
77
|
-
Proxy-Connection:
|
78
|
-
- Keep-Alive
|
79
|
-
Content-Type:
|
80
|
-
- application/json
|
81
|
-
Accept:
|
82
|
-
- application/json
|
83
|
-
X-Auth-Token:
|
84
|
-
- e6b2788de4cb4562b55c8a7bb05e8444
|
85
|
-
response:
|
86
|
-
status:
|
87
|
-
code: 404
|
88
|
-
message: ''
|
89
|
-
headers:
|
90
|
-
Date:
|
91
|
-
- Wed, 28 Oct 2015 16:05:38 GMT
|
92
|
-
Server:
|
93
|
-
- Apache/2.4.7 (Ubuntu)
|
94
|
-
Vary:
|
95
|
-
- X-Auth-Token
|
96
|
-
X-Openstack-Request-Id:
|
97
|
-
- req-39fc72ff-d50a-458c-9224-4ef6eea6f15b
|
98
|
-
Content-Length:
|
99
|
-
- '95'
|
100
|
-
Content-Type:
|
101
|
-
- application/json
|
102
|
-
X-Cache:
|
103
|
-
- MISS from i056593-vagrant
|
104
|
-
X-Cache-Lookup:
|
105
|
-
- MISS from i056593-vagrant:3128
|
106
|
-
Via:
|
107
|
-
- 1.1 i056593-vagrant (squid/3.3.8)
|
108
|
-
Connection:
|
109
|
-
- keep-alive
|
110
|
-
body:
|
111
|
-
encoding: UTF-8
|
112
|
-
string: '{"error": {"message": "Could not find user: u-random-blah", "code":
|
113
|
-
404, "title": "Not Found"}}'
|
114
|
-
http_version:
|
115
|
-
recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
|
116
|
-
- request:
|
117
|
-
method: get
|
118
|
-
uri: http://devstack.openstack.stack:35357/v3/users?name=admin
|
119
|
-
body:
|
120
|
-
encoding: US-ASCII
|
121
|
-
string: ''
|
122
|
-
headers:
|
123
|
-
User-Agent:
|
124
|
-
- fog-core/1.32.1
|
125
|
-
Proxy-Connection:
|
126
|
-
- Keep-Alive
|
127
|
-
Content-Type:
|
128
|
-
- application/json
|
129
|
-
Accept:
|
130
|
-
- application/json
|
131
|
-
X-Auth-Token:
|
132
|
-
- e6b2788de4cb4562b55c8a7bb05e8444
|
133
|
-
response:
|
134
|
-
status:
|
135
|
-
code: 200
|
136
|
-
message: ''
|
137
|
-
headers:
|
138
|
-
Date:
|
139
|
-
- Wed, 28 Oct 2015 16:05:38 GMT
|
140
|
-
Server:
|
141
|
-
- Apache/2.4.7 (Ubuntu)
|
142
|
-
Vary:
|
143
|
-
- X-Auth-Token
|
144
|
-
X-Openstack-Request-Id:
|
145
|
-
- req-2e8e7182-0f8b-4745-af24-8e6c568f5fc7
|
146
|
-
Content-Length:
|
147
|
-
- '316'
|
148
|
-
Content-Type:
|
149
|
-
- application/json
|
150
|
-
X-Cache:
|
151
|
-
- MISS from i056593-vagrant
|
152
|
-
X-Cache-Lookup:
|
153
|
-
- MISS from i056593-vagrant:3128
|
154
|
-
Via:
|
155
|
-
- 1.1 i056593-vagrant (squid/3.3.8)
|
156
|
-
Connection:
|
157
|
-
- keep-alive
|
158
|
-
body:
|
159
|
-
encoding: UTF-8
|
160
|
-
string: '{"users": [{"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/a18abc2039d6493aa7239a42033cc7c9"},
|
161
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "a18abc2039d6493aa7239a42033cc7c9"}],
|
162
|
-
"links": {"self": "http://devstack.openstack.stack:35357/v3/users?name=admin", "previous":
|
163
|
-
null, "next": null}}'
|
164
|
-
http_version:
|
165
|
-
recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
|
166
|
-
- request:
|
167
|
-
method: get
|
168
|
-
uri: http://devstack.openstack.stack:35357/v3/users
|
169
|
-
body:
|
170
|
-
encoding: US-ASCII
|
171
|
-
string: ''
|
172
|
-
headers:
|
173
|
-
User-Agent:
|
174
|
-
- fog-core/1.32.1
|
175
|
-
Proxy-Connection:
|
176
|
-
- Keep-Alive
|
177
|
-
Content-Type:
|
178
|
-
- application/json
|
179
|
-
Accept:
|
180
|
-
- application/json
|
181
|
-
X-Auth-Token:
|
182
|
-
- e6b2788de4cb4562b55c8a7bb05e8444
|
183
|
-
response:
|
184
|
-
status:
|
185
|
-
code: 200
|
186
|
-
message: ''
|
187
|
-
headers:
|
188
|
-
Date:
|
189
|
-
- Wed, 28 Oct 2015 16:05:38 GMT
|
190
|
-
Server:
|
191
|
-
- Apache/2.4.7 (Ubuntu)
|
192
|
-
Vary:
|
193
|
-
- X-Auth-Token
|
194
|
-
X-Openstack-Request-Id:
|
195
|
-
- req-5eb69a28-e4f3-4838-80a8-d7da793a2038
|
196
|
-
Content-Length:
|
197
|
-
- '1845'
|
198
|
-
Content-Type:
|
199
|
-
- application/json
|
200
|
-
X-Cache:
|
201
|
-
- MISS from i056593-vagrant
|
202
|
-
X-Cache-Lookup:
|
203
|
-
- MISS from i056593-vagrant:3128
|
204
|
-
Via:
|
205
|
-
- 1.1 i056593-vagrant (squid/3.3.8)
|
206
|
-
Connection:
|
207
|
-
- keep-alive
|
208
|
-
body:
|
209
|
-
encoding: UTF-8
|
210
|
-
string: '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/3fac8bae1b6f4d2e99a1cecf9b27f797"},
|
211
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "3fac8bae1b6f4d2e99a1cecf9b27f797"},
|
212
|
-
{"name": "nova", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/4467ea650993437786817ca7ec1348ad"},
|
213
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "4467ea650993437786817ca7ec1348ad"},
|
214
|
-
{"name": "neutron", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/5f2d40b549ab419291fdc02ca93a2b21"},
|
215
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "5f2d40b549ab419291fdc02ca93a2b21"},
|
216
|
-
{"name": "cinder", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/74e0fdd6679f49a79e0d02729e70834e"},
|
217
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "74e0fdd6679f49a79e0d02729e70834e"},
|
218
|
-
{"name": "demo", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/83e19aa7df6843d497f7cde5ef8faf65"},
|
219
|
-
"domain_id": "default", "enabled": true, "email": "demo@example.com", "id":
|
220
|
-
"83e19aa7df6843d497f7cde5ef8faf65"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/a18abc2039d6493aa7239a42033cc7c9"},
|
221
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "a18abc2039d6493aa7239a42033cc7c9"},
|
222
|
-
{"name": "user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/c594720d5b4948e287fae4f7d39efe23"},
|
223
|
-
"domain_id": "405196a795c64f748551e468f2ba4164", "enabled": true, "email":
|
224
|
-
"user1@example1.com", "id": "c594720d5b4948e287fae4f7d39efe23"}, {"name":
|
225
|
-
"user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/fe4e7a2eebde4addb5d288afeed3af30"},
|
226
|
-
"domain_id": "85b07761a17741ef9b5177cb7de4d000", "enabled": true, "email":
|
227
|
-
"user1@example2.com", "id": "fe4e7a2eebde4addb5d288afeed3af30"}], "links":
|
228
|
-
{"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next": null}}'
|
229
|
-
http_version:
|
230
|
-
recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
|
231
|
-
- request:
|
232
|
-
method: get
|
233
|
-
uri: http://devstack.openstack.stack:35357/v3/users
|
234
|
-
body:
|
235
|
-
encoding: US-ASCII
|
236
|
-
string: ''
|
237
|
-
headers:
|
238
|
-
User-Agent:
|
239
|
-
- fog-core/1.32.1
|
240
|
-
Proxy-Connection:
|
241
|
-
- Keep-Alive
|
242
|
-
Content-Type:
|
243
|
-
- application/json
|
244
|
-
Accept:
|
245
|
-
- application/json
|
246
|
-
X-Auth-Token:
|
247
|
-
- e6b2788de4cb4562b55c8a7bb05e8444
|
248
|
-
response:
|
249
|
-
status:
|
250
|
-
code: 200
|
251
|
-
message: ''
|
252
|
-
headers:
|
253
|
-
Date:
|
254
|
-
- Wed, 28 Oct 2015 16:05:38 GMT
|
255
|
-
Server:
|
256
|
-
- Apache/2.4.7 (Ubuntu)
|
257
|
-
Vary:
|
258
|
-
- X-Auth-Token
|
259
|
-
X-Openstack-Request-Id:
|
260
|
-
- req-8ea7a216-9570-4d2c-b953-5a33fcd2bf3a
|
261
|
-
Content-Length:
|
262
|
-
- '1845'
|
263
|
-
Content-Type:
|
264
|
-
- application/json
|
265
|
-
X-Cache:
|
266
|
-
- MISS from i056593-vagrant
|
267
|
-
X-Cache-Lookup:
|
268
|
-
- MISS from i056593-vagrant:3128
|
269
|
-
Via:
|
270
|
-
- 1.1 i056593-vagrant (squid/3.3.8)
|
271
|
-
Connection:
|
272
|
-
- keep-alive
|
273
|
-
body:
|
274
|
-
encoding: UTF-8
|
275
|
-
string: '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/3fac8bae1b6f4d2e99a1cecf9b27f797"},
|
276
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "3fac8bae1b6f4d2e99a1cecf9b27f797"},
|
277
|
-
{"name": "nova", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/4467ea650993437786817ca7ec1348ad"},
|
278
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "4467ea650993437786817ca7ec1348ad"},
|
279
|
-
{"name": "neutron", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/5f2d40b549ab419291fdc02ca93a2b21"},
|
280
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "5f2d40b549ab419291fdc02ca93a2b21"},
|
281
|
-
{"name": "cinder", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/74e0fdd6679f49a79e0d02729e70834e"},
|
282
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "74e0fdd6679f49a79e0d02729e70834e"},
|
283
|
-
{"name": "demo", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/83e19aa7df6843d497f7cde5ef8faf65"},
|
284
|
-
"domain_id": "default", "enabled": true, "email": "demo@example.com", "id":
|
285
|
-
"83e19aa7df6843d497f7cde5ef8faf65"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/a18abc2039d6493aa7239a42033cc7c9"},
|
286
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "a18abc2039d6493aa7239a42033cc7c9"},
|
287
|
-
{"name": "user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/c594720d5b4948e287fae4f7d39efe23"},
|
288
|
-
"domain_id": "405196a795c64f748551e468f2ba4164", "enabled": true, "email":
|
289
|
-
"user1@example1.com", "id": "c594720d5b4948e287fae4f7d39efe23"}, {"name":
|
290
|
-
"user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/fe4e7a2eebde4addb5d288afeed3af30"},
|
291
|
-
"domain_id": "85b07761a17741ef9b5177cb7de4d000", "enabled": true, "email":
|
292
|
-
"user1@example2.com", "id": "fe4e7a2eebde4addb5d288afeed3af30"}], "links":
|
293
|
-
{"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next": null}}'
|
294
|
-
http_version:
|
295
|
-
recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
|
296
|
-
- request:
|
297
|
-
method: get
|
298
|
-
uri: http://devstack.openstack.stack:35357/v3/users
|
299
|
-
body:
|
300
|
-
encoding: US-ASCII
|
301
|
-
string: ''
|
302
|
-
headers:
|
303
|
-
User-Agent:
|
304
|
-
- fog-core/1.32.1
|
305
|
-
Proxy-Connection:
|
306
|
-
- Keep-Alive
|
307
|
-
Content-Type:
|
308
|
-
- application/json
|
309
|
-
Accept:
|
310
|
-
- application/json
|
311
|
-
X-Auth-Token:
|
312
|
-
- e6b2788de4cb4562b55c8a7bb05e8444
|
313
|
-
response:
|
314
|
-
status:
|
315
|
-
code: 200
|
316
|
-
message: ''
|
317
|
-
headers:
|
318
|
-
Date:
|
319
|
-
- Wed, 28 Oct 2015 16:05:38 GMT
|
320
|
-
Server:
|
321
|
-
- Apache/2.4.7 (Ubuntu)
|
322
|
-
Vary:
|
323
|
-
- X-Auth-Token
|
324
|
-
X-Openstack-Request-Id:
|
325
|
-
- req-752736e4-8b7b-49dd-88b9-4a5392f3293f
|
326
|
-
Content-Length:
|
327
|
-
- '1845'
|
328
|
-
Content-Type:
|
329
|
-
- application/json
|
330
|
-
X-Cache:
|
331
|
-
- MISS from i056593-vagrant
|
332
|
-
X-Cache-Lookup:
|
333
|
-
- MISS from i056593-vagrant:3128
|
334
|
-
Via:
|
335
|
-
- 1.1 i056593-vagrant (squid/3.3.8)
|
336
|
-
Connection:
|
337
|
-
- keep-alive
|
338
|
-
body:
|
339
|
-
encoding: UTF-8
|
340
|
-
string: '{"users": [{"name": "glance", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/3fac8bae1b6f4d2e99a1cecf9b27f797"},
|
341
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "3fac8bae1b6f4d2e99a1cecf9b27f797"},
|
342
|
-
{"name": "nova", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/4467ea650993437786817ca7ec1348ad"},
|
343
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "4467ea650993437786817ca7ec1348ad"},
|
344
|
-
{"name": "neutron", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/5f2d40b549ab419291fdc02ca93a2b21"},
|
345
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "5f2d40b549ab419291fdc02ca93a2b21"},
|
346
|
-
{"name": "cinder", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/74e0fdd6679f49a79e0d02729e70834e"},
|
347
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "74e0fdd6679f49a79e0d02729e70834e"},
|
348
|
-
{"name": "demo", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/83e19aa7df6843d497f7cde5ef8faf65"},
|
349
|
-
"domain_id": "default", "enabled": true, "email": "demo@example.com", "id":
|
350
|
-
"83e19aa7df6843d497f7cde5ef8faf65"}, {"name": "admin", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/a18abc2039d6493aa7239a42033cc7c9"},
|
351
|
-
"domain_id": "default", "enabled": true, "email": null, "id": "a18abc2039d6493aa7239a42033cc7c9"},
|
352
|
-
{"name": "user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/c594720d5b4948e287fae4f7d39efe23"},
|
353
|
-
"domain_id": "405196a795c64f748551e468f2ba4164", "enabled": true, "email":
|
354
|
-
"user1@example1.com", "id": "c594720d5b4948e287fae4f7d39efe23"}, {"name":
|
355
|
-
"user1", "links": {"self": "http://devstack.openstack.stack:35357/v3/users/fe4e7a2eebde4addb5d288afeed3af30"},
|
356
|
-
"domain_id": "85b07761a17741ef9b5177cb7de4d000", "enabled": true, "email":
|
357
|
-
"user1@example2.com", "id": "fe4e7a2eebde4addb5d288afeed3af30"}], "links":
|
358
|
-
{"self": "http://devstack.openstack.stack:35357/v3/users", "previous": null, "next": null}}'
|
359
|
-
http_version:
|
360
|
-
recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
|
361
|
-
- request:
|
362
|
-
method: get
|
363
|
-
uri: http://devstack.openstack.stack:35357/v3/users?name=pimpernel
|
364
|
-
body:
|
365
|
-
encoding: US-ASCII
|
366
|
-
string: ''
|
367
|
-
headers:
|
368
|
-
User-Agent:
|
369
|
-
- fog-core/1.32.1
|
370
|
-
Proxy-Connection:
|
371
|
-
- Keep-Alive
|
372
|
-
Content-Type:
|
373
|
-
- application/json
|
374
|
-
Accept:
|
375
|
-
- application/json
|
376
|
-
X-Auth-Token:
|
377
|
-
- e6b2788de4cb4562b55c8a7bb05e8444
|
378
|
-
response:
|
379
|
-
status:
|
380
|
-
code: 200
|
381
|
-
message: ''
|
382
|
-
headers:
|
383
|
-
Date:
|
384
|
-
- Wed, 28 Oct 2015 16:05:38 GMT
|
385
|
-
Server:
|
386
|
-
- Apache/2.4.7 (Ubuntu)
|
387
|
-
Vary:
|
388
|
-
- X-Auth-Token
|
389
|
-
X-Openstack-Request-Id:
|
390
|
-
- req-42d79e03-0fc0-4cba-99aa-ae7cf2117388
|
391
|
-
Content-Length:
|
392
|
-
- '116'
|
393
|
-
Content-Type:
|
394
|
-
- application/json
|
395
|
-
X-Cache:
|
396
|
-
- MISS from i056593-vagrant
|
397
|
-
X-Cache-Lookup:
|
398
|
-
- MISS from i056593-vagrant:3128
|
399
|
-
Via:
|
400
|
-
- 1.1 i056593-vagrant (squid/3.3.8)
|
401
|
-
Connection:
|
402
|
-
- keep-alive
|
403
|
-
body:
|
404
|
-
encoding: UTF-8
|
405
|
-
string: '{"users": [], "links": {"self": "http://devstack.openstack.stack:35357/v3/users?name=pimpernel",
|
406
|
-
"previous": null, "next": null}}'
|
407
|
-
http_version:
|
408
|
-
recorded_at: Wed, 28 Oct 2015 16:05:18 GMT
|
409
|
-
recorded_with: VCR 2.9.3
|
@@ -1,1034 +0,0 @@
|
|
1
|
-
require 'fog/openstack/identity'
|
2
|
-
require 'fog/openstack/identity_v3'
|
3
|
-
|
4
|
-
if RUBY_VERSION =~ /1.8/
|
5
|
-
require File.expand_path('../shared_context', __FILE__)
|
6
|
-
else
|
7
|
-
require_relative './shared_context'
|
8
|
-
end
|
9
|
-
|
10
|
-
RSpec.describe Fog::Identity::OpenStack::V3 do
|
11
|
-
|
12
|
-
include_context 'OpenStack specs with VCR'
|
13
|
-
before :all do
|
14
|
-
VCR_USER_ID='a18abc2039d6493aa7239a42033cc7c9'
|
15
|
-
VCR_USER_NAME='admin'
|
16
|
-
VCR_PASSWORD='devstack'
|
17
|
-
VCR_DOMAIN_ID='default'
|
18
|
-
VCR_DOMAIN_NAME='Default'
|
19
|
-
VCR_PROJECT_NAME='admin'
|
20
|
-
VCR_REGION='RegionOne'
|
21
|
-
|
22
|
-
setup_vcr_and_service(
|
23
|
-
:vcr_directory => 'spec/fog/openstack/identity_v3',
|
24
|
-
:service_class => Fog::Identity::OpenStack::V3,
|
25
|
-
:username => VCR_USER_NAME,
|
26
|
-
:password => VCR_PASSWORD,
|
27
|
-
:project_name => VCR_PROJECT_NAME,
|
28
|
-
:domain_name => VCR_DOMAIN_NAME,
|
29
|
-
:region_name => VCR_REGION
|
30
|
-
)
|
31
|
-
end
|
32
|
-
|
33
|
-
it 'authenticates with password, userid and domain_id' do
|
34
|
-
VCR.use_cassette('authv3_a') do
|
35
|
-
Fog::Identity::OpenStack::V3.new(
|
36
|
-
:openstack_domain_id => ENV['OS_USER_DOMAIN_ID'] || VCR_DOMAIN_ID,
|
37
|
-
:openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD,
|
38
|
-
:openstack_userid => ENV['OS_USER_ID'] || VCR_USER_ID,
|
39
|
-
:openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
|
40
|
-
:openstack_auth_url => "#{@os_auth_url}/auth/tokens")
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
it 'authenticates with password, username and domain_id' do
|
45
|
-
VCR.use_cassette('authv3_b') do
|
46
|
-
Fog::Identity::OpenStack::V3.new(
|
47
|
-
:openstack_domain_id => ENV['OS_USER_DOMAIN_ID'] || VCR_DOMAIN_ID,
|
48
|
-
:openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD,
|
49
|
-
:openstack_username => ENV['OS_USERNAME'] || VCR_USER_NAME,
|
50
|
-
:openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
|
51
|
-
:openstack_auth_url => "#{@os_auth_url}/auth/tokens")
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
it 'authenticates with password, username and domain_name' do
|
56
|
-
VCR.use_cassette('authv3_c') do
|
57
|
-
Fog::Identity::OpenStack::V3.new(
|
58
|
-
:openstack_user_domain => ENV['OS_USER_DOMAIN_NAME'] || VCR_DOMAIN_NAME,
|
59
|
-
:openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD,
|
60
|
-
:openstack_username => ENV['OS_USERNAME'] || VCR_USER_NAME,
|
61
|
-
:openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
|
62
|
-
:openstack_auth_url => "#{@os_auth_url}/auth/tokens")
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
it 'authenticates in another region' do
|
67
|
-
VCR.use_cassette('idv3_endpoint') do
|
68
|
-
@endpoints_all = @service.endpoints.all
|
69
|
-
end
|
70
|
-
endpoints_in_region = @endpoints_all.select { |endpoint| endpoint.region == (ENV['OS_REGION_OTHER']||'europe') }
|
71
|
-
|
72
|
-
VCR.use_cassette('idv3_other_region') do
|
73
|
-
@fog = Fog::Identity::OpenStack::V3.new({
|
74
|
-
:openstack_region => ENV['OS_REGION_OTHER']||'europe',
|
75
|
-
:openstack_auth_url => "#{@os_auth_url}/auth/tokens",
|
76
|
-
:openstack_userid => ENV['OS_USER_ID'] || VCR_USER_ID,
|
77
|
-
:openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD
|
78
|
-
})
|
79
|
-
expect(@fog).to_not be_nil
|
80
|
-
end unless endpoints_in_region.empty?
|
81
|
-
end
|
82
|
-
|
83
|
-
it 'get an unscoped token, then reauthenticate with it' do
|
84
|
-
VCR.use_cassette('authv3_unscoped_reauth') do
|
85
|
-
|
86
|
-
id_v3 = Fog::Identity::OpenStack::V3.new(
|
87
|
-
:openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD,
|
88
|
-
:openstack_userid => ENV['OS_USER_ID'] || VCR_USER_ID,
|
89
|
-
:openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
|
90
|
-
:openstack_auth_url => "#{@os_auth_url}/auth/tokens")
|
91
|
-
|
92
|
-
auth_params = {:provider => "openstack",
|
93
|
-
:openstack_auth_token => id_v3.credentials[:openstack_auth_token],
|
94
|
-
:openstack_auth_url => "#{@os_auth_url}/auth/tokens",
|
95
|
-
:openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION}
|
96
|
-
@fog2 = Fog::Identity::OpenStack::V3.new(auth_params)
|
97
|
-
|
98
|
-
expect(@fog2).to_not be_nil
|
99
|
-
token = @fog2.credentials[:openstack_auth_token]
|
100
|
-
expect(token).to_not be_nil
|
101
|
-
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
it 'authenticates with project scope' do
|
106
|
-
VCR.use_cassette('authv3_project') do
|
107
|
-
Fog::Identity::OpenStack::V3.new(
|
108
|
-
:openstack_project_name => ENV['OS_PROJECT_NAME'] || VCR_PROJECT_NAME,
|
109
|
-
:openstack_domain_name => ENV['OS_USER_DOMAIN_NAME'] || VCR_DOMAIN_NAME,
|
110
|
-
:openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD,
|
111
|
-
:openstack_username => ENV['OS_USERNAME'] || VCR_USER_NAME,
|
112
|
-
:openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
|
113
|
-
:openstack_auth_url => "#{@os_auth_url}/auth/tokens")
|
114
|
-
end
|
115
|
-
end
|
116
|
-
|
117
|
-
it 'get an unscoped token, then use it to get a scoped token' do
|
118
|
-
VCR.use_cassette('authv3_unscoped') do
|
119
|
-
|
120
|
-
id_v3 = Fog::Identity::OpenStack::V3.new(
|
121
|
-
:openstack_api_key => ENV['OS_PASSWORD'] || VCR_PASSWORD,
|
122
|
-
:openstack_userid => ENV['OS_USER_ID']||VCR_USER_ID,
|
123
|
-
:openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
|
124
|
-
:openstack_auth_url => "#{@os_auth_url}/auth/tokens")
|
125
|
-
|
126
|
-
# Exchange it for a project-scoped token
|
127
|
-
auth = Fog::Identity::OpenStack::V3.new(
|
128
|
-
:openstack_project_name => ENV['OS_PROJECT_NAME'] || VCR_PROJECT_NAME,
|
129
|
-
:openstack_domain_name => ENV['OS_USER_DOMAIN_NAME'] || VCR_DOMAIN_NAME,
|
130
|
-
:openstack_tenant => ENV['OS_USERNAME'] || VCR_USER_NAME,
|
131
|
-
:openstack_auth_token => id_v3.credentials[:openstack_auth_token],
|
132
|
-
:openstack_region => ENV['OS_REGION_NAME'] || VCR_REGION,
|
133
|
-
:openstack_auth_url => "#{@os_auth_url}/auth/tokens")
|
134
|
-
|
135
|
-
token = auth.credentials[:openstack_auth_token]
|
136
|
-
|
137
|
-
# We can use the unscoped token to validate the scoped token
|
138
|
-
validated_token = id_v3.tokens.validate(token)
|
139
|
-
expect(validated_token).to_not be_nil
|
140
|
-
|
141
|
-
id_v3.tokens.check(token)
|
142
|
-
expect { id_v3.tokens.check('random-token') }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
143
|
-
end
|
144
|
-
end
|
145
|
-
|
146
|
-
it "find specific user, lists users" do
|
147
|
-
VCR.use_cassette('idv3_users') do
|
148
|
-
|
149
|
-
expect { nonexistent_user = @service.users.find_by_id 'u-random-blah' }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
150
|
-
|
151
|
-
admin_user = @service.users.find_by_name ENV['OS_USERNAME'] || VCR_USER_NAME
|
152
|
-
expect(admin_user.length).to be 1
|
153
|
-
|
154
|
-
users = @service.users
|
155
|
-
expect(users).to_not be_nil
|
156
|
-
expect(users.length).to_not be 0
|
157
|
-
|
158
|
-
users_all = @service.users.all
|
159
|
-
expect(users_all).to_not be_nil
|
160
|
-
expect(users_all.length).to_not be 0
|
161
|
-
|
162
|
-
admin_by_id = @service.users.find_by_id admin_user.first.id
|
163
|
-
expect(admin_by_id).to_not be_nil
|
164
|
-
|
165
|
-
expect(@service.users.find_by_name('pimpernel').length).to be 0
|
166
|
-
end
|
167
|
-
end
|
168
|
-
|
169
|
-
it 'CRUD users' do
|
170
|
-
VCR.use_cassette('idv3_user_crud') do
|
171
|
-
|
172
|
-
# Make sure there are no existing users called foobar or baz
|
173
|
-
['foobar', 'baz'].each do |username|
|
174
|
-
user = @service.users.find_by_name(username).first
|
175
|
-
user.update(:enabled => false) if user
|
176
|
-
user.destroy if user
|
177
|
-
end
|
178
|
-
expect(@service.users.find_by_name('foobar').length).to be 0
|
179
|
-
expect(@service.users.find_by_name('baz').length).to be 0
|
180
|
-
|
181
|
-
# Create a user called foobar
|
182
|
-
foobar_user = @service.users.create(:name => 'foobar',
|
183
|
-
:email => 'foobar@example.com',
|
184
|
-
:password => 's3cret!')
|
185
|
-
foobar_id = foobar_user.id
|
186
|
-
expect(@service.users.find_by_name('foobar').length).to be 1
|
187
|
-
|
188
|
-
# Rename it to baz and disable it (required so we can delete it)
|
189
|
-
foobar_user.update(:name => 'baz', :enabled => false)
|
190
|
-
expect(foobar_user.name).to eq 'baz'
|
191
|
-
|
192
|
-
# Read the user freshly and check the name & enabled state
|
193
|
-
expect(@service.users.find_by_name('baz').length).to be 1
|
194
|
-
baz_user = @service.users.find_by_id foobar_id
|
195
|
-
expect(baz_user).to_not be_nil
|
196
|
-
expect(baz_user.name).to eq 'baz'
|
197
|
-
expect(baz_user.email).to eq 'foobar@example.com'
|
198
|
-
expect(baz_user.enabled).to be false
|
199
|
-
|
200
|
-
# Try to create the user again
|
201
|
-
expect { @service.users.create(:name => 'baz',
|
202
|
-
:email => 'foobar@example.com',
|
203
|
-
:password => 's3cret!') }.to raise_error(Excon::Errors::Conflict)
|
204
|
-
|
205
|
-
# Delete the user
|
206
|
-
baz_user.destroy
|
207
|
-
# Check that the deletion worked
|
208
|
-
expect { @service.users.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
209
|
-
expect(@service.users.all.select { |user| ['foobar', 'baz'].include? user.name }.length).to be 0
|
210
|
-
expect(@service.users.find_by_name('foobar').length).to be 0
|
211
|
-
expect(@service.users.find_by_name('baz').length).to be 0
|
212
|
-
end
|
213
|
-
end
|
214
|
-
|
215
|
-
it "CRUD & manipulate groups" do
|
216
|
-
VCR.use_cassette('idv3_group_crud_mutation') do
|
217
|
-
|
218
|
-
# Make sure there are no existing groups called foobar or baz
|
219
|
-
@service.groups.all.select { |group| ['foobar', 'baz'].include? group.name }.each do |group|
|
220
|
-
group.destroy
|
221
|
-
end
|
222
|
-
expect(@service.groups.all.select { |group| ['foobar', 'baz'].include? group.name }.length).to be 0
|
223
|
-
|
224
|
-
# Create a group called foobar
|
225
|
-
foobar_group = @service.groups.create(:name => 'foobar', :description => "Group of Foobar users")
|
226
|
-
foobar_id = foobar_group.id
|
227
|
-
expect(@service.groups.all.select { |group| group.name == 'foobar' }.length).to be 1
|
228
|
-
|
229
|
-
# Rename it to baz
|
230
|
-
foobar_group.update(:name => 'baz', :description => "Group of Baz users")
|
231
|
-
expect(foobar_group.name).to eq 'baz'
|
232
|
-
|
233
|
-
# Read the group freshly and check the name
|
234
|
-
expect(@service.groups.all.select { |group| group.name == 'baz' }.length).to be 1
|
235
|
-
baz_group = @service.groups.find_by_id foobar_id
|
236
|
-
expect(baz_group).to_not be_nil
|
237
|
-
expect(baz_group.name).to eq 'baz'
|
238
|
-
|
239
|
-
# Add users to the group
|
240
|
-
#foobar_user1 = @service.users.find_by_name('foobar1').first
|
241
|
-
#foobar_user1.destroy if foobar_user1
|
242
|
-
foobar_user1 = @service.users.create(:name => 'foobar1',
|
243
|
-
:email => 'foobar1@example.com',
|
244
|
-
:password => 's3cret!1')
|
245
|
-
#foobar_user2 = @service.users.find_by_name('foobar2').first
|
246
|
-
#foobar_user2.destroy if foobar_user2
|
247
|
-
foobar_user2 = @service.users.create(:name => 'foobar2',
|
248
|
-
:email => 'foobar2@example.com',
|
249
|
-
:password => 's3cret!2')
|
250
|
-
|
251
|
-
expect(foobar_user1.groups.length).to be 0
|
252
|
-
expect(baz_group.users.length).to be 0
|
253
|
-
|
254
|
-
baz_group.add_user(foobar_user1.id)
|
255
|
-
|
256
|
-
# Check that a user is in the group
|
257
|
-
expect(foobar_user1.groups.length).to be 1
|
258
|
-
expect(baz_group.contains_user? foobar_user1.id).to be true
|
259
|
-
|
260
|
-
baz_group.add_user(foobar_user2.id)
|
261
|
-
|
262
|
-
# List users in the group
|
263
|
-
expect(baz_group.users.length).to be 2
|
264
|
-
|
265
|
-
|
266
|
-
# Remove a user from the group
|
267
|
-
baz_group.remove_user(foobar_user1.id)
|
268
|
-
expect(baz_group.contains_user? foobar_user1.id).to be false
|
269
|
-
expect(baz_group.users.length).to be 1
|
270
|
-
|
271
|
-
# Delete the users and make sure they are no longer in the group
|
272
|
-
foobar_user1.destroy
|
273
|
-
foobar_user2.destroy
|
274
|
-
expect(baz_group.contains_user? foobar_user2.id).to be false
|
275
|
-
expect(baz_group.users.length).to be 0
|
276
|
-
|
277
|
-
# Delete the group
|
278
|
-
baz_group.destroy
|
279
|
-
expect { @service.groups.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
280
|
-
expect(@service.groups.all.select { |group| ['foobar', 'baz'].include? group.name }.length).to be 0
|
281
|
-
end
|
282
|
-
end
|
283
|
-
|
284
|
-
it "gets a token, checks it and then revokes it" do
|
285
|
-
VCR.use_cassette('idv3_token') do
|
286
|
-
auth = {:auth => {:identity => {:methods => %w{password},
|
287
|
-
:password => {:user => {:id => ENV['OS_USER_ID']||VCR_USER_ID,
|
288
|
-
:password => ENV['OS_PASSWORD']||VCR_PASSWORD}}},
|
289
|
-
:scope => {:project => {:domain => {:name => ENV['OS_USER_DOMAIN_NAME']||VCR_DOMAIN_NAME},
|
290
|
-
:name => ENV['OS_PROJECT_NAME']||VCR_PROJECT_NAME}}}}
|
291
|
-
|
292
|
-
token = @service.tokens.authenticate(auth)
|
293
|
-
expect(token).to_not be_nil
|
294
|
-
|
295
|
-
validated_token = @service.tokens.validate token.value
|
296
|
-
expect(validated_token).to_not be_nil
|
297
|
-
|
298
|
-
@service.tokens.check(token.value)
|
299
|
-
@service.tokens.revoke(token.value)
|
300
|
-
|
301
|
-
expect { @service.tokens.check(token.value) }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
302
|
-
end
|
303
|
-
end
|
304
|
-
|
305
|
-
it 'authenticates with a token' do
|
306
|
-
VCR.use_cassette('authv3_token') do
|
307
|
-
# Setup - get a non-admin token to check by using username/password authentication to start with
|
308
|
-
auth_url = "#{@os_auth_url}/auth/tokens"
|
309
|
-
|
310
|
-
begin
|
311
|
-
|
312
|
-
foobar_user = @service.users.create(:name => 'foobar_385',
|
313
|
-
:email => 'foobar_demo@example.com',
|
314
|
-
:domain_id => ENV['OS_USER_DOMAIN_ID'] || VCR_DOMAIN_ID,
|
315
|
-
:password => 's3cret!')
|
316
|
-
|
317
|
-
foobar_role = @service.roles.create(:name => 'foobar_role390')
|
318
|
-
foobar_user.grant_role(foobar_role.id)
|
319
|
-
|
320
|
-
nonadmin_v3 = Fog::Identity::OpenStack::V3.new(
|
321
|
-
:openstack_domain_id => foobar_user.domain_id,
|
322
|
-
:openstack_api_key => 's3cret!',
|
323
|
-
:openstack_username => 'foobar_385',
|
324
|
-
:openstack_region => ENV['OS_REGION_NAME']||VCR_REGION,
|
325
|
-
:openstack_auth_url => auth_url)
|
326
|
-
|
327
|
-
# Test - check the token validity by using it to create a new Fog::Identity::OpenStack::V3 instance
|
328
|
-
token_check = Fog::Identity::OpenStack::V3.new(
|
329
|
-
:openstack_auth_token => nonadmin_v3.auth_token,
|
330
|
-
:openstack_region => ENV['OS_REGION_NAME']||VCR_REGION,
|
331
|
-
:openstack_auth_url => auth_url)
|
332
|
-
|
333
|
-
expect(token_check).to_not be_nil
|
334
|
-
|
335
|
-
expect { Fog::Identity::OpenStack::V3.new(
|
336
|
-
:openstack_auth_token => 'blahblahblah',
|
337
|
-
:openstack_region => ENV['OS_REGION_NAME']||VCR_REGION,
|
338
|
-
:openstack_auth_url => auth_url) }.to raise_error(Excon::Errors::NotFound)
|
339
|
-
ensure
|
340
|
-
# Clean up
|
341
|
-
foobar_user = @service.users.find_by_name('foobar_385').first unless foobar_user
|
342
|
-
foobar_user.destroy if foobar_user
|
343
|
-
foobar_role = @service.roles.all.select { |role| role.name == 'foobar_role390' }.first unless foobar_role
|
344
|
-
foobar_role.destroy if foobar_role
|
345
|
-
end
|
346
|
-
|
347
|
-
end
|
348
|
-
end
|
349
|
-
|
350
|
-
it "lists domains" do
|
351
|
-
VCR.use_cassette('idv3_domain') do
|
352
|
-
|
353
|
-
domains = @service.domains
|
354
|
-
expect(domains).to_not be_nil
|
355
|
-
expect(domains.length).to_not be 0
|
356
|
-
|
357
|
-
domains_all = @service.domains.all
|
358
|
-
expect(domains_all).to_not be_nil
|
359
|
-
expect(domains_all.length).to_not be 0
|
360
|
-
|
361
|
-
default_domain = @service.domains.find_by_id ENV['OS_USER_DOMAIN_ID']||VCR_DOMAIN_ID
|
362
|
-
expect(default_domain).to_not be_nil
|
363
|
-
|
364
|
-
expect { @service.domains.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
365
|
-
end
|
366
|
-
end
|
367
|
-
|
368
|
-
it "CRUD domains" do
|
369
|
-
VCR.use_cassette('idv3_domain_crud') do
|
370
|
-
|
371
|
-
begin
|
372
|
-
# Create a domain called foobar
|
373
|
-
foobar_domain = @service.domains.create(:name => 'foobar')
|
374
|
-
foobar_id = foobar_domain.id
|
375
|
-
expect(@service.domains.all(:name => 'foobar').length).to be 1
|
376
|
-
|
377
|
-
# Rename it to baz and disable it (required so we can delete it)
|
378
|
-
foobar_domain.update(:name => 'baz', :enabled => false)
|
379
|
-
expect(foobar_domain.name).to eq 'baz'
|
380
|
-
|
381
|
-
# Read the domain freshly and check the name & enabled state
|
382
|
-
expect(@service.domains.all(:name => 'baz').length).to be 1
|
383
|
-
baz_domain = @service.domains.find_by_id foobar_id
|
384
|
-
expect(baz_domain).to_not be_nil
|
385
|
-
expect(baz_domain.name).to eq 'baz'
|
386
|
-
expect(baz_domain.enabled).to be false
|
387
|
-
ensure
|
388
|
-
# Delete the domains
|
389
|
-
begin
|
390
|
-
baz_domain.update(:enabled => false) if baz_domain
|
391
|
-
baz_domain.destroy if baz_domain
|
392
|
-
foobar_domain.update(:enabled => false) if foobar_domain
|
393
|
-
foobar_domain.destroy if foobar_domain
|
394
|
-
rescue
|
395
|
-
end
|
396
|
-
# Check that the deletion worked
|
397
|
-
expect { @service.domains.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound) if foobar_id
|
398
|
-
['foobar', 'baz'].each do |domain_name|
|
399
|
-
expect(@service.domains.all(:name => domain_name).length).to be 0
|
400
|
-
end
|
401
|
-
end
|
402
|
-
end
|
403
|
-
end
|
404
|
-
|
405
|
-
it "Manipulates roles on domains" do
|
406
|
-
# Note that the domain is implicit in the user operations here
|
407
|
-
|
408
|
-
VCR.use_cassette('idv3_domain_roles_mutation') do
|
409
|
-
begin
|
410
|
-
foobar_user = @service.users.create(:name => 'foobar_role_user',
|
411
|
-
:email => 'foobar@example.com',
|
412
|
-
:password => 's3cret!')
|
413
|
-
|
414
|
-
# User has no roles initially
|
415
|
-
expect(foobar_user.roles.length).to be 0
|
416
|
-
|
417
|
-
# Create a role and add it to the user in the user's domain
|
418
|
-
foobar_role = @service.roles.create(:name => 'foobar_role')
|
419
|
-
foobar_user.grant_role(foobar_role.id)
|
420
|
-
expect(foobar_user.roles.length).to be 1
|
421
|
-
assignments = @service.role_assignments.all(:user_id => foobar_user.id)
|
422
|
-
expect(assignments.length).to be 1
|
423
|
-
expect(assignments.first.role['id']).to eq foobar_role.id
|
424
|
-
expect(assignments.first.user['id']).to eq foobar_user.id
|
425
|
-
expect(assignments.first.scope['domain']['id']).to eq foobar_user.domain_id
|
426
|
-
expect(assignments.first.links['assignment'].end_with? "/v3/domains/#{foobar_user.domain_id}/users/#{foobar_user.id}/roles/#{foobar_role.id}").to be true
|
427
|
-
|
428
|
-
# Quick test of @service.role_assignments.all while we're at it
|
429
|
-
all_assignments = @service.role_assignments.all
|
430
|
-
expect(all_assignments.length).to be >= 1
|
431
|
-
|
432
|
-
# Check that the user has the role
|
433
|
-
expect(foobar_user.check_role(foobar_role.id)).to be true
|
434
|
-
|
435
|
-
# Revoke the role from the user
|
436
|
-
foobar_user.revoke_role(foobar_role.id)
|
437
|
-
expect(foobar_user.check_role(foobar_role.id)).to be false
|
438
|
-
ensure
|
439
|
-
foobar_user = @service.users.find_by_name('foobar_role_user').first unless foobar_user
|
440
|
-
foobar_user.destroy if foobar_user
|
441
|
-
foobar_role = @service.roles.all.select { |role| role.name == 'foobar_role' }.first unless foobar_role
|
442
|
-
foobar_role.destroy if foobar_role
|
443
|
-
end
|
444
|
-
|
445
|
-
end
|
446
|
-
end
|
447
|
-
|
448
|
-
it "Manipulates roles on domain groups" do
|
449
|
-
VCR.use_cassette('idv3_domain_group_roles_mutation') do
|
450
|
-
|
451
|
-
begin
|
452
|
-
# Create a domain called foobar
|
453
|
-
foobar_domain = @service.domains.create(:name => 'd-foobar')
|
454
|
-
|
455
|
-
# Create a group in this domain
|
456
|
-
foobar_group = @service.groups.create(:name => 'g-foobar',
|
457
|
-
:description => "Group of Foobar users",
|
458
|
-
:domain_id => foobar_domain.id)
|
459
|
-
|
460
|
-
# Create a user in the domain
|
461
|
-
foobar_user = @service.users.create(:name => 'u-foobar_foobar',
|
462
|
-
:email => 'foobar@example.com',
|
463
|
-
:password => 's3cret!',
|
464
|
-
:domain_id => foobar_domain.id)
|
465
|
-
|
466
|
-
# User has no roles initially
|
467
|
-
expect(foobar_user.roles.length).to be 0
|
468
|
-
|
469
|
-
# Create a role and add it to the domain group
|
470
|
-
foobar_role = @service.roles.all.select { |role| role.name == 'foobar_role' }.first
|
471
|
-
foobar_role.destroy if foobar_role
|
472
|
-
foobar_role = @service.roles.create(:name => 'foobar_role')
|
473
|
-
|
474
|
-
foobar_group.grant_role foobar_role.id
|
475
|
-
expect(foobar_group.roles.length).to be 1
|
476
|
-
|
477
|
-
# Add user to the group and check that it inherits the role
|
478
|
-
expect(foobar_user.check_role foobar_role.id).to be false
|
479
|
-
expect(@service.role_assignments.all(:user_id => foobar_user.id, :effective => true).length).to be 0
|
480
|
-
foobar_group.add_user foobar_user.id
|
481
|
-
expect(foobar_user.check_role foobar_role.id).to be false # Still false in absolute assignment terms
|
482
|
-
assignments = @service.role_assignments.all(:user_id => foobar_user.id, :effective => true)
|
483
|
-
expect(assignments.length).to be 1
|
484
|
-
expect(assignments.first.role['id']).to eq foobar_role.id
|
485
|
-
expect(assignments.first.user['id']).to eq foobar_user.id
|
486
|
-
expect(assignments.first.scope['domain']['id']).to eq foobar_user.domain_id
|
487
|
-
expect(assignments.first.links['assignment'].end_with? "/v3/domains/#{foobar_domain.id}/groups/#{foobar_group.id}/roles/#{foobar_role.id}").to be true
|
488
|
-
expect(assignments.first.links['membership'].end_with? "/v3/groups/#{foobar_group.id}/users/#{foobar_user.id}").to be true
|
489
|
-
|
490
|
-
group_assignments = @service.role_assignments.all(:group_id => foobar_group.id)
|
491
|
-
expect(group_assignments.length).to be 1
|
492
|
-
expect(group_assignments.first.role['id']).to eq foobar_role.id
|
493
|
-
expect(group_assignments.first.group['id']).to eq foobar_group.id
|
494
|
-
expect(group_assignments.first.scope['domain']['id']).to eq foobar_user.domain_id
|
495
|
-
expect(group_assignments.first.links['assignment'].end_with? "/v3/domains/#{foobar_domain.id}/groups/#{foobar_group.id}/roles/#{foobar_role.id}").to be true
|
496
|
-
|
497
|
-
# Revoke the role from the group and check the user no longer has it
|
498
|
-
foobar_group.revoke_role foobar_role.id
|
499
|
-
expect(@service.role_assignments.all(:user_id => foobar_user.id, :effective => true).length).to be 0
|
500
|
-
ensure
|
501
|
-
# Clean up
|
502
|
-
foobar_user = @service.users.find_by_name('u-foobar_foobar').first unless foobar_user
|
503
|
-
foobar_user.destroy if foobar_user
|
504
|
-
foobar_group = @service.groups.all.select { |group| group.name == 'g-foobar' }.first unless foobar_group
|
505
|
-
foobar_group.destroy if foobar_group
|
506
|
-
foobar_role = @service.roles.all.select { |role| role.name == 'foobar_role' }.first unless foobar_role
|
507
|
-
foobar_role.destroy if foobar_role
|
508
|
-
foobar_domain = @service.domains.all.select { |domain| domain.name == 'd-foobar' }.first unless foobar_domain
|
509
|
-
foobar_domain.update(:enabled => false) if foobar_domain
|
510
|
-
foobar_domain.destroy if foobar_domain
|
511
|
-
end
|
512
|
-
end
|
513
|
-
end
|
514
|
-
|
515
|
-
it "lists roles" do
|
516
|
-
VCR.use_cassette('idv3_role') do
|
517
|
-
|
518
|
-
roles = @service.roles
|
519
|
-
expect(roles).to_not be_nil
|
520
|
-
expect(roles.length).to_not be 0
|
521
|
-
|
522
|
-
roles_all = @service.roles.all
|
523
|
-
expect(roles_all).to_not be_nil
|
524
|
-
expect(roles_all.length).to_not be 0
|
525
|
-
|
526
|
-
role_by_id = @service.roles.find_by_id roles_all.first.id
|
527
|
-
expect(role_by_id).to_not be_nil
|
528
|
-
|
529
|
-
expect { @service.roles.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
530
|
-
end
|
531
|
-
end
|
532
|
-
|
533
|
-
it "CRUD roles" do
|
534
|
-
VCR.use_cassette('idv3_role_crud') do
|
535
|
-
|
536
|
-
begin
|
537
|
-
# Create a role called foobar
|
538
|
-
foobar_role = @service.roles.create(:name => 'foobar23')
|
539
|
-
foobar_id = foobar_role.id
|
540
|
-
expect(@service.roles.all(:name => 'foobar23').length).to be 1
|
541
|
-
|
542
|
-
# Rename it to baz
|
543
|
-
foobar_role.update(:name => 'baz23')
|
544
|
-
expect(foobar_role.name).to eq 'baz23'
|
545
|
-
|
546
|
-
# Read the role freshly and check the name & enabled state
|
547
|
-
expect(@service.roles.all(:name => 'baz23').length).to be 1
|
548
|
-
baz_role = @service.roles.find_by_id foobar_id
|
549
|
-
expect(baz_role).to_not be_nil
|
550
|
-
expect(baz_role.name).to eq 'baz23'
|
551
|
-
baz_role.destroy
|
552
|
-
baz_role = nil
|
553
|
-
# Check that the deletion worked
|
554
|
-
expect { @service.roles.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound) if foobar_id
|
555
|
-
['foobar23', 'baz23'].each do |role_name|
|
556
|
-
expect(@service.roles.all(:name => role_name).length).to be 0
|
557
|
-
end
|
558
|
-
ensure
|
559
|
-
# Delete the roles
|
560
|
-
foobar_by_name = @service.roles.all(:name => 'foobar23').first
|
561
|
-
foobar_by_name.destroy if foobar_by_name
|
562
|
-
baz_by_name = @service.roles.all(:name => 'baz23').first
|
563
|
-
baz_by_name.destroy if baz_by_name
|
564
|
-
end
|
565
|
-
end
|
566
|
-
end
|
567
|
-
|
568
|
-
it "lists projects" do
|
569
|
-
VCR.use_cassette('idv3_project') do
|
570
|
-
|
571
|
-
projects = @service.projects
|
572
|
-
expect(projects).to_not be_nil
|
573
|
-
expect(projects.length).to_not be 0
|
574
|
-
|
575
|
-
projects_all = @service.projects.all
|
576
|
-
expect(projects_all).to_not be_nil
|
577
|
-
expect(projects_all.length).to_not be 0
|
578
|
-
project_byid = @service.projects.find_by_id projects_all.first.id
|
579
|
-
expect(project_byid).to_not be_nil
|
580
|
-
|
581
|
-
expect { @service.projects.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
582
|
-
end
|
583
|
-
end
|
584
|
-
|
585
|
-
it "CRUD projects" do
|
586
|
-
VCR.use_cassette('idv3_project_crud') do
|
587
|
-
|
588
|
-
default_domain = @service.domains.find_by_id ENV['OS_USER_DOMAIN_ID']||VCR_DOMAIN_ID
|
589
|
-
|
590
|
-
begin
|
591
|
-
# Create a project called foobar - should not work without domain id?
|
592
|
-
foobar_project = @service.projects.create(:name => 'p-foobar46')
|
593
|
-
foobar_id = foobar_project.id
|
594
|
-
expect(@service.projects.all(:name => 'p-foobar46').length).to be 1
|
595
|
-
expect(foobar_project.domain_id).to eq default_domain.id
|
596
|
-
|
597
|
-
# Rename it to baz and disable it (required so we can delete it)
|
598
|
-
foobar_project.update(:name => 'p-baz46', :enabled => false)
|
599
|
-
expect(foobar_project.name).to eq 'p-baz46'
|
600
|
-
|
601
|
-
# Read the project freshly and check the name & enabled state
|
602
|
-
expect(@service.projects.all(:name => 'p-baz46').length).to be 1
|
603
|
-
baz_project = @service.projects.find_by_id foobar_id
|
604
|
-
expect(baz_project).to_not be_nil
|
605
|
-
expect(baz_project.name).to eq 'p-baz46'
|
606
|
-
expect(baz_project.enabled).to be false
|
607
|
-
ensure
|
608
|
-
# Delete the project
|
609
|
-
baz_project.destroy
|
610
|
-
|
611
|
-
# Check that the deletion worked
|
612
|
-
expect { @service.projects.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
613
|
-
['p-foobar46', 'p-baz46'].each do |project_name|
|
614
|
-
expect(@service.projects.all(:name => project_name).length).to be 0
|
615
|
-
end
|
616
|
-
end
|
617
|
-
end
|
618
|
-
end
|
619
|
-
|
620
|
-
it "CRUD & list hierarchical projects" do
|
621
|
-
VCR.use_cassette('idv3_project_hier_crud_list') do
|
622
|
-
|
623
|
-
default_domain = @service.domains.find_by_id ENV['OS_USER_DOMAIN_ID']||VCR_DOMAIN_ID
|
624
|
-
|
625
|
-
begin
|
626
|
-
# Create a project called foobar
|
627
|
-
foobar_project = @service.projects.create(:name => 'p-foobar67')
|
628
|
-
foobar_id = foobar_project.id
|
629
|
-
|
630
|
-
# Create a sub-project called baz
|
631
|
-
baz_project = @service.projects.create(:name => 'p-baz67', :parent_id => foobar_id)
|
632
|
-
baz_id = baz_project.id
|
633
|
-
|
634
|
-
expect(baz_project.parent_id).to eq foobar_id
|
635
|
-
|
636
|
-
# Read the project freshly and check the parent_id
|
637
|
-
fresh_baz_project = @service.projects.all(:name => 'p-baz67').first
|
638
|
-
expect(fresh_baz_project).to_not be_nil
|
639
|
-
expect(fresh_baz_project.parent_id).to eq foobar_id
|
640
|
-
|
641
|
-
# Create another sub-project called boo
|
642
|
-
boo_project = @service.projects.create(:name => 'p-boo67', :parent_id => foobar_id)
|
643
|
-
boo_id = boo_project.id
|
644
|
-
|
645
|
-
# Create a sub-project of boo called booboo
|
646
|
-
booboo_project = @service.projects.create(:name => 'p-booboo67', :parent_id => boo_id)
|
647
|
-
booboo_id = booboo_project.id
|
648
|
-
|
649
|
-
# Make sure we have a role on all these projects (needed for subtree_as_list and parents_as_list)
|
650
|
-
prj_role = @service.roles.create(:name => 'r-project67')
|
651
|
-
[foobar_project, baz_project, boo_project, booboo_project].each do |project|
|
652
|
-
project.grant_role_to_user(prj_role.id, @service.current_user_id)
|
653
|
-
end
|
654
|
-
|
655
|
-
# Get the children of foobar, as a tree of IDs
|
656
|
-
foobar_kids = @service.projects.find_by_id(foobar_id, :subtree_as_ids).subtree
|
657
|
-
expect(foobar_kids.keys.length).to eq 2
|
658
|
-
|
659
|
-
boo_index = foobar_kids.keys.index boo_id
|
660
|
-
expect(boo_index).to_not be_nil
|
661
|
-
|
662
|
-
foobar_child_id = foobar_kids.keys[boo_index]
|
663
|
-
expect(foobar_kids[foobar_child_id].length).to eq 1
|
664
|
-
foobar_grandchild_id = foobar_kids[foobar_child_id].keys.first
|
665
|
-
expect(foobar_grandchild_id).to eq booboo_id
|
666
|
-
|
667
|
-
# Get the children of foobar, as a list of objects
|
668
|
-
foobar_kids = @service.projects.find_by_id(foobar_id, :subtree_as_list).subtree
|
669
|
-
expect(foobar_kids.length).to eq 3
|
670
|
-
expect([foobar_kids[0].id,foobar_kids[1].id,foobar_kids[2].id].sort
|
671
|
-
).to eq [baz_id, boo_id, booboo_id].sort
|
672
|
-
|
673
|
-
# Create a another sub-project of boo called fooboo and check that it appears in the parent's subtree
|
674
|
-
fooboo_project = @service.projects.create(:name => 'p-fooboo67', :parent_id => boo_id)
|
675
|
-
fooboo_id = fooboo_project.id
|
676
|
-
fooboo_project.grant_role_to_user(prj_role.id, @service.current_user_id)
|
677
|
-
foobar_new_kids = @service.projects.find_by_id(foobar_id, :subtree_as_list).subtree
|
678
|
-
expect(foobar_new_kids.length).to eq 4
|
679
|
-
|
680
|
-
# Get the parents of booboo, as a tree of IDs
|
681
|
-
booboo_parents = @service.projects.find_by_id(booboo_id, :parents_as_ids).parents
|
682
|
-
expect(booboo_parents.keys.length).to eq 1
|
683
|
-
booboo_parent_id = booboo_parents.keys.first
|
684
|
-
expect(booboo_parents[booboo_parent_id].length).to eq 1
|
685
|
-
booboo_grandparent_id = booboo_parents[booboo_parent_id].keys.first
|
686
|
-
expect(booboo_grandparent_id).to eq foobar_id
|
687
|
-
expect(booboo_parents[booboo_parent_id][booboo_grandparent_id]).to be_nil
|
688
|
-
|
689
|
-
# Get the parents of booboo, as a list of objects
|
690
|
-
booboo_parents = @service.projects.find_by_id(booboo_id, :parents_as_list).parents
|
691
|
-
expect(booboo_parents.length).to eq 2
|
692
|
-
expect([booboo_parents[0].id,booboo_parents[1].id].sort).to eq [foobar_id, boo_id].sort
|
693
|
-
ensure
|
694
|
-
# Delete the projects
|
695
|
-
fooboo_project.destroy if fooboo_project
|
696
|
-
booboo_project.destroy if booboo_project
|
697
|
-
boo_project.destroy if boo_project
|
698
|
-
baz_project.destroy if baz_project
|
699
|
-
foobar_project.destroy if foobar_project
|
700
|
-
prj_role = @service.roles.all(:name => 'r-project67').first unless prj_role
|
701
|
-
prj_role.destroy if prj_role
|
702
|
-
# Check that the deletion worked
|
703
|
-
expect { @service.projects.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound) if foobar_id
|
704
|
-
['p-booboo67', 'p-fooboo67', 'p-boo67', 'p-baz67', 'p-foobar67'].each do |project_name|
|
705
|
-
prj = @service.projects.all(:name => project_name).first
|
706
|
-
prj.destroy if prj
|
707
|
-
expect(@service.projects.all(:name => project_name).length).to be 0
|
708
|
-
end
|
709
|
-
end
|
710
|
-
end
|
711
|
-
end
|
712
|
-
|
713
|
-
it "Manipulates projects - add/remove users/groups via role assignment/revocation" do
|
714
|
-
VCR.use_cassette('idv3_project_group_user_roles_mutation') do
|
715
|
-
|
716
|
-
# Make sure there is no existing project called foobar
|
717
|
-
@service.projects.all(:name => 'p-foobar69').each do |project|
|
718
|
-
project.update(:enabled => false)
|
719
|
-
project.destroy
|
720
|
-
end
|
721
|
-
expect(@service.projects.all(:name => 'p-foobar69').length).to be 0
|
722
|
-
|
723
|
-
begin
|
724
|
-
# Create a project called foobar
|
725
|
-
foobar_project = @service.projects.create(:name => 'p-foobar69')
|
726
|
-
# Create a role called baz
|
727
|
-
@service.roles.all(:name => 'baz').each do |role|
|
728
|
-
role.update(:enabled => false)
|
729
|
-
role.destroy
|
730
|
-
end
|
731
|
-
baz_role = @service.roles.create(:name => 'baz69')
|
732
|
-
|
733
|
-
# Create a user
|
734
|
-
foobar_user = @service.users.create(:name => 'u-foobar69',
|
735
|
-
:email => 'foobar@example.com',
|
736
|
-
:password => 's3cret!')
|
737
|
-
|
738
|
-
# Create a group and add the user to it
|
739
|
-
foobar_group = @service.groups.create(:name => 'g-foobar69',
|
740
|
-
:description => "Group of Foobar users")
|
741
|
-
foobar_group.add_user foobar_user.id
|
742
|
-
|
743
|
-
# User has no projects initially
|
744
|
-
expect(foobar_user.projects.length).to be 0
|
745
|
-
expect(@service.role_assignments.all(:user_id => foobar_user.id,
|
746
|
-
:project_id => foobar_project.id,
|
747
|
-
:effective => true).length).to be 0
|
748
|
-
expect(foobar_project.user_roles(foobar_user.id).length).to be 0
|
749
|
-
|
750
|
-
# Grant role to the user in the new project - this assigns the project to the user
|
751
|
-
foobar_project.grant_role_to_user(baz_role.id, foobar_user.id)
|
752
|
-
expect(foobar_user.projects.length).to be 1
|
753
|
-
expect(foobar_project.check_user_role(foobar_user.id, baz_role.id)).to be true
|
754
|
-
expect(foobar_project.user_roles(foobar_user.id).length).to be 1
|
755
|
-
|
756
|
-
# Revoke role from the user in the new project - this removes the user from the project
|
757
|
-
foobar_project.revoke_role_from_user(baz_role.id, foobar_user.id)
|
758
|
-
expect(foobar_user.projects.length).to be 0
|
759
|
-
expect(foobar_project.check_user_role(foobar_user.id, baz_role.id)).to be false
|
760
|
-
|
761
|
-
# Group initially has no roles in project
|
762
|
-
expect(foobar_project.group_roles(foobar_group.id).length).to be 0
|
763
|
-
|
764
|
-
expect(@service.role_assignments.all(:user_id => foobar_user.id,
|
765
|
-
:project_id => foobar_project.id,
|
766
|
-
:effective => true).length).to be 0
|
767
|
-
|
768
|
-
# Grant role to the group in the new project - this assigns the project to the group
|
769
|
-
foobar_project.grant_role_to_group(baz_role.id, foobar_group.id)
|
770
|
-
expect(foobar_project.check_group_role(foobar_group.id, baz_role.id)).to be true
|
771
|
-
expect(foobar_project.group_roles(foobar_group.id).length).to be 1
|
772
|
-
|
773
|
-
# Now we check that a user has the role in that project
|
774
|
-
assignments = @service.role_assignments.all(:user_id => foobar_user.id,
|
775
|
-
:project_id => foobar_project.id,
|
776
|
-
:effective => true)
|
777
|
-
expect(assignments.length).to be 1
|
778
|
-
expect(assignments.first.role['id']).to eq baz_role.id
|
779
|
-
expect(assignments.first.user['id']).to eq foobar_user.id
|
780
|
-
expect(assignments.first.scope['project']['id']).to eq foobar_project.id
|
781
|
-
expect(assignments.first.links['assignment'].end_with? "/v3/projects/#{foobar_project.id}/groups/#{foobar_group.id}/roles/#{baz_role.id}").to be true
|
782
|
-
expect(assignments.first.links['membership'].end_with? "/v3/groups/#{foobar_group.id}/users/#{foobar_user.id}").to be true
|
783
|
-
|
784
|
-
# and we check that the user is in the project because of group membership
|
785
|
-
expect(foobar_user.projects.length).to be 1
|
786
|
-
|
787
|
-
# Revoke role from the group in the new project - this removes the group from the project
|
788
|
-
foobar_project.revoke_role_from_group(baz_role.id, foobar_group.id)
|
789
|
-
expect(foobar_user.projects.length).to be 0
|
790
|
-
expect(foobar_project.check_group_role(foobar_group.id, baz_role.id)).to be false
|
791
|
-
|
792
|
-
ensure
|
793
|
-
# Clean up
|
794
|
-
foobar_user.destroy if foobar_user
|
795
|
-
foobar_group.destroy if foobar_group
|
796
|
-
baz_role.destroy if baz_role
|
797
|
-
foobar_project.update(:enabled => false) if foobar_project
|
798
|
-
foobar_project.destroy if foobar_project
|
799
|
-
end
|
800
|
-
end
|
801
|
-
end
|
802
|
-
|
803
|
-
it "lists services" do
|
804
|
-
VCR.use_cassette('idv3_service') do
|
805
|
-
|
806
|
-
services = @service.services
|
807
|
-
expect(services).to_not be_nil
|
808
|
-
expect(services.length).to_not be 0
|
809
|
-
|
810
|
-
services_all = @service.services.all
|
811
|
-
expect(services_all).to_not be_nil
|
812
|
-
expect(services_all.length).to_not be 0
|
813
|
-
|
814
|
-
some_service = @service.services.find_by_id services_all.first.id
|
815
|
-
expect(some_service).to_not be_nil
|
816
|
-
|
817
|
-
expect { @service.services.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
818
|
-
end
|
819
|
-
end
|
820
|
-
|
821
|
-
it "CRUD services" do
|
822
|
-
VCR.use_cassette('idv3_services_crud') do
|
823
|
-
|
824
|
-
all_services = @service.services.all
|
825
|
-
|
826
|
-
begin
|
827
|
-
# Create a service called foobar
|
828
|
-
foobar_service = @service.services.create(:type => 'volume', :name => 'foobar')
|
829
|
-
foobar_id = foobar_service.id
|
830
|
-
expect(@service.services.all(:type => 'volume').select { |service| service.name == 'foobar' }.length).to be 1
|
831
|
-
|
832
|
-
# Rename it to baz
|
833
|
-
foobar_service.update(:name => 'baz')
|
834
|
-
expect(foobar_service.name).to eq 'baz'
|
835
|
-
|
836
|
-
# Read the service freshly and check the name
|
837
|
-
expect(@service.services.all.select { |service| service.name == 'baz' }.length).to be 1
|
838
|
-
baz_service = @service.services.find_by_id foobar_id
|
839
|
-
expect(baz_service).to_not be_nil
|
840
|
-
expect(baz_service.name).to eq 'baz'
|
841
|
-
expect(baz_service.type).to eq 'volume'
|
842
|
-
ensure
|
843
|
-
# Delete the service
|
844
|
-
baz_service.destroy if baz_service
|
845
|
-
|
846
|
-
# Check that the deletion worked
|
847
|
-
expect { @service.services.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound) if foobar_id
|
848
|
-
expect(@service.services.all.select { |service| ['foobar', 'baz'].include? service.name }.length).to be 0
|
849
|
-
end
|
850
|
-
end
|
851
|
-
end
|
852
|
-
|
853
|
-
it "lists endpoints" do
|
854
|
-
VCR.use_cassette('idv3_endpoint') do
|
855
|
-
|
856
|
-
endpoints = @service.endpoints
|
857
|
-
expect(endpoints).to_not be_nil
|
858
|
-
expect(endpoints.length).to_not be 0
|
859
|
-
|
860
|
-
endpoints_all = @service.endpoints.all
|
861
|
-
expect(endpoints_all).to_not be_nil
|
862
|
-
expect(endpoints_all.length).to_not be 0
|
863
|
-
|
864
|
-
some_endpoint = @service.endpoints.find_by_id endpoints_all.first.id
|
865
|
-
expect(some_endpoint).to_not be_nil
|
866
|
-
|
867
|
-
expect { @service.endpoints.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
868
|
-
end
|
869
|
-
end
|
870
|
-
|
871
|
-
it "CRUD endpoints" do
|
872
|
-
VCR.use_cassette('idv3_endpoints_crud') do
|
873
|
-
|
874
|
-
service = @service.services.all.first
|
875
|
-
all_endpoints = @service.endpoints.all
|
876
|
-
|
877
|
-
begin
|
878
|
-
# Create a endpoint called foobar
|
879
|
-
foobar_endpoint = @service.endpoints.create(:service_id => service.id,
|
880
|
-
:interface => 'internal',
|
881
|
-
:name => 'foobar',
|
882
|
-
:url => 'http://example.com/foobar',
|
883
|
-
:enabled => false)
|
884
|
-
foobar_id = foobar_endpoint.id
|
885
|
-
expect(@service.endpoints.all(:interface => 'internal').select { |endpoint| endpoint.name == 'foobar' }.length).to be 1
|
886
|
-
|
887
|
-
# Rename it to baz
|
888
|
-
foobar_endpoint.update(:name => 'baz', :url => 'http://example.com/baz')
|
889
|
-
expect(foobar_endpoint.name).to eq 'baz'
|
890
|
-
expect(foobar_endpoint.url).to eq 'http://example.com/baz'
|
891
|
-
|
892
|
-
# Read the endpoint freshly and check the name
|
893
|
-
expect(@service.endpoints.all(:interface => 'internal').select { |endpoint| endpoint.name == 'baz' }.length).to be 1
|
894
|
-
baz_endpoint = @service.endpoints.find_by_id foobar_id
|
895
|
-
expect(baz_endpoint).to_not be_nil
|
896
|
-
expect(baz_endpoint.name).to eq 'baz'
|
897
|
-
expect(baz_endpoint.url).to eq 'http://example.com/baz'
|
898
|
-
expect(baz_endpoint.interface).to eq 'internal'
|
899
|
-
ensure
|
900
|
-
# Delete the endpoint
|
901
|
-
baz_endpoint.destroy
|
902
|
-
|
903
|
-
# Check that the deletion worked
|
904
|
-
expect { @service.endpoints.find_by_id foobar_id }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
905
|
-
expect(@service.endpoints.all.select { |endpoint| ['foobar', 'baz'].include? endpoint.name }.length).to be 0
|
906
|
-
end
|
907
|
-
end
|
908
|
-
end
|
909
|
-
|
910
|
-
it "lists OS credentials" do
|
911
|
-
VCR.use_cassette('idv3_credential') do
|
912
|
-
credentials = @service.os_credentials
|
913
|
-
expect(credentials).to_not be_nil
|
914
|
-
|
915
|
-
credentials_all = @service.os_credentials.all
|
916
|
-
expect(credentials_all).to_not be_nil
|
917
|
-
|
918
|
-
expect { @service.os_credentials.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
919
|
-
end
|
920
|
-
end
|
921
|
-
|
922
|
-
it "CRUD OS credentials" do
|
923
|
-
VCR.use_cassette('idv3_credential_crud') do
|
924
|
-
|
925
|
-
begin
|
926
|
-
# Create a user
|
927
|
-
foobar_user = @service.users.create(:name => 'u-foobar_cred',
|
928
|
-
:email => 'foobar@example.com',
|
929
|
-
:password => 's3cret!')
|
930
|
-
project = @service.projects.all.first
|
931
|
-
|
932
|
-
access_key = '9c4e774a-f644-498f-90c4-970b3f817fc5'
|
933
|
-
secret_key = '7e084117-b13d-4656-9eca-85376b690897'
|
934
|
-
|
935
|
-
# OpenStack Keystone requires the blob to be a JSON string - i.e. not JSON, but a string containing JSON :-/
|
936
|
-
blob_json = {:access => access_key,
|
937
|
-
:secret => secret_key}.to_json
|
938
|
-
|
939
|
-
# Make sure there are no existing ec2 credentials
|
940
|
-
@service.os_credentials.all.select { |credential| credential.type == 'foo' || credential.type == 'ec2' }.each do |credential|
|
941
|
-
credential.destroy
|
942
|
-
end
|
943
|
-
expect(@service.os_credentials.all.select { |credential| credential.type == 'ec2' }.length).to be 0
|
944
|
-
|
945
|
-
# Create a credential
|
946
|
-
foo_credential = @service.os_credentials.create(:type => 'ec2',
|
947
|
-
:project_id => project.id,
|
948
|
-
:user_id => foobar_user.id,
|
949
|
-
:blob => blob_json)
|
950
|
-
credential_id = foo_credential.id
|
951
|
-
expect(@service.os_credentials.all.select { |credential| credential.type == 'ec2' }.length).to be 1
|
952
|
-
|
953
|
-
# Update secret key
|
954
|
-
new_secret_key = '62307bcd-ca3c-47ae-a114-27a6cadb5bc9'
|
955
|
-
new_blob_json = {:access => access_key,
|
956
|
-
:secret => new_secret_key}.to_json
|
957
|
-
foo_credential.update(:blob => new_blob_json)
|
958
|
-
expect(JSON.parse(foo_credential.blob)['secret']).to eq new_secret_key
|
959
|
-
|
960
|
-
# Read the credential freshly and check the secret key
|
961
|
-
expect(@service.os_credentials.all.select { |credential| credential.type == 'ec2' }.length).to be 1
|
962
|
-
updated_credential = @service.os_credentials.find_by_id credential_id
|
963
|
-
expect(updated_credential).to_not be_nil
|
964
|
-
expect(updated_credential.type).to eq 'ec2'
|
965
|
-
expect(JSON.parse(updated_credential.blob)['secret']).to eq new_secret_key
|
966
|
-
|
967
|
-
ensure
|
968
|
-
foobar_user = @service.users.find_by_name('u-foobar_cred').first unless foobar_user
|
969
|
-
foobar_user.destroy if foobar_user
|
970
|
-
# Delete the credential
|
971
|
-
begin
|
972
|
-
updated_credential.destroy if updated_credential
|
973
|
-
foo_credential.destroy if foo_credential
|
974
|
-
rescue
|
975
|
-
false
|
976
|
-
end
|
977
|
-
|
978
|
-
# Check that the deletion worked
|
979
|
-
expect { @service.os_credentials.find_by_id credential_id }.to raise_error(Fog::Identity::OpenStack::NotFound) if credential_id
|
980
|
-
expect(@service.os_credentials.all.select { |credential| credential.type == 'ec2' }.length).to be 0
|
981
|
-
end
|
982
|
-
end
|
983
|
-
end
|
984
|
-
|
985
|
-
it "lists policies" do
|
986
|
-
VCR.use_cassette('idv3_policy') do
|
987
|
-
policies = @service.policies
|
988
|
-
expect(policies).to_not be_nil
|
989
|
-
expect(policies.length).to be 0
|
990
|
-
|
991
|
-
policies_all = @service.policies.all
|
992
|
-
expect(policies_all).to_not be_nil
|
993
|
-
expect(policies_all.length).to be 0
|
994
|
-
|
995
|
-
expect { @service.policies.find_by_id 'atlantis' }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
996
|
-
end
|
997
|
-
end
|
998
|
-
|
999
|
-
it "CRUD policies" do
|
1000
|
-
VCR.use_cassette('idv3_policy_crud') do
|
1001
|
-
|
1002
|
-
blob = {'foobar_user' => ['role:compute-user']}.to_json
|
1003
|
-
|
1004
|
-
# Make sure there are no existing policies
|
1005
|
-
expect(@service.policies.all.select { |policy| policy.type == 'application/json' }.length).to be 0
|
1006
|
-
|
1007
|
-
# Create a policy
|
1008
|
-
foo_policy = @service.policies.create(:type => 'application/json',
|
1009
|
-
:blob => blob)
|
1010
|
-
policy_id = foo_policy.id
|
1011
|
-
expect(@service.policies.all.select { |policy| policy.type == 'application/json' }.length).to be 1
|
1012
|
-
|
1013
|
-
# Update policy blob
|
1014
|
-
new_blob = {'baz_user' => ['role:compute-user']}.to_json
|
1015
|
-
foo_policy.update(:blob => new_blob)
|
1016
|
-
expect(foo_policy.blob).to eq new_blob
|
1017
|
-
|
1018
|
-
# Read the policy freshly and check the secret key
|
1019
|
-
expect(@service.policies.all.select { |policy| policy.type == 'application/json' }.length).to be 1
|
1020
|
-
updated_policy = @service.policies.find_by_id policy_id
|
1021
|
-
expect(updated_policy).to_not be_nil
|
1022
|
-
expect(updated_policy.type).to eq 'application/json'
|
1023
|
-
expect(updated_policy.blob).to eq new_blob
|
1024
|
-
|
1025
|
-
# Delete the policy
|
1026
|
-
updated_policy.destroy
|
1027
|
-
|
1028
|
-
# Check that the deletion worked
|
1029
|
-
expect { @service.policies.find_by_id policy_id }.to raise_error(Fog::Identity::OpenStack::NotFound)
|
1030
|
-
expect(@service.policies.all.select { |policy| policy.type == 'application/json' }.length).to be 0
|
1031
|
-
end
|
1032
|
-
end
|
1033
|
-
|
1034
|
-
end
|