fog 1.20.0 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.travis.yml +10 -26
- data/Rakefile +5 -3
- data/changelog.txt +359 -0
- data/fog.gemspec +16 -15
- data/lib/fog.rb +15 -0
- data/lib/fog/atmos/storage.rb +1 -2
- data/lib/fog/aws/auto_scaling.rb +1 -1
- data/lib/fog/aws/beanstalk.rb +1 -1
- data/lib/fog/aws/cdn.rb +1 -2
- data/lib/fog/aws/cloud_formation.rb +1 -1
- data/lib/fog/aws/cloud_watch.rb +1 -1
- data/lib/fog/aws/compute.rb +6 -6
- data/lib/fog/aws/core.rb +3 -0
- data/lib/fog/aws/data_pipeline.rb +1 -1
- data/lib/fog/aws/dns.rb +1 -2
- data/lib/fog/aws/dynamodb.rb +1 -1
- data/lib/fog/aws/elasticache.rb +11 -2
- data/lib/fog/aws/elb.rb +1 -1
- data/lib/fog/aws/emr.rb +1 -1
- data/lib/fog/aws/glacier.rb +1 -1
- data/lib/fog/aws/iam.rb +2 -1
- data/lib/fog/aws/models/compute/network_interface.rb +8 -2
- data/lib/fog/aws/models/compute/server.rb +2 -1
- data/lib/fog/aws/models/compute/servers.rb +1 -0
- data/lib/fog/aws/models/dns/record.rb +10 -3
- data/lib/fog/aws/models/elasticache/cluster.rb +3 -0
- data/lib/fog/aws/parsers/compute/run_instances.rb +10 -3
- data/lib/fog/aws/parsers/dns/change_resource_record_sets.rb +3 -3
- data/lib/fog/aws/parsers/dns/get_change.rb +1 -1
- data/lib/fog/aws/parsers/elasticache/describe_reserved_cache_nodes.rb +2 -2
- data/lib/fog/aws/parsers/elb/describe_load_balancer_attributes.rb +1 -1
- data/lib/fog/aws/parsers/emr/describe_job_flows.rb +13 -13
- data/lib/fog/aws/parsers/iam/base_instance_profile.rb +2 -2
- data/lib/fog/aws/parsers/iam/create_access_key.rb +1 -1
- data/lib/fog/aws/parsers/iam/get_account_summary.rb +46 -0
- data/lib/fog/aws/parsers/iam/get_group.rb +2 -2
- data/lib/fog/aws/parsers/iam/instance_profile.rb +2 -2
- data/lib/fog/aws/parsers/iam/list_instance_profiles.rb +1 -1
- data/lib/fog/aws/parsers/iam/list_roles.rb +2 -2
- data/lib/fog/aws/parsers/iam/list_signing_certificates.rb +1 -1
- data/lib/fog/aws/parsers/iam/role_parser.rb +1 -1
- data/lib/fog/aws/parsers/iam/single_role.rb +1 -1
- data/lib/fog/aws/parsers/iam/update_user.rb +1 -1
- data/lib/fog/aws/parsers/rds/base.rb +1 -1
- data/lib/fog/aws/parsers/rds/create_db_instance.rb +3 -3
- data/lib/fog/aws/parsers/rds/create_db_instance_read_replica.rb +3 -3
- data/lib/fog/aws/parsers/rds/create_db_snapshot.rb +2 -2
- data/lib/fog/aws/parsers/rds/db_engine_version_parser.rb +3 -3
- data/lib/fog/aws/parsers/rds/db_parser.rb +10 -10
- data/lib/fog/aws/parsers/rds/delete_db_instance.rb +3 -3
- data/lib/fog/aws/parsers/rds/delete_db_snapshot.rb +1 -1
- data/lib/fog/aws/parsers/rds/describe_db_engine_versions.rb +2 -2
- data/lib/fog/aws/parsers/rds/describe_db_instances.rb +1 -1
- data/lib/fog/aws/parsers/rds/describe_db_parameter_groups.rb +2 -2
- data/lib/fog/aws/parsers/rds/describe_db_parameters.rb +2 -2
- data/lib/fog/aws/parsers/rds/describe_db_reserved_instances.rb +1 -1
- data/lib/fog/aws/parsers/rds/describe_db_snapshots.rb +2 -2
- data/lib/fog/aws/parsers/rds/event_list.rb +1 -1
- data/lib/fog/aws/parsers/rds/modify_db_instance.rb +2 -2
- data/lib/fog/aws/parsers/rds/reboot_db_instance.rb +3 -3
- data/lib/fog/aws/parsers/rds/snapshot_parser.rb +2 -2
- data/lib/fog/aws/parsers/redshift/cluster_parser.rb +5 -5
- data/lib/fog/aws/parsers/redshift/cluster_security_group_parser.rb +4 -4
- data/lib/fog/aws/parsers/redshift/cluster_snapshot.rb +3 -3
- data/lib/fog/aws/parsers/redshift/cluster_snapshot_parser.rb +3 -3
- data/lib/fog/aws/parsers/redshift/cluster_subnet_group_parser.rb +3 -3
- data/lib/fog/aws/parsers/redshift/create_cluster_parameter_group.rb +3 -3
- data/lib/fog/aws/parsers/redshift/create_cluster_security_group.rb +3 -3
- data/lib/fog/aws/parsers/redshift/describe_cluster_parameter_groups.rb +3 -3
- data/lib/fog/aws/parsers/redshift/describe_cluster_parameters.rb +4 -4
- data/lib/fog/aws/parsers/redshift/describe_cluster_security_groups.rb +3 -3
- data/lib/fog/aws/parsers/redshift/describe_cluster_snapshots.rb +3 -3
- data/lib/fog/aws/parsers/redshift/describe_cluster_subnet_groups.rb +3 -3
- data/lib/fog/aws/parsers/redshift/describe_cluster_versions.rb +5 -5
- data/lib/fog/aws/parsers/redshift/describe_default_cluster_parameters.rb +4 -4
- data/lib/fog/aws/parsers/redshift/describe_events.rb +3 -3
- data/lib/fog/aws/parsers/redshift/describe_orderable_cluster_options.rb +4 -4
- data/lib/fog/aws/parsers/redshift/describe_reserved_node_offerings.rb +2 -2
- data/lib/fog/aws/parsers/redshift/describe_reserved_nodes.rb +14 -14
- data/lib/fog/aws/parsers/redshift/describe_resize.rb +3 -3
- data/lib/fog/aws/parsers/redshift/purchase_reserved_node_offering.rb +4 -4
- data/lib/fog/aws/parsers/redshift/revoke_cluster_security_group_ingress.rb +3 -3
- data/lib/fog/aws/parsers/redshift/update_cluster_parameter_group_parser.rb +3 -3
- data/lib/fog/aws/parsers/simpledb/basic.rb +1 -1
- data/lib/fog/aws/parsers/simpledb/domain_metadata.rb +2 -2
- data/lib/fog/aws/parsers/simpledb/list_domains.rb +1 -1
- data/lib/fog/aws/parsers/simpledb/select.rb +1 -1
- data/lib/fog/aws/parsers/storage/get_bucket_lifecycle.rb +2 -2
- data/lib/fog/aws/rds.rb +1 -1
- data/lib/fog/aws/redshift.rb +12 -12
- data/lib/fog/aws/region_methods.rb +13 -0
- data/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +2 -2
- data/lib/fog/aws/requests/auto_scaling/describe_launch_configurations.rb +1 -1
- data/lib/fog/aws/requests/auto_scaling/describe_scheduled_actions.rb +2 -2
- data/lib/fog/aws/requests/cdn/delete_distribution.rb +1 -1
- data/lib/fog/aws/requests/cdn/delete_streaming_distribution.rb +1 -1
- data/lib/fog/aws/requests/cdn/get_distribution.rb +1 -1
- data/lib/fog/aws/requests/cdn/get_distribution_list.rb +1 -1
- data/lib/fog/aws/requests/cdn/get_invalidation.rb +4 -4
- data/lib/fog/aws/requests/cdn/get_invalidation_list.rb +2 -2
- data/lib/fog/aws/requests/cdn/get_streaming_distribution.rb +1 -1
- data/lib/fog/aws/requests/cdn/get_streaming_distribution_list.rb +2 -2
- data/lib/fog/aws/requests/cdn/post_distribution.rb +3 -3
- data/lib/fog/aws/requests/cdn/post_invalidation.rb +1 -1
- data/lib/fog/aws/requests/cdn/post_streaming_distribution.rb +2 -2
- data/lib/fog/aws/requests/cdn/put_distribution_config.rb +1 -1
- data/lib/fog/aws/requests/cdn/put_streaming_distribution_config.rb +2 -2
- data/lib/fog/aws/requests/cloud_formation/create_stack.rb +3 -3
- data/lib/fog/aws/requests/cloud_formation/delete_stack.rb +1 -1
- data/lib/fog/aws/requests/cloud_formation/describe_stack_events.rb +1 -1
- data/lib/fog/aws/requests/cloud_formation/describe_stack_resources.rb +1 -1
- data/lib/fog/aws/requests/cloud_formation/describe_stacks.rb +1 -1
- data/lib/fog/aws/requests/cloud_formation/get_template.rb +1 -1
- data/lib/fog/aws/requests/cloud_formation/list_stack_resources.rb +2 -2
- data/lib/fog/aws/requests/cloud_formation/list_stacks.rb +2 -2
- data/lib/fog/aws/requests/cloud_watch/delete_alarms.rb +1 -1
- data/lib/fog/aws/requests/cloud_watch/describe_alarm_history.rb +2 -2
- data/lib/fog/aws/requests/cloud_watch/describe_alarms.rb +2 -2
- data/lib/fog/aws/requests/cloud_watch/describe_alarms_for_metric.rb +2 -2
- data/lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb +2 -2
- data/lib/fog/aws/requests/cloud_watch/enable_alarm_actions.rb +2 -2
- data/lib/fog/aws/requests/cloud_watch/set_alarm_state.rb +1 -1
- data/lib/fog/aws/requests/compute/assign_private_ip_addresses.rb +3 -3
- data/lib/fog/aws/requests/compute/associate_address.rb +55 -27
- data/lib/fog/aws/requests/compute/associate_dhcp_options.rb +2 -2
- data/lib/fog/aws/requests/compute/associate_route_table.rb +3 -3
- data/lib/fog/aws/requests/compute/attach_network_interface.rb +1 -1
- data/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +18 -2
- data/lib/fog/aws/requests/compute/create_image.rb +5 -5
- data/lib/fog/aws/requests/compute/create_internet_gateway.rb +2 -2
- data/lib/fog/aws/requests/compute/create_network_interface.rb +5 -5
- data/lib/fog/aws/requests/compute/create_route.rb +7 -7
- data/lib/fog/aws/requests/compute/create_route_table.rb +5 -5
- data/lib/fog/aws/requests/compute/create_vpc.rb +8 -8
- data/lib/fog/aws/requests/compute/delete_dhcp_options.rb +4 -4
- data/lib/fog/aws/requests/compute/delete_internet_gateway.rb +2 -2
- data/lib/fog/aws/requests/compute/delete_network_acl.rb +1 -1
- data/lib/fog/aws/requests/compute/delete_network_acl_entry.rb +1 -1
- data/lib/fog/aws/requests/compute/delete_network_interface.rb +1 -1
- data/lib/fog/aws/requests/compute/delete_route.rb +5 -5
- data/lib/fog/aws/requests/compute/delete_security_group.rb +10 -0
- data/lib/fog/aws/requests/compute/delete_subnet.rb +3 -3
- data/lib/fog/aws/requests/compute/delete_vpc.rb +1 -1
- data/lib/fog/aws/requests/compute/deregister_image.rb +2 -2
- data/lib/fog/aws/requests/compute/describe_availability_zones.rb +1 -1
- data/lib/fog/aws/requests/compute/describe_dhcp_options.rb +1 -1
- data/lib/fog/aws/requests/compute/describe_instances.rb +47 -30
- data/lib/fog/aws/requests/compute/describe_internet_gateways.rb +1 -1
- data/lib/fog/aws/requests/compute/describe_network_interface_attribute.rb +1 -1
- data/lib/fog/aws/requests/compute/describe_network_interfaces.rb +3 -3
- data/lib/fog/aws/requests/compute/describe_reserved_instances_offerings.rb +2 -2
- data/lib/fog/aws/requests/compute/describe_security_groups.rb +4 -3
- data/lib/fog/aws/requests/compute/describe_subnets.rb +1 -1
- data/lib/fog/aws/requests/compute/describe_tags.rb +7 -7
- data/lib/fog/aws/requests/compute/detach_network_interface.rb +1 -1
- data/lib/fog/aws/requests/compute/disassociate_route_table.rb +2 -2
- data/lib/fog/aws/requests/compute/modify_instance_attribute.rb +1 -1
- data/lib/fog/aws/requests/compute/modify_network_interface_attribute.rb +2 -2
- data/lib/fog/aws/requests/compute/modify_snapshot_attribute.rb +1 -1
- data/lib/fog/aws/requests/compute/modify_vpc_attribute.rb +2 -2
- data/lib/fog/aws/requests/compute/replace_network_acl_association.rb +1 -1
- data/lib/fog/aws/requests/compute/reset_network_interface_attribute.rb +2 -2
- data/lib/fog/aws/requests/compute/run_instances.rb +44 -0
- data/lib/fog/aws/requests/compute/unmonitor_instances.rb +1 -1
- data/lib/fog/aws/requests/data_pipeline/list_pipelines.rb +1 -1
- data/lib/fog/aws/requests/data_pipeline/query_objects.rb +4 -2
- data/lib/fog/aws/requests/dns/change_resource_record_sets.rb +1 -1
- data/lib/fog/aws/requests/dns/list_resource_record_sets.rb +6 -3
- data/lib/fog/aws/requests/elasticache/create_cache_cluster.rb +5 -0
- data/lib/fog/aws/requests/elasticache/create_cache_parameter_group.rb +19 -3
- data/lib/fog/aws/requests/elasticache/create_cache_subnet_group.rb +2 -2
- data/lib/fog/aws/requests/elasticache/delete_cache_parameter_group.rb +11 -1
- data/lib/fog/aws/requests/elasticache/describe_cache_parameter_groups.rb +17 -1
- data/lib/fog/aws/requests/elasticache/describe_reserved_cache_nodes.rb +2 -2
- data/lib/fog/aws/requests/elb/describe_load_balancer_attributes.rb +1 -1
- data/lib/fog/aws/requests/elb/modify_load_balancer_attributes.rb +1 -1
- data/lib/fog/aws/requests/emr/add_instance_groups.rb +3 -3
- data/lib/fog/aws/requests/emr/add_job_flow_steps.rb +3 -3
- data/lib/fog/aws/requests/emr/describe_job_flows.rb +4 -4
- data/lib/fog/aws/requests/emr/modify_instance_groups.rb +3 -3
- data/lib/fog/aws/requests/emr/run_job_flow.rb +9 -9
- data/lib/fog/aws/requests/emr/set_termination_protection.rb +2 -2
- data/lib/fog/aws/requests/emr/terminate_job_flows.rb +2 -2
- data/lib/fog/aws/requests/iam/add_role_to_instance_profile.rb +1 -1
- data/lib/fog/aws/requests/iam/add_user_to_group.rb +1 -1
- data/lib/fog/aws/requests/iam/create_access_key.rb +1 -1
- data/lib/fog/aws/requests/iam/create_group.rb +1 -1
- data/lib/fog/aws/requests/iam/create_instance_profile.rb +2 -2
- data/lib/fog/aws/requests/iam/create_login_profile.rb +1 -1
- data/lib/fog/aws/requests/iam/create_role.rb +3 -3
- data/lib/fog/aws/requests/iam/create_user.rb +1 -1
- data/lib/fog/aws/requests/iam/delete_access_key.rb +1 -1
- data/lib/fog/aws/requests/iam/delete_group.rb +1 -1
- data/lib/fog/aws/requests/iam/delete_group_policy.rb +1 -1
- data/lib/fog/aws/requests/iam/delete_instance_profile.rb +1 -1
- data/lib/fog/aws/requests/iam/delete_login_profile.rb +1 -1
- data/lib/fog/aws/requests/iam/delete_role.rb +1 -1
- data/lib/fog/aws/requests/iam/delete_role_policy.rb +1 -1
- data/lib/fog/aws/requests/iam/delete_user.rb +1 -1
- data/lib/fog/aws/requests/iam/delete_user_policy.rb +1 -1
- data/lib/fog/aws/requests/iam/get_account_summary.rb +80 -0
- data/lib/fog/aws/requests/iam/get_group.rb +4 -4
- data/lib/fog/aws/requests/iam/get_instance_profile.rb +2 -2
- data/lib/fog/aws/requests/iam/get_login_profile.rb +1 -1
- data/lib/fog/aws/requests/iam/get_role.rb +3 -3
- data/lib/fog/aws/requests/iam/get_role_policy.rb +1 -1
- data/lib/fog/aws/requests/iam/get_user.rb +3 -3
- data/lib/fog/aws/requests/iam/list_access_keys.rb +1 -1
- data/lib/fog/aws/requests/iam/list_account_aliases.rb +1 -1
- data/lib/fog/aws/requests/iam/list_group_policies.rb +1 -1
- data/lib/fog/aws/requests/iam/list_groups.rb +1 -1
- data/lib/fog/aws/requests/iam/list_groups_for_user.rb +1 -1
- data/lib/fog/aws/requests/iam/list_instance_profiles.rb +3 -3
- data/lib/fog/aws/requests/iam/list_instance_profiles_for_role.rb +2 -2
- data/lib/fog/aws/requests/iam/list_role_policies.rb +2 -2
- data/lib/fog/aws/requests/iam/list_roles.rb +3 -3
- data/lib/fog/aws/requests/iam/list_user_policies.rb +1 -1
- data/lib/fog/aws/requests/iam/list_users.rb +1 -1
- data/lib/fog/aws/requests/iam/put_role_policy.rb +1 -1
- data/lib/fog/aws/requests/iam/remove_role_from_instance_profile.rb +1 -1
- data/lib/fog/aws/requests/iam/remove_user_from_group.rb +1 -1
- data/lib/fog/aws/requests/iam/update_access_key.rb +1 -1
- data/lib/fog/aws/requests/iam/update_login_profile.rb +1 -1
- data/lib/fog/aws/requests/iam/update_user.rb +1 -1
- data/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +4 -4
- data/lib/fog/aws/requests/rds/create_db_instance.rb +4 -4
- data/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb +3 -3
- data/lib/fog/aws/requests/rds/create_db_parameter_group.rb +6 -6
- data/lib/fog/aws/requests/rds/create_db_security_group.rb +2 -2
- data/lib/fog/aws/requests/rds/create_db_snapshot.rb +1 -1
- data/lib/fog/aws/requests/rds/delete_db_instance.rb +4 -4
- data/lib/fog/aws/requests/rds/delete_db_parameter_group.rb +3 -3
- data/lib/fog/aws/requests/rds/delete_db_security_group.rb +1 -1
- data/lib/fog/aws/requests/rds/delete_db_snapshot.rb +2 -2
- data/lib/fog/aws/requests/rds/describe_db_engine_versions.rb +2 -2
- data/lib/fog/aws/requests/rds/describe_db_parameter_groups.rb +2 -2
- data/lib/fog/aws/requests/rds/describe_db_parameters.rb +1 -1
- data/lib/fog/aws/requests/rds/describe_db_reserved_instances.rb +1 -1
- data/lib/fog/aws/requests/rds/describe_db_snapshots.rb +1 -1
- data/lib/fog/aws/requests/rds/describe_events.rb +1 -1
- data/lib/fog/aws/requests/rds/modify_db_instance.rb +10 -5
- data/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +5 -5
- data/lib/fog/aws/requests/rds/remove_tags_from_resource.rb +1 -1
- data/lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb +3 -3
- data/lib/fog/aws/requests/redshift/authorize_cluster_security_group_ingress.rb +14 -14
- data/lib/fog/aws/requests/redshift/authorize_snapshot_access.rb +5 -5
- data/lib/fog/aws/requests/redshift/copy_cluster_snapshot.rb +6 -6
- data/lib/fog/aws/requests/redshift/create_cluster.rb +39 -39
- data/lib/fog/aws/requests/redshift/create_cluster_parameter_group.rb +13 -13
- data/lib/fog/aws/requests/redshift/create_cluster_security_group.rb +5 -5
- data/lib/fog/aws/requests/redshift/create_cluster_snapshot.rb +6 -6
- data/lib/fog/aws/requests/redshift/create_cluster_subnet_group.rb +6 -6
- data/lib/fog/aws/requests/redshift/delete_cluster.rb +11 -11
- data/lib/fog/aws/requests/redshift/delete_cluster_parameter_group.rb +3 -3
- data/lib/fog/aws/requests/redshift/delete_cluster_security_group.rb +3 -3
- data/lib/fog/aws/requests/redshift/delete_cluster_snapshot.rb +6 -6
- data/lib/fog/aws/requests/redshift/delete_cluster_subnet_group.rb +4 -4
- data/lib/fog/aws/requests/redshift/describe_cluster_parameter_groups.rb +9 -9
- data/lib/fog/aws/requests/redshift/describe_cluster_parameters.rb +13 -13
- data/lib/fog/aws/requests/redshift/describe_cluster_security_groups.rb +8 -8
- data/lib/fog/aws/requests/redshift/describe_cluster_snapshots.rb +16 -16
- data/lib/fog/aws/requests/redshift/describe_cluster_subnet_groups.rb +8 -8
- data/lib/fog/aws/requests/redshift/describe_cluster_versions.rb +10 -10
- data/lib/fog/aws/requests/redshift/describe_clusters.rb +9 -9
- data/lib/fog/aws/requests/redshift/describe_default_cluster_parameters.rb +8 -8
- data/lib/fog/aws/requests/redshift/describe_events.rb +28 -28
- data/lib/fog/aws/requests/redshift/describe_orderable_cluster_options.rb +11 -11
- data/lib/fog/aws/requests/redshift/describe_reserved_node_offerings.rb +8 -8
- data/lib/fog/aws/requests/redshift/describe_reserved_nodes.rb +8 -8
- data/lib/fog/aws/requests/redshift/describe_resize.rb +5 -5
- data/lib/fog/aws/requests/redshift/modify_cluster.rb +25 -25
- data/lib/fog/aws/requests/redshift/modify_cluster_parameter_group.rb +3 -3
- data/lib/fog/aws/requests/redshift/modify_cluster_subnet_group.rb +6 -6
- data/lib/fog/aws/requests/redshift/purchase_reserved_node_offering.rb +3 -3
- data/lib/fog/aws/requests/redshift/reboot_cluster.rb +6 -6
- data/lib/fog/aws/requests/redshift/reset_cluster_parameter_group.rb +1 -1
- data/lib/fog/aws/requests/redshift/restore_from_cluster_snapshot.rb +17 -17
- data/lib/fog/aws/requests/redshift/revoke_cluster_security_group_ingress.rb +14 -14
- data/lib/fog/aws/requests/redshift/revoke_snapshot_access.rb +4 -4
- data/lib/fog/aws/requests/simpledb/create_domain.rb +1 -1
- data/lib/fog/aws/requests/simpledb/delete_domain.rb +1 -1
- data/lib/fog/aws/requests/simpledb/domain_metadata.rb +2 -2
- data/lib/fog/aws/requests/simpledb/select.rb +1 -1
- data/lib/fog/aws/requests/sqs/change_message_visibility.rb +4 -4
- data/lib/fog/aws/requests/sqs/create_queue.rb +4 -4
- data/lib/fog/aws/requests/sqs/delete_message.rb +1 -1
- data/lib/fog/aws/requests/sqs/delete_queue.rb +6 -6
- data/lib/fog/aws/requests/sqs/get_queue_attributes.rb +4 -4
- data/lib/fog/aws/requests/sqs/list_queues.rb +2 -2
- data/lib/fog/aws/requests/sqs/receive_message.rb +4 -4
- data/lib/fog/aws/requests/sqs/send_message.rb +7 -7
- data/lib/fog/aws/requests/sqs/set_queue_attributes.rb +1 -1
- data/lib/fog/aws/requests/storage/abort_multipart_upload.rb +1 -1
- data/lib/fog/aws/requests/storage/copy_object.rb +3 -3
- data/lib/fog/aws/requests/storage/delete_bucket_policy.rb +1 -1
- data/lib/fog/aws/requests/storage/delete_multiple_objects.rb +1 -1
- data/lib/fog/aws/requests/storage/get_bucket_website.rb +1 -1
- data/lib/fog/aws/requests/storage/head_object.rb +5 -5
- data/lib/fog/aws/requests/storage/initiate_multipart_upload.rb +3 -3
- data/lib/fog/aws/requests/storage/post_object_hidden_fields.rb +1 -1
- data/lib/fog/aws/requests/storage/put_bucket.rb +1 -1
- data/lib/fog/aws/requests/storage/put_bucket_acl.rb +4 -4
- data/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb +8 -8
- data/lib/fog/aws/requests/storage/put_object.rb +1 -1
- data/lib/fog/aws/requests/storage/put_object_acl.rb +5 -5
- data/lib/fog/aws/requests/storage/sync_clock.rb +1 -1
- data/lib/fog/aws/requests/sts/assume_role.rb +2 -2
- data/lib/fog/aws/ses.rb +1 -1
- data/lib/fog/aws/signaturev4.rb +2 -1
- data/lib/fog/aws/simpledb.rb +2 -2
- data/lib/fog/aws/sns.rb +1 -1
- data/lib/fog/aws/sqs.rb +3 -3
- data/lib/fog/aws/storage.rb +2 -3
- data/lib/fog/aws/sts.rb +1 -2
- data/lib/fog/bare_metal_cloud/compute.rb +1 -2
- data/lib/fog/bare_metal_cloud/core.rb +1 -0
- data/lib/fog/bare_metal_cloud/requests/compute/list_images.rb +1 -1
- data/lib/fog/bin.rb +2 -0
- data/lib/fog/bin/aws.rb +1 -1
- data/lib/fog/bin/bare_metal_cloud.rb +1 -1
- data/lib/fog/bin/brightbox.rb +1 -1
- data/lib/fog/bin/clodo.rb +1 -1
- data/lib/fog/bin/cloudsigma.rb +1 -1
- data/lib/fog/bin/ecloud.rb +1 -1
- data/lib/fog/bin/fogdocker.rb +30 -0
- data/lib/fog/bin/go_grid.rb +1 -1
- data/lib/fog/bin/google.rb +1 -1
- data/lib/fog/bin/joyent.rb +4 -0
- data/lib/fog/bin/local.rb +1 -1
- data/lib/fog/bin/rackspace.rb +1 -1
- data/lib/fog/bin/sakuracloud.rb +36 -0
- data/lib/fog/bin/stormondemand.rb +2 -2
- data/lib/fog/bin/zerigo.rb +1 -1
- data/lib/fog/bluebox/blb.rb +1 -1
- data/lib/fog/bluebox/compute.rb +1 -2
- data/lib/fog/bluebox/core.rb +1 -0
- data/lib/fog/bluebox/dns.rb +1 -2
- data/lib/fog/bluebox/models/blb/lb_application.rb +1 -1
- data/lib/fog/bluebox/models/blb/lb_backend.rb +1 -1
- data/lib/fog/bluebox/models/blb/lb_service.rb +1 -1
- data/lib/fog/bluebox/models/compute/location.rb +1 -1
- data/lib/fog/bluebox/models/compute/server.rb +2 -0
- data/lib/fog/bluebox/requests/blb/get_lb_machine.rb +1 -1
- data/lib/fog/bluebox/requests/blb/get_lb_machines.rb +1 -1
- data/lib/fog/bluebox/requests/blb/remove_machine_from_lb_backend.rb +1 -1
- data/lib/fog/bluebox/requests/compute/create_block.rb +2 -0
- data/lib/fog/clodo/compute.rb +1 -1
- data/lib/fog/clodo/core.rb +2 -1
- data/lib/fog/clodo/requests/compute/create_server.rb +1 -1
- data/lib/fog/clodo/requests/compute/delete_ip_address.rb +1 -1
- data/lib/fog/cloudsigma/compute.rb +0 -1
- data/lib/fog/cloudsigma/connection.rb +2 -2
- data/lib/fog/cloudsigma/core.rb +1 -0
- data/lib/fog/cloudsigma/error.rb +1 -1
- data/lib/fog/cloudsigma/mock_data.rb +1 -1
- data/lib/fog/cloudsigma/models/lib_volume.rb +1 -1
- data/lib/fog/cloudsigma/models/nic.rb +1 -0
- data/lib/fog/cloudsigma/models/price_record.rb +1 -1
- data/lib/fog/cloudsigma/models/pricing.rb +1 -1
- data/lib/fog/cloudsigma/models/profile.rb +1 -1
- data/lib/fog/cloudsigma/models/server.rb +5 -1
- data/lib/fog/cloudsigma/models/volume.rb +1 -1
- data/lib/fog/cloudsigma/nested_model.rb +1 -1
- data/lib/fog/cloudstack/compute.rb +3 -4
- data/lib/fog/cloudstack/core.rb +1 -0
- data/lib/fog/cloudstack/requests/compute/assign_to_load_balancer_rule.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/delete_snapshot.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/generate_usage_records.rb +3 -3
- data/lib/fog/cloudstack/requests/compute/get_vm_password.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_accounts.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_alerts.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_capacity.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_clusters.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_configurations.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_disk_offerings.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_domain_children.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_domains.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_events.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_external_firewalls.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_external_load_balancers.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_hosts.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_hypervisors.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_instance_groups.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_isos.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_load_balancer_rule_instances.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_load_balancer_rules.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_network_offerings.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_networks.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_os_categories.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_os_types.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_pods.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_public_ip_addresses.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_resource_limits.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_snapshot_policies.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_snapshots.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_ssh_key_pairs.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_storage_pools.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/list_usage_records.rb +3 -3
- data/lib/fog/cloudstack/requests/compute/list_users.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/remove_from_load_balancer_rule.rb +1 -1
- data/lib/fog/cloudstack/requests/compute/reset_password_for_virtual_machine.rb +1 -1
- data/lib/fog/core/deprecated/connection.rb +5 -4
- data/lib/fog/digitalocean/compute.rb +3 -4
- data/lib/fog/digitalocean/core.rb +1 -0
- data/lib/fog/digitalocean/examples/getting_started.md +3 -3
- data/lib/fog/digitalocean/models/compute/flavor.rb +1 -1
- data/lib/fog/digitalocean/models/compute/image.rb +1 -1
- data/lib/fog/digitalocean/models/compute/region.rb +1 -1
- data/lib/fog/digitalocean/models/compute/ssh_key.rb +1 -1
- data/lib/fog/digitalocean/models/compute/ssh_keys.rb +1 -1
- data/lib/fog/digitalocean/requests/compute/destroy_ssh_key.rb +1 -1
- data/lib/fog/digitalocean/requests/compute/get_ssh_key.rb +1 -1
- data/lib/fog/digitalocean/requests/compute/list_flavors.rb +1 -1
- data/lib/fog/digitalocean/requests/compute/list_regions.rb +1 -1
- data/lib/fog/digitalocean/requests/compute/list_servers.rb +1 -1
- data/lib/fog/digitalocean/requests/compute/list_ssh_keys.rb +1 -1
- data/lib/fog/dnsimple/core.rb +1 -0
- data/lib/fog/dnsimple/dns.rb +24 -9
- data/lib/fog/dnsimple/requests/dns/get_domain.rb +1 -1
- data/lib/fog/dnsmadeeasy/core.rb +1 -0
- data/lib/fog/dnsmadeeasy/dns.rb +1 -2
- data/lib/fog/dnsmadeeasy/requests/dns/create_secondary.rb +2 -2
- data/lib/fog/dreamhost/core.rb +1 -0
- data/lib/fog/dreamhost/dns.rb +1 -2
- data/lib/fog/dreamhost/examples/dns/getting_started.md +3 -3
- data/lib/fog/dreamhost/models/dns/record.rb +1 -1
- data/lib/fog/dreamhost/models/dns/zone.rb +3 -3
- data/lib/fog/dreamhost/models/dns/zones.rb +1 -1
- data/lib/fog/dreamhost/requests/dns/create_record.rb +1 -1
- data/lib/fog/dreamhost/requests/dns/delete_record.rb +2 -2
- data/lib/fog/dreamhost/requests/dns/list_records.rb +1 -1
- data/lib/fog/dynect/core.rb +1 -0
- data/lib/fog/dynect/dns.rb +1 -2
- data/lib/fog/ecloud/compute.rb +1 -1
- data/lib/fog/ecloud/mock_data_classes.rb +1 -1
- data/lib/fog/ecloud/models/compute/api_key.rb +1 -1
- data/lib/fog/ecloud/models/compute/authentication_level.rb +2 -2
- data/lib/fog/ecloud/models/compute/catalog_configuration.rb +1 -1
- data/lib/fog/ecloud/models/compute/cpu_usage_detail.rb +1 -1
- data/lib/fog/ecloud/models/compute/guest_process.rb +1 -1
- data/lib/fog/ecloud/models/compute/login_banner.rb +1 -1
- data/lib/fog/ecloud/models/compute/memory_usage_detail.rb +1 -1
- data/lib/fog/ecloud/models/compute/operating_system.rb +1 -1
- data/lib/fog/ecloud/models/compute/password_complexity_rule.rb +1 -1
- data/lib/fog/ecloud/models/compute/physical_device.rb +1 -1
- data/lib/fog/ecloud/models/compute/role.rb +1 -1
- data/lib/fog/ecloud/models/compute/server_configuration_option.rb +1 -1
- data/lib/fog/ecloud/models/compute/storage_usage_detail.rb +1 -1
- data/lib/fog/ecloud/models/compute/support_ticket.rb +1 -1
- data/lib/fog/ecloud/requests/compute/admin_edit_login_banner.rb +2 -2
- data/lib/fog/ecloud/requests/compute/admin_edit_password_complexity_rules.rb +2 -2
- data/lib/fog/ecloud/requests/compute/backup_internet_service_create.rb +2 -2
- data/lib/fog/ecloud/requests/compute/backup_internet_service_edit.rb +2 -2
- data/lib/fog/ecloud/requests/compute/compute_pool_edit.rb +1 -1
- data/lib/fog/ecloud/requests/compute/firewall_acls_create.rb +2 -2
- data/lib/fog/ecloud/requests/compute/internet_service_edit.rb +1 -1
- data/lib/fog/ecloud/requests/compute/monitors_create_ecv.rb +1 -1
- data/lib/fog/ecloud/requests/compute/monitors_create_http.rb +1 -1
- data/lib/fog/ecloud/requests/compute/monitors_create_ping.rb +1 -1
- data/lib/fog/ecloud/requests/compute/monitors_edit_ecv.rb +1 -1
- data/lib/fog/ecloud/requests/compute/monitors_edit_http.rb +1 -1
- data/lib/fog/ecloud/requests/compute/monitors_edit_ping.rb +1 -1
- data/lib/fog/ecloud/requests/compute/node_service_edit.rb +1 -1
- data/lib/fog/ecloud/requests/compute/rnat_associations_create_device.rb +1 -1
- data/lib/fog/ecloud/requests/compute/rnat_associations_edit_network.rb +1 -1
- data/lib/fog/ecloud/requests/compute/trusted_network_groups_create.rb +2 -2
- data/lib/fog/ecloud/requests/compute/trusted_network_groups_edit.rb +2 -2
- data/lib/fog/ecloud/requests/compute/virtual_machine_copy.rb +3 -3
- data/lib/fog/ecloud/requests/compute/virtual_machine_edit.rb +1 -1
- data/lib/fog/fogdocker.rb +1 -0
- data/lib/fog/fogdocker/compute.rb +60 -0
- data/lib/fog/fogdocker/core.rb +17 -0
- data/lib/fog/fogdocker/models/compute/image.rb +41 -0
- data/lib/fog/fogdocker/models/compute/images.rb +23 -0
- data/lib/fog/fogdocker/models/compute/server.rb +136 -0
- data/lib/fog/fogdocker/models/compute/servers.rb +28 -0
- data/lib/fog/fogdocker/requests/compute/api_version.rb +16 -0
- data/lib/fog/fogdocker/requests/compute/container_action.rb +26 -0
- data/lib/fog/fogdocker/requests/compute/container_all.rb +38 -0
- data/lib/fog/fogdocker/requests/compute/container_commit.rb +23 -0
- data/lib/fog/fogdocker/requests/compute/container_create.rb +53 -0
- data/lib/fog/fogdocker/requests/compute/container_delete.rb +24 -0
- data/lib/fog/fogdocker/requests/compute/container_get.rb +31 -0
- data/lib/fog/fogdocker/requests/compute/image_all.rb +27 -0
- data/lib/fog/fogdocker/requests/compute/image_create.rb +19 -0
- data/lib/fog/fogdocker/requests/compute/image_delete.rb +23 -0
- data/lib/fog/fogdocker/requests/compute/image_get.rb +20 -0
- data/lib/fog/glesys/compute.rb +1 -1
- data/lib/fog/glesys/core.rb +1 -0
- data/lib/fog/go_grid/compute.rb +1 -2
- data/lib/fog/go_grid/core.rb +1 -0
- data/lib/fog/google/compute.rb +68 -21
- data/lib/fog/google/core.rb +1 -0
- data/lib/fog/google/examples/eric-fail.rb +3 -3
- data/lib/fog/google/examples/image_all.rb +6 -0
- data/lib/fog/google/examples/launch_micro_instance.rb +9 -5
- data/lib/fog/google/examples/metadata.rb +1 -1
- data/lib/fog/google/examples/network.rb +29 -25
- data/lib/fog/google/examples/precreated_client.rb +14 -0
- data/lib/fog/google/models/compute/disk.rb +9 -5
- data/lib/fog/google/models/compute/images.rb +22 -14
- data/lib/fog/google/models/compute/server.rb +2 -0
- data/lib/fog/google/requests/compute/delete_snapshot.rb +1 -1
- data/lib/fog/google/requests/compute/get_image.rb +4 -4
- data/lib/fog/google/requests/compute/set_metadata.rb +15 -2
- data/lib/fog/google/requests/storage/get_object_http_url.rb +1 -1
- data/lib/fog/google/requests/storage/get_object_https_url.rb +1 -1
- data/lib/fog/google/requests/storage/put_bucket_acl.rb +1 -1
- data/lib/fog/google/requests/storage/put_object_acl.rb +1 -1
- data/lib/fog/google/storage.rb +1 -2
- data/lib/fog/hp/README.md +2 -2
- data/lib/fog/hp/block_storage.rb +1 -1
- data/lib/fog/hp/block_storage_v2.rb +1 -1
- data/lib/fog/hp/cdn.rb +1 -1
- data/lib/fog/hp/compute.rb +2 -3
- data/lib/fog/hp/compute_v2.rb +2 -3
- data/lib/fog/hp/core.rb +3 -2
- data/lib/fog/hp/dns.rb +1 -1
- data/lib/fog/hp/docs/connect.md +6 -6
- data/lib/fog/hp/docs/install.md +12 -12
- data/lib/fog/hp/examples/block_storage.md +6 -6
- data/lib/fog/hp/examples/block_storage_v2.md +24 -24
- data/lib/fog/hp/examples/cdn.md +5 -5
- data/lib/fog/hp/examples/compute.md +25 -25
- data/lib/fog/hp/examples/compute_v2.md +35 -35
- data/lib/fog/hp/examples/networking.md +8 -8
- data/lib/fog/hp/examples/object_storage.md +24 -24
- data/lib/fog/hp/lb.rb +1 -1
- data/lib/fog/hp/models/storage/directory.rb +2 -2
- data/lib/fog/hp/models/storage/file.rb +2 -2
- data/lib/fog/hp/models/storage/files.rb +5 -5
- data/lib/fog/hp/network.rb +1 -1
- data/lib/fog/hp/requests/block_storage/create_snapshot.rb +1 -1
- data/lib/fog/hp/requests/block_storage/create_volume.rb +1 -1
- data/lib/fog/hp/requests/block_storage/delete_snapshot.rb +1 -1
- data/lib/fog/hp/requests/block_storage/delete_volume.rb +1 -1
- data/lib/fog/hp/requests/block_storage/get_bootable_volume_details.rb +1 -1
- data/lib/fog/hp/requests/block_storage/get_snapshot_details.rb +1 -1
- data/lib/fog/hp/requests/block_storage/get_volume_details.rb +1 -1
- data/lib/fog/hp/requests/block_storage/list_bootable_volumes.rb +1 -1
- data/lib/fog/hp/requests/block_storage/list_snapshots.rb +1 -1
- data/lib/fog/hp/requests/block_storage/list_volumes.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/create_snapshot.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/create_volume.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/create_volume_backup.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/delete_snapshot.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/delete_volume.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/delete_volume_backup.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/get_snapshot_details.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/get_volume_backup_details.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/get_volume_details.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/list_snapshots.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/list_snapshots_detail.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/list_volume_backups.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/list_volume_backups_detail.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/list_volumes.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/list_volumes_detail.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/restore_volume_backup.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/update_snapshot.rb +1 -1
- data/lib/fog/hp/requests/block_storage_v2/update_volume.rb +1 -1
- data/lib/fog/hp/requests/cdn/delete_container.rb +1 -1
- data/lib/fog/hp/requests/compute/get_windows_password.rb +1 -1
- data/lib/fog/hp/requests/compute_v2/get_windows_password.rb +1 -1
- data/lib/fog/hp/requests/dns/delete_domain.rb +1 -1
- data/lib/fog/hp/requests/dns/delete_record.rb +1 -1
- data/lib/fog/hp/requests/dns/update_domain.rb +1 -1
- data/lib/fog/hp/requests/dns/update_record.rb +1 -1
- data/lib/fog/hp/requests/lb/delete_load_balancer.rb +1 -1
- data/lib/fog/hp/requests/lb/get_load_balancer.rb +1 -1
- data/lib/fog/hp/requests/lb/get_load_balancer_node.rb +1 -1
- data/lib/fog/hp/requests/lb/list_algorithms.rb +1 -1
- data/lib/fog/hp/requests/lb/list_limits.rb +1 -1
- data/lib/fog/hp/requests/lb/list_load_balancer_virtual_ips.rb +1 -1
- data/lib/fog/hp/requests/lb/list_load_balancers.rb +1 -1
- data/lib/fog/hp/requests/lb/list_protocols.rb +1 -1
- data/lib/fog/hp/requests/network/add_router_interface.rb +1 -1
- data/lib/fog/hp/requests/network/create_network.rb +1 -1
- data/lib/fog/hp/requests/network/create_port.rb +1 -1
- data/lib/fog/hp/requests/network/create_router.rb +1 -1
- data/lib/fog/hp/requests/network/create_subnet.rb +1 -1
- data/lib/fog/hp/requests/network/delete_network.rb +1 -1
- data/lib/fog/hp/requests/network/delete_port.rb +1 -1
- data/lib/fog/hp/requests/network/delete_router.rb +1 -1
- data/lib/fog/hp/requests/network/delete_subnet.rb +1 -1
- data/lib/fog/hp/requests/network/get_network.rb +1 -1
- data/lib/fog/hp/requests/network/get_port.rb +1 -1
- data/lib/fog/hp/requests/network/get_router.rb +1 -1
- data/lib/fog/hp/requests/network/get_subnet.rb +1 -1
- data/lib/fog/hp/requests/network/list_networks.rb +1 -1
- data/lib/fog/hp/requests/network/list_ports.rb +1 -1
- data/lib/fog/hp/requests/network/list_routers.rb +1 -1
- data/lib/fog/hp/requests/network/list_subnets.rb +1 -1
- data/lib/fog/hp/requests/network/remove_router_interface.rb +1 -1
- data/lib/fog/hp/requests/network/update_port.rb +1 -1
- data/lib/fog/hp/requests/network/update_router.rb +1 -1
- data/lib/fog/hp/requests/network/update_subnet.rb +1 -1
- data/lib/fog/hp/requests/storage/get_object_temp_url.rb +1 -1
- data/lib/fog/hp/simple_http_instrumentor.rb +1 -1
- data/lib/fog/hp/storage.rb +13 -14
- data/lib/fog/ibm/compute.rb +0 -1
- data/lib/fog/ibm/core.rb +2 -1
- data/lib/fog/ibm/requests/compute/create_instance.rb +1 -1
- data/lib/fog/ibm/storage.rb +0 -1
- data/lib/fog/internet_archive/core.rb +1 -0
- data/lib/fog/internet_archive/models/storage/file.rb +26 -26
- data/lib/fog/internet_archive/models/storage/ia_attributes.rb +1 -1
- data/lib/fog/internet_archive/parsers/storage/get_bucket_lifecycle.rb +2 -2
- data/lib/fog/internet_archive/requests/storage/abort_multipart_upload.rb +2 -2
- data/lib/fog/internet_archive/requests/storage/copy_object.rb +3 -3
- data/lib/fog/internet_archive/requests/storage/delete_bucket_policy.rb +1 -1
- data/lib/fog/internet_archive/requests/storage/delete_multiple_objects.rb +1 -1
- data/lib/fog/internet_archive/requests/storage/get_bucket_website.rb +1 -1
- data/lib/fog/internet_archive/requests/storage/head_object.rb +5 -5
- data/lib/fog/internet_archive/requests/storage/initiate_multipart_upload.rb +3 -3
- data/lib/fog/internet_archive/requests/storage/post_object_hidden_fields.rb +1 -1
- data/lib/fog/internet_archive/requests/storage/put_bucket.rb +1 -1
- data/lib/fog/internet_archive/requests/storage/put_bucket_acl.rb +4 -4
- data/lib/fog/internet_archive/requests/storage/put_bucket_lifecycle.rb +8 -8
- data/lib/fog/internet_archive/requests/storage/put_object.rb +1 -1
- data/lib/fog/internet_archive/requests/storage/put_object_acl.rb +4 -4
- data/lib/fog/internet_archive/requests/storage/sync_clock.rb +1 -1
- data/lib/fog/internet_archive/storage.rb +2 -3
- data/lib/fog/joyent.rb +11 -0
- data/lib/fog/joyent/analytics.rb +313 -0
- data/lib/fog/joyent/compute.rb +38 -17
- data/lib/fog/joyent/core.rb +1 -0
- data/lib/fog/joyent/errors.rb +1 -0
- data/lib/fog/joyent/models/analytics/field.rb +14 -0
- data/lib/fog/joyent/models/analytics/fields.rb +26 -0
- data/lib/fog/joyent/models/analytics/instrumentation.rb +83 -0
- data/lib/fog/joyent/models/analytics/instrumentations.rb +26 -0
- data/lib/fog/joyent/models/analytics/joyent_module.rb +15 -0
- data/lib/fog/joyent/models/analytics/joyent_modules.rb +26 -0
- data/lib/fog/joyent/models/analytics/metric.rb +18 -0
- data/lib/fog/joyent/models/analytics/metrics.rb +18 -0
- data/lib/fog/joyent/models/analytics/transformation.rb +13 -0
- data/lib/fog/joyent/models/analytics/transformations.rb +26 -0
- data/lib/fog/joyent/models/analytics/type.rb +16 -0
- data/lib/fog/joyent/models/analytics/types.rb +26 -0
- data/lib/fog/joyent/models/analytics/value.rb +20 -0
- data/lib/fog/joyent/models/compute/datacenter.rb +12 -0
- data/lib/fog/joyent/models/compute/datacenters.rb +25 -0
- data/lib/fog/joyent/models/compute/flavor.rb +6 -2
- data/lib/fog/joyent/models/compute/image.rb +12 -2
- data/lib/fog/joyent/models/compute/images.rb +11 -2
- data/lib/fog/joyent/models/compute/server.rb +3 -0
- data/lib/fog/joyent/requests/analytics/create_instrumentation.rb +25 -0
- data/lib/fog/joyent/requests/analytics/delete_instrumentation.rb +23 -0
- data/lib/fog/joyent/requests/analytics/describe_analytics.rb +26 -0
- data/lib/fog/joyent/requests/analytics/get_instrumentation.rb +26 -0
- data/lib/fog/joyent/requests/analytics/get_instrumentation_value.rb +30 -0
- data/lib/fog/joyent/requests/analytics/list_instrumentations.rb +25 -0
- data/lib/fog/joyent/requests/compute/get_dataset.rb +2 -1
- data/lib/fog/joyent/requests/compute/get_image.rb +30 -0
- data/lib/fog/joyent/requests/compute/get_key.rb +2 -1
- data/lib/fog/joyent/requests/compute/get_machine.rb +2 -1
- data/lib/fog/joyent/requests/compute/get_machine_metadata.rb +2 -1
- data/lib/fog/joyent/requests/compute/get_machine_snapshot.rb +2 -1
- data/lib/fog/joyent/requests/compute/get_machine_tag.rb +2 -1
- data/lib/fog/joyent/requests/compute/get_package.rb +2 -1
- data/lib/fog/joyent/requests/compute/list_datacenters.rb +2 -1
- data/lib/fog/joyent/requests/compute/list_datasets.rb +2 -1
- data/lib/fog/joyent/requests/compute/list_images.rb +26 -0
- data/lib/fog/joyent/requests/compute/list_keys.rb +2 -1
- data/lib/fog/joyent/requests/compute/list_machine_snapshots.rb +2 -1
- data/lib/fog/joyent/requests/compute/list_machine_tags.rb +2 -1
- data/lib/fog/joyent/requests/compute/list_machines.rb +2 -1
- data/lib/fog/joyent/requests/compute/list_networks.rb +2 -1
- data/lib/fog/joyent/requests/compute/list_packages.rb +2 -1
- data/lib/fog/libvirt/compute.rb +1 -1
- data/lib/fog/libvirt/core.rb +2 -0
- data/lib/fog/libvirt/models/compute/README.md +1 -1
- data/lib/fog/libvirt/models/compute/templates/network.xml.erb +1 -1
- data/lib/fog/libvirt/models/compute/templates/pool.xml.erb +1 -1
- data/lib/fog/libvirt/models/compute/templates/server.xml.erb +1 -0
- data/lib/fog/libvirt/models/compute/volume.rb +20 -3
- data/lib/fog/libvirt/requests/compute/clone_volume.rb +18 -0
- data/lib/fog/libvirt/requests/compute/mock_files/domain.xml +1 -1
- data/lib/fog/linode/compute.rb +3 -4
- data/lib/fog/linode/core.rb +1 -0
- data/lib/fog/linode/dns.rb +1 -2
- data/lib/fog/linode/models/compute/flavor.rb +2 -2
- data/lib/fog/linode/requests/compute/stackscript_list.rb +2 -2
- data/lib/fog/local/models/storage/file.rb +3 -0
- data/lib/fog/local/storage.rb +0 -1
- data/lib/fog/ninefold/compute.rb +1 -2
- data/lib/fog/ninefold/core.rb +1 -0
- data/lib/fog/ninefold/storage.rb +0 -1
- data/lib/fog/openstack/CHANGELOG.md +1 -1
- data/lib/fog/openstack/compute.rb +2 -3
- data/lib/fog/openstack/core.rb +5 -4
- data/lib/fog/openstack/docs/getting_started.md +4 -4
- data/lib/fog/openstack/docs/storage.md +1 -1
- data/lib/fog/openstack/examples/identity/basics.rb +1 -1
- data/lib/fog/openstack/examples/network/network_subnets_routers.rb +2 -2
- data/lib/fog/openstack/examples/storage/set-account-quota.rb +6 -6
- data/lib/fog/openstack/identity.rb +1 -1
- data/lib/fog/openstack/image.rb +1 -1
- data/lib/fog/openstack/metering.rb +1 -2
- data/lib/fog/openstack/models/compute/server.rb +21 -1
- data/lib/fog/openstack/models/compute/volume.rb +5 -0
- data/lib/fog/openstack/models/identity/users.rb +9 -0
- data/lib/fog/openstack/models/network/lb_health_monitor.rb +1 -1
- data/lib/fog/openstack/models/network/lb_health_monitors.rb +1 -1
- data/lib/fog/openstack/models/network/lb_member.rb +1 -1
- data/lib/fog/openstack/models/network/lb_members.rb +1 -1
- data/lib/fog/openstack/models/network/lb_pools.rb +1 -1
- data/lib/fog/openstack/models/network/lb_vips.rb +1 -1
- data/lib/fog/openstack/models/network/router.rb +2 -2
- data/lib/fog/openstack/models/storage/file.rb +3 -3
- data/lib/fog/openstack/models/volume/volume.rb +4 -0
- data/lib/fog/openstack/network.rb +1 -1
- data/lib/fog/openstack/orchestration.rb +2 -2
- data/lib/fog/openstack/requests/compute/add_security_group.rb +1 -1
- data/lib/fog/openstack/requests/compute/associate_address.rb +6 -0
- data/lib/fog/openstack/requests/compute/create_server.rb +1 -1
- data/lib/fog/openstack/requests/compute/get_host_details.rb +3 -3
- data/lib/fog/openstack/requests/compute/list_address_pools.rb +1 -1
- data/lib/fog/openstack/requests/compute/list_usages.rb +2 -2
- data/lib/fog/openstack/requests/compute/remove_security_group.rb +1 -1
- data/lib/fog/openstack/requests/compute/set_metadata.rb +2 -2
- data/lib/fog/openstack/requests/compute/update_metadata.rb +2 -2
- data/lib/fog/openstack/requests/identity/list_users.rb +2 -2
- data/lib/fog/openstack/requests/network/associate_lb_health_monitor.rb +1 -1
- data/lib/fog/openstack/requests/network/create_lb_health_monitor.rb +1 -1
- data/lib/fog/openstack/requests/network/create_lb_member.rb +1 -1
- data/lib/fog/openstack/requests/network/create_lb_pool.rb +1 -1
- data/lib/fog/openstack/requests/network/create_lb_vip.rb +1 -1
- data/lib/fog/openstack/requests/network/create_network.rb +5 -5
- data/lib/fog/openstack/requests/network/create_port.rb +1 -1
- data/lib/fog/openstack/requests/network/create_router.rb +1 -1
- data/lib/fog/openstack/requests/network/create_subnet.rb +1 -1
- data/lib/fog/openstack/requests/network/delete_lb_health_monitor.rb +1 -1
- data/lib/fog/openstack/requests/network/delete_lb_member.rb +1 -1
- data/lib/fog/openstack/requests/network/delete_lb_pool.rb +1 -1
- data/lib/fog/openstack/requests/network/delete_lb_vip.rb +1 -1
- data/lib/fog/openstack/requests/network/delete_network.rb +1 -1
- data/lib/fog/openstack/requests/network/delete_port.rb +1 -1
- data/lib/fog/openstack/requests/network/delete_subnet.rb +1 -1
- data/lib/fog/openstack/requests/network/disassociate_lb_health_monitor.rb +1 -1
- data/lib/fog/openstack/requests/network/get_lb_health_monitor.rb +1 -1
- data/lib/fog/openstack/requests/network/get_lb_member.rb +1 -1
- data/lib/fog/openstack/requests/network/get_lb_pool.rb +1 -1
- data/lib/fog/openstack/requests/network/get_lb_pool_stats.rb +1 -1
- data/lib/fog/openstack/requests/network/get_lb_vip.rb +1 -1
- data/lib/fog/openstack/requests/network/get_port.rb +1 -1
- data/lib/fog/openstack/requests/network/get_subnet.rb +1 -1
- data/lib/fog/openstack/requests/network/list_lb_health_monitors.rb +1 -1
- data/lib/fog/openstack/requests/network/list_lb_members.rb +1 -1
- data/lib/fog/openstack/requests/network/list_lb_pools.rb +1 -1
- data/lib/fog/openstack/requests/network/list_lb_vips.rb +1 -1
- data/lib/fog/openstack/requests/network/list_networks.rb +1 -1
- data/lib/fog/openstack/requests/network/list_ports.rb +1 -1
- data/lib/fog/openstack/requests/network/list_subnets.rb +1 -1
- data/lib/fog/openstack/requests/network/set_tenant.rb +1 -1
- data/lib/fog/openstack/requests/network/update_lb_health_monitor.rb +1 -1
- data/lib/fog/openstack/requests/network/update_lb_member.rb +1 -1
- data/lib/fog/openstack/requests/network/update_lb_pool.rb +1 -1
- data/lib/fog/openstack/requests/network/update_lb_vip.rb +1 -1
- data/lib/fog/openstack/requests/network/update_port.rb +1 -1
- data/lib/fog/openstack/requests/network/update_router.rb +4 -4
- data/lib/fog/openstack/requests/network/update_subnet.rb +1 -1
- data/lib/fog/openstack/requests/storage/get_object_http_url.rb +21 -13
- data/lib/fog/openstack/requests/storage/get_object_https_url.rb +6 -6
- data/lib/fog/openstack/requests/volume/delete_volume.rb +1 -1
- data/lib/fog/openstack/requests/volume/get_snapshot_details.rb +1 -1
- data/lib/fog/openstack/storage.rb +1 -2
- data/lib/fog/openstack/volume.rb +1 -1
- data/lib/fog/openvz/README.md +1 -1
- data/lib/fog/openvz/compute.rb +0 -1
- data/lib/fog/ovirt/compute.rb +12 -3
- data/lib/fog/ovirt/core.rb +1 -0
- data/lib/fog/ovirt/models/compute/server.rb +3 -3
- data/lib/fog/ovirt/requests/compute/add_interface.rb +1 -1
- data/lib/fog/ovirt/requests/compute/add_volume.rb +1 -1
- data/lib/fog/ovirt/requests/compute/get_api_version.rb +1 -1
- data/lib/fog/ovirt/requests/compute/get_template.rb +1 -1
- data/lib/fog/ovirt/requests/compute/mock_files/cluster.xml +1 -1
- data/lib/fog/ovirt/requests/compute/mock_files/clusters.xml +1 -1
- data/lib/fog/ovirt/requests/compute/mock_files/data_centers.xml +1 -1
- data/lib/fog/ovirt/requests/compute/mock_files/nics.xml +1 -1
- data/lib/fog/ovirt/requests/compute/mock_files/quotas.xml +1 -1
- data/lib/fog/ovirt/requests/compute/mock_files/storage_domains.xml +1 -1
- data/lib/fog/ovirt/requests/compute/mock_files/template.xml +1 -1
- data/lib/fog/ovirt/requests/compute/mock_files/templates.xml +1 -1
- data/lib/fog/ovirt/requests/compute/mock_files/vms.xml +1 -1
- data/lib/fog/ovirt/requests/compute/mock_files/volumes.xml +1 -1
- data/lib/fog/rackspace/auto_scale.rb +1 -1
- data/lib/fog/rackspace/block_storage.rb +1 -1
- data/lib/fog/rackspace/cdn.rb +1 -2
- data/lib/fog/rackspace/compute.rb +1 -2
- data/lib/fog/rackspace/compute_v2.rb +15 -3
- data/lib/fog/rackspace/core.rb +2 -1
- data/lib/fog/rackspace/databases.rb +1 -1
- data/lib/fog/rackspace/dns.rb +1 -2
- data/lib/fog/rackspace/docs/compute_v2.md +22 -17
- data/lib/fog/rackspace/docs/getting_started.md +4 -4
- data/lib/fog/rackspace/docs/storage.md +35 -8
- data/lib/fog/rackspace/examples/README.md +2 -2
- data/lib/fog/rackspace/examples/auto_scale/add_policy.rb +1 -1
- data/lib/fog/rackspace/examples/auto_scale/delete_webhook.rb +1 -1
- data/lib/fog/rackspace/examples/block_storage/create_snapshot.rb +3 -3
- data/lib/fog/rackspace/examples/block_storage/delete_volume.rb +1 -1
- data/lib/fog/rackspace/examples/compute_v2/bootstrap_server.rb +7 -7
- data/lib/fog/rackspace/examples/compute_v2/create_image.rb +3 -3
- data/lib/fog/rackspace/examples/compute_v2/create_server.rb +9 -9
- data/lib/fog/rackspace/examples/compute_v2/delete_image.rb +4 -4
- data/lib/fog/rackspace/examples/compute_v2/delete_network.rb +1 -1
- data/lib/fog/rackspace/examples/compute_v2/delete_server.rb +1 -1
- data/lib/fog/rackspace/examples/compute_v2/detach_volume.rb +4 -4
- data/lib/fog/rackspace/examples/compute_v2/resize_server.rb +8 -8
- data/lib/fog/rackspace/examples/compute_v2/server_attachments.rb +1 -1
- data/lib/fog/rackspace/examples/compute_v2/server_metadata.rb +4 -4
- data/lib/fog/rackspace/examples/queues/list_messages.rb +1 -1
- data/lib/fog/rackspace/examples/storage/create_cdn_directory.rb +3 -3
- data/lib/fog/rackspace/examples/storage/create_private_directory.rb +5 -5
- data/lib/fog/rackspace/examples/storage/delete_directory.rb +6 -6
- data/lib/fog/rackspace/examples/storage/delete_file.rb +3 -3
- data/lib/fog/rackspace/examples/storage/download_file.rb +3 -3
- data/lib/fog/rackspace/examples/storage/lorem.txt +1 -1
- data/lib/fog/rackspace/examples/storage/storage_metadata.rb +4 -4
- data/lib/fog/rackspace/examples/storage/upload_file.rb +3 -3
- data/lib/fog/rackspace/examples/storage/upload_large_files.rb +1 -1
- data/lib/fog/rackspace/identity.rb +2 -2
- data/lib/fog/rackspace/load_balancers.rb +1 -1
- data/lib/fog/rackspace/mock_data.rb +3 -3
- data/lib/fog/rackspace/models/auto_scale/group.rb +13 -13
- data/lib/fog/rackspace/models/auto_scale/group_builder.rb +1 -1
- data/lib/fog/rackspace/models/auto_scale/group_config.rb +3 -3
- data/lib/fog/rackspace/models/auto_scale/groups.rb +3 -3
- data/lib/fog/rackspace/models/auto_scale/launch_config.rb +2 -2
- data/lib/fog/rackspace/models/auto_scale/policies.rb +4 -4
- data/lib/fog/rackspace/models/auto_scale/policy.rb +3 -3
- data/lib/fog/rackspace/models/auto_scale/webhook.rb +6 -6
- data/lib/fog/rackspace/models/auto_scale/webhooks.rb +2 -2
- data/lib/fog/rackspace/models/compute_v2/attachment.rb +9 -9
- data/lib/fog/rackspace/models/compute_v2/flavor.rb +9 -9
- data/lib/fog/rackspace/models/compute_v2/flavors.rb +1 -1
- data/lib/fog/rackspace/models/compute_v2/image.rb +25 -25
- data/lib/fog/rackspace/models/compute_v2/images.rb +7 -7
- data/lib/fog/rackspace/models/compute_v2/meta_parent.rb +1 -1
- data/lib/fog/rackspace/models/compute_v2/metadata.rb +9 -9
- data/lib/fog/rackspace/models/compute_v2/server.rb +51 -40
- data/lib/fog/rackspace/models/compute_v2/servers.rb +2 -2
- data/lib/fog/rackspace/models/compute_v2/virtual_interface.rb +87 -0
- data/lib/fog/rackspace/models/compute_v2/virtual_interfaces.rb +46 -0
- data/lib/fog/rackspace/models/dns/zones.rb +2 -2
- data/lib/fog/rackspace/models/identity/service_catalog.rb +9 -9
- data/lib/fog/rackspace/models/queues/claims.rb +1 -1
- data/lib/fog/rackspace/models/queues/messages.rb +1 -1
- data/lib/fog/rackspace/models/queues/queues.rb +1 -1
- data/lib/fog/rackspace/models/storage/account.rb +4 -4
- data/lib/fog/rackspace/models/storage/directories.rb +2 -2
- data/lib/fog/rackspace/models/storage/directory.rb +13 -13
- data/lib/fog/rackspace/models/storage/file.rb +9 -9
- data/lib/fog/rackspace/models/storage/files.rb +3 -3
- data/lib/fog/rackspace/models/storage/metadata.rb +25 -25
- data/lib/fog/rackspace/monitoring.rb +1 -1
- data/lib/fog/rackspace/queues.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/create_group.rb +2 -2
- data/lib/fog/rackspace/requests/auto_scale/create_policy.rb +4 -4
- data/lib/fog/rackspace/requests/auto_scale/create_webhook.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/delete_policy.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/delete_webhook.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/execute_anonymous_webhook.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/execute_policy.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/get_group.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/get_group_config.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/get_group_state.rb +3 -3
- data/lib/fog/rackspace/requests/auto_scale/get_launch_config.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/get_policy.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/get_webhook.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/list_webhooks.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/pause_group_state.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/resume_group_state.rb +1 -1
- data/lib/fog/rackspace/requests/auto_scale/update_group_config.rb +3 -3
- data/lib/fog/rackspace/requests/auto_scale/update_launch_config.rb +3 -3
- data/lib/fog/rackspace/requests/auto_scale/update_policy.rb +2 -2
- data/lib/fog/rackspace/requests/auto_scale/update_webhook.rb +2 -2
- data/lib/fog/rackspace/requests/cdn/delete_object.rb +7 -7
- data/lib/fog/rackspace/requests/cdn/get_containers.rb +22 -22
- data/lib/fog/rackspace/requests/cdn/head_container.rb +16 -16
- data/lib/fog/rackspace/requests/cdn/post_container.rb +13 -13
- data/lib/fog/rackspace/requests/cdn/put_container.rb +14 -14
- data/lib/fog/rackspace/requests/compute_v2/attach_volume.rb +2 -2
- data/lib/fog/rackspace/requests/compute_v2/change_server_password.rb +3 -3
- data/lib/fog/rackspace/requests/compute_v2/confirm_resize_server.rb +2 -2
- data/lib/fog/rackspace/requests/compute_v2/create_image.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/create_server.rb +7 -4
- data/lib/fog/rackspace/requests/compute_v2/create_virtual_interface.rb +32 -0
- data/lib/fog/rackspace/requests/compute_v2/delete_attachment.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/delete_image.rb +4 -4
- data/lib/fog/rackspace/requests/compute_v2/delete_metadata_item.rb +5 -5
- data/lib/fog/rackspace/requests/compute_v2/delete_server.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/delete_virtual_interface.rb +25 -0
- data/lib/fog/rackspace/requests/compute_v2/get_attachment.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/get_flavor.rb +2 -2
- data/lib/fog/rackspace/requests/compute_v2/get_image.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/get_metadata_item.rb +4 -4
- data/lib/fog/rackspace/requests/compute_v2/get_server.rb +4 -4
- data/lib/fog/rackspace/requests/compute_v2/list_addresses.rb +2 -2
- data/lib/fog/rackspace/requests/compute_v2/list_addresses_by_network.rb +5 -5
- data/lib/fog/rackspace/requests/compute_v2/list_attachments.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/list_flavors.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/list_images.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/list_images_detail.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/list_metadata.rb +2 -2
- data/lib/fog/rackspace/requests/compute_v2/list_servers.rb +4 -4
- data/lib/fog/rackspace/requests/compute_v2/list_virtual_interfaces.rb +24 -0
- data/lib/fog/rackspace/requests/compute_v2/reboot_server.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/rebuild_server.rb +5 -5
- data/lib/fog/rackspace/requests/compute_v2/rescue_server.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/resize_server.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/revert_resize_server.rb +1 -1
- data/lib/fog/rackspace/requests/compute_v2/set_metadata.rb +5 -5
- data/lib/fog/rackspace/requests/compute_v2/set_metadata_item.rb +6 -6
- data/lib/fog/rackspace/requests/compute_v2/update_metadata.rb +5 -5
- data/lib/fog/rackspace/requests/compute_v2/update_server.rb +3 -3
- data/lib/fog/rackspace/requests/dns/add_records.rb +2 -2
- data/lib/fog/rackspace/requests/load_balancers/get_stats.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/create_agent_token.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/create_alarm.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/create_check.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/create_entity.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/delete_alarm.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/delete_check.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/get_agent.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/get_check.rb +19 -19
- data/lib/fog/rackspace/requests/monitoring/get_cpus_info.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/get_logged_in_user_info.rb +2 -2
- data/lib/fog/rackspace/requests/monitoring/get_memory_info.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/get_network_interfaces_info.rb +2 -2
- data/lib/fog/rackspace/requests/monitoring/get_notification.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/get_processes_info.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/list_agents.rb +3 -3
- data/lib/fog/rackspace/requests/monitoring/list_check_types.rb +3 -3
- data/lib/fog/rackspace/requests/monitoring/list_entities.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/list_metrics.rb +1 -1
- data/lib/fog/rackspace/requests/monitoring/list_notifications.rb +3 -3
- data/lib/fog/rackspace/requests/monitoring/list_overview.rb +3 -3
- data/lib/fog/rackspace/requests/monitoring/update_entity.rb +1 -1
- data/lib/fog/rackspace/requests/storage/extract_archive.rb +2 -3
- data/lib/fog/rackspace/requests/storage/get_object_http_url.rb +1 -1
- data/lib/fog/rackspace/service.rb +1 -1
- data/lib/fog/rackspace/storage.rb +1 -2
- data/lib/fog/rage4/core.rb +1 -0
- data/lib/fog/rage4/dns.rb +1 -2
- data/lib/fog/riakcs/core.rb +1 -0
- data/lib/fog/riakcs/provisioning.rb +1 -1
- data/lib/fog/riakcs/requests/usage/get_usage.rb +6 -6
- data/lib/fog/sakuracloud.rb +16 -0
- data/lib/fog/sakuracloud/compute.rb +67 -0
- data/lib/fog/sakuracloud/docs/getting_started.md +450 -0
- data/lib/fog/sakuracloud/models/compute/plan.rb +18 -0
- data/lib/fog/sakuracloud/models/compute/plans.rb +25 -0
- data/lib/fog/sakuracloud/models/compute/server.rb +42 -0
- data/lib/fog/sakuracloud/models/compute/servers.rb +65 -0
- data/lib/fog/sakuracloud/models/compute/ssh_key.rb +15 -0
- data/lib/fog/sakuracloud/models/compute/ssh_keys.rb +25 -0
- data/lib/fog/sakuracloud/models/compute/zone.rb +15 -0
- data/lib/fog/sakuracloud/models/compute/zones.rb +25 -0
- data/lib/fog/sakuracloud/models/volume/archive.rb +16 -0
- data/lib/fog/sakuracloud/models/volume/archives.rb +25 -0
- data/lib/fog/sakuracloud/models/volume/disk.rb +38 -0
- data/lib/fog/sakuracloud/models/volume/disks.rb +30 -0
- data/lib/fog/sakuracloud/models/volume/plan.rb +14 -0
- data/lib/fog/sakuracloud/models/volume/plans.rb +25 -0
- data/lib/fog/sakuracloud/requests/compute/boot_server.rb +32 -0
- data/lib/fog/sakuracloud/requests/compute/create_server.rb +44 -0
- data/lib/fog/sakuracloud/requests/compute/delete_server.rb +34 -0
- data/lib/fog/sakuracloud/requests/compute/list_plans.rb +46 -0
- data/lib/fog/sakuracloud/requests/compute/list_servers.rb +44 -0
- data/lib/fog/sakuracloud/requests/compute/list_ssh_keys.rb +40 -0
- data/lib/fog/sakuracloud/requests/compute/list_zones.rb +40 -0
- data/lib/fog/sakuracloud/requests/compute/stop_server.rb +38 -0
- data/lib/fog/sakuracloud/requests/volume/attach_disk.rb +32 -0
- data/lib/fog/sakuracloud/requests/volume/configure_disk.rb +36 -0
- data/lib/fog/sakuracloud/requests/volume/create_disk.rb +44 -0
- data/lib/fog/sakuracloud/requests/volume/delete_disk.rb +31 -0
- data/lib/fog/sakuracloud/requests/volume/list_archives.rb +46 -0
- data/lib/fog/sakuracloud/requests/volume/list_disks.rb +50 -0
- data/lib/fog/sakuracloud/requests/volume/list_plans.rb +40 -0
- data/lib/fog/sakuracloud/volume.rb +92 -0
- data/lib/fog/serverlove/compute.rb +1 -1
- data/lib/fog/serverlove/core.rb +1 -0
- data/lib/fog/serverlove/requests/compute/create_image.rb +1 -1
- data/lib/fog/serverlove/requests/compute/create_server.rb +1 -1
- data/lib/fog/serverlove/requests/compute/destroy_image.rb +1 -1
- data/lib/fog/serverlove/requests/compute/destroy_server.rb +1 -1
- data/lib/fog/serverlove/requests/compute/get_image.rb +1 -1
- data/lib/fog/serverlove/requests/compute/get_images.rb +1 -1
- data/lib/fog/serverlove/requests/compute/get_server.rb +1 -1
- data/lib/fog/serverlove/requests/compute/get_servers.rb +1 -1
- data/lib/fog/serverlove/requests/compute/load_standard_image.rb +1 -1
- data/lib/fog/serverlove/requests/compute/reset_server.rb +1 -1
- data/lib/fog/serverlove/requests/compute/shutdown_server.rb +1 -1
- data/lib/fog/serverlove/requests/compute/start_server.rb +1 -1
- data/lib/fog/serverlove/requests/compute/stop_server.rb +1 -1
- data/lib/fog/serverlove/requests/compute/update_image.rb +1 -1
- data/lib/fog/serverlove/requests/compute/update_server.rb +1 -1
- data/lib/fog/serverlove/util/compute/password_generator.rb +1 -1
- data/lib/fog/storm_on_demand/README.md +2 -2
- data/lib/fog/storm_on_demand/account.rb +0 -1
- data/lib/fog/storm_on_demand/billing.rb +1 -2
- data/lib/fog/storm_on_demand/compute.rb +1 -2
- data/lib/fog/storm_on_demand/core.rb +2 -1
- data/lib/fog/storm_on_demand/dns.rb +2 -3
- data/lib/fog/storm_on_demand/models/account/token.rb +1 -1
- data/lib/fog/storm_on_demand/models/billing/payment.rb +2 -2
- data/lib/fog/storm_on_demand/models/compute/image.rb +1 -1
- data/lib/fog/storm_on_demand/models/compute/notification.rb +1 -1
- data/lib/fog/storm_on_demand/models/compute/notifications.rb +1 -1
- data/lib/fog/storm_on_demand/models/compute/templates.rb +1 -1
- data/lib/fog/storm_on_demand/models/dns/zone.rb +1 -1
- data/lib/fog/storm_on_demand/models/network/firewalls.rb +2 -2
- data/lib/fog/storm_on_demand/models/network/network_ips.rb +1 -1
- data/lib/fog/storm_on_demand/models/network/pool.rb +1 -1
- data/lib/fog/storm_on_demand/models/network/pools.rb +1 -1
- data/lib/fog/storm_on_demand/models/network/private_ips.rb +1 -1
- data/lib/fog/storm_on_demand/models/network/ruleset.rb +1 -1
- data/lib/fog/storm_on_demand/models/network/rulesets.rb +1 -1
- data/lib/fog/storm_on_demand/models/network/zones.rb +1 -1
- data/lib/fog/storm_on_demand/models/storage/cluster.rb +1 -1
- data/lib/fog/storm_on_demand/models/storage/volume.rb +1 -1
- data/lib/fog/storm_on_demand/models/storage/volumes.rb +1 -1
- data/lib/fog/storm_on_demand/models/support/ticket.rb +1 -1
- data/lib/fog/storm_on_demand/monitoring.rb +2 -3
- data/lib/fog/storm_on_demand/network.rb +0 -1
- data/lib/fog/storm_on_demand/requests/compute/clone_server.rb +1 -1
- data/lib/fog/storm_on_demand/requests/compute/create_image.rb +1 -1
- data/lib/fog/storm_on_demand/requests/compute/create_server.rb +1 -1
- data/lib/fog/storm_on_demand/requests/compute/delete_server.rb +1 -1
- data/lib/fog/storm_on_demand/requests/compute/get_config_details.rb +1 -1
- data/lib/fog/storm_on_demand/requests/compute/get_server.rb +1 -1
- data/lib/fog/storm_on_demand/requests/compute/list_configs.rb +1 -1
- data/lib/fog/storm_on_demand/requests/compute/list_images.rb +1 -1
- data/lib/fog/storm_on_demand/requests/compute/list_servers.rb +1 -1
- data/lib/fog/storm_on_demand/requests/compute/list_templates.rb +1 -1
- data/lib/fog/storm_on_demand/requests/compute/reboot_server.rb +1 -1
- data/lib/fog/storm_on_demand/requests/compute/resize_server.rb +1 -1
- data/lib/fog/storm_on_demand/requests/dns/delete_reverse.rb +1 -1
- data/lib/fog/storm_on_demand/requests/dns/update_reverse.rb +1 -1
- data/lib/fog/storm_on_demand/requests/network/add_balancer_node.rb +1 -1
- data/lib/fog/storm_on_demand/requests/network/add_ip_to_server.rb +1 -1
- data/lib/fog/storm_on_demand/requests/network/list_balancers.rb +1 -1
- data/lib/fog/storm_on_demand/requests/network/list_private_ips.rb +1 -1
- data/lib/fog/storm_on_demand/requests/network/remove_balancer_node.rb +1 -1
- data/lib/fog/storm_on_demand/requests/network/update_firewall.rb +1 -1
- data/lib/fog/storm_on_demand/shared.rb +2 -2
- data/lib/fog/storm_on_demand/storage.rb +0 -1
- data/lib/fog/storm_on_demand/support.rb +1 -2
- data/lib/fog/storm_on_demand/vpn.rb +0 -1
- data/lib/fog/terremark/requests/shared/add_internet_service.rb +1 -1
- data/lib/fog/terremark/requests/shared/configure_vapp.rb +3 -3
- data/lib/fog/terremark/requests/shared/create_internet_service.rb +1 -1
- data/lib/fog/terremark/requests/shared/get_keys_list.rb +2 -2
- data/lib/fog/terremark/requests/shared/get_network.rb +1 -1
- data/lib/fog/terremark/requests/shared/get_node_services.rb +2 -2
- data/lib/fog/terremark/vcloud.rb +1 -1
- data/lib/fog/vcloud/compute.rb +1 -2
- data/lib/fog/vcloud/models/compute/server.rb +4 -4
- data/lib/fog/vcloud/models/compute/tag.rb +1 -1
- data/lib/fog/vcloud/models/compute/tags.rb +2 -2
- data/lib/fog/vcloud/requests/compute/configure_metadata.rb +1 -1
- data/lib/fog/vcloud/requests/compute/configure_org_network.rb +4 -4
- data/lib/fog/vcloud/requests/compute/configure_vm.rb +1 -1
- data/lib/fog/vcloud/requests/compute/undeploy.rb +2 -2
- data/lib/fog/vcloud_director/compute.rb +19 -7
- data/lib/fog/vcloud_director/core.rb +2 -0
- data/lib/fog/vcloud_director/models/compute/network.rb +2 -0
- data/lib/fog/vcloud_director/models/compute/networks.rb +24 -3
- data/lib/fog/vcloud_director/models/compute/tags.rb +2 -2
- data/lib/fog/vcloud_director/requests/compute/get_execute_query.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/get_network.rb +4 -0
- data/lib/fog/vcloud_director/requests/compute/get_network_complete.rb +80 -0
- data/lib/fog/vcloud_director/requests/compute/get_vapps_in_lease_from_query.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/get_vdcs_from_query.rb +1 -1
- data/lib/fog/vcloud_director/requests/compute/instantiate_vapp_template.rb +4 -4
- data/lib/fog/version.rb +1 -1
- data/lib/fog/vmfusion/compute.rb +0 -1
- data/lib/fog/voxel/compute.rb +1 -2
- data/lib/fog/voxel/core.rb +1 -0
- data/lib/fog/voxel/parsers/compute/images_list.rb +1 -1
- data/lib/fog/vsphere/models/compute/customfields.rb +1 -1
- data/lib/fog/vsphere/models/compute/datacenter.rb +1 -1
- data/lib/fog/vsphere/models/compute/interface.rb +4 -2
- data/lib/fog/vsphere/models/compute/interfaces.rb +2 -2
- data/lib/fog/vsphere/models/compute/server.rb +3 -3
- data/lib/fog/vsphere/models/compute/template.rb +2 -0
- data/lib/fog/vsphere/requests/compute/create_vm.rb +5 -5
- data/lib/fog/vsphere/requests/compute/get_server_type.rb +8 -8
- data/lib/fog/vsphere/requests/compute/get_vm_first_scsi_controller.rb +1 -1
- data/lib/fog/vsphere/requests/compute/list_datacenters.rb +4 -4
- data/lib/fog/vsphere/requests/compute/list_interface_types.rb +1 -1
- data/lib/fog/vsphere/requests/compute/list_networks.rb +1 -1
- data/lib/fog/vsphere/requests/compute/list_server_types.rb +14 -14
- data/lib/fog/vsphere/requests/compute/list_vm_interfaces.rb +1 -1
- data/lib/fog/vsphere/requests/compute/list_vm_volumes.rb +1 -1
- data/lib/fog/vsphere/requests/compute/modify_vm_interface.rb +2 -2
- data/lib/fog/vsphere/requests/compute/modify_vm_volume.rb +1 -1
- data/lib/fog/xenserver/CHANGELOG.md +4 -4
- data/lib/fog/xenserver/compute.rb +1 -2
- data/lib/fog/xenserver/core.rb +14 -13
- data/lib/fog/xenserver/examples/chage_default_storage_repository.md +5 -5
- data/lib/fog/xenserver/examples/creating_servers.md +19 -19
- data/lib/fog/xenserver/examples/getting_started.md +7 -7
- data/lib/fog/xenserver/examples/networks-and-vlans.rb +2 -2
- data/lib/fog/xenserver/examples/storage_repositories.md +3 -3
- data/lib/fog/xenserver/models/compute/guest_metrics.rb +5 -5
- data/lib/fog/xenserver/models/compute/host.rb +12 -12
- data/lib/fog/xenserver/models/compute/host_cpu.rb +5 -5
- data/lib/fog/xenserver/models/compute/host_metrics.rb +6 -6
- data/lib/fog/xenserver/models/compute/pbd.rb +1 -1
- data/lib/fog/xenserver/models/compute/pool.rb +1 -1
- data/lib/fog/xenserver/models/compute/storage_repository.rb +5 -5
- data/lib/fog/xenserver/models/compute/vbd_metrics.rb +5 -5
- data/lib/fog/xenserver/models/compute/vlan.rb +3 -3
- data/lib/fog/xenserver/parser.rb +6 -6
- data/lib/fog/xenserver/parsers/get_hosts.rb +4 -4
- data/lib/fog/xenserver/parsers/get_networks.rb +4 -4
- data/lib/fog/xenserver/parsers/get_pools.rb +4 -4
- data/lib/fog/xenserver/parsers/get_records.rb +4 -4
- data/lib/fog/xenserver/parsers/get_storage_repositories.rb +4 -4
- data/lib/fog/xenserver/parsers/get_vbds.rb +4 -4
- data/lib/fog/xenserver/parsers/get_vifs.rb +4 -4
- data/lib/fog/xenserver/parsers/get_vms.rb +4 -4
- data/lib/fog/xenserver/requests/compute/clone_server.rb +2 -2
- data/lib/fog/xenserver/requests/compute/create_network.rb +7 -7
- data/lib/fog/xenserver/requests/compute/create_server.rb +14 -14
- data/lib/fog/xenserver/requests/compute/create_sr.rb +20 -20
- data/lib/fog/xenserver/requests/compute/create_vbd.rb +3 -3
- data/lib/fog/xenserver/requests/compute/create_vdi.rb +3 -3
- data/lib/fog/xenserver/requests/compute/create_vif.rb +4 -4
- data/lib/fog/xenserver/requests/compute/create_vlan.rb +7 -7
- data/lib/fog/xenserver/requests/compute/destroy_network.rb +3 -3
- data/lib/fog/xenserver/requests/compute/destroy_sr.rb +2 -2
- data/lib/fog/xenserver/requests/compute/destroy_vlan.rb +3 -3
- data/lib/fog/xenserver/requests/compute/disable_host.rb +7 -7
- data/lib/fog/xenserver/requests/compute/enable_host.rb +7 -7
- data/lib/fog/xenserver/requests/compute/get_record.rb +5 -5
- data/lib/fog/xenserver/requests/compute/get_records.rb +7 -7
- data/lib/fog/xenserver/requests/compute/provision_server.rb +1 -1
- data/lib/fog/xenserver/requests/compute/reboot_host.rb +5 -5
- data/lib/fog/xenserver/requests/compute/reboot_server.rb +5 -5
- data/lib/fog/xenserver/requests/compute/set_affinity.rb +6 -6
- data/lib/fog/xenserver/requests/compute/set_attribute.rb +6 -6
- data/lib/fog/xenserver/requests/compute/shutdown_host.rb +5 -5
- data/lib/fog/xenserver/requests/compute/shutdown_server.rb +5 -5
- data/lib/fog/xenserver/requests/compute/start_server.rb +5 -5
- data/lib/fog/xenserver/requests/compute/start_vm.rb +5 -5
- data/lib/fog/xenserver/requests/compute/unplug_pbd.rb +1 -1
- data/lib/fog/xenserver/utilities.rb +1 -1
- data/lib/fog/xml.rb +10 -2
- data/lib/fog/xml/connection.rb +13 -0
- data/lib/fog/zerigo/core.rb +1 -0
- data/lib/fog/zerigo/dns.rb +1 -2
- data/lib/fog/zerigo/models/dns/records.rb +2 -2
- data/lib/fog/zerigo/parsers/dns/get_zone.rb +2 -2
- data/lib/fog/zerigo/parsers/dns/get_zone_stats.rb +1 -1
- data/lib/fog/zerigo/requests/dns/count_hosts.rb +3 -3
- data/lib/fog/zerigo/requests/dns/count_zones.rb +3 -3
- data/lib/fog/zerigo/requests/dns/create_host.rb +4 -4
- data/lib/fog/zerigo/requests/dns/create_zone.rb +4 -4
- data/lib/fog/zerigo/requests/dns/delete_host.rb +2 -2
- data/lib/fog/zerigo/requests/dns/delete_zone.rb +1 -1
- data/lib/fog/zerigo/requests/dns/get_host.rb +1 -1
- data/lib/fog/zerigo/requests/dns/get_zone.rb +4 -4
- data/lib/fog/zerigo/requests/dns/get_zone_stats.rb +3 -3
- data/lib/fog/zerigo/requests/dns/list_zones.rb +1 -1
- data/lib/fog/zerigo/requests/dns/update_host.rb +1 -1
- data/lib/fog/zerigo/requests/dns/update_zone.rb +1 -1
- data/lib/tasks/changelog_task.rb +1 -0
- data/providers/brightbox/.gitignore +1 -0
- data/providers/brightbox/Gemfile +3 -0
- data/providers/brightbox/LICENSE.txt +22 -0
- data/providers/brightbox/README.md +50 -0
- data/providers/brightbox/Rakefile +8 -0
- data/providers/brightbox/fog-brightbox.gemspec +28 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/compute.rb +0 -1
- data/{lib → providers/brightbox/lib}/fog/brightbox/compute/image_selector.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/compute/shared.rb +4 -4
- data/{lib → providers/brightbox/lib}/fog/brightbox/core.rb +1 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/account.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/accounts.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/api_client.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/api_clients.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/application.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/applications.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/cloud_ip.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/cloud_ips.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/collaboration.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/collaborations.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/database_server.rb +8 -2
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/database_servers.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/database_snapshot.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/database_snapshots.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/database_type.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/database_types.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/firewall_policies.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/firewall_policy.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/firewall_rule.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/firewall_rules.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/flavor.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/flavors.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/image.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/images.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/load_balancer.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/load_balancers.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/server_group.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/server_groups.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/servers.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/user.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/user_collaboration.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/user_collaborations.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/users.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/zone.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/models/compute/zones.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/oauth2.rb +1 -1
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/accept_user_collaboration.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/activate_console_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/add_listeners_load_balancer.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/add_nodes_load_balancer.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/add_servers_server_group.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/apply_to_firewall_policy.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_api_client.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_application.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_cloud_ip.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_collaboration.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_database_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_firewall_policy.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_firewall_rule.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_image.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_load_balancer.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/create_server_group.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_api_client.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_application.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_cloud_ip.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_collaboration.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_database_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_database_snapshot.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_firewall_policy.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_firewall_rule.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_image.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_load_balancer.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_server_group.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/delete_user_collaboration.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_account.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_api_client.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_application.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_authenticated_user.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_cloud_ip.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_collaboration.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_database_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_database_snapshot.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_database_type.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_firewall_policy.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_firewall_rule.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_image.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_interface.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_load_balancer.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_scoped_account.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_server_group.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_server_type.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_user.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_user_collaboration.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/get_zone.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_accounts.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_api_clients.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_applications.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_cloud_ips.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_collaborations.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_database_servers.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_database_snapshots.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_database_types.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_firewall_policies.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_images.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_load_balancers.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_server_groups.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_server_types.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_servers.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_user_collaborations.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_users.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/list_zones.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/map_cloud_ip.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/move_servers_server_group.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/reject_user_collaboration.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/remove_firewall_policy.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/remove_servers_server_group.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/resend_collaboration.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/reset_ftp_password_account.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/reset_ftp_password_scoped_account.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/reset_password_database_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/reset_secret_api_client.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/reset_secret_application.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/shutdown_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/snapshot_database_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/snapshot_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/start_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/stop_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/unmap_cloud_ip.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_account.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_api_client.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_application.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_cloud_ip.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_database_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_database_snapshot.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_firewall_policy.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_firewall_rule.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_image.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_load_balancer.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_scoped_account.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_server.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_server_group.rb +0 -0
- data/{lib → providers/brightbox/lib}/fog/brightbox/requests/compute/update_user.rb +0 -0
- data/providers/brightbox/lib/fog/brightbox/version.rb +5 -0
- data/providers/brightbox/test/fog/compute/brightbox_test.rb +37 -0
- data/test/fog/xml/connection_test.rb +30 -0
- data/tests/aws/models/elasticache/parameter_groups_tests.rb +2 -4
- data/tests/aws/requests/compute/address_tests.rb +14 -6
- data/tests/aws/requests/compute/instance_tests.rb +12 -2
- data/tests/aws/requests/compute/network_interface_tests.rb +14 -2
- data/tests/aws/requests/compute/region_tests.rb +11 -0
- data/tests/aws/requests/iam/account_tests.rb +34 -0
- data/tests/aws/signaturev4_tests.rb +8 -8
- data/tests/brightbox/models/compute/database_server_tests.rb +14 -2
- data/tests/brightbox/requests/compute/account_tests.rb +2 -1
- data/tests/brightbox/requests/compute/database_server_tests.rb +2 -2
- data/tests/brightbox/requests/compute/database_snapsnot_tests.rb +6 -6
- data/tests/brightbox/requests/compute/user_tests.rb +3 -1
- data/tests/cloudsigma/models/servers_tests.rb +3 -1
- data/tests/core/timeout_tests.rb +1 -1
- data/tests/digitalocean/models/compute/servers_tests.rb +3 -0
- data/tests/fogdocker/compute_tests.rb +17 -0
- data/tests/fogdocker/models/compute/image_tests.rb +31 -0
- data/tests/fogdocker/models/compute/images_tests.rb +9 -0
- data/tests/fogdocker/models/compute/server_tests.rb +46 -0
- data/tests/fogdocker/models/compute/servers_tests.rb +14 -0
- data/tests/fogdocker/requests/compute/api_version_tests.rb +10 -0
- data/tests/fogdocker/requests/compute/container_action_tests.rb +25 -0
- data/tests/fogdocker/requests/compute/container_commit_tests.rb +19 -0
- data/tests/fogdocker/requests/compute/container_create_tests.rb +21 -0
- data/tests/fogdocker/requests/compute/container_delete_tests.rb +16 -0
- data/tests/fogdocker/requests/compute/image_create_tests.rb +21 -0
- data/tests/fogdocker/requests/compute/image_delete_tests.rb +20 -0
- data/tests/helper.rb +9 -0
- data/tests/helpers/mock_helper.rb +7 -1
- data/tests/internet_archive/models/storage/directory_tests.rb +1 -1
- data/tests/internet_archive/models/storage/file_tests.rb +1 -1
- data/tests/internet_archive/models/storage/files_tests.rb +1 -1
- data/tests/internet_archive/models/storage/url_tests.rb +1 -1
- data/tests/internet_archive/requests/storage/acl_utils_tests.rb +1 -1
- data/tests/internet_archive/requests/storage/bucket_tests.rb +1 -1
- data/tests/internet_archive/requests/storage/cors_utils_tests.rb +1 -1
- data/tests/internet_archive/requests/storage/multipart_upload_tests.rb +1 -1
- data/tests/internet_archive/requests/storage/object_tests.rb +1 -1
- data/tests/internet_archive/signaturev4_tests.rb +2 -2
- data/tests/internet_archive/signed_params_tests.rb +1 -1
- data/tests/joyent/models/analytics/field_tests.rb +10 -0
- data/tests/joyent/models/analytics/fields_tests.rb +13 -0
- data/tests/joyent/models/analytics/instrumentation_tests.rb +13 -0
- data/tests/joyent/models/analytics/instrumentations_tests.rb +3 -0
- data/tests/joyent/models/analytics/joyent_module_tests.rb +10 -0
- data/tests/joyent/models/analytics/joyent_modules_tests.rb +13 -0
- data/tests/joyent/models/analytics/metric_tests.rb +10 -0
- data/tests/joyent/models/analytics/metrics_tests.rb +20 -0
- data/tests/joyent/models/analytics/transformation_tests.rb +10 -0
- data/tests/joyent/models/analytics/transformations_tests.rb +13 -0
- data/tests/joyent/models/analytics/type_tests.rb +10 -0
- data/tests/joyent/models/analytics/types_tests.rb +13 -0
- data/tests/joyent/requests/analytics/instrumentation_tests.rb +44 -0
- data/tests/libvirt/models/compute/volume_tests.rb +8 -0
- data/tests/openstack/models/compute/server_tests.rb +45 -0
- data/tests/openstack/models/identity/users_tests.rb +9 -0
- data/tests/ovirt/compute_tests.rb +2 -1
- data/tests/rackspace/helper.rb +3 -9
- data/tests/rackspace/models/compute_v2/virtual_interface_tests.rb +33 -0
- data/tests/rackspace/models/compute_v2/virtual_interfaces_tests.rb +24 -0
- data/tests/rackspace/requests/compute_v2/virtual_interface_tests.rb +49 -0
- data/tests/sakuracloud/helper.rb +7 -0
- data/tests/sakuracloud/requests/compute/plans_tests.rb +32 -0
- data/tests/sakuracloud/requests/compute/servers_tests.rb +46 -0
- data/tests/sakuracloud/requests/compute/ssh_keys_tests.rb +30 -0
- data/tests/sakuracloud/requests/compute/zones_tests.rb +30 -0
- data/tests/sakuracloud/requests/volume/archives_tests.rb +31 -0
- data/tests/sakuracloud/requests/volume/disks_tests.rb +47 -0
- data/tests/sakuracloud/requests/volume/plans_tests.rb +30 -0
- data/tests/vcloud_director/models/compute/network_tests.rb +91 -0
- data/tests/vcloud_director/requests/compute/network_tests.rb +15 -1
- data/tests/vcloud_director/requests/compute/schema_helper.rb +26 -0
- metadata +354 -287
- data/lib/fog/account.rb +0 -25
- data/lib/fog/billing.rb +0 -23
- data/lib/fog/cdn.rb +0 -23
- data/lib/fog/compute.rb +0 -80
- data/lib/fog/compute/models/server.rb +0 -104
- data/lib/fog/core.rb +0 -52
- data/lib/fog/core/attributes.rb +0 -221
- data/lib/fog/core/class_from_string.rb +0 -26
- data/lib/fog/core/collection.rb +0 -161
- data/lib/fog/core/connection.rb +0 -72
- data/lib/fog/core/credentials.rb +0 -70
- data/lib/fog/core/current_machine.rb +0 -34
- data/lib/fog/core/deprecation.rb +0 -23
- data/lib/fog/core/errors.rb +0 -118
- data/lib/fog/core/hmac.rb +0 -35
- data/lib/fog/core/logger.rb +0 -44
- data/lib/fog/core/mock.rb +0 -115
- data/lib/fog/core/model.rb +0 -80
- data/lib/fog/core/provider.rb +0 -34
- data/lib/fog/core/scp.rb +0 -96
- data/lib/fog/core/service.rb +0 -223
- data/lib/fog/core/ssh.rb +0 -137
- data/lib/fog/core/time.rb +0 -32
- data/lib/fog/core/uuid.rb +0 -23
- data/lib/fog/core/wait_for.rb +0 -15
- data/lib/fog/core/wait_for_defaults.rb +0 -21
- data/lib/fog/dns.rb +0 -40
- data/lib/fog/identity.rb +0 -28
- data/lib/fog/image.rb +0 -23
- data/lib/fog/json.rb +0 -47
- data/lib/fog/metering.rb +0 -25
- data/lib/fog/monitoring.rb +0 -24
- data/lib/fog/network.rb +0 -28
- data/lib/fog/orchestration.rb +0 -25
- data/lib/fog/storage.rb +0 -80
- data/lib/fog/support.rb +0 -26
- data/lib/fog/volume.rb +0 -25
- data/lib/fog/vpn.rb +0 -25
- data/lib/tasks/test_task.rb +0 -46
- data/tests/vcloud/models/compute/conn_helper.rb +0 -20
@@ -8,7 +8,7 @@ module Fog
|
|
8
8
|
# deregister an image
|
9
9
|
#
|
10
10
|
# ==== Parameters
|
11
|
-
# * image_id<~String> - Id of image to deregister
|
11
|
+
# * image_id<~String> - Id of image to deregister
|
12
12
|
#
|
13
13
|
# ==== Returns
|
14
14
|
# * response<~Excon::Response>:
|
@@ -31,7 +31,7 @@ module Fog
|
|
31
31
|
|
32
32
|
def deregister_image(image_id)
|
33
33
|
response = Excon::Response.new
|
34
|
-
if image_id
|
34
|
+
if image_id
|
35
35
|
response.status = 200
|
36
36
|
response.body = {
|
37
37
|
'requestId' => Fog::AWS::Mock.request_id,
|
@@ -58,7 +58,7 @@ module Fog
|
|
58
58
|
|
59
59
|
{"messageSet" => [], "regionName" => "us-west-2", "zoneName" => "us-west-2a", "zoneState" => "available"},
|
60
60
|
{"messageSet" => [], "regionName" => "us-west-2", "zoneName" => "us-west-2b", "zoneState" => "available"},
|
61
|
-
|
61
|
+
|
62
62
|
{"messageSet" => [], "regionName" => "sa-east-1", "zoneName" => "sa-east-1a", "zoneState" => "available"},
|
63
63
|
{"messageSet" => [], "regionName" => "sa-east-1", "zoneName" => "sa-east-1b", "zoneState" => "available"},
|
64
64
|
|
@@ -92,37 +92,37 @@ module Fog
|
|
92
92
|
instance_set = apply_tag_filters(instance_set, filters, 'instanceId')
|
93
93
|
|
94
94
|
aliases = {
|
95
|
-
'architecture'
|
96
|
-
'availability-zone'
|
97
|
-
'client-token'
|
98
|
-
'dns-name'
|
99
|
-
'group-id'
|
100
|
-
'image-id'
|
101
|
-
'instance-id'
|
102
|
-
'instance-lifecycle'
|
103
|
-
'instance-type'
|
104
|
-
'ip-address'
|
105
|
-
'kernel-id'
|
106
|
-
'key-name'
|
107
|
-
'launch-index'
|
108
|
-
'launch-time'
|
109
|
-
'monitoring-state'
|
110
|
-
'owner-id'
|
111
|
-
'placement-group-name'
|
112
|
-
'platform'
|
113
|
-
'private-dns-name'
|
114
|
-
'private-ip-address'
|
115
|
-
'product-code'
|
116
|
-
'ramdisk-id'
|
117
|
-
'reason'
|
118
|
-
'requester-id'
|
119
|
-
'reservation-id'
|
120
|
-
'root-device-name'
|
121
|
-
'root-device-type'
|
95
|
+
'architecture' => 'architecture',
|
96
|
+
'availability-zone' => 'availabilityZone',
|
97
|
+
'client-token' => 'clientToken',
|
98
|
+
'dns-name' => 'dnsName',
|
99
|
+
'group-id' => 'groupId',
|
100
|
+
'image-id' => 'imageId',
|
101
|
+
'instance-id' => 'instanceId',
|
102
|
+
'instance-lifecycle' => 'instanceLifecycle',
|
103
|
+
'instance-type' => 'instanceType',
|
104
|
+
'ip-address' => 'ipAddress',
|
105
|
+
'kernel-id' => 'kernelId',
|
106
|
+
'key-name' => 'key-name',
|
107
|
+
'launch-index' => 'launchIndex',
|
108
|
+
'launch-time' => 'launchTime',
|
109
|
+
'monitoring-state' => 'monitoringState',
|
110
|
+
'owner-id' => 'ownerId',
|
111
|
+
'placement-group-name' => 'placementGroupName',
|
112
|
+
'platform' => 'platform',
|
113
|
+
'private-dns-name' => 'privateDnsName',
|
114
|
+
'private-ip-address' => 'privateIpAddress',
|
115
|
+
'product-code' => 'productCode',
|
116
|
+
'ramdisk-id' => 'ramdiskId',
|
117
|
+
'reason' => 'reason',
|
118
|
+
'requester-id' => 'requesterId',
|
119
|
+
'reservation-id' => 'reservationId',
|
120
|
+
'root-device-name' => 'rootDeviceName',
|
121
|
+
'root-device-type' => 'rootDeviceType',
|
122
122
|
'spot-instance-request-id' => 'spotInstanceRequestId',
|
123
|
-
'subnet-id'
|
124
|
-
'virtualization-type'
|
125
|
-
'vpc-id'
|
123
|
+
'subnet-id' => 'subnetId',
|
124
|
+
'virtualization-type' => 'virtualizationType',
|
125
|
+
'vpc-id' => 'vpcId'
|
126
126
|
}
|
127
127
|
block_device_mapping_aliases = {
|
128
128
|
'attach-time' => 'attachTime',
|
@@ -151,6 +151,10 @@ module Fog
|
|
151
151
|
instance_set = instance_set.reject{|instance| ![*filter_value].include?(instance['stateReason'][aliased_key])}
|
152
152
|
elsif filter_key == "group-name"
|
153
153
|
instance_set = instance_set.reject {|instance| !instance['groupSet'].include?(filter_value)}
|
154
|
+
elsif filter_key == "group-id"
|
155
|
+
group_ids = [*filter_value]
|
156
|
+
security_group_names = self.data[:security_groups].values.select { |sg| group_ids.include?(sg['groupId']) }.map { |sg| sg['groupName'] }
|
157
|
+
instance_set = instance_set.reject {|instance| (security_group_names & instance['groupSet']).empty?}
|
154
158
|
else
|
155
159
|
aliased_key = aliases[filter_key]
|
156
160
|
instance_set = instance_set.reject {|instance| ![*filter_value].include?(instance[aliased_key])}
|
@@ -205,6 +209,19 @@ module Fog
|
|
205
209
|
|
206
210
|
if self.data[:instances][instance['instanceId']]
|
207
211
|
|
212
|
+
instance['networkInterfaces'] = self.data[:network_interfaces].select{|ni,ni_conf|
|
213
|
+
ni_conf['attachment']['instanceId'] == instance['instanceId']
|
214
|
+
}.map{|ni,ni_conf|
|
215
|
+
{
|
216
|
+
'ownerId' => ni_conf['ownerId'],
|
217
|
+
'subnetId' => ni_conf['subnetId'],
|
218
|
+
'vpcId' => ni_conf['vpcId'],
|
219
|
+
'networkInterfaceId' => ni_conf['networkInterfaceId'],
|
220
|
+
'groupSet' => ni_conf['groupSet'],
|
221
|
+
'attachmentId' => ni_conf['attachment']['attachmentId']
|
222
|
+
}
|
223
|
+
}
|
224
|
+
|
208
225
|
reservation_set[instance['reservationId']] ||= {
|
209
226
|
'groupSet' => instance['groupSet'],
|
210
227
|
'groupIds' => instance['groupIds'],
|
@@ -15,7 +15,7 @@ module Fog
|
|
15
15
|
# * body<~Hash>:
|
16
16
|
# * 'requestId'<~String> - Id of request
|
17
17
|
# * 'InternetGatewaySet'<~Array>:
|
18
|
-
# * 'internetGatewayId'<~String> - The ID of the Internet gateway.
|
18
|
+
# * 'internetGatewayId'<~String> - The ID of the Internet gateway.
|
19
19
|
# * 'attachmentSet'<~Array>: - A list of VPCs attached to the Internet gateway
|
20
20
|
# * 'vpcId'<~String> - The ID of the VPC the Internet gateway is attached to
|
21
21
|
# * 'state'<~String> - The current state of the attachment
|
@@ -22,9 +22,9 @@ module Fog
|
|
22
22
|
# * 'description'<~String> - The description
|
23
23
|
# * 'ownerId'<~String> - The ID of the person who created the interface
|
24
24
|
# * 'requesterId'<~String> - The ID ot teh entity requesting this interface
|
25
|
-
# * 'requesterManaged'<~String> -
|
25
|
+
# * 'requesterManaged'<~String> -
|
26
26
|
# * 'status'<~String> - "available" or "in-use"
|
27
|
-
# * 'macAddress'<~String> -
|
27
|
+
# * 'macAddress'<~String> -
|
28
28
|
# * 'privateIpAddress'<~String> - IP address of the interface within the subnet
|
29
29
|
# * 'privateDnsName'<~String> - The private DNS name
|
30
30
|
# * 'sourceDestCheck'<~Boolean> - Flag indicating whether traffic to or from the instance is validated
|
@@ -62,7 +62,7 @@ module Fog
|
|
62
62
|
}.merge!(params))
|
63
63
|
end
|
64
64
|
end
|
65
|
-
|
65
|
+
|
66
66
|
|
67
67
|
class Mock
|
68
68
|
|
@@ -2,7 +2,7 @@ module Fog
|
|
2
2
|
module Compute
|
3
3
|
class AWS
|
4
4
|
class Real
|
5
|
-
|
5
|
+
|
6
6
|
require 'fog/aws/parsers/compute/describe_reserved_instances_offerings'
|
7
7
|
|
8
8
|
# Describe all or specified reserved instances offerings
|
@@ -16,7 +16,7 @@ module Fog
|
|
16
16
|
# * 'OfferingType'<~String> - type of offering, in ['Heavy Utilization', 'Medium Utilization', 'Light Utilization']
|
17
17
|
# * 'ProductDescription'<~String> - description of offering, in ['Linux/UNIX', 'Linux/UNIX (Amazon VPC)', 'Windows', 'Windows (Amazon VPC)']
|
18
18
|
# * 'MaxDuration'<~Integer> - maximum duration (in seconds) of offering
|
19
|
-
# * 'MinDuration'<~Integer> - minimum duration (in seconds) of offering
|
19
|
+
# * 'MinDuration'<~Integer> - minimum duration (in seconds) of offering
|
20
20
|
#
|
21
21
|
# ==== Returns
|
22
22
|
# * response<~Excon::Response>:
|
@@ -69,14 +69,15 @@ module Fog
|
|
69
69
|
'protocol' => 'ipProtocol',
|
70
70
|
'to-port' => 'toPort'
|
71
71
|
}
|
72
|
+
security_group_groups = lambda { |security_group| (security_group['ipPermissions'] || []).map { |permission| permission["groups"] }.flatten.compact.uniq }
|
72
73
|
for filter_key, filter_value in filters
|
73
74
|
if permission_key = filter_key.split('ip-permission.')[1]
|
74
75
|
if permission_key == 'group-name'
|
75
|
-
security_group_info = security_group_info.reject{|security_group| !security_group
|
76
|
+
security_group_info = security_group_info.reject{|security_group| !security_group_groups.call(security_group).detect {|group| [*filter_value].include?(group['groupName'])}}
|
76
77
|
elsif permission_key == 'group-id'
|
77
|
-
security_group_info = security_group_info.reject{|security_group| !security_group
|
78
|
+
security_group_info = security_group_info.reject{|security_group| !security_group_groups.call(security_group).detect {|group| [*filter_value].include?(group['groupId'])}}
|
78
79
|
elsif permission_key == 'user-id'
|
79
|
-
security_group_info = security_group_info.reject{|security_group| !security_group
|
80
|
+
security_group_info = security_group_info.reject{|security_group| !security_group_groups.call(security_group).detect {|group| [*filter_value].include?(group['userId'])}}
|
80
81
|
else
|
81
82
|
aliased_key = permission_aliases[filter_key]
|
82
83
|
security_group_info = security_group_info.reject{|security_group| !security_group['ipPermissions'].detect {|permission| [*filter_value].include?(permission[aliased_key])}}
|
@@ -19,7 +19,7 @@ module Fog
|
|
19
19
|
# * 'state'<~String> - The current state of the Subnet. ['pending', 'available']
|
20
20
|
# * 'vpcId'<~String> - The ID of the VPC the subnet is in
|
21
21
|
# * 'cidrBlock'<~String> - The CIDR block the Subnet covers.
|
22
|
-
# * 'availableIpAddressCount'<~Integer> - The number of unused IP addresses in the subnet (the IP addresses for any
|
22
|
+
# * 'availableIpAddressCount'<~Integer> - The number of unused IP addresses in the subnet (the IP addresses for any
|
23
23
|
# stopped instances are considered unavailable)
|
24
24
|
# * 'availabilityZone'<~String> - The Availability Zone the subnet is in.
|
25
25
|
# * 'tagSet'<~Array>: Tags assigned to the resource.
|
@@ -30,14 +30,14 @@ module Fog
|
|
30
30
|
}.merge!(params))
|
31
31
|
end
|
32
32
|
end
|
33
|
-
|
33
|
+
|
34
34
|
class Mock
|
35
35
|
|
36
36
|
def describe_tags(filters = {})
|
37
37
|
response = Excon::Response.new
|
38
38
|
|
39
39
|
tag_set = deep_clone(self.data[:tags])
|
40
|
-
|
40
|
+
|
41
41
|
aliases = {
|
42
42
|
'key' => 'key',
|
43
43
|
'resource-id' => 'resourceId',
|
@@ -58,7 +58,7 @@ module Fog
|
|
58
58
|
filter_resources(tag_set, 'resourceType', filter_value)
|
59
59
|
end
|
60
60
|
end
|
61
|
-
|
61
|
+
|
62
62
|
tagged_resources = []
|
63
63
|
tag_set.each do |key, values|
|
64
64
|
values.each do |value, resources|
|
@@ -78,9 +78,9 @@ module Fog
|
|
78
78
|
}
|
79
79
|
response
|
80
80
|
end
|
81
|
-
|
81
|
+
|
82
82
|
private
|
83
|
-
|
83
|
+
|
84
84
|
def filter_resources(tag_set, filter, value)
|
85
85
|
value_hash_list = tag_set.values
|
86
86
|
value_hash_list.each do |value_hash|
|
@@ -89,7 +89,7 @@ module Fog
|
|
89
89
|
end
|
90
90
|
end
|
91
91
|
end
|
92
|
-
|
92
|
+
|
93
93
|
def deep_clone(obj)
|
94
94
|
case obj
|
95
95
|
when Hash
|
@@ -101,7 +101,7 @@ module Fog
|
|
101
101
|
end
|
102
102
|
end
|
103
103
|
end
|
104
|
-
|
104
|
+
|
105
105
|
end
|
106
106
|
end
|
107
107
|
end
|
@@ -9,7 +9,7 @@ module Fog
|
|
9
9
|
#
|
10
10
|
# ==== Parameters
|
11
11
|
# * AssociationId<~String> - The association ID representing the current association between the route table and subnet.
|
12
|
-
#
|
12
|
+
#
|
13
13
|
# ==== Returns
|
14
14
|
# * response<~Excon::Response>:
|
15
15
|
# * body<~Hash>:
|
@@ -31,7 +31,7 @@ module Fog
|
|
31
31
|
|
32
32
|
def disassociate_route_table(association_id)
|
33
33
|
assoc_array = nil
|
34
|
-
routetable = self.data[:route_tables].find { |routetable|
|
34
|
+
routetable = self.data[:route_tables].find { |routetable|
|
35
35
|
assoc_array = routetable["associationSet"].find { |association|
|
36
36
|
association['routeTableAssociationId'].eql? association_id
|
37
37
|
}
|
@@ -20,7 +20,7 @@ module Fog
|
|
20
20
|
# 'GroupId'<~Array> - One or more groups to add instance to (VPC only)
|
21
21
|
#
|
22
22
|
# {Amazon API Reference}[http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-ModifyInstanceAttribute.html]
|
23
|
-
#
|
23
|
+
#
|
24
24
|
def modify_instance_attribute(instance_id, attributes)
|
25
25
|
params = {}
|
26
26
|
params.merge!(Fog::AWS.indexed_param('GroupId', attributes.delete('GroupId') || []))
|
@@ -42,13 +42,13 @@ module Fog
|
|
42
42
|
}.merge!(params))
|
43
43
|
end
|
44
44
|
end
|
45
|
-
|
45
|
+
|
46
46
|
class Mock
|
47
47
|
def modify_network_interface_attribute(network_interface_id, attribute, value)
|
48
48
|
response = Excon::Response.new
|
49
49
|
if self.data[:network_interfaces][network_interface_id]
|
50
50
|
nic = self.data[:network_interfaces][network_interface_id]
|
51
|
-
|
51
|
+
|
52
52
|
case attribute
|
53
53
|
when 'description'
|
54
54
|
nic['description'] = value.clone
|
@@ -12,8 +12,8 @@ module Fog
|
|
12
12
|
# * options<~Hash>:
|
13
13
|
# * enableDnsSupport<~Boolean> - Indicates whether DNS resolution is supported for the VPC. If this attribute is true, the Amazon DNS
|
14
14
|
# server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.
|
15
|
-
# * enableDnsHostnames<~Boolean> - Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true,
|
16
|
-
# instances in the VPC get DNS hostnames; otherwise, they do not. You can only set enableDnsHostnames to true if you also set the
|
15
|
+
# * enableDnsHostnames<~Boolean> - Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true,
|
16
|
+
# instances in the VPC get DNS hostnames; otherwise, they do not. You can only set enableDnsHostnames to true if you also set the
|
17
17
|
# EnableDnsSupport attribute to true.
|
18
18
|
#
|
19
19
|
# ==== Returns
|
@@ -4,7 +4,7 @@ module Fog
|
|
4
4
|
class Real
|
5
5
|
require 'fog/aws/parsers/compute/replace_network_acl_association'
|
6
6
|
|
7
|
-
# Replace the network ACL for a subnet with a
|
7
|
+
# Replace the network ACL for a subnet with a
|
8
8
|
#
|
9
9
|
# ==== Parameters
|
10
10
|
# * association_id<~String> - The ID of the current association between the original network ACL and the subnet
|
@@ -4,7 +4,7 @@ module Fog
|
|
4
4
|
class Real
|
5
5
|
|
6
6
|
require 'fog/aws/parsers/compute/basic'
|
7
|
-
|
7
|
+
|
8
8
|
# Resets a network interface attribute value
|
9
9
|
#
|
10
10
|
# ==== Parameters
|
@@ -30,7 +30,7 @@ module Fog
|
|
30
30
|
)
|
31
31
|
end
|
32
32
|
end
|
33
|
-
|
33
|
+
|
34
34
|
class Mock
|
35
35
|
def reset_network_interface_attribute(network_interface_id, attribute)
|
36
36
|
response = Excon::Response.new
|
@@ -30,6 +30,18 @@ module Fog
|
|
30
30
|
# * 'Ebs.DeleteOnTermination'<~String> - specifies whether or not to delete the volume on instance termination
|
31
31
|
# * 'Ebs.VolumeType'<~String> - Type of EBS volue. Valid options in ['standard', 'io1'] default is 'standard'.
|
32
32
|
# * 'Ebs.Iops'<~String> - The number of I/O operations per second (IOPS) that the volume supports. Required when VolumeType is 'io1'
|
33
|
+
# * 'NetworkInterfaces'<~Array>: array of hashes
|
34
|
+
# * 'NetworkInterfaceId'<~String> - An existing interface to attach to a single instance
|
35
|
+
# * 'DeviceIndex'<~String> - The device index. Applies both to attaching an existing network interface and creating a network interface
|
36
|
+
# * 'SubnetId'<~String> - The subnet ID. Applies only when creating a network interface
|
37
|
+
# * 'Description'<~String> - A description. Applies only when creating a network interface
|
38
|
+
# * 'PrivateIpAddress'<~String> - The primary private IP address. Applies only when creating a network interface
|
39
|
+
# * 'SecurityGroupId'<~String> - The ID of the security group. Applies only when creating a network interface.
|
40
|
+
# * 'DeleteOnTermination'<~String> - Indicates whether to delete the network interface on instance termination.
|
41
|
+
# * 'PrivateIpAddresses.PrivateIpAddress'<~String> - The private IP address. This parameter can be used multiple times to specify explicit private IP addresses for a network interface, but only one private IP address can be designated as primary.
|
42
|
+
# * 'PrivateIpAddresses.Primary'<~Bool> - Indicates whether the private IP address is the primary private IP address.
|
43
|
+
# * 'SecondaryPrivateIpAddressCount'<~Bool> - The number of private IP addresses to assign to the network interface.
|
44
|
+
# * 'AssociatePublicIpAddress'<~String> - Indicates whether to assign a public IP address to an instance in a VPC. The public IP address is assigned to a specific network interface
|
33
45
|
# * 'ClientToken'<~String> - unique case-sensitive token for ensuring idempotency
|
34
46
|
# * 'DisableApiTermination'<~Boolean> - specifies whether or not to allow termination of the instance from the api
|
35
47
|
# * 'SecurityGroup'<~Array> or <~String> - Name of security group(s) for instances (not supported for VPC)
|
@@ -108,6 +120,13 @@ module Fog
|
|
108
120
|
if options['UserData']
|
109
121
|
options['UserData'] = Base64.encode64(options['UserData'])
|
110
122
|
end
|
123
|
+
if network_interfaces = options.delete('NetworkInterfaces')
|
124
|
+
network_interfaces.each_with_index do |mapping, index|
|
125
|
+
for key, value in mapping
|
126
|
+
options.merge!({ format("NetworkInterface.%d.#{key}", index) => value })
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
111
130
|
|
112
131
|
idempotent = !(options['ClientToken'].nil? || options['ClientToken'].empty?)
|
113
132
|
|
@@ -159,11 +178,36 @@ module Fog
|
|
159
178
|
}
|
160
179
|
end
|
161
180
|
|
181
|
+
network_interfaces = (options['NetworkInterfaces'] || []).inject([]) do |mapping, device|
|
182
|
+
device_index = device.fetch("DeviceIndex", 0)
|
183
|
+
subnet_id = device.fetch("SubnetId", options[:subnet_id] || Fog::AWS::Mock.subnet_id)
|
184
|
+
private_ip_address = device.fetch("PrivateIpAddress", options[:private_ip_address] || Fog::AWS::Mock.private_ip_address)
|
185
|
+
delete_on_termination = device.fetch("DeleteOnTermination", true)
|
186
|
+
description = device.fetch("Description", "mock_network_interface")
|
187
|
+
security_group_id = device.fetch("SecurityGroupId", self.data[:security_groups]['default']['groupId'])
|
188
|
+
interface_options = {
|
189
|
+
"PrivateIpAddress" => private_ip_address,
|
190
|
+
"GroupSet" => device.fetch("GroupSet", [security_group_id]),
|
191
|
+
"Description" => description
|
192
|
+
}
|
193
|
+
|
194
|
+
interface_id = device.fetch("NetworkInterfaceId", create_network_interface(subnet_id, interface_options))
|
195
|
+
|
196
|
+
mapping << {
|
197
|
+
"networkInterfaceId" => interface_id,
|
198
|
+
"subnetId" => subnet_id,
|
199
|
+
"status" => "attached",
|
200
|
+
"attachTime" => Time.now,
|
201
|
+
"deleteOnTermination" => delete_on_termination,
|
202
|
+
}
|
203
|
+
end
|
204
|
+
|
162
205
|
instance = {
|
163
206
|
'amiLaunchIndex' => i,
|
164
207
|
'associatePublicIP' => options['associatePublicIP'] || false,
|
165
208
|
'architecture' => 'i386',
|
166
209
|
'blockDeviceMapping' => block_device_mapping,
|
210
|
+
'networkInterfaces' => network_interfaces,
|
167
211
|
'clientToken' => options['clientToken'],
|
168
212
|
'dnsName' => nil,
|
169
213
|
'ebsOptimized' => options['EbsOptimized'] || false,
|