You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/04/21 05:43:01 UTC
[14/16] libcloud git commit: Merge remote-tracking branch
'upstream/trunk' into for-upstream/modify_volume
Merge remote-tracking branch 'upstream/trunk' into for-upstream/modify_volume
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/2f818906
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/2f818906
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/2f818906
Branch: refs/heads/trunk
Commit: 2f8189068f5d23bf04595468b4b7e4d76be5da63
Parents: da89d29 1a07215
Author: Hennadii Stas <ut...@gmail.com>
Authored: Thu Apr 20 13:24:46 2017 +0300
Committer: Hennadii Stas <ut...@gmail.com>
Committed: Thu Apr 20 13:24:46 2017 +0300
----------------------------------------------------------------------
.gitignore | 3 +
.travis.yml | 3 +
CHANGES.rst | 263 +-
contrib/scrape-ec2-prices.py | 19 +-
demos/secrets.py-dist | 5 +-
doap_libcloud.rdf | 7 +
docs/_static/images/provider_logos/outscale.jpg | Bin 0 -> 17361 bytes
docs/_static/images/provider_logos/outscale.png | Bin 8437 -> 0 bytes
.../_supported_methods_block_storage.rst | 2 +
.../_supported_methods_image_management.rst | 4 +-
.../_supported_methods_key_pair_management.rst | 4 +-
docs/compute/_supported_methods_main.rst | 4 +-
docs/compute/_supported_providers.rst | 122 +-
docs/compute/drivers/cloudscale.rst | 4 +-
docs/compute/drivers/dimensiondata.rst | 22 +
docs/compute/drivers/oneandone.rst | 295 +
docs/compute/drivers/outscale_inc.rst | 11 +-
docs/compute/drivers/outscale_sas.rst | 21 +-
docs/dns/_supported_methods.rst | 2 +
docs/dns/_supported_providers.rst | 2 +
docs/dns/drivers/onapp.rst | 23 +
.../Nodes_Create_mcp2_Uncustomised.py | 57 +
docs/examples/compute/onapp/functionality.py | 39 +-
.../compute/oneandone/create_firewall_policy.py | 33 +
.../compute/oneandone/create_load_balancer.py | 36 +
.../oneandone/create_monitoring_policy.py | 90 +
docs/examples/compute/oneandone/create_node.py | 36 +
.../compute/oneandone/create_private_network.py | 14 +
.../compute/oneandone/create_public_ip.py | 14 +
.../compute/oneandone/create_shared_storage.py | 21 +
.../compute/oneandone/instantiate_driver.py | 9 +
docs/examples/dns/onapp/instantiate_driver.py | 9 +
docs/loadbalancer/_supported_providers.rst | 2 +-
docs/other/changes_in_2_0.rst | 131 +
docs/other/ssl-certificate-validation.rst | 4 +-
docs/other/using-http-proxy.rst | 4 +-
docs/storage/_supported_methods_cdn.rst | 16 +-
docs/storage/_supported_methods_main.rst | 16 +-
docs/storage/_supported_providers.rst | 16 +-
integration/README.rst | 20 +
integration/__init__.py | 0
integration/__main__.py | 41 +
integration/api/__init__.py | 0
integration/api/__main__.py | 21 +
integration/api/data.py | 37 +
integration/api/routes.py | 33 +
integration/api/util.py | 33 +
integration/config.py | 21 +
integration/driver/__init__.py | 0
integration/driver/test.py | 76 +
integration/requirements.txt | 1 +
libcloud/__init__.py | 2 +-
libcloud/common/aliyun.py | 5 +-
libcloud/common/aws.py | 4 +-
libcloud/common/azure_arm.py | 2 +-
libcloud/common/base.py | 45 +-
libcloud/common/linode.py | 25 +-
libcloud/common/ovh.py | 2 +-
libcloud/compute/drivers/azure_arm.py | 155 +-
libcloud/compute/drivers/cloudscale.py | 8 +-
libcloud/compute/drivers/digitalocean.py | 3 +-
libcloud/compute/drivers/dimensiondata.py | 1 -
libcloud/compute/drivers/ec2.py | 929 +-
libcloud/compute/drivers/ecs.py | 59 +-
libcloud/compute/drivers/gce.py | 117 +-
libcloud/compute/drivers/linode.py | 50 +-
libcloud/compute/drivers/onapp.py | 107 +-
libcloud/compute/drivers/oneandone.py | 2260 +++
libcloud/compute/drivers/profitbricks.py | 2 +-
libcloud/compute/drivers/vcloud.py | 16 +-
libcloud/compute/drivers/vsphere.py | 8 +-
libcloud/compute/providers.py | 2 +
libcloud/compute/types.py | 5 +
libcloud/data/pricing.json | 630 +-
libcloud/dns/drivers/onapp.py | 332 +
libcloud/dns/drivers/route53.py | 17 +-
libcloud/dns/providers.py | 2 +
libcloud/dns/types.py | 1 +
libcloud/http.py | 307 +
libcloud/httplib_ssl.py | 268 -
libcloud/security.py | 2 +-
libcloud/storage/base.py | 30 +-
libcloud/storage/drivers/s3.py | 426 +-
libcloud/storage/providers.py | 12 +
libcloud/storage/types.py | 6 +
libcloud/test/__init__.py | 327 +-
libcloud/test/backup/test_dimensiondata_v2_3.py | 3 +-
libcloud/test/backup/test_dimensiondata_v2_4.py | 3 +-
libcloud/test/common/test_cloudstack.py | 6 +-
libcloud/test/common/test_digitalocean_v2.py | 4 +-
libcloud/test/compute/__init__.py | 2 +-
...d_526c_8d55_fee918758e6e_services_images.xml | 2 +-
.../2.4/deploy_customised_server.xml | 7 +
.../compute/fixtures/ec2/allocate_address.xml | 2 +-
.../fixtures/ec2/allocate_vpc_address.xml | 2 +-
.../compute/fixtures/ec2/associate_address.xml | 2 +-
.../fixtures/ec2/associate_vpc_address.xml | 2 +-
.../fixtures/ec2/attach_internet_gateway.xml | 2 +-
.../fixtures/ec2/attach_network_interface.xml | 2 +-
.../test/compute/fixtures/ec2/attach_volume.xml | 2 +-
.../ec2/authorize_security_group_egress.xml | 2 +-
.../ec2/authorize_security_group_ingress.xml | 2 +-
.../test/compute/fixtures/ec2/copy_image.xml | 2 +-
.../test/compute/fixtures/ec2/create_image.xml | 2 +-
.../fixtures/ec2/create_internet_gateway.xml | 2 +-
.../compute/fixtures/ec2/create_key_pair.xml | 2 +-
.../fixtures/ec2/create_network_interface.xml | 2 +-
.../fixtures/ec2/create_placement_groups.xml | 2 +-
.../fixtures/ec2/create_security_group.xml | 2 +-
.../compute/fixtures/ec2/create_snapshot.xml | 2 +-
.../test/compute/fixtures/ec2/create_subnet.xml | 2 +-
.../test/compute/fixtures/ec2/create_tags.xml | 2 +-
.../test/compute/fixtures/ec2/create_volume.xml | 2 +-
.../test/compute/fixtures/ec2/create_vpc.xml | 2 +-
.../fixtures/ec2/delete_internet_gateway.xml | 2 +-
.../compute/fixtures/ec2/delete_key_pair.xml | 2 +-
.../fixtures/ec2/delete_network_interface.xml | 2 +-
.../fixtures/ec2/delete_placement_groups.xml | 2 +-
.../fixtures/ec2/delete_security_group.xml | 2 +-
.../compute/fixtures/ec2/delete_snapshot.xml | 2 +-
.../test/compute/fixtures/ec2/delete_subnet.xml | 2 +-
.../test/compute/fixtures/ec2/delete_tags.xml | 2 +-
.../test/compute/fixtures/ec2/delete_volume.xml | 2 +-
.../test/compute/fixtures/ec2/delete_vpc.xml | 2 +-
.../compute/fixtures/ec2/deregister_image.xml | 2 +-
.../ec2/describe_account_attributes.xml | 2 +-
.../compute/fixtures/ec2/describe_addresses.xml | 2 +-
.../fixtures/ec2/describe_addresses_all.xml | 2 +-
.../fixtures/ec2/describe_addresses_multi.xml | 2 +-
.../fixtures/ec2/describe_addresses_single.xml | 2 +-
.../ec2/describe_availability_zones.xml | 2 +-
.../compute/fixtures/ec2/describe_images.xml | 14 +-
.../ec2/describe_images_ex_imageids.xml | 9 +-
.../ec2/describe_import_snapshot_tasks.xml | 18 +
.../describe_import_snapshot_tasks_active.xml | 17 +
.../compute/fixtures/ec2/describe_instances.xml | 2 +-
.../fixtures/ec2/describe_internet_gateways.xml | 2 +-
.../compute/fixtures/ec2/describe_key_pairs.xml | 2 +-
.../ec2/describe_network_interfaces.xml | 2 +-
.../fixtures/ec2/describe_placement_groups.xml | 2 +-
.../ec2/describe_reserved_instances.xml | 2 +-
.../fixtures/ec2/describe_security_groups.xml | 2 +-
.../compute/fixtures/ec2/describe_snapshots.xml | 2 +-
.../compute/fixtures/ec2/describe_subnets.xml | 2 +-
.../test/compute/fixtures/ec2/describe_tags.xml | 2 +-
.../compute/fixtures/ec2/describe_volumes.xml | 2 +-
.../test/compute/fixtures/ec2/describe_vpcs.xml | 2 +-
.../fixtures/ec2/detach_internet_gateway.xml | 2 +-
.../fixtures/ec2/detach_network_interface.xml | 2 +-
.../test/compute/fixtures/ec2/detach_volume.xml | 2 +-
.../fixtures/ec2/disassociate_address.xml | 2 +-
.../compute/fixtures/ec2/get_console_output.xml | 2 +-
.../compute/fixtures/ec2/import_key_pair.xml | 2 +-
.../compute/fixtures/ec2/import_snapshot.xml | 16 +
.../fixtures/ec2/modify_image_attribute.xml | 2 +-
.../fixtures/ec2/modify_instance_attribute.xml | 2 +-
.../fixtures/ec2/modify_snapshot_attribute.xml | 4 +
.../compute/fixtures/ec2/reboot_instances.xml | 2 +-
.../compute/fixtures/ec2/register_image.xml | 2 +-
.../compute/fixtures/ec2/release_address.xml | 2 +-
.../ec2/revoke_security_group_egress.xml | 2 +-
.../ec2/revoke_security_group_ingress.xml | 2 +-
.../test/compute/fixtures/ec2/run_instances.xml | 2 +-
.../fixtures/ec2/run_instances_iam_profile.xml | 2 +-
.../compute/fixtures/ec2/run_instances_idem.xml | 2 +-
...instances_with_subnet_and_security_group.xml | 2 +-
.../compute/fixtures/ec2/start_instances.xml | 2 +-
.../compute/fixtures/ec2/stop_instances.xml | 2 +-
.../fixtures/ec2/terminate_instances.xml | 2 +-
.../compute/fixtures/ecs/describe_regions.xml | 2 +-
.../compute/fixtures/ecs/describe_zones.xml | 2 +-
.../fixtures/ecs/join_security_group_by_id.xml | 4 +
.../fixtures/ecs/leave_security_group_by_id.xml | 4 +
.../fixtures/ecs/pages_describe_images.xml | 2 +-
.../projects_coreos-cloud_global_images.json | 6 -
...entral1_subnetworks_cf_972cf02e6ad49112.json | 1 +
.../test/compute/fixtures/meta/unicode.json | 1 +
libcloud/test/compute/fixtures/meta/unicode.txt | 1 +
libcloud/test/compute/fixtures/meta/unicode.xml | 2 +
.../compute/fixtures/onapp/get_key_pair.json | 9 +
.../compute/fixtures/onapp/import_key_pair.json | 9 +
.../compute/fixtures/onapp/list_images.json | 47 +
.../compute/fixtures/onapp/list_key_pairs.json | 20 +
.../test/compute/fixtures/onapp/profile.json | 12 +
.../compute/fixtures/oneandone/auth_error.json | 5 +
.../compute/fixtures/oneandone/create_node.json | 43 +
.../oneandone/describe_firewall_policy.json | 26 +
.../oneandone/describe_id_firewall_policy.json | 4 +
.../fixtures/oneandone/describe_server.json | 49 +
.../oneandone/describe_shared_stoage.json | 29 +
.../fixtures/oneandone/ex_list_datacenters.json | 26 +
.../oneandone/fixed_instance_sizes.json | 70 +
.../compute/fixtures/oneandone/get_image.json | 24 +
.../fixtures/oneandone/get_server_image.json | 4 +
.../oneandone/list_firewall_policies.json | 54 +
.../compute/fixtures/oneandone/list_images.json | 17941 +++++++++++++++++
.../fixtures/oneandone/list_load_balancer.json | 78 +
.../oneandone/list_monitoring_policies.json | 152 +
.../fixtures/oneandone/list_public_ips.json | 59 +
.../fixtures/oneandone/list_servers.json | 197 +
.../oneandone/list_shared_storages.json | 64 +
.../fixtures/oneandone/load_balancer.json | 38 +
.../fixtures/oneandone/load_balancer_rule.json | 7 +
.../fixtures/oneandone/load_balancer_rules.json | 16 +
.../oneandone/load_balancer_server_ip.json | 5 +
.../oneandone/load_balancer_server_ips.json | 6 +
.../fixtures/oneandone/monitoring_policy.json | 73 +
.../oneandone/monitoring_policy_port.json | 7 +
.../oneandone/monitoring_policy_ports.json | 16 +
.../oneandone/monitoring_policy_process.json | 6 +
.../oneandone/monitoring_policy_processes.json | 14 +
.../oneandone/monitoring_policy_servers.json | 10 +
.../compute/fixtures/oneandone/public_ip.json | 15 +
.../fixtures/oneandone/server_hardware.json | 13 +
.../compute/fixtures/oneandone/server_ip.json | 8 +
.../compute/fixtures/oneandone/server_ips.json | 10 +
.../fixtures/oneandone/shared_storage.json | 24 +
.../test/compute/fixtures/oneandone/ttt.json | 73 +
libcloud/test/compute/test_abiquo.py | 15 +-
libcloud/test/compute/test_azure.py | 1 +
libcloud/test/compute/test_base.py | 6 -
libcloud/test/compute/test_cloudscale.py | 4 +-
libcloud/test/compute/test_cloudsigma_v2_0.py | 4 +-
libcloud/test/compute/test_cloudstack.py | 36 +-
libcloud/test/compute/test_digitalocean_v2.py | 4 +-
.../test/compute/test_dimensiondata_v2_3.py | 12 +-
.../test/compute/test_dimensiondata_v2_4.py | 64 +-
libcloud/test/compute/test_ec2.py | 81 +-
libcloud/test/compute/test_ecp.py | 2 +-
libcloud/test/compute/test_ecs.py | 27 +-
libcloud/test/compute/test_gce.py | 20 +-
libcloud/test/compute/test_ktucloud.py | 8 +-
libcloud/test/compute/test_onapp.py | 67 +-
libcloud/test/compute/test_oneandone.py | 1281 ++
libcloud/test/compute/test_opennebula.py | 51 +-
libcloud/test/compute/test_openstack.py | 39 +-
libcloud/test/compute/test_profitbricks.py | 2 +-
libcloud/test/compute/test_vultr.py | 4 +-
.../test/dns/fixtures/buddyns/list_zones.json | 2 +-
.../test/dns/fixtures/onapp/create_record.json | 9 +
.../test/dns/fixtures/onapp/create_zone.json | 10 +
.../dns/fixtures/onapp/dns_zone_not_found.json | 5 +
.../test/dns/fixtures/onapp/get_record.json | 9 +
.../fixtures/onapp/get_record_after_update.json | 9 +
libcloud/test/dns/fixtures/onapp/get_zone.json | 10 +
.../test/dns/fixtures/onapp/list_records.json | 65 +
.../test/dns/fixtures/onapp/list_zones.json | 22 +
libcloud/test/dns/test_auroradns.py | 4 +-
libcloud/test/dns/test_digitalocean.py | 4 +-
libcloud/test/dns/test_durabledns.py | 4 +-
libcloud/test/dns/test_google.py | 4 +-
libcloud/test/dns/test_onapp.py | 223 +
libcloud/test/dns/test_zerigo.py | 6 +-
libcloud/test/file_fixtures.py | 13 +-
libcloud/test/loadbalancer/test_alb.py | 4 +-
libcloud/test/loadbalancer/test_brightbox.py | 4 +-
libcloud/test/loadbalancer/test_cloudstack.py | 8 +-
libcloud/test/loadbalancer/test_elb.py | 4 +-
libcloud/test/loadbalancer/test_gogrid.py | 4 +-
libcloud/test/loadbalancer/test_rackspace.py | 6 +-
libcloud/test/loadbalancer/test_slb.py | 4 +-
libcloud/test/loadbalancer/test_softlayer.py | 4 +-
libcloud/test/secrets.py-dist | 6 +-
libcloud/test/storage/test_atmos.py | 39 +-
libcloud/test/storage/test_azure_blobs.py | 42 +-
libcloud/test/storage/test_backblaze_b2.py | 37 +-
libcloud/test/storage/test_base.py | 12 +-
libcloud/test/storage/test_cloudfiles.py | 112 +-
libcloud/test/storage/test_google_storage.py | 2 +-
libcloud/test/storage/test_oss.py | 50 +-
libcloud/test/storage/test_s3.py | 133 +-
libcloud/test/test_connection.py | 70 +-
libcloud/test/test_file_fixtures.py | 53 +
libcloud/test/test_http.py | 87 +
libcloud/test/test_httplib_ssl.py | 87 -
libcloud/test/test_logging_connection.py | 69 +
libcloud/test/test_response_classes.py | 29 +-
libcloud/utils/compression.py | 42 -
libcloud/utils/loggingconnection.py | 98 +-
libcloud/utils/py3.py | 7 +-
tox.ini | 20 +-
281 files changed, 28613 insertions(+), 1893 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/2f818906/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/2f818906/libcloud/test/compute/test_ec2.py
----------------------------------------------------------------------