fog-openstack 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{lib/fog/openstack/models/metering/meter.rb → .envrc_empty} +0 -0
- data/Gemfile +0 -2
- data/examples/workflow/workflow-examples.rb +1 -1
- data/fog-openstack.gemspec +1 -0
- data/gemfiles/Gemfile-1.9 +2 -3
- data/lib/fog/baremetal/openstack.rb +284 -0
- data/lib/fog/baremetal/openstack/models/chassis.rb +49 -0
- data/lib/fog/baremetal/openstack/models/chassis_collection.rb +44 -0
- data/lib/fog/baremetal/openstack/models/driver.rb +24 -0
- data/lib/fog/baremetal/openstack/models/drivers.rb +21 -0
- data/lib/fog/baremetal/openstack/models/node.rb +96 -0
- data/lib/fog/baremetal/openstack/models/nodes.rb +44 -0
- data/lib/fog/baremetal/openstack/models/port.rb +50 -0
- data/lib/fog/baremetal/openstack/models/ports.rb +44 -0
- data/lib/fog/baremetal/openstack/requests/create_chassis.rb +44 -0
- data/lib/fog/baremetal/openstack/requests/create_node.rb +54 -0
- data/lib/fog/baremetal/openstack/requests/create_port.rb +46 -0
- data/lib/fog/baremetal/openstack/requests/delete_chassis.rb +25 -0
- data/lib/fog/baremetal/openstack/requests/delete_node.rb +25 -0
- data/lib/fog/baremetal/openstack/requests/delete_port.rb +25 -0
- data/lib/fog/baremetal/openstack/requests/get_chassis.rb +24 -0
- data/lib/fog/baremetal/openstack/requests/get_driver.rb +24 -0
- data/lib/fog/baremetal/openstack/requests/get_driver_properties.rb +40 -0
- data/lib/fog/baremetal/openstack/requests/get_node.rb +24 -0
- data/lib/fog/baremetal/openstack/requests/get_port.rb +24 -0
- data/lib/fog/baremetal/openstack/requests/list_chassis.rb +42 -0
- data/lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb +25 -0
- data/lib/fog/baremetal/openstack/requests/list_drivers.rb +25 -0
- data/lib/fog/baremetal/openstack/requests/list_nodes.rb +34 -0
- data/lib/fog/baremetal/openstack/requests/list_nodes_detailed.rb +25 -0
- data/lib/fog/baremetal/openstack/requests/list_ports.rb +42 -0
- data/lib/fog/baremetal/openstack/requests/list_ports_detailed.rb +25 -0
- data/lib/fog/baremetal/openstack/requests/patch_chassis.rb +41 -0
- data/lib/fog/baremetal/openstack/requests/patch_node.rb +41 -0
- data/lib/fog/baremetal/openstack/requests/patch_port.rb +41 -0
- data/lib/fog/baremetal/openstack/requests/set_node_maintenance.rb +30 -0
- data/lib/fog/baremetal/openstack/requests/set_node_power_state.rb +35 -0
- data/lib/fog/baremetal/openstack/requests/set_node_provision_state.rb +38 -0
- data/lib/fog/baremetal/openstack/requests/unset_node_maintenance.rb +30 -0
- data/lib/fog/compute/openstack.rb +379 -0
- data/lib/fog/compute/openstack/models/address.rb +67 -0
- data/lib/fog/compute/openstack/models/addresses.rb +28 -0
- data/lib/fog/compute/openstack/models/aggregate.rb +59 -0
- data/lib/fog/compute/openstack/models/aggregates.rb +26 -0
- data/lib/fog/{openstack/models/compute → compute/openstack/models}/availability_zone.rb +0 -0
- data/lib/fog/compute/openstack/models/availability_zones.rb +22 -0
- data/lib/fog/{openstack/models/compute → compute/openstack/models}/flavor.rb +0 -0
- data/lib/fog/compute/openstack/models/flavors.rb +29 -0
- data/lib/fog/compute/openstack/models/host.rb +28 -0
- data/lib/fog/compute/openstack/models/hosts.rb +26 -0
- data/lib/fog/compute/openstack/models/image.rb +46 -0
- data/lib/fog/compute/openstack/models/images.rb +38 -0
- data/lib/fog/compute/openstack/models/key_pair.rb +56 -0
- data/lib/fog/compute/openstack/models/key_pairs.rb +29 -0
- data/lib/fog/compute/openstack/models/metadata.rb +65 -0
- data/lib/fog/{openstack/models/compute → compute/openstack/models}/metadatum.rb +0 -0
- data/lib/fog/{openstack/models/compute → compute/openstack/models}/network.rb +0 -0
- data/lib/fog/compute/openstack/models/networks.rb +30 -0
- data/lib/fog/{openstack/models/compute → compute/openstack/models}/security_group.rb +0 -0
- data/lib/fog/{openstack/models/compute → compute/openstack/models}/security_group_rule.rb +0 -0
- data/lib/fog/compute/openstack/models/security_group_rules.rb +21 -0
- data/lib/fog/compute/openstack/models/security_groups.rb +24 -0
- data/lib/fog/compute/openstack/models/server.rb +397 -0
- data/lib/fog/compute/openstack/models/server_group.rb +22 -0
- data/lib/fog/compute/openstack/models/server_groups.rb +28 -0
- data/lib/fog/compute/openstack/models/servers.rb +59 -0
- data/lib/fog/compute/openstack/models/service.rb +42 -0
- data/lib/fog/compute/openstack/models/services.rb +35 -0
- data/lib/fog/compute/openstack/models/snapshot.rb +32 -0
- data/lib/fog/compute/openstack/models/snapshots.rb +37 -0
- data/lib/fog/compute/openstack/models/tenant.rb +24 -0
- data/lib/fog/compute/openstack/models/tenants.rb +24 -0
- data/lib/fog/compute/openstack/models/volume.rb +52 -0
- data/lib/fog/{openstack/models/compute → compute/openstack/models}/volume_attachment.rb +0 -0
- data/lib/fog/{openstack/models/compute → compute/openstack/models}/volume_attachments.rb +0 -0
- data/lib/fog/compute/openstack/models/volumes.rb +37 -0
- data/lib/fog/compute/openstack/requests/add_aggregate_host.rb +30 -0
- data/lib/fog/compute/openstack/requests/add_fixed_ip.rb +29 -0
- data/lib/fog/compute/openstack/requests/add_flavor_access.rb +29 -0
- data/lib/fog/compute/openstack/requests/add_security_group.rb +20 -0
- data/lib/fog/compute/openstack/requests/allocate_address.rb +39 -0
- data/lib/fog/compute/openstack/requests/associate_address.rb +30 -0
- data/lib/fog/compute/openstack/requests/attach_volume.rb +39 -0
- data/lib/fog/compute/openstack/requests/boot_from_snapshot.rb +41 -0
- data/lib/fog/compute/openstack/requests/change_server_password.rb +20 -0
- data/lib/fog/compute/openstack/requests/confirm_resize_server.rb +20 -0
- data/lib/fog/compute/openstack/requests/create_aggregate.rb +42 -0
- data/lib/fog/compute/openstack/requests/create_flavor.rb +85 -0
- data/lib/fog/compute/openstack/requests/create_flavor_metadata.rb +37 -0
- data/lib/fog/compute/openstack/requests/create_image.rb +44 -0
- data/lib/fog/compute/openstack/requests/create_key_pair.rb +47 -0
- data/lib/fog/compute/openstack/requests/create_security_group.rb +51 -0
- data/lib/fog/compute/openstack/requests/create_security_group_rule.rb +57 -0
- data/lib/fog/compute/openstack/requests/create_server.rb +189 -0
- data/lib/fog/compute/openstack/requests/create_server_group.rb +31 -0
- data/lib/fog/{openstack/requests/compute → compute/openstack/requests}/create_snapshot.rb +0 -0
- data/lib/fog/compute/openstack/requests/create_volume.rb +58 -0
- data/lib/fog/compute/openstack/requests/delete_aggregate.rb +28 -0
- data/lib/fog/compute/openstack/requests/delete_flavor.rb +28 -0
- data/lib/fog/{openstack/requests/compute → compute/openstack/requests}/delete_flavor_metadata.rb +0 -0
- data/lib/fog/compute/openstack/requests/delete_image.rb +36 -0
- data/lib/fog/compute/openstack/requests/delete_key_pair.rb +29 -0
- data/lib/fog/compute/openstack/requests/delete_meta.rb +35 -0
- data/lib/fog/compute/openstack/requests/delete_metadata.rb +23 -0
- data/lib/fog/compute/openstack/requests/delete_security_group.rb +31 -0
- data/lib/fog/compute/openstack/requests/delete_security_group_rule.rb +31 -0
- data/lib/fog/compute/openstack/requests/delete_server.rb +37 -0
- data/lib/fog/compute/openstack/requests/delete_server_group.rb +28 -0
- data/lib/fog/compute/openstack/requests/delete_service.rb +32 -0
- data/lib/fog/compute/openstack/requests/delete_snapshot.rb +28 -0
- data/lib/fog/compute/openstack/requests/delete_volume.rb +28 -0
- data/lib/fog/compute/openstack/requests/detach_volume.rb +29 -0
- data/lib/fog/compute/openstack/requests/disable_service.rb +37 -0
- data/lib/fog/compute/openstack/requests/disable_service_log_reason.rb +38 -0
- data/lib/fog/compute/openstack/requests/disassociate_address.rb +25 -0
- data/lib/fog/compute/openstack/requests/enable_service.rb +37 -0
- data/lib/fog/{openstack/requests/compute → compute/openstack/requests}/evacuate_server.rb +0 -0
- data/lib/fog/compute/openstack/requests/get_address.rb +38 -0
- data/lib/fog/compute/openstack/requests/get_aggregate.rb +25 -0
- data/lib/fog/compute/openstack/requests/get_console_output.rb +24 -0
- data/lib/fog/compute/openstack/requests/get_flavor_details.rb +39 -0
- data/lib/fog/compute/openstack/requests/get_flavor_metadata.rb +26 -0
- data/lib/fog/compute/openstack/requests/get_host_details.rb +60 -0
- data/lib/fog/compute/openstack/requests/get_hypervisor_statistics.rb +39 -0
- data/lib/fog/compute/openstack/requests/get_image_details.rb +29 -0
- data/lib/fog/compute/openstack/requests/get_key_pair.rb +50 -0
- data/lib/fog/compute/openstack/requests/get_limits.rb +94 -0
- data/lib/fog/compute/openstack/requests/get_metadata.rb +24 -0
- data/lib/fog/compute/openstack/requests/get_quota.rb +26 -0
- data/lib/fog/compute/openstack/requests/get_quota_defaults.rb +26 -0
- data/lib/fog/compute/openstack/requests/get_security_group.rb +37 -0
- data/lib/fog/compute/openstack/requests/get_security_group_rule.rb +38 -0
- data/lib/fog/compute/openstack/requests/get_server_details.rb +29 -0
- data/lib/fog/compute/openstack/requests/get_server_group.rb +38 -0
- data/lib/fog/compute/openstack/requests/get_server_password.rb +29 -0
- data/lib/fog/compute/openstack/requests/get_server_volumes.rb +27 -0
- data/lib/fog/compute/openstack/requests/get_snapshot_details.rb +30 -0
- data/lib/fog/compute/openstack/requests/get_usage.rb +48 -0
- data/lib/fog/compute/openstack/requests/get_vnc_console.rb +40 -0
- data/lib/fog/compute/openstack/requests/get_volume_details.rb +32 -0
- data/lib/fog/compute/openstack/requests/list_address_pools.rb +28 -0
- data/lib/fog/compute/openstack/requests/list_addresses.rb +29 -0
- data/lib/fog/compute/openstack/requests/list_aggregates.rb +37 -0
- data/lib/fog/compute/openstack/requests/list_all_addresses.rb +62 -0
- data/lib/fog/{openstack/requests/compute → compute/openstack/requests}/list_availability_zones.rb +0 -0
- data/lib/fog/compute/openstack/requests/list_flavors.rb +35 -0
- data/lib/fog/compute/openstack/requests/list_flavors_detail.rb +35 -0
- data/lib/fog/compute/openstack/requests/list_hosts.rb +27 -0
- data/lib/fog/compute/openstack/requests/list_images.rb +29 -0
- data/lib/fog/compute/openstack/requests/list_images_detail.rb +36 -0
- data/lib/fog/compute/openstack/requests/list_key_pairs.rb +39 -0
- data/lib/fog/compute/openstack/requests/list_metadata.rb +24 -0
- data/lib/fog/compute/openstack/requests/list_private_addresses.rb +29 -0
- data/lib/fog/compute/openstack/requests/list_public_addresses.rb +29 -0
- data/lib/fog/compute/openstack/requests/list_security_groups.rb +67 -0
- data/lib/fog/compute/openstack/requests/list_server_groups.rb +28 -0
- data/lib/fog/compute/openstack/requests/list_servers.rb +36 -0
- data/lib/fog/compute/openstack/requests/list_servers_detail.rb +43 -0
- data/lib/fog/compute/openstack/requests/list_services.rb +66 -0
- data/lib/fog/compute/openstack/requests/list_snapshots.rb +40 -0
- data/lib/fog/compute/openstack/requests/list_snapshots_detail.rb +26 -0
- data/lib/fog/compute/openstack/requests/list_tenants.rb +43 -0
- data/lib/fog/compute/openstack/requests/list_tenants_with_flavor_access.rb +26 -0
- data/lib/fog/compute/openstack/requests/list_usages.rb +38 -0
- data/lib/fog/compute/openstack/requests/list_volume_attachments.rb +31 -0
- data/lib/fog/compute/openstack/requests/list_volumes.rb +39 -0
- data/lib/fog/compute/openstack/requests/list_volumes_detail.rb +25 -0
- data/lib/fog/compute/openstack/requests/list_zones.rb +33 -0
- data/lib/fog/compute/openstack/requests/list_zones_detailed.rb +68 -0
- data/lib/fog/compute/openstack/requests/live_migrate_server.rb +26 -0
- data/lib/fog/compute/openstack/requests/migrate_server.rb +20 -0
- data/lib/fog/compute/openstack/requests/pause_server.rb +24 -0
- data/lib/fog/compute/openstack/requests/reboot_server.rb +20 -0
- data/lib/fog/compute/openstack/requests/rebuild_server.rb +34 -0
- data/lib/fog/compute/openstack/requests/release_address.rb +29 -0
- data/lib/fog/compute/openstack/requests/remove_aggregate_host.rb +30 -0
- data/lib/fog/compute/openstack/requests/remove_fixed_ip.rb +29 -0
- data/lib/fog/compute/openstack/requests/remove_flavor_access.rb +29 -0
- data/lib/fog/compute/openstack/requests/remove_security_group.rb +20 -0
- data/lib/fog/compute/openstack/requests/rescue_server.rb +24 -0
- data/lib/fog/compute/openstack/requests/reset_server_state.rb +20 -0
- data/lib/fog/compute/openstack/requests/resize_server.rb +20 -0
- data/lib/fog/compute/openstack/requests/resume_server.rb +24 -0
- data/lib/fog/compute/openstack/requests/revert_resize_server.rb +26 -0
- data/lib/fog/compute/openstack/requests/server_action.rb +16 -0
- data/lib/fog/compute/openstack/requests/server_actions.rb +38 -0
- data/lib/fog/compute/openstack/requests/server_diagnostics.rb +25 -0
- data/lib/fog/compute/openstack/requests/set_metadata.rb +37 -0
- data/lib/fog/compute/openstack/requests/set_tenant.rb +19 -0
- data/lib/fog/compute/openstack/requests/shelve_offload_server.rb +24 -0
- data/lib/fog/compute/openstack/requests/shelve_server.rb +24 -0
- data/lib/fog/compute/openstack/requests/start_server.rb +24 -0
- data/lib/fog/compute/openstack/requests/stop_server.rb +24 -0
- data/lib/fog/compute/openstack/requests/suspend_server.rb +24 -0
- data/lib/fog/compute/openstack/requests/unpause_server.rb +24 -0
- data/lib/fog/compute/openstack/requests/unshelve_server.rb +24 -0
- data/lib/fog/compute/openstack/requests/update_aggregate.rb +37 -0
- data/lib/fog/compute/openstack/requests/update_aggregate_metadata.rb +30 -0
- data/lib/fog/{openstack/requests/compute → compute/openstack/requests}/update_flavor_metadata.rb +0 -0
- data/lib/fog/compute/openstack/requests/update_meta.rb +38 -0
- data/lib/fog/compute/openstack/requests/update_metadata.rb +38 -0
- data/lib/fog/compute/openstack/requests/update_quota.rb +28 -0
- data/lib/fog/compute/openstack/requests/update_server.rb +32 -0
- data/lib/fog/dns/openstack.rb +18 -0
- data/lib/fog/dns/openstack/v1.rb +128 -0
- data/lib/fog/dns/openstack/v1/requests/get_quota.rb +26 -0
- data/lib/fog/dns/openstack/v1/requests/list_domains.rb +27 -0
- data/lib/fog/dns/openstack/v1/requests/update_quota.rb +31 -0
- data/lib/fog/dns/openstack/v2.rb +146 -0
- data/lib/fog/dns/openstack/v2/requests/get_quota.rb +27 -0
- data/lib/fog/dns/openstack/v2/requests/list_zones.rb +27 -0
- data/lib/fog/dns/openstack/v2/requests/update_quota.rb +33 -0
- data/lib/fog/{openstack/identity.rb → identity/openstack.rb} +0 -0
- data/lib/fog/identity/openstack/v2.rb +181 -0
- data/lib/fog/{openstack/models/identity_v2 → identity/openstack/v2/models}/ec2_credential.rb +0 -0
- data/lib/fog/identity/openstack/v2/models/ec2_credentials.rb +56 -0
- data/lib/fog/identity/openstack/v2/models/role.rb +53 -0
- data/lib/fog/identity/openstack/v2/models/roles.rb +22 -0
- data/lib/fog/identity/openstack/v2/models/tenant.rb +63 -0
- data/lib/fog/identity/openstack/v2/models/tenants.rb +32 -0
- data/lib/fog/identity/openstack/v2/models/user.rb +69 -0
- data/lib/fog/identity/openstack/v2/models/users.rb +45 -0
- data/lib/fog/identity/openstack/v2/requests/add_user_to_tenant.rb +36 -0
- data/lib/fog/identity/openstack/v2/requests/check_token.rb +22 -0
- data/lib/fog/identity/openstack/v2/requests/create_ec2_credential.rb +59 -0
- data/lib/fog/identity/openstack/v2/requests/create_role.rb +38 -0
- data/lib/fog/identity/openstack/v2/requests/create_tenant.rb +34 -0
- data/lib/fog/identity/openstack/v2/requests/create_user.rb +45 -0
- data/lib/fog/identity/openstack/v2/requests/create_user_role.rb +26 -0
- data/lib/fog/identity/openstack/v2/requests/delete_ec2_credential.rb +43 -0
- data/lib/fog/identity/openstack/v2/requests/delete_role.rb +30 -0
- data/lib/fog/identity/openstack/v2/requests/delete_tenant.rb +33 -0
- data/lib/fog/identity/openstack/v2/requests/delete_user.rb +31 -0
- data/lib/fog/identity/openstack/v2/requests/delete_user_role.rb +25 -0
- data/lib/fog/identity/openstack/v2/requests/get_ec2_credential.rb +50 -0
- data/lib/fog/identity/openstack/v2/requests/get_role.rb +30 -0
- data/lib/fog/identity/openstack/v2/requests/get_tenant.rb +33 -0
- data/lib/fog/identity/openstack/v2/requests/get_tenants_by_id.rb +20 -0
- data/lib/fog/identity/openstack/v2/requests/get_tenants_by_name.rb +20 -0
- data/lib/fog/identity/openstack/v2/requests/get_user_by_id.rb +34 -0
- data/lib/fog/identity/openstack/v2/requests/get_user_by_name.rb +29 -0
- data/lib/fog/identity/openstack/v2/requests/list_ec2_credentials.rb +61 -0
- data/lib/fog/identity/openstack/v2/requests/list_endpoints_for_token.rb +20 -0
- data/lib/fog/identity/openstack/v2/requests/list_roles.rb +34 -0
- data/lib/fog/identity/openstack/v2/requests/list_roles_for_user_on_tenant.rb +32 -0
- data/lib/fog/identity/openstack/v2/requests/list_tenants.rb +53 -0
- data/lib/fog/identity/openstack/v2/requests/list_user_global_roles.rb +20 -0
- data/lib/fog/identity/openstack/v2/requests/list_users.rb +47 -0
- data/lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb +22 -0
- data/lib/fog/identity/openstack/v2/requests/set_tenant.rb +21 -0
- data/lib/fog/identity/openstack/v2/requests/update_tenant.rb +30 -0
- data/lib/fog/identity/openstack/v2/requests/update_user.rb +34 -0
- data/lib/fog/identity/openstack/v2/requests/validate_token.rb +22 -0
- data/lib/fog/identity/openstack/v3.rb +162 -0
- data/lib/fog/identity/openstack/v3/models/domain.rb +59 -0
- data/lib/fog/identity/openstack/v3/models/domains.rb +51 -0
- data/lib/fog/identity/openstack/v3/models/endpoint.rb +47 -0
- data/lib/fog/identity/openstack/v3/models/endpoints.rb +27 -0
- data/lib/fog/identity/openstack/v3/models/group.rb +94 -0
- data/lib/fog/identity/openstack/v3/models/groups.rb +32 -0
- data/lib/fog/identity/openstack/v3/models/os_credential.rb +74 -0
- data/lib/fog/identity/openstack/v3/models/os_credentials.rb +32 -0
- data/lib/fog/identity/openstack/v3/models/policies.rb +32 -0
- data/lib/fog/identity/openstack/v3/models/policy.rb +43 -0
- data/lib/fog/identity/openstack/v3/models/project.rb +116 -0
- data/lib/fog/identity/openstack/v3/models/projects.rb +75 -0
- data/lib/fog/identity/openstack/v3/models/role.rb +41 -0
- data/lib/fog/identity/openstack/v3/models/role_assignment.rb +21 -0
- data/lib/fog/identity/openstack/v3/models/role_assignments.rb +25 -0
- data/lib/fog/identity/openstack/v3/models/roles.rb +40 -0
- data/lib/fog/identity/openstack/v3/models/service.rb +48 -0
- data/lib/fog/identity/openstack/v3/models/services.rb +32 -0
- data/lib/fog/identity/openstack/v3/models/token.rb +24 -0
- data/lib/fog/identity/openstack/v3/models/tokens.rb +40 -0
- data/lib/fog/identity/openstack/v3/models/user.rb +82 -0
- data/lib/fog/identity/openstack/v3/models/users.rb +36 -0
- data/lib/fog/identity/openstack/v3/requests/add_user_to_group.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/auth_domains.rb +23 -0
- data/lib/fog/identity/openstack/v3/requests/auth_projects.rb +23 -0
- data/lib/fog/identity/openstack/v3/requests/check_domain_group_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/check_domain_user_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/check_project_group_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/check_project_user_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/create_domain.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/create_endpoint.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/create_group.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/create_os_credential.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/create_policy.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/create_project.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/create_role.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/create_service.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/create_user.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/delete_domain.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/delete_endpoint.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/delete_group.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/delete_os_credential.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/delete_policy.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/delete_project.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/delete_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/delete_service.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/delete_user.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/get_domain.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/get_endpoint.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/get_group.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/get_os_credential.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/get_policy.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/get_project.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/get_role.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/get_service.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/get_user.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/grant_domain_group_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/grant_domain_user_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/grant_project_group_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/group_user_check.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/list_domain_group_roles.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/list_domain_user_roles.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/list_domains.rb +23 -0
- data/lib/fog/identity/openstack/v3/requests/list_endpoints.rb +23 -0
- data/lib/fog/identity/openstack/v3/requests/list_group_users.rb +23 -0
- data/lib/fog/identity/openstack/v3/requests/list_groups.rb +31 -0
- data/lib/fog/identity/openstack/v3/requests/list_os_credentials.rb +23 -0
- data/lib/fog/identity/openstack/v3/requests/list_policies.rb +23 -0
- data/lib/fog/identity/openstack/v3/requests/list_project_group_roles.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/list_project_user_roles.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/list_projects.rb +30 -0
- data/lib/fog/identity/openstack/v3/requests/list_role_assignments.rb +38 -0
- data/lib/fog/identity/openstack/v3/requests/list_roles.rb +23 -0
- data/lib/fog/identity/openstack/v3/requests/list_services.rb +23 -0
- data/lib/fog/identity/openstack/v3/requests/list_user_groups.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/list_user_projects.rb +22 -0
- data/lib/fog/identity/openstack/v3/requests/list_users.rb +23 -0
- data/lib/fog/identity/openstack/v3/requests/remove_user_from_group.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/revoke_domain_group_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/revoke_domain_user_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/revoke_project_group_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/revoke_project_user_role.rb +20 -0
- data/lib/fog/identity/openstack/v3/requests/token_authenticate.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/token_check.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/token_revoke.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/token_validate.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/update_domain.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/update_endpoint.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/update_group.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/update_os_credential.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/update_policy.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/update_project.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/update_role.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/update_service.rb +21 -0
- data/lib/fog/identity/openstack/v3/requests/update_user.rb +21 -0
- data/lib/fog/image/openstack.rb +20 -0
- data/lib/fog/image/openstack/v1.rb +133 -0
- data/lib/fog/image/openstack/v1/models/image.rb +78 -0
- data/lib/fog/image/openstack/v1/models/images.rb +69 -0
- data/lib/fog/image/openstack/v1/requests/add_member_to_image.rb +25 -0
- data/lib/fog/image/openstack/v1/requests/create_image.rb +78 -0
- data/lib/fog/image/openstack/v1/requests/delete_image.rb +25 -0
- data/lib/fog/image/openstack/v1/requests/get_image.rb +47 -0
- data/lib/fog/image/openstack/v1/requests/get_image_by_id.rb +35 -0
- data/lib/fog/image/openstack/v1/requests/get_image_members.rb +31 -0
- data/lib/fog/image/openstack/v1/requests/get_shared_images.rb +31 -0
- data/lib/fog/image/openstack/v1/requests/list_public_images.rb +36 -0
- data/lib/fog/image/openstack/v1/requests/list_public_images_detailed.rb +37 -0
- data/lib/fog/image/openstack/v1/requests/remove_member_from_image.rb +25 -0
- data/lib/fog/image/openstack/v1/requests/set_tenant.rb +21 -0
- data/lib/fog/image/openstack/v1/requests/update_image.rb +66 -0
- data/lib/fog/image/openstack/v1/requests/update_image_members.rb +39 -0
- data/lib/fog/image/openstack/v2.rb +141 -0
- data/lib/fog/image/openstack/v2/models/image.rb +169 -0
- data/lib/fog/image/openstack/v2/models/images.rb +67 -0
- data/lib/fog/image/openstack/v2/requests/add_member_to_image.rb +26 -0
- data/lib/fog/image/openstack/v2/requests/add_tag_to_image.rb +25 -0
- data/lib/fog/image/openstack/v2/requests/create_image.rb +51 -0
- data/lib/fog/image/openstack/v2/requests/deactivate_image.rb +25 -0
- data/lib/fog/image/openstack/v2/requests/delete_image.rb +25 -0
- data/lib/fog/image/openstack/v2/requests/download_image.rb +29 -0
- data/lib/fog/image/openstack/v2/requests/get_image.rb +47 -0
- data/lib/fog/image/openstack/v2/requests/get_image_by_id.rb +35 -0
- data/lib/fog/image/openstack/v2/requests/get_image_members.rb +31 -0
- data/lib/fog/image/openstack/v2/requests/get_member_details.rb +33 -0
- data/lib/fog/image/openstack/v2/requests/get_shared_images.rb +31 -0
- data/lib/fog/image/openstack/v2/requests/list_images.rb +36 -0
- data/lib/fog/image/openstack/v2/requests/reactivate_image.rb +25 -0
- data/lib/fog/image/openstack/v2/requests/remove_member_from_image.rb +25 -0
- data/lib/fog/image/openstack/v2/requests/remove_tag_from_image.rb +25 -0
- data/lib/fog/image/openstack/v2/requests/set_tenant.rb +21 -0
- data/lib/fog/image/openstack/v2/requests/update_image.rb +49 -0
- data/lib/fog/image/openstack/v2/requests/update_image_member.rb +34 -0
- data/lib/fog/image/openstack/v2/requests/upload_image.rb +30 -0
- data/lib/fog/introspection/openstack.rb +108 -0
- data/lib/fog/{openstack/models/introspection → introspection/openstack/models}/rules.rb +0 -0
- data/lib/fog/introspection/openstack/models/rules_collection.rb +32 -0
- data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/abort_introspection.rb +0 -0
- data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/create_introspection.rb +0 -0
- data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/create_rules.rb +0 -0
- data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/delete_rules.rb +0 -0
- data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/delete_rules_all.rb +0 -0
- data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/get_introspection.rb +0 -0
- data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/get_introspection_details.rb +0 -0
- data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/get_rules.rb +0 -0
- data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/list_rules.rb +0 -0
- data/lib/fog/metering/openstack.rb +131 -0
- data/lib/fog/{openstack/models/metering → metering/openstack/models}/event.rb +0 -0
- data/lib/fog/metering/openstack/models/events.rb +23 -0
- data/lib/fog/{openstack/models/metering/meters.rb → metering/openstack/models/meter.rb} +0 -0
- data/lib/fog/metering/openstack/models/meters.rb +0 -0
- data/lib/fog/{openstack/models/metering → metering/openstack/models}/resource.rb +0 -0
- data/lib/fog/metering/openstack/models/resources.rb +23 -0
- data/lib/fog/metering/openstack/requests/get_event.rb +27 -0
- data/lib/fog/metering/openstack/requests/get_resource.rb +29 -0
- data/lib/fog/metering/openstack/requests/get_samples.rb +51 -0
- data/lib/fog/metering/openstack/requests/get_statistics.rb +52 -0
- data/lib/fog/metering/openstack/requests/list_events.rb +42 -0
- data/lib/fog/metering/openstack/requests/list_meters.rb +46 -0
- data/lib/fog/metering/openstack/requests/list_resources.rb +29 -0
- data/lib/fog/monitoring/openstack.rb +90 -0
- data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/alarm.rb +0 -0
- data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/alarm_count.rb +0 -0
- data/lib/fog/monitoring/openstack/models/alarm_counts.rb +16 -0
- data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/alarm_definition.rb +0 -0
- data/lib/fog/monitoring/openstack/models/alarm_definitions.rb +42 -0
- data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/alarm_state.rb +0 -0
- data/lib/fog/monitoring/openstack/models/alarm_states.rb +20 -0
- data/lib/fog/monitoring/openstack/models/alarms.rb +30 -0
- data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/measurement.rb +0 -0
- data/lib/fog/monitoring/openstack/models/measurements.rb +16 -0
- data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/metric.rb +0 -0
- data/lib/fog/monitoring/openstack/models/metrics.rb +28 -0
- data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/notification_method.rb +0 -0
- data/lib/fog/monitoring/openstack/models/notification_methods.rb +38 -0
- data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/statistic.rb +0 -0
- data/lib/fog/monitoring/openstack/models/statistics.rb +16 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/create_alarm_definition.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/create_metric.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/create_metric_array.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/create_notification_method.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/delete_alarm.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/delete_alarm_definition.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/delete_notification_method.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/find_measurements.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/get_alarm.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/get_alarm_counts.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/get_alarm_definition.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/get_notification_method.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_alarm_definitions.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_alarm_state_history_for_all_alarms.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_alarm_state_history_for_specific_alarm.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_alarms.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_metric_names.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_metrics.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_notification_methods.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_statistics.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/patch_alarm.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/patch_alarm_definition.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/update_alarm.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/update_alarm_definition.rb +0 -0
- data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/update_notification_method.rb +0 -0
- data/lib/fog/network/openstack.rb +321 -0
- data/lib/fog/network/openstack/models/floating_ip.rb +64 -0
- data/lib/fog/network/openstack/models/floating_ips.rb +32 -0
- data/lib/fog/network/openstack/models/ike_policies.rb +32 -0
- data/lib/fog/{openstack/models/network → network/openstack/models}/ike_policy.rb +0 -0
- data/lib/fog/network/openstack/models/ipsec_policies.rb +32 -0
- data/lib/fog/{openstack/models/network → network/openstack/models}/ipsec_policy.rb +0 -0
- data/lib/fog/{openstack/models/network → network/openstack/models}/ipsec_site_connection.rb +0 -0
- data/lib/fog/network/openstack/models/ipsec_site_connections.rb +33 -0
- data/lib/fog/network/openstack/models/lb_health_monitor.rb +57 -0
- data/lib/fog/network/openstack/models/lb_health_monitors.rb +32 -0
- data/lib/fog/network/openstack/models/lb_member.rb +42 -0
- data/lib/fog/network/openstack/models/lb_members.rb +32 -0
- data/lib/fog/network/openstack/models/lb_pool.rb +67 -0
- data/lib/fog/network/openstack/models/lb_pools.rb +32 -0
- data/lib/fog/network/openstack/models/lb_vip.rb +48 -0
- data/lib/fog/network/openstack/models/lb_vips.rb +32 -0
- data/lib/fog/network/openstack/models/network.rb +43 -0
- data/lib/fog/network/openstack/models/networks.rb +32 -0
- data/lib/fog/network/openstack/models/port.rb +42 -0
- data/lib/fog/network/openstack/models/ports.rb +32 -0
- data/lib/fog/network/openstack/models/rbac_policies.rb +33 -0
- data/lib/fog/{openstack/models/network → network/openstack/models}/rbac_policy.rb +0 -0
- data/lib/fog/network/openstack/models/router.rb +61 -0
- data/lib/fog/network/openstack/models/routers.rb +32 -0
- data/lib/fog/network/openstack/models/security_group.rb +32 -0
- data/lib/fog/network/openstack/models/security_group_rule.rb +33 -0
- data/lib/fog/network/openstack/models/security_group_rules.rb +32 -0
- data/lib/fog/network/openstack/models/security_groups.rb +32 -0
- data/lib/fog/network/openstack/models/subnet.rb +44 -0
- data/lib/fog/network/openstack/models/subnets.rb +32 -0
- data/lib/fog/{openstack/models/network → network/openstack/models}/vpn_service.rb +0 -0
- data/lib/fog/network/openstack/models/vpn_services.rb +32 -0
- data/lib/fog/network/openstack/requests/add_router_interface.rb +52 -0
- data/lib/fog/network/openstack/requests/associate_floating_ip.rb +47 -0
- data/lib/fog/network/openstack/requests/associate_lb_health_monitor.rb +37 -0
- data/lib/fog/network/openstack/requests/create_floating_ip.rb +45 -0
- data/lib/fog/network/openstack/requests/create_ike_policy.rb +52 -0
- data/lib/fog/network/openstack/requests/create_ipsec_policy.rb +52 -0
- data/lib/fog/network/openstack/requests/create_ipsec_site_connection.rb +65 -0
- data/lib/fog/network/openstack/requests/create_lb_health_monitor.rb +54 -0
- data/lib/fog/network/openstack/requests/create_lb_member.rb +51 -0
- data/lib/fog/network/openstack/requests/create_lb_pool.rb +58 -0
- data/lib/fog/network/openstack/requests/create_lb_vip.rb +58 -0
- data/lib/fog/network/openstack/requests/create_network.rb +97 -0
- data/lib/fog/network/openstack/requests/create_port.rb +53 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/create_rbac_policy.rb +0 -0
- data/lib/fog/network/openstack/requests/create_router.rb +76 -0
- data/lib/fog/network/openstack/requests/create_security_group.rb +92 -0
- data/lib/fog/network/openstack/requests/create_security_group_rule.rb +79 -0
- data/lib/fog/network/openstack/requests/create_subnet.rb +54 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/create_vpn_service.rb +0 -0
- data/lib/fog/network/openstack/requests/delete_floating_ip.rb +28 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/delete_ike_policy.rb +0 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/delete_ipsec_policy.rb +0 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/delete_ipsec_site_connection.rb +0 -0
- data/lib/fog/network/openstack/requests/delete_lb_health_monitor.rb +28 -0
- data/lib/fog/network/openstack/requests/delete_lb_member.rb +28 -0
- data/lib/fog/network/openstack/requests/delete_lb_pool.rb +28 -0
- data/lib/fog/network/openstack/requests/delete_lb_vip.rb +28 -0
- data/lib/fog/network/openstack/requests/delete_network.rb +28 -0
- data/lib/fog/network/openstack/requests/delete_port.rb +28 -0
- data/lib/fog/network/openstack/requests/delete_quota.rb +23 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/delete_rbac_policy.rb +0 -0
- data/lib/fog/network/openstack/requests/delete_router.rb +28 -0
- data/lib/fog/network/openstack/requests/delete_security_group.rb +32 -0
- data/lib/fog/network/openstack/requests/delete_security_group_rule.rb +32 -0
- data/lib/fog/network/openstack/requests/delete_subnet.rb +28 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/delete_vpn_service.rb +0 -0
- data/lib/fog/network/openstack/requests/disassociate_floating_ip.rb +47 -0
- data/lib/fog/network/openstack/requests/disassociate_lb_health_monitor.rb +29 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_floating_ip.rb +0 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_ike_policy.rb +0 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_ipsec_policy.rb +0 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_ipsec_site_connection.rb +0 -0
- data/lib/fog/network/openstack/requests/get_lb_health_monitor.rb +28 -0
- data/lib/fog/network/openstack/requests/get_lb_member.rb +28 -0
- data/lib/fog/network/openstack/requests/get_lb_pool.rb +28 -0
- data/lib/fog/network/openstack/requests/get_lb_pool_stats.rb +33 -0
- data/lib/fog/network/openstack/requests/get_lb_vip.rb +28 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_network.rb +0 -0
- data/lib/fog/network/openstack/requests/get_port.rb +51 -0
- data/lib/fog/network/openstack/requests/get_quota.rb +26 -0
- data/lib/fog/network/openstack/requests/get_quotas.rb +26 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_rbac_policy.rb +0 -0
- data/lib/fog/network/openstack/requests/get_router.rb +30 -0
- data/lib/fog/network/openstack/requests/get_security_group.rb +52 -0
- data/lib/fog/network/openstack/requests/get_security_group_rule.rb +47 -0
- data/lib/fog/network/openstack/requests/get_subnet.rb +47 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_vpn_service.rb +0 -0
- data/lib/fog/network/openstack/requests/list_floating_ips.rb +25 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/list_ike_policies.rb +0 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/list_ipsec_policies.rb +0 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/list_ipsec_site_connections.rb +0 -0
- data/lib/fog/network/openstack/requests/list_lb_health_monitors.rb +25 -0
- data/lib/fog/network/openstack/requests/list_lb_members.rb +25 -0
- data/lib/fog/network/openstack/requests/list_lb_pools.rb +25 -0
- data/lib/fog/network/openstack/requests/list_lb_vips.rb +25 -0
- data/lib/fog/network/openstack/requests/list_networks.rb +25 -0
- data/lib/fog/network/openstack/requests/list_ports.rb +25 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/list_rbac_policies.rb +0 -0
- data/lib/fog/network/openstack/requests/list_routers.rb +25 -0
- data/lib/fog/network/openstack/requests/list_security_group_rules.rb +48 -0
- data/lib/fog/network/openstack/requests/list_security_groups.rb +53 -0
- data/lib/fog/network/openstack/requests/list_subnets.rb +25 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/list_vpn_services.rb +0 -0
- data/lib/fog/network/openstack/requests/remove_router_interface.rb +34 -0
- data/lib/fog/network/openstack/requests/set_tenant.rb +20 -0
- data/lib/fog/network/openstack/requests/update_ike_policy.rb +48 -0
- data/lib/fog/network/openstack/requests/update_ipsec_policy.rb +51 -0
- data/lib/fog/network/openstack/requests/update_ipsec_site_connection.rb +63 -0
- data/lib/fog/network/openstack/requests/update_lb_health_monitor.rb +43 -0
- data/lib/fog/network/openstack/requests/update_lb_member.rb +39 -0
- data/lib/fog/network/openstack/requests/update_lb_pool.rb +40 -0
- data/lib/fog/network/openstack/requests/update_lb_vip.rb +42 -0
- data/lib/fog/network/openstack/requests/update_network.rb +39 -0
- data/lib/fog/network/openstack/requests/update_port.rb +44 -0
- data/lib/fog/network/openstack/requests/update_quota.rb +27 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/update_rbac_policy.rb +0 -0
- data/lib/fog/network/openstack/requests/update_router.rb +69 -0
- data/lib/fog/network/openstack/requests/update_subnet.rb +43 -0
- data/lib/fog/{openstack/requests/network → network/openstack/requests}/update_vpn_service.rb +0 -0
- data/lib/fog/nfv/openstack.rb +133 -0
- data/lib/fog/{openstack/models/nfv → nfv/openstack/models}/vnf.rb +0 -0
- data/lib/fog/nfv/openstack/models/vnfd.rb +53 -0
- data/lib/fog/nfv/openstack/models/vnfds.rb +28 -0
- data/lib/fog/nfv/openstack/models/vnfs.rb +28 -0
- data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/create_vnf.rb +0 -0
- data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/create_vnfd.rb +0 -0
- data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/delete_vnf.rb +0 -0
- data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/delete_vnfd.rb +0 -0
- data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/get_vnf.rb +0 -0
- data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/get_vnfd.rb +0 -0
- data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/list_vnfds.rb +0 -0
- data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/list_vnfs.rb +0 -0
- data/lib/fog/nfv/openstack/requests/update_vnf.rb +35 -0
- data/lib/fog/openstack.rb +47 -29
- data/lib/fog/openstack/version.rb +1 -1
- data/lib/fog/orchestration/openstack.rb +155 -0
- data/lib/fog/orchestration/openstack/models/event.rb +18 -0
- data/lib/fog/orchestration/openstack/models/events.rb +31 -0
- data/lib/fog/orchestration/openstack/models/resource.rb +30 -0
- data/lib/fog/orchestration/openstack/models/resource_schemas.rb +15 -0
- data/lib/fog/orchestration/openstack/models/resources.rb +35 -0
- data/lib/fog/orchestration/openstack/models/stack.rb +119 -0
- data/lib/fog/orchestration/openstack/models/stacks.rb +64 -0
- data/lib/fog/orchestration/openstack/models/template.rb +13 -0
- data/lib/fog/orchestration/openstack/models/templates.rb +45 -0
- data/lib/fog/{openstack/requests/orchestration → orchestration/openstack/requests}/abandon_stack.rb +0 -0
- data/lib/fog/{openstack/requests/orchestration → orchestration/openstack/requests}/build_info.rb +0 -0
- data/lib/fog/orchestration/openstack/requests/create_stack.rb +76 -0
- data/lib/fog/orchestration/openstack/requests/delete_stack.rb +58 -0
- data/lib/fog/{openstack/requests/orchestration → orchestration/openstack/requests}/get_stack_template.rb +0 -0
- data/lib/fog/orchestration/openstack/requests/list_events.rb +46 -0
- data/lib/fog/orchestration/openstack/requests/list_resource_events.rb +28 -0
- data/lib/fog/orchestration/openstack/requests/list_resource_types.rb +27 -0
- data/lib/fog/orchestration/openstack/requests/list_resources.rb +46 -0
- data/lib/fog/orchestration/openstack/requests/list_stack_data.rb +27 -0
- data/lib/fog/orchestration/openstack/requests/list_stack_data_detailed.rb +49 -0
- data/lib/fog/orchestration/openstack/requests/list_stack_events.rb +27 -0
- data/lib/fog/orchestration/openstack/requests/patch_stack.rb +37 -0
- data/lib/fog/orchestration/openstack/requests/preview_stack.rb +16 -0
- data/lib/fog/orchestration/openstack/requests/show_event_details.rb +26 -0
- data/lib/fog/orchestration/openstack/requests/show_resource_data.rb +26 -0
- data/lib/fog/orchestration/openstack/requests/show_resource_metadata.rb +26 -0
- data/lib/fog/{openstack/requests/orchestration → orchestration/openstack/requests}/show_resource_schema.rb +0 -0
- data/lib/fog/{openstack/requests/orchestration → orchestration/openstack/requests}/show_resource_template.rb +0 -0
- data/lib/fog/orchestration/openstack/requests/show_stack_details.rb +26 -0
- data/lib/fog/orchestration/openstack/requests/update_stack.rb +66 -0
- data/lib/fog/orchestration/openstack/requests/validate_template.rb +16 -0
- data/lib/fog/planning/openstack.rb +149 -0
- data/lib/fog/planning/openstack/models/plan.rb +69 -0
- data/lib/fog/planning/openstack/models/plans.rb +31 -0
- data/lib/fog/{openstack/models/planning → planning/openstack/models}/role.rb +0 -0
- data/lib/fog/planning/openstack/models/roles.rb +16 -0
- data/lib/fog/planning/openstack/requests/add_role_to_plan.rb +40 -0
- data/lib/fog/planning/openstack/requests/create_plan.rb +33 -0
- data/lib/fog/planning/openstack/requests/delete_plan.rb +23 -0
- data/lib/fog/planning/openstack/requests/get_plan.rb +58 -0
- data/lib/fog/planning/openstack/requests/get_plan_templates.rb +28 -0
- data/lib/fog/planning/openstack/requests/list_plans.rb +61 -0
- data/lib/fog/planning/openstack/requests/list_roles.rb +32 -0
- data/lib/fog/planning/openstack/requests/patch_plan.rb +51 -0
- data/lib/fog/planning/openstack/requests/remove_role_from_plan.rb +32 -0
- data/lib/fog/storage/openstack.rb +150 -0
- data/lib/fog/storage/openstack/models/directories.rb +36 -0
- data/lib/fog/storage/openstack/models/directory.rb +50 -0
- data/lib/fog/storage/openstack/models/file.rb +181 -0
- data/lib/fog/storage/openstack/models/files.rb +95 -0
- data/lib/fog/storage/openstack/requests/copy_object.rb +23 -0
- data/lib/fog/storage/openstack/requests/delete_container.rb +20 -0
- data/lib/fog/storage/openstack/requests/delete_multiple_objects.rb +65 -0
- data/lib/fog/storage/openstack/requests/delete_object.rb +21 -0
- data/lib/fog/storage/openstack/requests/delete_static_large_object.rb +41 -0
- data/lib/fog/storage/openstack/requests/get_container.rb +42 -0
- data/lib/fog/storage/openstack/requests/get_containers.rb +31 -0
- data/lib/fog/storage/openstack/requests/get_object.rb +27 -0
- data/lib/fog/{openstack/requests/storage → storage/openstack/requests}/get_object_http_url.rb +0 -0
- data/lib/fog/storage/openstack/requests/get_object_https_url.rb +81 -0
- data/lib/fog/storage/openstack/requests/head_container.rb +26 -0
- data/lib/fog/storage/openstack/requests/head_containers.rb +23 -0
- data/lib/fog/storage/openstack/requests/head_object.rb +21 -0
- data/lib/fog/storage/openstack/requests/post_set_meta_temp_url_key.rb +33 -0
- data/lib/fog/storage/openstack/requests/public_url.rb +26 -0
- data/lib/fog/storage/openstack/requests/put_container.rb +24 -0
- data/lib/fog/storage/openstack/requests/put_dynamic_obj_manifest.rb +41 -0
- data/lib/fog/storage/openstack/requests/put_object.rb +41 -0
- data/lib/fog/{openstack/requests/storage → storage/openstack/requests}/put_object_manifest.rb +0 -0
- data/lib/fog/storage/openstack/requests/put_static_obj_manifest.rb +55 -0
- data/lib/fog/volume/openstack.rb +30 -0
- data/lib/fog/volume/openstack/models/availability_zone.rb +10 -0
- data/lib/fog/{openstack/models/volume → volume/openstack/models}/availability_zones.rb +0 -0
- data/lib/fog/{openstack/models/volume → volume/openstack/models}/snapshot.rb +0 -0
- data/lib/fog/{openstack/models/volume → volume/openstack/models}/snapshots.rb +0 -0
- data/lib/fog/volume/openstack/models/transfer.rb +28 -0
- data/lib/fog/volume/openstack/models/transfers.rb +34 -0
- data/lib/fog/{openstack/models/volume → volume/openstack/models}/volume.rb +0 -0
- data/lib/fog/{openstack/models/volume → volume/openstack/models}/volume_type.rb +0 -0
- data/lib/fog/{openstack/models/volume → volume/openstack/models}/volume_types.rb +0 -0
- data/lib/fog/volume/openstack/models/volumes.rb +35 -0
- data/lib/fog/volume/openstack/requests/accept_transfer.rb +22 -0
- data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/action.rb +0 -0
- data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/create_snapshot.rb +0 -0
- data/lib/fog/volume/openstack/requests/create_transfer.rb +25 -0
- data/lib/fog/volume/openstack/requests/create_volume.rb +23 -0
- data/lib/fog/volume/openstack/requests/create_volume_type.rb +41 -0
- data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/delete_metadata.rb +0 -0
- data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/delete_snapshot.rb +0 -0
- data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/delete_snapshot_metadata.rb +0 -0
- data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/delete_transfer.rb +0 -0
- data/lib/fog/volume/openstack/requests/delete_volume.rb +23 -0
- data/lib/fog/volume/openstack/requests/delete_volume_type.rb +23 -0
- data/lib/fog/volume/openstack/requests/extend_volume.rb +25 -0
- data/lib/fog/volume/openstack/requests/get_quota.rb +26 -0
- data/lib/fog/volume/openstack/requests/get_quota_defaults.rb +26 -0
- data/lib/fog/volume/openstack/requests/get_quota_usage.rb +43 -0
- data/lib/fog/volume/openstack/requests/get_snapshot_details.rb +15 -0
- data/lib/fog/volume/openstack/requests/get_transfer_details.rb +17 -0
- data/lib/fog/volume/openstack/requests/get_volume_details.rb +15 -0
- data/lib/fog/volume/openstack/requests/get_volume_type_details.rb +32 -0
- data/lib/fog/volume/openstack/requests/list_snapshots.rb +41 -0
- data/lib/fog/volume/openstack/requests/list_snapshots_detailed.rb +27 -0
- data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/list_transfers.rb +0 -0
- data/lib/fog/volume/openstack/requests/list_transfers_detailed.rb +18 -0
- data/lib/fog/volume/openstack/requests/list_volume_types.rb +41 -0
- data/lib/fog/volume/openstack/requests/list_volumes.rb +30 -0
- data/lib/fog/volume/openstack/requests/list_volumes_detailed.rb +16 -0
- data/lib/fog/volume/openstack/requests/list_zones.rb +32 -0
- data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/replace_metadata.rb +0 -0
- data/lib/fog/volume/openstack/requests/set_tenant.rb +19 -0
- data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/update_metadata.rb +0 -0
- data/lib/fog/volume/openstack/requests/update_quota.rb +28 -0
- data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/update_snapshot.rb +0 -0
- data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/update_snapshot_metadata.rb +0 -0
- data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/update_volume.rb +0 -0
- data/lib/fog/volume/openstack/requests/update_volume_type.rb +41 -0
- data/lib/fog/volume/openstack/v1.rb +173 -0
- data/lib/fog/volume/openstack/v1/models/availability_zone.rb +15 -0
- data/lib/fog/volume/openstack/v1/models/availability_zones.rb +16 -0
- data/lib/fog/volume/openstack/v1/models/snapshot.rb +43 -0
- data/lib/fog/volume/openstack/v1/models/snapshots.rb +16 -0
- data/lib/fog/volume/openstack/v1/models/transfer.rb +18 -0
- data/lib/fog/volume/openstack/v1/models/transfers.rb +16 -0
- data/lib/fog/volume/openstack/v1/models/volume.rb +37 -0
- data/lib/fog/volume/openstack/v1/models/volume_type.rb +16 -0
- data/lib/fog/volume/openstack/v1/models/volume_types.rb +16 -0
- data/lib/fog/volume/openstack/v1/models/volumes.rb +16 -0
- data/lib/fog/volume/openstack/v1/requests/accept_transfer.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/action.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/create_snapshot.rb +45 -0
- data/lib/fog/volume/openstack/v1/requests/create_transfer.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/create_volume.rb +49 -0
- data/lib/fog/volume/openstack/v1/requests/create_volume_type.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/delete_metadata.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/delete_snapshot.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/delete_snapshot_metadata.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/delete_transfer.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/delete_volume.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/delete_volume_type.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/extend_volume.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/get_quota.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/get_quota_defaults.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/get_quota_usage.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/get_snapshot_details.rb +32 -0
- data/lib/fog/volume/openstack/v1/requests/get_transfer_details.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/get_volume_details.rb +35 -0
- data/lib/fog/volume/openstack/v1/requests/get_volume_type_details.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/list_snapshots.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/list_snapshots_detailed.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/list_transfers.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/list_transfers_detailed.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/list_volume_types.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/list_volumes.rb +46 -0
- data/lib/fog/volume/openstack/v1/requests/list_volumes_detailed.rb +46 -0
- data/lib/fog/volume/openstack/v1/requests/list_zones.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/real.rb +11 -0
- data/lib/fog/volume/openstack/v1/requests/real_mock.rb +14 -0
- data/lib/fog/volume/openstack/v1/requests/replace_metadata.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/set_tenant.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/update_metadata.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/update_quota.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/update_snapshot.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/update_snapshot_metadata.rb +2 -0
- data/lib/fog/volume/openstack/v1/requests/update_volume.rb +2 -0
- data/lib/fog/volume/openstack/v2.rb +174 -0
- data/lib/fog/volume/openstack/v2/models/availability_zone.rb +15 -0
- data/lib/fog/volume/openstack/v2/models/availability_zones.rb +16 -0
- data/lib/fog/volume/openstack/v2/models/snapshot.rb +43 -0
- data/lib/fog/volume/openstack/v2/models/snapshots.rb +16 -0
- data/lib/fog/volume/openstack/v2/models/transfer.rb +18 -0
- data/lib/fog/volume/openstack/v2/models/transfers.rb +16 -0
- data/lib/fog/volume/openstack/v2/models/volume.rb +37 -0
- data/lib/fog/volume/openstack/v2/models/volume_type.rb +16 -0
- data/lib/fog/volume/openstack/v2/models/volume_types.rb +16 -0
- data/lib/fog/volume/openstack/v2/models/volumes.rb +16 -0
- data/lib/fog/volume/openstack/v2/requests/accept_transfer.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/action.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/create_snapshot.rb +45 -0
- data/lib/fog/volume/openstack/v2/requests/create_transfer.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/create_volume.rb +49 -0
- data/lib/fog/volume/openstack/v2/requests/create_volume_type.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/delete_metadata.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/delete_snapshot.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/delete_snapshot_metadata.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/delete_transfer.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/delete_volume.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/delete_volume_type.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/extend_volume.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/get_quota.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/get_quota_defaults.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/get_quota_usage.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/get_snapshot_details.rb +32 -0
- data/lib/fog/volume/openstack/v2/requests/get_transfer_details.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/get_volume_details.rb +35 -0
- data/lib/fog/volume/openstack/v2/requests/get_volume_type_details.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/list_snapshots.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/list_snapshots_detailed.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/list_transfers.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/list_transfers_detailed.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/list_volume_types.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/list_volumes.rb +46 -0
- data/lib/fog/volume/openstack/v2/requests/list_volumes_detailed.rb +46 -0
- data/lib/fog/volume/openstack/v2/requests/list_zones.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/real.rb +11 -0
- data/lib/fog/volume/openstack/v2/requests/real_mock.rb +14 -0
- data/lib/fog/volume/openstack/v2/requests/replace_metadata.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/set_tenant.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/update_metadata.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/update_quota.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/update_snapshot.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/update_snapshot_metadata.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/update_volume.rb +2 -0
- data/lib/fog/volume/openstack/v2/requests/update_volume_type.rb +2 -0
- data/lib/fog/{openstack/workflow.rb → workflow/openstack.rb} +0 -0
- data/lib/fog/workflow/openstack/v2.rb +160 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/create_action.rb +0 -0
- data/lib/fog/workflow/openstack/v2/requests/create_action_execution.rb +31 -0
- data/lib/fog/workflow/openstack/v2/requests/create_cron_trigger.rb +55 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/create_environment.rb +0 -0
- data/lib/fog/workflow/openstack/v2/requests/create_execution.rb +30 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/create_workbook.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/create_workflow.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_action.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_action_execution.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_cron_trigger.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_environment.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_execution.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_workbook.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_workflow.rb +0 -0
- data/lib/fog/workflow/openstack/v2/requests/get_action.rb +27 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/get_action_execution.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/get_cron_trigger.rb +0 -0
- data/lib/fog/workflow/openstack/v2/requests/get_environment.rb +28 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/get_execution.rb +0 -0
- data/lib/fog/workflow/openstack/v2/requests/get_task.rb +27 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/get_workbook.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/get_workflow.rb +0 -0
- data/lib/fog/workflow/openstack/v2/requests/list_action_executions.rb +28 -0
- data/lib/fog/workflow/openstack/v2/requests/list_actions.rb +30 -0
- data/lib/fog/workflow/openstack/v2/requests/list_cron_triggers.rb +28 -0
- data/lib/fog/workflow/openstack/v2/requests/list_environments.rb +28 -0
- data/lib/fog/workflow/openstack/v2/requests/list_executions.rb +28 -0
- data/lib/fog/workflow/openstack/v2/requests/list_services.rb +28 -0
- data/lib/fog/workflow/openstack/v2/requests/list_tasks.rb +28 -0
- data/lib/fog/workflow/openstack/v2/requests/list_workbooks.rb +28 -0
- data/lib/fog/workflow/openstack/v2/requests/list_workflows.rb +30 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/rerun_task.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/update_action.rb +0 -0
- data/lib/fog/workflow/openstack/v2/requests/update_action_execution.rb +33 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/update_environment.rb +0 -0
- data/lib/fog/workflow/openstack/v2/requests/update_execution.rb +33 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/update_workbook.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/update_workflow.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/validate_action.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/validate_workbook.rb +0 -0
- data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/validate_workflow.rb +0 -0
- metadata +864 -840
- data/lib/fog/openstack/baremetal.rb +0 -284
- data/lib/fog/openstack/compute.rb +0 -380
- data/lib/fog/openstack/identity_v2.rb +0 -182
- data/lib/fog/openstack/identity_v3.rb +0 -167
- data/lib/fog/openstack/image.rb +0 -22
- data/lib/fog/openstack/image_v1.rb +0 -133
- data/lib/fog/openstack/image_v2.rb +0 -141
- data/lib/fog/openstack/introspection.rb +0 -108
- data/lib/fog/openstack/metering.rb +0 -131
- 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/compute/address.rb +0 -67
- data/lib/fog/openstack/models/compute/addresses.rb +0 -28
- data/lib/fog/openstack/models/compute/aggregate.rb +0 -59
- data/lib/fog/openstack/models/compute/aggregates.rb +0 -26
- data/lib/fog/openstack/models/compute/availability_zones.rb +0 -22
- 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/networks.rb +0 -30
- 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 -397
- data/lib/fog/openstack/models/compute/server_group.rb +0 -22
- data/lib/fog/openstack/models/compute/server_groups.rb +0 -28
- 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 -35
- 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_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 -70
- 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 -168
- data/lib/fog/openstack/models/image_v2/images.rb +0 -67
- data/lib/fog/openstack/models/introspection/rules_collection.rb +0 -32
- data/lib/fog/openstack/models/metering/events.rb +0 -23
- data/lib/fog/openstack/models/metering/resources.rb +0 -23
- data/lib/fog/openstack/models/monitoring/alarm_counts.rb +0 -16
- data/lib/fog/openstack/models/monitoring/alarm_definitions.rb +0 -42
- data/lib/fog/openstack/models/monitoring/alarm_states.rb +0 -20
- data/lib/fog/openstack/models/monitoring/alarms.rb +0 -30
- data/lib/fog/openstack/models/monitoring/measurements.rb +0 -16
- data/lib/fog/openstack/models/monitoring/metrics.rb +0 -28
- data/lib/fog/openstack/models/monitoring/notification_methods.rb +0 -38
- data/lib/fog/openstack/models/monitoring/statistics.rb +0 -16
- data/lib/fog/openstack/models/network/floating_ip.rb +0 -62
- data/lib/fog/openstack/models/network/floating_ips.rb +0 -32
- data/lib/fog/openstack/models/network/ike_policies.rb +0 -32
- data/lib/fog/openstack/models/network/ipsec_policies.rb +0 -32
- data/lib/fog/openstack/models/network/ipsec_site_connections.rb +0 -33
- 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/rbac_policies.rb +0 -33
- 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/network/vpn_services.rb +0 -32
- data/lib/fog/openstack/models/nfv/vnfd.rb +0 -53
- data/lib/fog/openstack/models/nfv/vnfds.rb +0 -28
- data/lib/fog/openstack/models/nfv/vnfs.rb +0 -28
- 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 -121
- 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/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/transfer.rb +0 -28
- data/lib/fog/openstack/models/volume/transfers.rb +0 -35
- 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/snapshot.rb +0 -43
- data/lib/fog/openstack/models/volume_v1/snapshots.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 -36
- 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/snapshot.rb +0 -43
- data/lib/fog/openstack/models/volume_v2/snapshots.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 -36
- 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/monitoring.rb +0 -90
- data/lib/fog/openstack/network.rb +0 -321
- data/lib/fog/openstack/nfv.rb +0 -133
- data/lib/fog/openstack/orchestration.rb +0 -156
- data/lib/fog/openstack/planning.rb +0 -149
- 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 -30
- 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 -30
- 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 -39
- 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 -188
- data/lib/fog/openstack/requests/compute/create_server_group.rb +0 -31
- data/lib/fog/openstack/requests/compute/create_volume.rb +0 -58
- 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 -36
- data/lib/fog/openstack/requests/compute/delete_server_group.rb +0 -28
- data/lib/fog/openstack/requests/compute/delete_service.rb +0 -32
- data/lib/fog/openstack/requests/compute/delete_snapshot.rb +0 -28
- data/lib/fog/openstack/requests/compute/delete_volume.rb +0 -28
- data/lib/fog/openstack/requests/compute/detach_volume.rb +0 -29
- 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/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_key_pair.rb +0 -49
- data/lib/fog/openstack/requests/compute/get_limits.rb +0 -90
- 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_group.rb +0 -38
- data/lib/fog/openstack/requests/compute/get_server_password.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 -29
- 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 -32
- 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_server_groups.rb +0 -28
- 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 -66
- data/lib/fog/openstack/requests/compute/list_snapshots.rb +0 -40
- data/lib/fog/openstack/requests/compute/list_snapshots_detail.rb +0 -26
- 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_volume_attachments.rb +0 -31
- 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_event.rb +0 -27
- 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_events.rb +0 -42
- 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_ike_policy.rb +0 -53
- data/lib/fog/openstack/requests/network/create_ipsec_policy.rb +0 -53
- data/lib/fog/openstack/requests/network/create_ipsec_site_connection.rb +0 -66
- 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_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_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_ike_policy.rb +0 -49
- data/lib/fog/openstack/requests/network/update_ipsec_policy.rb +0 -52
- data/lib/fog/openstack/requests/network/update_ipsec_site_connection.rb +0 -64
- 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 -44
- 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/nfv/update_vnf.rb +0 -35
- 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/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_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_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_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_type.rb +0 -41
- 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_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/action.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/create_snapshot.rb +0 -45
- 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_type.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/delete_metadata.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/delete_snapshot.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/delete_snapshot_metadata.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/replace_metadata.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/set_tenant.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/update_metadata.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/update_quota.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/update_snapshot.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/update_snapshot_metadata.rb +0 -2
- data/lib/fog/openstack/requests/volume_v1/update_volume.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/accept_transfer.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/action.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/create_snapshot.rb +0 -45
- 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_type.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/delete_metadata.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/delete_snapshot.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/delete_snapshot_metadata.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/replace_metadata.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/set_tenant.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/update_metadata.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/update_quota.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/update_snapshot.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/update_snapshot_metadata.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/update_volume.rb +0 -2
- data/lib/fog/openstack/requests/volume_v2/update_volume_type.rb +0 -2
- data/lib/fog/openstack/requests/workflow_v2/create_action_execution.rb +0 -31
- data/lib/fog/openstack/requests/workflow_v2/create_cron_trigger.rb +0 -55
- data/lib/fog/openstack/requests/workflow_v2/create_execution.rb +0 -30
- data/lib/fog/openstack/requests/workflow_v2/get_action.rb +0 -27
- data/lib/fog/openstack/requests/workflow_v2/get_environment.rb +0 -28
- data/lib/fog/openstack/requests/workflow_v2/get_task.rb +0 -27
- data/lib/fog/openstack/requests/workflow_v2/list_action_executions.rb +0 -28
- data/lib/fog/openstack/requests/workflow_v2/list_actions.rb +0 -30
- data/lib/fog/openstack/requests/workflow_v2/list_cron_triggers.rb +0 -28
- data/lib/fog/openstack/requests/workflow_v2/list_environments.rb +0 -28
- data/lib/fog/openstack/requests/workflow_v2/list_executions.rb +0 -28
- data/lib/fog/openstack/requests/workflow_v2/list_services.rb +0 -28
- data/lib/fog/openstack/requests/workflow_v2/list_tasks.rb +0 -28
- data/lib/fog/openstack/requests/workflow_v2/list_workbooks.rb +0 -28
- data/lib/fog/openstack/requests/workflow_v2/list_workflows.rb +0 -30
- data/lib/fog/openstack/requests/workflow_v2/update_action_execution.rb +0 -33
- data/lib/fog/openstack/requests/workflow_v2/update_execution.rb +0 -33
- data/lib/fog/openstack/storage.rb +0 -150
- data/lib/fog/openstack/volume.rb +0 -31
- data/lib/fog/openstack/volume_v1.rb +0 -173
- data/lib/fog/openstack/volume_v2.rb +0 -174
- data/lib/fog/openstack/workflow_v2.rb +0 -160
@@ -0,0 +1,47 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class OpenStack
|
4
|
+
class Real
|
5
|
+
def create_key_pair(key_name, public_key = nil)
|
6
|
+
data = {
|
7
|
+
'keypair' => {
|
8
|
+
'name' => key_name
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
data['keypair']['public_key'] = public_key unless public_key.nil?
|
13
|
+
|
14
|
+
request(
|
15
|
+
:body => Fog::JSON.encode(data),
|
16
|
+
:expects => 200,
|
17
|
+
:method => 'POST',
|
18
|
+
:path => 'os-keypairs.json'
|
19
|
+
)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
class Mock
|
24
|
+
def create_key_pair(key_name, _public_key = nil)
|
25
|
+
response = Excon::Response.new
|
26
|
+
response.status = 200
|
27
|
+
response.headers = {
|
28
|
+
"X-Compute-Request-Id" => "req-c373a42c-2825-4e60-8d34-99416ea850be",
|
29
|
+
"Content-Type" => "application/json",
|
30
|
+
"Content-Length" => "1289",
|
31
|
+
"Date" => Date.new
|
32
|
+
}
|
33
|
+
response.body = {
|
34
|
+
"keypair" => {
|
35
|
+
"public_key" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDCdAZLjljntJbLVVkNHjWFSoKen2nZbk39ZfqhZJOMdeFdz02GWBS45rcuboeGg/gozKRwsLu4N6NLPlYtbK/NapJIvgO/djBp+FQG1QZNtLPsx7j4hVJac3yISGms+Xtu4cEv6j5sFDzAgTQbWez0Z1+9qOq9ngdaoW+YClfQ== vagrant@nova\n",
|
36
|
+
"private_key" => "-----BEGIN RSA PRIVATE KEY-----\nMIICXgIBAAKBgQDCdAZLjljn1tJbLVVkNHjWFSoKen2nZbk39ZfqhZJOMdeFdz02\nGWBS45rcuHboeGg/gozKRwsLu4N6NLPlYtbK/NapJIvgO/djBp+FQG1QZNtLPsx7\nj4hVJac3yISGms+Xtu4cEv6j5sFDzAgTQbWez0Z1+9qOq9ngdaoW+YClfQIDAQAB\nAoGBALBoT9m1vuQ82EONQf2RONqHAsfUzi/SMhEZRgOlv9AemXZkcWyl4uPvxmtd\nEcreiTystAtCHjw7lhCExXthipevUjtIAAt+b3pMn6Oyjad3IRvde6atMdjrje43\n/nftYtuXYyJTsvwEvLYqSioLQ0Nn/XDKhOpcM5tejDHOH35lAkEA+H4r7y9X521u\nIABVAezBWaT/wvdMjx5cwfyYEQjnI1bxfRIqkgoY5gDDBdVbT75UTsHHbHLORQcw\nRjRvS2zgewJBAMhT6eyMonJvHHvC5RcchcY+dWkscIKoOzeyUKMb+7tERQa9/UN2\njYb+jdM0VyL0ruLFwYtl2m34gfmhcXgIvGcCQGzKMEnjHEUBr7jq7EyPbobkqeSd\niDMQQ+PZxmmO0EK0ib0L+v881HG926PuKK/cz+Q7Cif8iznFT+ksg50t6YkCQQC9\nwfcAskqieSuS9A9LcCIrojhXctf0e+T0Ij2N89DlF4sHEuqXf/IZ4IB5gsfTfdE3\nUDnAkK9yogaEbu/r0uKbAkEAy5kl71bIqvKTKsY2mES9ziVxfftl/9UIi5LI+QHb\nmC/c6cTrGVCM71fi2GMxGgBeEea4+7xwoWTL4CxA00kmTg==\n-----END RSA PRIVATE KEY-----\n",
|
37
|
+
"user_id" => "admin",
|
38
|
+
"name" => key_name,
|
39
|
+
"fingerprint" => "97:86:f4:15:68:0c:7b:a7:e5:8f:f0:bd:1f:27:65:ad"
|
40
|
+
}
|
41
|
+
}
|
42
|
+
response
|
43
|
+
end
|
44
|
+
end # mock
|
45
|
+
end # openstack
|
46
|
+
end # compute
|
47
|
+
end # fog
|
@@ -0,0 +1,51 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class OpenStack
|
4
|
+
class Real
|
5
|
+
def create_security_group(name, description)
|
6
|
+
data = {
|
7
|
+
'security_group' => {
|
8
|
+
'name' => name,
|
9
|
+
'description' => description
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
request(
|
14
|
+
:body => Fog::JSON.encode(data),
|
15
|
+
:expects => 200,
|
16
|
+
:method => 'POST',
|
17
|
+
:path => 'os-security-groups.json'
|
18
|
+
)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
class Mock
|
23
|
+
def create_security_group(name, description)
|
24
|
+
Fog::Identity::OpenStack.new(:openstack_auth_url => credentials[:openstack_auth_url])
|
25
|
+
tenant_id = Fog::Identity::OpenStack::V2::Mock.data[current_tenant][:tenants].keys.first
|
26
|
+
security_group_id = Fog::Mock.random_numbers(2).to_i + 1
|
27
|
+
data[:security_groups][security_group_id.to_s] = {
|
28
|
+
'tenant_id' => tenant_id,
|
29
|
+
'rules' => [],
|
30
|
+
'id' => security_group_id,
|
31
|
+
'name' => name,
|
32
|
+
'description' => description
|
33
|
+
}
|
34
|
+
|
35
|
+
response = Excon::Response.new
|
36
|
+
response.status = 200
|
37
|
+
response.headers = {
|
38
|
+
'X-Compute-Request-Id' => "req-#{Fog::Mock.random_hex(32)}",
|
39
|
+
'Content-Type' => 'application/json',
|
40
|
+
'Content-Length' => Fog::Mock.random_numbers(3).to_s,
|
41
|
+
'Date' => Date.new
|
42
|
+
}
|
43
|
+
response.body = {
|
44
|
+
'security_group' => data[:security_groups][security_group_id.to_s]
|
45
|
+
}
|
46
|
+
response
|
47
|
+
end
|
48
|
+
end # mock
|
49
|
+
end # openstack
|
50
|
+
end # compute
|
51
|
+
end # fog
|
@@ -0,0 +1,57 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class OpenStack
|
4
|
+
class Real
|
5
|
+
def create_security_group_rule(parent_group_id, ip_protocol, from_port, to_port, cidr, group_id = nil)
|
6
|
+
data = {
|
7
|
+
'security_group_rule' => {
|
8
|
+
'parent_group_id' => parent_group_id,
|
9
|
+
'ip_protocol' => ip_protocol,
|
10
|
+
'from_port' => from_port,
|
11
|
+
'to_port' => to_port,
|
12
|
+
'cidr' => cidr,
|
13
|
+
'group_id' => group_id
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
request(
|
18
|
+
:expects => 200,
|
19
|
+
:method => 'POST',
|
20
|
+
:body => Fog::JSON.encode(data),
|
21
|
+
:path => 'os-security-group-rules.json'
|
22
|
+
)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
class Mock
|
27
|
+
def create_security_group_rule(parent_group_id, ip_protocol, from_port, to_port, cidr, group_id = nil)
|
28
|
+
parent_group_id = parent_group_id.to_i
|
29
|
+
response = Excon::Response.new
|
30
|
+
response.status = 200
|
31
|
+
response.headers = {
|
32
|
+
'X-Compute-Request-Id' => "req-#{Fog::Mock.random_hex(32)}",
|
33
|
+
'Content-Type' => 'application/json',
|
34
|
+
'Content-Length' => Fog::Mock.random_numbers(3).to_s,
|
35
|
+
'Date' => Date.new
|
36
|
+
}
|
37
|
+
rule = {
|
38
|
+
'id' => Fog::Mock.random_numbers(2).to_i,
|
39
|
+
'from_port' => from_port,
|
40
|
+
'group' => group_id || {},
|
41
|
+
'ip_protocol' => ip_protocol,
|
42
|
+
'to_port' => to_port,
|
43
|
+
'parent_group_id' => parent_group_id,
|
44
|
+
'ip_range' => {
|
45
|
+
'cidr' => cidr
|
46
|
+
}
|
47
|
+
}
|
48
|
+
data[:security_groups][parent_group_id.to_s]['rules'].push(rule)
|
49
|
+
response.body = {
|
50
|
+
'security_group_rule' => rule
|
51
|
+
}
|
52
|
+
response
|
53
|
+
end
|
54
|
+
end # mock
|
55
|
+
end # openstack
|
56
|
+
end # compute
|
57
|
+
end # fog
|
@@ -0,0 +1,189 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class OpenStack
|
4
|
+
class Real
|
5
|
+
def create_server(name, image_ref, flavor_ref, options = {})
|
6
|
+
data = {
|
7
|
+
'server' => {
|
8
|
+
'flavorRef' => flavor_ref,
|
9
|
+
'name' => name
|
10
|
+
}
|
11
|
+
}
|
12
|
+
data['server']['imageRef'] = image_ref if image_ref
|
13
|
+
|
14
|
+
vanilla_options = ['metadata', 'accessIPv4', 'accessIPv6',
|
15
|
+
'availability_zone', 'user_data', 'key_name',
|
16
|
+
'adminPass', 'config_drive', 'min_count', 'max_count',
|
17
|
+
'return_reservation_id']
|
18
|
+
vanilla_options.select { |o| options[o] }.each do |key|
|
19
|
+
data['server'][key] = options[key]
|
20
|
+
end
|
21
|
+
|
22
|
+
if options['security_groups']
|
23
|
+
# security names requires a hash with a name prefix
|
24
|
+
data['server']['security_groups'] =
|
25
|
+
Array(options['security_groups']).map do |sg|
|
26
|
+
name = if sg.kind_of?(Fog::Compute::OpenStack::SecurityGroup)
|
27
|
+
sg.name
|
28
|
+
else
|
29
|
+
sg
|
30
|
+
end
|
31
|
+
{:name => name}
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
if options['personality']
|
36
|
+
data['server']['personality'] = []
|
37
|
+
options['personality'].each do |file|
|
38
|
+
data['server']['personality'] << {
|
39
|
+
'contents' => Base64.encode64(file['contents'] || file[:contents]),
|
40
|
+
'path' => file['path'] || file[:path]
|
41
|
+
}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
if options['nics']
|
46
|
+
data['server']['networks'] =
|
47
|
+
Array(options['nics']).map do |nic|
|
48
|
+
neti = {'uuid' => (nic['net_id'] || nic[:net_id])}
|
49
|
+
neti['fixed_ip'] = (nic['v4_fixed_ip'] || nic[:v4_fixed_ip]) unless (nic['v4_fixed_ip'] || nic[:v4_fixed_ip]).nil?
|
50
|
+
neti['port'] = (nic['port_id'] || nic[:port_id]) unless (nic['port_id'] || nic[:port_id]).nil?
|
51
|
+
neti
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
if options['os:scheduler_hints']
|
56
|
+
data['os:scheduler_hints'] = options['os:scheduler_hints']
|
57
|
+
end
|
58
|
+
|
59
|
+
if (block_device_mapping = options['block_device_mapping_v2'])
|
60
|
+
data['server']['block_device_mapping_v2'] = [block_device_mapping].flatten.collect do |mapping|
|
61
|
+
entered_block_device_mapping = {}
|
62
|
+
[:boot_index, :delete_on_termination, :destination_type, :device_name, :source_type, :uuid,
|
63
|
+
:volume_size].each do |index|
|
64
|
+
entered_block_device_mapping[index.to_s] = mapping[index] if mapping.key?(index)
|
65
|
+
end
|
66
|
+
entered_block_device_mapping
|
67
|
+
end
|
68
|
+
elsif (block_device_mapping = options['block_device_mapping'])
|
69
|
+
data['server']['block_device_mapping'] = [block_device_mapping].flatten.collect do |mapping|
|
70
|
+
{
|
71
|
+
'delete_on_termination' => mapping[:delete_on_termination],
|
72
|
+
'device_name' => mapping[:device_name],
|
73
|
+
'volume_id' => mapping[:volume_id],
|
74
|
+
'volume_size' => mapping[:volume_size],
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
path = options['block_device_mapping'] ? 'os-volumes_boot.json' : 'servers.json'
|
80
|
+
|
81
|
+
request(
|
82
|
+
:body => Fog::JSON.encode(data),
|
83
|
+
:expects => [200, 202],
|
84
|
+
:method => 'POST',
|
85
|
+
:path => path
|
86
|
+
)
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
class Mock
|
91
|
+
def create_server(name, image_ref, flavor_ref, options = {})
|
92
|
+
response = Excon::Response.new
|
93
|
+
response.status = 202
|
94
|
+
|
95
|
+
server_id = Fog::Mock.random_numbers(6).to_s
|
96
|
+
identity = Fog::Identity::OpenStack.new :openstack_auth_url => credentials[:openstack_auth_url]
|
97
|
+
user = identity.users.find do |u|
|
98
|
+
u.name == @openstack_username
|
99
|
+
end
|
100
|
+
|
101
|
+
user_id = if user
|
102
|
+
user.id
|
103
|
+
else
|
104
|
+
response = identity.create_user(@openstack_username,
|
105
|
+
'password',
|
106
|
+
"#{@openstack_username}@example.com")
|
107
|
+
response.body["user"]["id"]
|
108
|
+
end
|
109
|
+
|
110
|
+
mock_data = {
|
111
|
+
'addresses' => {"Private" => [{"addr" => Fog::Mock.random_ip}]},
|
112
|
+
'flavor' => {"id" => flavor_ref, "links" => [{"href" => "http://nova1:8774/admin/flavors/1", "rel" => "bookmark"}]},
|
113
|
+
'id' => server_id,
|
114
|
+
'image' => {"id" => image_ref, "links" => [{"href" => "http://nova1:8774/admin/images/#{image_ref}", "rel" => "bookmark"}]},
|
115
|
+
'links' => [{"href" => "http://nova1:8774/v1.1/admin/servers/5", "rel" => "self"}, {"href" => "http://nova1:8774/admin/servers/5", "rel" => "bookmark"}],
|
116
|
+
'hostId' => "123456789ABCDEF01234567890ABCDEF",
|
117
|
+
'metadata' => options['metadata'] || {},
|
118
|
+
'name' => name || "server_#{rand(999)}",
|
119
|
+
'accessIPv4' => options['accessIPv4'] || "",
|
120
|
+
'accessIPv6' => options['accessIPv6'] || "",
|
121
|
+
'progress' => 0,
|
122
|
+
'status' => 'BUILD',
|
123
|
+
'created' => '2012-09-27T00:04:18Z',
|
124
|
+
'updated' => '2012-09-27T00:04:27Z',
|
125
|
+
'user_id' => user_id,
|
126
|
+
'config_drive' => options['config_drive'] || '',
|
127
|
+
}
|
128
|
+
|
129
|
+
nics = options['nics']
|
130
|
+
|
131
|
+
if nics
|
132
|
+
nics.each do |_nic|
|
133
|
+
mock_data["addresses"].merge!(
|
134
|
+
"Public" => [{'addr' => Fog::Mock.random_ip}]
|
135
|
+
)
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
response_data = if options['return_reservation_id'] == 'True'
|
140
|
+
{'reservation_id' => "r-#{Fog::Mock.random_numbers(6)}"}
|
141
|
+
else
|
142
|
+
{
|
143
|
+
'adminPass' => 'password',
|
144
|
+
'id' => server_id,
|
145
|
+
'links' => mock_data['links'],
|
146
|
+
}
|
147
|
+
end
|
148
|
+
|
149
|
+
if block_devices = options["block_device_mapping_v2"]
|
150
|
+
block_devices.each { |bd| volumes.get(bd[:uuid]).attach(server_id, bd[:device_name]) }
|
151
|
+
elsif block_device = options["block_device_mapping"]
|
152
|
+
volumes.get(block_device[:volume_id]).attach(server_id, block_device[:device_name])
|
153
|
+
end
|
154
|
+
|
155
|
+
data[:last_modified][:servers][server_id] = Time.now
|
156
|
+
data[:servers][server_id] = mock_data
|
157
|
+
security_groups = options['security_groups']
|
158
|
+
if security_groups
|
159
|
+
groups = Array(security_groups).map do |sg|
|
160
|
+
if sg.kind_of?(Fog::Compute::OpenStack::SecurityGroup)
|
161
|
+
sg.name
|
162
|
+
else
|
163
|
+
sg
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
data[:server_security_group_map][server_id] = groups
|
168
|
+
response_data['security_groups'] = groups
|
169
|
+
end
|
170
|
+
|
171
|
+
data[:last_modified][:servers][server_id] = Time.now
|
172
|
+
data[:servers][server_id] = mock_data
|
173
|
+
|
174
|
+
if options['os:scheduler_hints'] && options['os:scheduler_hints']['group']
|
175
|
+
group = data[:server_groups][options['os:scheduler_hints']['group']]
|
176
|
+
group[:members] << server_id if group
|
177
|
+
end
|
178
|
+
|
179
|
+
response.body = if options['return_reservation_id'] == 'True'
|
180
|
+
response_data
|
181
|
+
else
|
182
|
+
{'server' => response_data}
|
183
|
+
end
|
184
|
+
response
|
185
|
+
end
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|
189
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class OpenStack
|
4
|
+
class Real
|
5
|
+
def create_server_group(name, policy)
|
6
|
+
Fog::Compute::OpenStack::ServerGroup.validate_server_group_policy policy
|
7
|
+
|
8
|
+
body = {'server_group' => {
|
9
|
+
'name' => name,
|
10
|
+
'policies' => [policy]
|
11
|
+
}}
|
12
|
+
request(
|
13
|
+
:body => Fog::JSON.encode(body),
|
14
|
+
:expects => 200,
|
15
|
+
:method => 'POST',
|
16
|
+
:path => 'os-server-groups'
|
17
|
+
)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class Mock
|
22
|
+
def create_server_group(name, policy)
|
23
|
+
Fog::Compute::OpenStack::ServerGroup.validate_server_group_policy policy
|
24
|
+
id = SecureRandom.uuid
|
25
|
+
data[:server_groups][id] = {:name => name, :policies => [policy], :members => []}
|
26
|
+
get_server_group id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
File without changes
|
@@ -0,0 +1,58 @@
|
|
1
|
+
#
|
2
|
+
module Fog
|
3
|
+
module Compute
|
4
|
+
class OpenStack
|
5
|
+
#
|
6
|
+
class Real
|
7
|
+
def create_volume(name, description, size, options = {})
|
8
|
+
data = {
|
9
|
+
'volume' => {
|
10
|
+
'display_name' => name,
|
11
|
+
'display_description' => description,
|
12
|
+
'size' => size
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
vanilla_options = [
|
17
|
+
:snapshot_id,
|
18
|
+
:availability_zone,
|
19
|
+
:volume_type,
|
20
|
+
:metadata
|
21
|
+
]
|
22
|
+
|
23
|
+
vanilla_options.select { |o| options[o] }.each do |key|
|
24
|
+
data['volume'][key] = options[key]
|
25
|
+
end
|
26
|
+
|
27
|
+
request(
|
28
|
+
:body => Fog::JSON.encode(data),
|
29
|
+
:expects => [200, 202],
|
30
|
+
:method => 'POST',
|
31
|
+
:path => 'os-volumes'
|
32
|
+
)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
#
|
37
|
+
class Mock
|
38
|
+
def create_volume(name, description, size, options = {})
|
39
|
+
response = Excon::Response.new
|
40
|
+
response.status = 202
|
41
|
+
data = {'id' => Fog::Mock.random_numbers(2),
|
42
|
+
'displayName' => name,
|
43
|
+
'displayDescription' => description,
|
44
|
+
'size' => size,
|
45
|
+
'status' => 'creating',
|
46
|
+
'snapshotId' => options[:snapshot_id],
|
47
|
+
'volumeType' => options[:volume_type] || 'None',
|
48
|
+
'availabilityZone' => options[:availability_zone] || 'nova',
|
49
|
+
'createdAt' => Time.now.strftime('%FT%T.%6N'),
|
50
|
+
'attachments' => [], 'metadata' => options[:metadata] || {}}
|
51
|
+
self.data[:volumes][data['id']] = data
|
52
|
+
response.body = {'volume' => data}
|
53
|
+
response
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Fog
|
2
|
+
module Compute
|
3
|
+
class OpenStack
|
4
|
+
class Real
|
5
|
+
def delete_aggregate(uuid)
|
6
|
+
request(
|
7
|
+
:expects => [200, 202, 204],
|
8
|
+
:method => 'DELETE',
|
9
|
+
:path => "os-aggregates/#{uuid}"
|
10
|
+
)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
class Mock
|
15
|
+
def delete_aggregate(_uuid)
|
16
|
+
response = Excon::Response.new
|
17
|
+
response.status = 200
|
18
|
+
response.headers = {
|
19
|
+
"Content-Type" => "text/html; charset=UTF-8",
|
20
|
+
"Content-Length" => "0",
|
21
|
+
"Date" => Date.new
|
22
|
+
}
|
23
|
+
response
|
24
|
+
end
|
25
|
+
end # mock
|
26
|
+
end # openstack
|
27
|
+
end # compute
|
28
|
+
end # fog
|