You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2023/01/29 10:30:25 UTC

[libcloud] 01/01: Merge pull request #1852 from apache/compute-clean

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 77e1cff3ac5912a341503b9ff6c2d11d42bf36e3
Merge: 4e779e4c1 4063c3195
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Jan 29 11:30:12 2023 +0100

    Merge pull request #1852 from apache/compute-clean
    
    Clean up compute drive (based on top of #1743)

 CHANGES.rst                                        |    11 +
 demos/secrets.py-dist                              |     4 -
 docs/compute/_supported_methods_block_storage.rst  |    36 -
 .../_supported_methods_image_management.rst        |    36 -
 .../_supported_methods_key_pair_management.rst     |    36 -
 docs/compute/_supported_methods_main.rst           |    36 -
 docs/compute/_supported_providers.rst              |    36 -
 docs/compute/drivers/bsnl.rst                      |    69 -
 docs/compute/drivers/cloudwatt.rst                 |    50 -
 docs/compute/drivers/indosat.rst                   |    72 -
 docs/compute/drivers/kili.rst                      |    35 -
 docs/compute/drivers/medone.rst                    |    74 -
 docs/compute/drivers/oneandone.rst                 |   294 -
 docs/compute/drivers/profitbricks.rst              |    83 -
 docs/container/_supported_methods.rst              |     2 -
 docs/container/_supported_providers.rst            |     2 -
 docs/container/drivers/joyent.rst                  |    64 -
 docs/dns/_supported_methods.rst                    |     4 -
 docs/dns/_supported_providers.rst                  |     4 -
 docs/dns/drivers/hostvirtual.rst                   |    18 -
 docs/examples/compute/bsnl/__init__.py             |     0
 docs/examples/compute/bsnl/instantiate_driver.py   |     9 -
 docs/examples/compute/cloudwatt/__init__.py        |     0
 docs/examples/compute/cloudwatt/create_node.py     |     8 -
 docs/examples/compute/cloudwatt/create_volume.py   |     8 -
 docs/examples/compute/indosat/__init__.py          |     0
 .../examples/compute/indosat/instantiate_driver.py |     9 -
 docs/examples/compute/medone/__init__.py           |     0
 docs/examples/compute/medone/instantiate_driver.py |     9 -
 docs/examples/compute/oneandone/__init__.py        |     0
 .../compute/oneandone/create_firewall_policy.py    |    27 -
 .../compute/oneandone/create_load_balancer.py      |    32 -
 .../compute/oneandone/create_monitoring_policy.py  |    54 -
 docs/examples/compute/oneandone/create_node.py     |    37 -
 .../compute/oneandone/create_private_network.py    |    13 -
 .../examples/compute/oneandone/create_public_ip.py |    13 -
 .../compute/oneandone/create_shared_storage.py     |    22 -
 .../compute/oneandone/instantiate_driver.py        |     9 -
 .../examples/compute/openstack/kilicloud_native.py |    10 -
 docs/examples/compute/profitbricks/__init__.py     |     0
 .../compute/profitbricks/create_datacenter.py      |    26 -
 docs/examples/compute/profitbricks/create_lan.py   |    20 -
 docs/examples/compute/profitbricks/create_node.py  |    50 -
 .../examples/compute/profitbricks/create_volume.py |    29 -
 .../compute/profitbricks/instantiate_driver.py     |     5 -
 docs/examples/dns/hostvirtual/__init__.py          |     0
 .../examples/dns/hostvirtual/instantiate_driver.py |     5 -
 docs/examples/loadbalancer/softlayer/__init__.py   |     0
 .../softlayer/add_list_remove_balancer_members.py  |    28 -
 .../loadbalancer/softlayer/destroy_balancer.py     |    11 -
 .../softlayer/ex_place_balancer_order.py           |    22 -
 .../loadbalancer/softlayer/list_balancers.py       |    13 -
 docs/index.rst                                     |     2 +-
 docs/loadbalancer/_supported_methods.rst           |     4 -
 docs/loadbalancer/_supported_providers.rst         |     4 -
 docs/loadbalancer/index.rst                        |     3 +-
 libcloud/common/dimensiondata.py                   |    78 -
 libcloud/common/gogrid.py                          |   177 -
 libcloud/common/hostvirtual.py                     |    79 -
 libcloud/common/nttcis.py                          |    78 -
 libcloud/common/softlayer.py                       |    77 -
 libcloud/compute/base.py                           |     8 +-
 libcloud/compute/drivers/__init__.py               |     8 -
 libcloud/compute/drivers/bluebox.py                |   238 -
 libcloud/compute/drivers/bsnl.py                   |    62 -
 libcloud/compute/drivers/cloudwatt.py              |   163 -
 libcloud/compute/drivers/ecp.py                    |   362 -
 libcloud/compute/drivers/elastichosts.py           |   259 -
 libcloud/compute/drivers/elasticstack.py           |   513 -
 libcloud/compute/drivers/gogrid.py                 |   448 -
 libcloud/compute/drivers/gridspot.py               |   123 -
 libcloud/compute/drivers/hostvirtual.py            |   477 -
 libcloud/compute/drivers/indosat.py                |    65 -
 libcloud/compute/drivers/joyent.py                 |   278 -
 libcloud/compute/drivers/kili.py                   |    76 -
 libcloud/compute/drivers/medone.py                 |    65 -
 libcloud/compute/drivers/nephoscale.py             |   461 -
 libcloud/compute/drivers/oneandone.py              |  2000 ---
 libcloud/compute/drivers/opennebula.py             |     8 +-
 libcloud/compute/drivers/profitbricks.py           |  3672 ----
 libcloud/compute/drivers/serverlove.py             |    84 -
 libcloud/compute/drivers/skalicloud.py             |    84 -
 libcloud/compute/drivers/softlayer.py              |   480 -
 libcloud/compute/drivers/voxel.py                  |   329 -
 libcloud/compute/providers.py                      |    36 -
 libcloud/compute/types.py                          |    45 -
 libcloud/container/drivers/joyent.py               |    83 -
 libcloud/container/providers.py                    |     1 -
 libcloud/container/types.py                        |     1 -
 libcloud/dns/drivers/hostvirtual.py                |   250 -
 libcloud/dns/drivers/softlayer.py                  |   189 -
 libcloud/dns/providers.py                          |     2 -
 libcloud/dns/types.py                              |     2 -
 libcloud/loadbalancer/drivers/__init__.py          |     2 +-
 libcloud/loadbalancer/drivers/gogrid.py            |   231 -
 libcloud/loadbalancer/drivers/softlayer.py         |   410 -
 libcloud/loadbalancer/providers.py                 |     5 -
 libcloud/loadbalancer/types.py                     |     2 -
 .../fixtures/bluebox/api_block_products_json.json  |     1 -
 .../fixtures/bluebox/api_block_templates_json.json |     1 -
 ..._99df878c_6e5c_4945_a635_d94da9fd3146_json.json |     1 -
 ...8c_6e5c_4945_a635_d94da9fd3146_json_delete.json |     1 -
 ...8c_6e5c_4945_a635_d94da9fd3146_reboot_json.json |     1 -
 .../compute/fixtures/bluebox/api_blocks_json.json  |     1 -
 .../fixtures/bluebox/api_blocks_json_post.json     |     1 -
 .../test/compute/fixtures/gogrid/image_list.json   |   180 -
 .../test/compute/fixtures/gogrid/image_save.json   |    62 -
 libcloud/test/compute/fixtures/gogrid/ip_list.json |    69 -
 .../compute/fixtures/gogrid/ip_list_empty.json     |    12 -
 .../fixtures/gogrid/lookup_list_ip_datacenter.json |    24 -
 .../compute/fixtures/gogrid/password_list.json     |   102 -
 .../test/compute/fixtures/gogrid/server_add.json   |    96 -
 .../compute/fixtures/gogrid/server_delete.json     |    97 -
 .../test/compute/fixtures/gogrid/server_edit.json  |    97 -
 .../test/compute/fixtures/gogrid/server_list.json  |    98 -
 .../test/compute/fixtures/gogrid/server_power.json |    97 -
 .../compute/fixtures/gogrid/server_power_fail.json |    97 -
 .../test/compute/fixtures/joyent/my_datasets.json  |     1 -
 .../test/compute/fixtures/joyent/my_machines.json  |     2 -
 .../fixtures/joyent/my_machines_create.json        |     1 -
 .../test/compute/fixtures/joyent/my_packages.json  |     1 -
 .../compute/fixtures/nephoscale/list_images.json   |   243 -
 .../compute/fixtures/nephoscale/list_keys.json     |    25 -
 .../fixtures/nephoscale/list_locations.json        |    31 -
 .../compute/fixtures/nephoscale/list_nodes.json    |   161 -
 .../fixtures/nephoscale/list_password_keys.json    |    18 -
 .../compute/fixtures/nephoscale/list_sizes.json    |   178 -
 .../compute/fixtures/nephoscale/list_ssh_keys.json |    18 -
 .../fixtures/nephoscale/success_action.json        |    11 -
 .../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 -
 .../fixtures/oneandone/describe_shared_stoage.json |    29 -
 .../fixtures/oneandone/ex_list_datacenters.json    |    26 -
 .../fixtures/oneandone/fixed_instance_sizes.json   |    70 -
 .../test/compute/fixtures/oneandone/get_image.json |    24 -
 .../fixtures/oneandone/get_server_image.json       |     4 -
 .../fixtures/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 -
 .../compute/fixtures/oneandone/list_servers.json   |   197 -
 .../fixtures/oneandone/list_shared_storages.json   |    64 -
 .../compute/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 -
 .../fixtures/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 -
 .../test/compute/fixtures/oneandone/public_ip.json |    15 -
 .../fixtures/oneandone/server_hardware.json        |    13 -
 .../test/compute/fixtures/oneandone/server_ip.json |     8 -
 .../compute/fixtures/oneandone/server_ips.json     |    10 -
 .../compute/fixtures/oneandone/shared_storage.json |    24 -
 libcloud/test/compute/fixtures/oneandone/ttt.json  |    73 -
 .../fixtures/profitbricks/attach_volume.json       |    34 -
 .../compute/fixtures/profitbricks/create_node.json |    37 -
 .../fixtures/profitbricks/create_volume.json       |    35 -
 .../profitbricks/create_volume_snapshot.json       |    30 -
 .../profitbricks/error_resource_not_found.json     |     8 -
 .../profitbricks/ex_create_datacenter.json         |    20 -
 .../profitbricks/ex_create_firewall_rule.json      |    24 -
 .../fixtures/profitbricks/ex_create_ip_block.json  |    22 -
 .../fixtures/profitbricks/ex_create_lan.json       |    17 -
 .../profitbricks/ex_create_load_balancer.json      |    39 -
 .../profitbricks/ex_create_network_interface.json  |    22 -
 .../profitbricks/ex_describe_datacenter.json       |   401 -
 .../profitbricks/ex_describe_firewall_rule.json    |    24 -
 .../fixtures/profitbricks/ex_describe_image.json   |    33 -
 .../profitbricks/ex_describe_ip_block.json         |    22 -
 .../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 -
 .../fixtures/profitbricks/ex_describe_node.json    |   111 -
 .../profitbricks/ex_describe_snapshot.json         |    30 -
 .../fixtures/profitbricks/ex_describe_volume.json  |    35 -
 .../profitbricks/ex_list_attached_volumes.json     |    77 -
 .../fixtures/profitbricks/ex_list_datacenters.json |    52 -
 .../profitbricks/ex_list_firewall_rules.json       |    79 -
 .../fixtures/profitbricks/ex_list_ip_blocks.json   |    50 -
 .../fixtures/profitbricks/ex_list_lans.json        |   157 -
 .../profitbricks/ex_list_load_balanced_nics.json   |    69 -
 .../profitbricks/ex_list_load_balancers.json       |   216 -
 .../profitbricks/ex_list_network_interfaces.json   |    69 -
 .../profitbricks/ex_rename_datacenter.json         |    46 -
 .../profitbricks/ex_update_firewall_rule.json      |    25 -
 .../fixtures/profitbricks/ex_update_image.json     |    33 -
 .../fixtures/profitbricks/ex_update_lan.json       |    24 -
 .../profitbricks/ex_update_load_balancer.json      |    18 -
 .../profitbricks/ex_update_network_interface.json  |    31 -
 .../fixtures/profitbricks/ex_update_node.json      |    44 -
 .../fixtures/profitbricks/ex_update_snapshot.json  |    30 -
 .../fixtures/profitbricks/ex_update_volume.json    |    35 -
 .../compute/fixtures/profitbricks/list_images.json |   205 -
 .../fixtures/profitbricks/list_locations.json      |    42 -
 .../compute/fixtures/profitbricks/list_nodes.json  |   169 -
 .../fixtures/profitbricks/list_snapshots.json      |    37 -
 .../fixtures/profitbricks/list_volumes.json        |   112 -
 .../fixtures/softlayer/SoftLayer_Account.xml       |    17 -
 libcloud/test/compute/fixtures/softlayer/empty.xml |     2 -
 libcloud/test/compute/fixtures/softlayer/fail.xml  |    17 -
 .../v3_SoftLayer_Account_getVirtualGuests.xml      |  1538 --
 ...oftLayer_Location_Datacenter_getDatacenters.xml |   121 -
 .../softlayer/v3__SoftLayer_Account_getSshKeys.xml |    63 -
 ...v3__SoftLayer_Security_Ssh_Key_createObject.xml |    39 -
 ...v3__SoftLayer_Security_Ssh_Key_deleteObject.xml |    15 -
 .../v3__SoftLayer_Security_Ssh_Key_getObject.xml   |    33 -
 .../v3__SoftLayer_Virtual_Guest_createObject.xml   |   142 -
 ...tLayer_Virtual_Guest_getCreateObjectOptions.xml | 12527 -------------
 .../v3__SoftLayer_Virtual_Guest_getObject.xml      |   519 -
 .../test/compute/fixtures/voxel/create_node.xml    |     7 -
 libcloud/test/compute/fixtures/voxel/failure.xml   |     1 -
 libcloud/test/compute/fixtures/voxel/images.xml    |    19 -
 libcloud/test/compute/fixtures/voxel/locations.xml |    10 -
 libcloud/test/compute/fixtures/voxel/nodes.xml     |    38 -
 libcloud/test/compute/fixtures/voxel/success.xml   |     1 -
 .../test/compute/fixtures/voxel/unauthorized.xml   |    11 -
 libcloud/test/compute/test_bluebox.py              |   118 -
 libcloud/test/compute/test_bsnl.py                 |    30 -
 libcloud/test/compute/test_cloudwatt.py            |    43 -
 libcloud/test/compute/test_ecp.py                  |   128 -
 libcloud/test/compute/test_elasticstack.py         |   257 -
 libcloud/test/compute/test_gogrid.py               |   299 -
 libcloud/test/compute/test_gridspot.py             |   222 -
 libcloud/test/compute/test_hostvirtual.py          |   203 -
 libcloud/test/compute/test_indosat.py              |    30 -
 libcloud/test/compute/test_joyent.py               |   148 -
 libcloud/test/compute/test_kili.py                 |    37 -
 libcloud/test/compute/test_medone.py               |    30 -
 libcloud/test/compute/test_nephoscale.py           |   179 -
 libcloud/test/compute/test_oneandone.py            |   831 -
 libcloud/test/compute/test_profitbricks.py         |  2442 ---
 libcloud/test/compute/test_softlayer.py            |   294 -
 libcloud/test/compute/test_voxel.py                |   169 -
 libcloud/test/container/test_joyent.py             |    33 -
 .../test/dns/fixtures/hostvirtual/get_record.json  |     8 -
 .../test/dns/fixtures/hostvirtual/get_zone.json    |    47 -
 .../dns/fixtures/hostvirtual/list_records.json     |    26 -
 .../fixtures/hostvirtual/list_records_none.json    |     6 -
 .../test/dns/fixtures/hostvirtual/list_zones.json  |    32 -
 .../fixtures/hostvirtual/zone_does_not_exist.json  |     6 -
 libcloud/test/dns/fixtures/softlayer/not_found.xml |    21 -
 ...ayer_Dns_Domain_ResourceRecord_createObject.xml |   331 -
 ...ayer_Dns_Domain_ResourceRecord_deleteObject.xml |     8 -
 ...tLayer_Dns_Domain_ResourceRecord_editObject.xml |     8 -
 ...ftLayer_Dns_Domain_ResourceRecord_getObject.xml |    81 -
 ...Dns_Domain_ResourceRecord_getObject_changed.xml |    81 -
 .../v3_SoftLayer_Dns_Domain_createObject.xml       |   506 -
 .../v3_SoftLayer_Dns_Domain_deleteObject.xml       |     8 -
 .../v3_SoftLayer_Dns_Domain_getByDomainName.xml    |    39 -
 .../v3_SoftLayer_Dns_Domain_getObject.xml          |    39 -
 .../v3_SoftLayer_Dns_Domain_getResourceRecords.xml |   297 -
 libcloud/test/dns/test_hostvirtual.py              |   261 -
 libcloud/test/dns/test_softlayer.py                |   242 -
 .../test/loadbalancer/fixtures/gogrid/ip_list.json |   316 -
 .../fixtures/gogrid/loadbalancer_add.json          |   141 -
 .../fixtures/gogrid/loadbalancer_edit.json         |   164 -
 .../fixtures/gogrid/loadbalancer_get.json          |   141 -
 .../fixtures/gogrid/loadbalancer_list.json         |   224 -
 .../fixtures/gogrid/unexpected_error.json          |     1 -
 .../v3__SoftLayer_Account_getAdcLoadBalancers.xml  |   802 -
 .../v3__SoftLayer_Billing_Item_cancelService.xml   |     8 -
 ...oftLayer_Location_Datacenter_getDatacenters.xml |   683 -
 ...ontroller_LoadBalancer_Service_deleteObject.xml |     8 -
 ...er_LoadBalancer_VirtualIpAddress_editObject.xml |     8 -
 ...oadBalancer_VirtualIpAddress_getBillingItem.xml |   147 -
 ...ler_LoadBalancer_VirtualIpAddress_getObject.xml |   803 -
 ...yer_Network_Subnet_IpAddress_getByIpAddress.xml |   148 -
 .../v3__SoftLayer_Product_Order_placeOrder.xml     |   709 -
 .../v3__SoftLayer_Product_Package_getItems.xml     |  5448 ------
 libcloud/test/loadbalancer/test_gogrid.py          |   198 -
 libcloud/test/loadbalancer/test_softlayer.py       |   184 -
 libcloud/test/secrets.py-dist                      |    10 -
 282 files changed, 22 insertions(+), 69790 deletions(-)