Merge branch 'trunk' of github.com:apache/libcloud into trunk
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/04a09811 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/04a09811 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/04a09811 Branch: refs/heads/trunk Commit: 04a09811e5e95041b9adfb877e89e1ed8e48ca18 Parents: c726d1f df93d65 Author: Anthony Shaw <[email protected]> Authored: Tue Nov 15 10:25:01 2016 +1100 Committer: Anthony Shaw <[email protected]> Committed: Tue Nov 15 10:25:01 2016 +1100 ---------------------------------------------------------------------- .pylintrc | 2 +- CHANGES.rst | 105 +- README.rst | 2 +- demos/gce_demo.py | 237 +- doap_libcloud.rdf | 7 + .../_supported_methods_block_storage.rst | 10 +- .../_supported_methods_image_management.rst | 6 +- .../_supported_methods_key_pair_management.rst | 8 +- docs/compute/_supported_methods_main.rst | 6 +- docs/compute/_supported_providers.rst | 6 +- docs/compute/index.rst | 2 +- docs/container/_supported_methods.rst | 2 + docs/container/_supported_providers.rst | 2 + docs/loadbalancer/_supported_methods.rst | 2 + docs/loadbalancer/_supported_providers.rst | 2 + docs/other/hacktoberfest.txt | 10 + docs/storage/_supported_methods_cdn.rst | 6 +- docs/storage/_supported_methods_main.rst | 6 +- docs/storage/_supported_providers.rst | 6 +- libcloud/__init__.py | 3 +- libcloud/common/base.py | 2 +- libcloud/common/cloudsigma.py | 5 + libcloud/common/dimensiondata.py | 246 +- libcloud/common/google.py | 4 +- libcloud/compute/drivers/ciscoccs.py | 56 - libcloud/compute/drivers/digitalocean.py | 66 +- libcloud/compute/drivers/dimensiondata.py | 1535 ++++- libcloud/compute/drivers/ec2.py | 2 +- libcloud/compute/drivers/gce.py | 1967 ++++++- libcloud/compute/drivers/openstack.py | 3 + libcloud/compute/drivers/ovh.py | 148 +- libcloud/compute/drivers/profitbricks.py | 4101 ++++++++++--- libcloud/compute/drivers/vultr.py | 113 +- libcloud/compute/providers.py | 2 - libcloud/container/drivers/docker.py | 36 +- libcloud/container/drivers/rancher.py | 49 +- libcloud/loadbalancer/drivers/alb.py | 321 ++ libcloud/loadbalancer/providers.py | 2 + libcloud/loadbalancer/types.py | 1 + libcloud/storage/drivers/google_storage.py | 18 + libcloud/storage/drivers/s3.py | 12 + libcloud/storage/providers.py | 2 + libcloud/storage/types.py | 2 + libcloud/test/common/test_google.py | 13 +- .../fixtures/digitalocean/ex_change_kernel.json | 12 + .../fixtures/digitalocean/ex_hard_reboot.json | 12 + .../digitalocean_v2/create_volume_snapshot.json | 14 + .../digitalocean_v2/ex_change_kernel.json | 12 + .../digitalocean_v2/ex_hard_reboot.json | 12 + .../digitalocean_v2/list_volume_snapshots.json | 44 + .../fixtures/dimensiondata/audit_log.csv | 25 + .../dimensiondata/ip_address_list_create.xml | 9 + .../dimensiondata/ip_address_list_delete.xml | 10 + .../dimensiondata/ip_address_list_edit.xml | 10 + .../fixtures/dimensiondata/ip_address_lists.xml | 46 + .../ip_address_lists_FILTERBYNAME.xml | 14 + .../fixtures/dimensiondata/port_list_create.xml | 9 + .../fixtures/dimensiondata/port_list_delete.xml | 10 + .../fixtures/dimensiondata/port_list_edit.xml | 8 + .../fixtures/dimensiondata/port_list_get.xml | 15 + .../fixtures/dimensiondata/port_list_lists.xml | 38 + .../fixtures/dimensiondata/server_GetServer.xml | 39 + .../gce/aggregated_instanceGroupManagers.json | 8 +- .../gce/global_backendServices_web_service.json | 4 +- .../fixtures/gce/global_instanceTemplates.json | 10 +- .../gce/global_instanceTemplates_insert.json | 12 + .../fixtures/gce/global_sslcertificates.json | 16 + .../gce/global_sslcertificates_example.json | 10 + .../gce/global_sslcertificates_post.json | 13 + ...eration_global_instanceTemplates_insert.json | 12 + ...s_operation_global_sslcertificates_post.json | 13 + ...nes_us_central1_a_instanceGroups_insert.json | 13 + ...l1_a_instanceGroups_myname_addInstances.json | 13 + ...central1_a_instanceGroups_myname_delete.json | 13 + ...a_instanceGroups_myname_removeInstances.json | 13 + ...1_a_instanceGroups_myname_setNamedPorts.json | 13 + ...s-east1_subnetworks_cf_972cf02e6ad49113.json | 11 + ...nes_us-central1-a_instanceGroupManagers.json | 4 +- ...a_instanceGroupManagers_myinstancegroup.json | 4 +- ...entral1-a_instanceGroup_myinstancegroup.json | 4 +- ...ntral1-a_instanceGroup_myinstancegroup2.json | 14 + ...b_instanceGroupManagers_myinstancegroup.json | 4 +- ...entral1-b_instanceGroup_myinstancegroup.json | 2 +- .../zones_us-east1-b_instanceGroupManagers.json | 4 +- ...s-east1-b_instanceGroup_myinstancegroup.json | 4 +- .../gce/zones_us_central1_a_instanceGroups.json | 29 + ...nes_us_central1_a_instanceGroups_insert.json | 13 + ...nes_us_central1_a_instanceGroups_myname.json | 12 + ...l1_a_instanceGroups_myname_addInstances.json | 13 + ...central1_a_instanceGroups_myname_delete.json | 13 + ...1_a_instanceGroups_myname_listInstances.json | 15 + ...a_instanceGroups_myname_removeInstances.json | 13 + ...1_a_instanceGroups_myname_setNamedPorts.json | 13 + .../fixtures/ovh/volume_snapshot_get.json | 22 + .../ovh/volume_snapshot_get_details.json | 10 + .../fixtures/profitbricks/attach_volume.json | 34 + .../fixtures/profitbricks/attach_volume.xml | 12 - .../fixtures/profitbricks/create_node.json | 37 + .../fixtures/profitbricks/create_node.xml | 13 - .../fixtures/profitbricks/create_volume.json | 35 + .../fixtures/profitbricks/create_volume.xml | 13 - .../profitbricks/create_volume_snapshot.json | 30 + .../fixtures/profitbricks/destroy_node.xml | 12 - .../fixtures/profitbricks/destroy_volume.xml | 12 - .../fixtures/profitbricks/detach_volume.xml | 12 - .../profitbricks/ex_clear_datacenter.xml | 12 - .../profitbricks/ex_create_datacenter.json | 20 + .../profitbricks/ex_create_datacenter.xml | 13 - .../profitbricks/ex_create_firewall_rule.json | 24 + .../profitbricks/ex_create_ip_block.json | 22 + .../fixtures/profitbricks/ex_create_lan.json | 17 + .../profitbricks/ex_create_load_balancer.json | 18 + .../ex_create_network_interface.json | 22 + .../ex_create_network_interface.xml | 13 - .../profitbricks/ex_describe_datacenter.json | 401 ++ .../profitbricks/ex_describe_datacenter.xml | 15 - .../profitbricks/ex_describe_firewall_rule.json | 24 + .../profitbricks/ex_describe_image.json | 32 + .../profitbricks/ex_describe_ip_block.json | 21 + .../fixtures/profitbricks/ex_describe_lan.json | 24 + .../profitbricks/ex_describe_load_balancer.json | 25 + .../profitbricks/ex_describe_location.json | 12 + .../ex_describe_network_interface.json | 31 + .../ex_describe_network_interface.xml | 26 - .../fixtures/profitbricks/ex_describe_node.json | 111 + .../fixtures/profitbricks/ex_describe_node.xml | 77 - .../profitbricks/ex_describe_snapshot.json | 30 + .../profitbricks/ex_describe_volume.json | 35 + .../profitbricks/ex_describe_volume.xml | 22 - .../profitbricks/ex_destroy_datacenter.xml | 10 - .../ex_destroy_network_interface.xml | 12 - .../profitbricks/ex_list_attached_volumes.json | 112 + .../profitbricks/ex_list_datacenters.json | 52 + .../profitbricks/ex_list_datacenters.xml | 19 - .../profitbricks/ex_list_firewall_rules.json | 79 + .../profitbricks/ex_list_ip_blocks.json | 50 + .../fixtures/profitbricks/ex_list_lans.json | 157 + .../ex_list_load_balanced_nics.json | 69 + .../profitbricks/ex_list_load_balancers.json | 216 + .../ex_list_network_interfaces.json | 69 + .../profitbricks/ex_list_network_interfaces.xml | 75 - .../profitbricks/ex_rename_datacenter.json | 46 + .../profitbricks/ex_set_inet_access.json | 31 + .../fixtures/profitbricks/ex_start_node.xml | 10 - .../fixtures/profitbricks/ex_stop_node.xml | 10 - .../profitbricks/ex_update_datacenter.xml | 12 - .../profitbricks/ex_update_firewall_rule.json | 25 + .../fixtures/profitbricks/ex_update_image.json | 32 + .../fixtures/profitbricks/ex_update_lan.json | 24 + .../profitbricks/ex_update_load_balancer.json | 18 + .../ex_update_network_interface.json | 31 + .../ex_update_network_interface.xml | 12 - .../fixtures/profitbricks/ex_update_node.json | 45 + .../fixtures/profitbricks/ex_update_node.xml | 12 - .../profitbricks/ex_update_snapshot.json | 30 + .../fixtures/profitbricks/ex_update_volume.json | 35 + .../fixtures/profitbricks/ex_update_volume.xml | 12 - .../fixtures/profitbricks/list_images.json | 199 + .../fixtures/profitbricks/list_images.xml | 43 - .../fixtures/profitbricks/list_locations.json | 43 + .../fixtures/profitbricks/list_nodes.json | 169 + .../fixtures/profitbricks/list_nodes.xml | 172 - .../fixtures/profitbricks/list_snapshots.json | 37 + .../fixtures/profitbricks/list_volumes.json | 112 + .../fixtures/profitbricks/list_volumes.xml | 66 - .../fixtures/profitbricks/reboot_node.xml | 10 - .../compute/fixtures/vultr/create_key_pair.json | 3 + .../compute/fixtures/vultr/create_node.json | 3 + .../compute/fixtures/vultr/list_key_pairs.json | 8 + libcloud/test/compute/test_digitalocean_v2.py | 63 + libcloud/test/compute/test_dimensiondata.py | 1089 +++- libcloud/test/compute/test_gce.py | 404 +- libcloud/test/compute/test_openstack.py | 8 + libcloud/test/compute/test_ovh.py | 38 + libcloud/test/compute/test_profitbricks.py | 5377 ++++++++++++++++-- libcloud/test/compute/test_vultr.py | 40 + .../docker/linux_121/container_a68.json | 163 - .../fixtures/docker/linux_121/containers.json | 143 - .../docker/linux_121/create_container.json | 4 - .../fixtures/docker/linux_121/create_image.json | 1 - .../fixtures/docker/linux_121/images.json | 50 - .../fixtures/docker/linux_121/logs.txt | 1 - .../fixtures/docker/linux_121/search.json | 202 - .../fixtures/docker/linux_121/version.json | 10 - .../docker/linux_124/container_a68.json | 163 + .../fixtures/docker/linux_124/containers.json | 143 + .../docker/linux_124/create_container.json | 4 + .../fixtures/docker/linux_124/create_image.txt | 238 + .../fixtures/docker/linux_124/images.json | 50 + .../fixtures/docker/linux_124/logs.txt | 1 + .../fixtures/docker/linux_124/search.json | 202 + .../fixtures/docker/linux_124/version.json | 10 + .../fixtures/docker/mac_124/create_image.json | 1 - .../fixtures/docker/mac_124/create_image.txt | 238 + .../fixtures/rancher/start_container.json | 109 + libcloud/test/container/test_docker.py | 52 +- libcloud/test/container/test_rancher.py | 23 +- .../alb/describe_load_balancer_listeters.xml | 27 + .../alb/describe_load_balancer_rules.xml | 21 + .../describe_load_balancer_target_groups.xml | 29 + .../fixtures/alb/describe_load_balancers.xml | 31 + .../loadbalancer/fixtures/alb/describe_tags.xml | 18 + .../fixtures/alb/describe_target_health.xml | 19 + libcloud/test/loadbalancer/test_alb.py | 159 + libcloud/test/secrets.py-dist | 1 + 205 files changed, 19372 insertions(+), 3029 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/04a09811/CHANGES.rst ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/04a09811/libcloud/common/base.py ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/04a09811/libcloud/compute/providers.py ----------------------------------------------------------------------
