Merge remote-tracking branch 'apache/trunk' into requests
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/e1765b93 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e1765b93 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e1765b93 Branch: refs/heads/requests Commit: e1765b93c1702e398051fa450a693997aee3cce0 Parents: e24c859 f56db93 Author: anthony-shaw <anthony.p.s...@gmail.com> Authored: Tue Apr 5 17:53:59 2016 +1000 Committer: anthony-shaw <anthony.p.s...@gmail.com> Committed: Tue Apr 5 17:53:59 2016 +1000 ---------------------------------------------------------------------- CHANGES.rst | 25 ++ .../_supported_methods_block_storage.rst | 2 + .../_supported_methods_image_management.rst | 2 + .../_supported_methods_key_pair_management.rst | 2 + docs/compute/_supported_methods_main.rst | 2 + docs/compute/_supported_providers.rst | 2 + docs/dns/_supported_methods.rst | 2 + docs/dns/_supported_providers.rst | 2 + docs/dns/drivers/luadns.rst | 25 ++ docs/dns/drivers/nfsn.rst | 25 ++ docs/examples/dns/luadns/instantiate_driver.py | 5 + docs/examples/dns/nfsn/instantiate_driver.py | 5 + docs/loadbalancer/_supported_methods.rst | 2 + docs/loadbalancer/_supported_providers.rst | 2 + docs/storage/_supported_methods_cdn.rst | 4 + docs/storage/_supported_methods_main.rst | 6 +- docs/storage/_supported_providers.rst | 4 + libcloud/common/dimensiondata.py | 98 ++++++ libcloud/common/google.py | 5 - libcloud/common/luadns.py | 69 +++++ libcloud/common/nfsn.py | 114 +++++++ libcloud/compute/drivers/dimensiondata.py | 196 +++++++++++- libcloud/compute/drivers/ec2.py | 21 +- libcloud/dns/drivers/luadns.py | 293 ++++++++++++++++++ libcloud/dns/drivers/nfsn.py | 198 ++++++++++++ libcloud/dns/providers.py | 2 + libcloud/dns/types.py | 3 +- libcloud/storage/drivers/s3.py | 31 ++ libcloud/storage/providers.py | 2 + libcloud/storage/types.py | 2 + libcloud/test/common/test_nfsn.py | 65 ++++ ...a_9cbc_8dabe5a7d0e4_network_firewallRule.xml | 52 +++- ...dabe5a7d0e4_server_antiAffinityRule_list.xml | 42 +++ ...4_server_antiAffinityRule_list_PAGINATED.xml | 42 +++ ...cbc_8dabe5a7d0e4_antiAffinityRule_create.xml | 11 + ...dabe5a7d0e4_antiAffinityRule_create_FAIL.xml | 7 + ...cbc_8dabe5a7d0e4_antiAffinityRule_delete.xml | 7 + ...dabe5a7d0e4_antiAffinityRule_delete_FAIL.xml | 7 + libcloud/test/compute/test_dimensiondata.py | 222 +++++++++++++- .../fixtures/luadns/create_record_success.json | 10 + .../fixtures/luadns/create_zone_success.json | 10 + .../fixtures/luadns/delete_record_success.json | 0 .../fixtures/luadns/delete_zone_success.json | 0 .../dns/fixtures/luadns/empty_records_list.json | 1 + .../dns/fixtures/luadns/empty_zones_list.json | 1 + .../test/dns/fixtures/luadns/get_record.json | 10 + libcloud/test/dns/fixtures/luadns/get_zone.json | 42 +++ .../fixtures/luadns/record_does_not_exist.json | 1 + .../test/dns/fixtures/luadns/records_list.json | 22 ++ .../fixtures/luadns/zone_already_exists.json | 4 + .../fixtures/luadns/zone_does_not_exist.json | 1 + .../test/dns/fixtures/luadns/zones_list.json | 22 ++ .../test/dns/fixtures/nfsn/list_one_record.json | 9 + .../test/dns/fixtures/nfsn/list_records.json | 16 + .../dns/fixtures/nfsn/list_records_created.json | 23 ++ .../dns/fixtures/nfsn/record_not_removed.json | 4 + .../test/dns/fixtures/nfsn/zone_not_found.json | 4 + libcloud/test/dns/test_luadns.py | 306 +++++++++++++++++++ libcloud/test/dns/test_nfsn.py | 148 +++++++++ libcloud/test/secrets.py-dist | 1 + 60 files changed, 2215 insertions(+), 26 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/e1765b93/libcloud/test/compute/test_dimensiondata.py ----------------------------------------------------------------------