GitHub user Kami opened a pull request:

    https://github.com/apache/libcloud/pull/499

    [WIP] Azure Compute Driver

    This is a continuation of #305.
    
    My goal is to fix bugs, style issues, Python version compatibility issues 
and any other issues which might pop up during the review and testing and get 
this merged into trunk.
    
    As you can see in the commit log, I have already changed and fixed a bunch 
of things, but there are still issues I'm tracking down.
    
    For example, creating a new storage service returns 400 status code without 
any meaningful error message. I'm digging in, but I have no idea why this is 
happening yet.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Kami/libcloud 
LIBCLOUD-556_azure_compute_driver

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/499.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #499
    
----
commit 7930f7f15e049a9c0e2d3e3cedf634a1d23243ed
Author: Matt Baldwin <[email protected]>
Date:   2014-05-01T05:08:23Z

    Adding compute support for Microsoft Azure. The azure_compute.py
    driver can be used to crete, destroy, and so forth.

commit b3272dfb4ae0497a4683a85539c557a8405b5e78
Author: Matt Baldwin <[email protected]>
Date:   2014-05-01T05:18:01Z

    Updated azure_compute.py

commit 8d3a21c6dde249f8fd62baa596ebdb6dd73b0e6a
Author: Matt Baldwin <[email protected]>
Date:   2014-05-20T03:51:38Z

    I've re-factored the code with code pulled from the Azure SDK for Python. 
This is being done to eliminate the requirement for the Azure library to be 
pre-installed on the system. Users can now simply load up libcloud and be on 
their merry way with no external requirements.

commit 7495814cee3bba88a719a97368a6ff8d4532ed95
Author: Matt Baldwin <[email protected]>
Date:   2014-05-20T19:18:22Z

    Re-factored list_volumes.

commit 27a9f57f1e455d1ee49e01fd7be0e45396bd6838
Author: Matt Baldwin <[email protected]>
Date:   2014-05-20T19:52:04Z

    Re-factored destroy_node to not rely on the azure sdk library.

commit 816f40ac97944c130e0903e278896d149fc75ff0
Author: Matt Baldwin <[email protected]>
Date:   2014-05-20T22:06:25Z

    Re-factored create_node to not rely on the azure sdk library. All functions 
are now refactored and the import of that library is not required anymore. Onto 
testing.

commit 464a25acd7ad8e9de386fd7dc8d94ad5b72f32d0
Author: Matt Baldwin <[email protected]>
Date:   2014-05-20T22:07:56Z

    incremented the version

commit 058dbf59aa4d72e745633733a8259bd8c1aaa0b4
Author: Matt Baldwin <[email protected]>
Date:   2014-05-21T02:31:44Z

    Added Libcloud HTTP Error responses, node status map, cleaning things up.

commit fc92832871aaf30af63cd564ce93e0dd873f469c
Author: Matt Baldwin <[email protected]>
Date:   2014-05-21T20:03:29Z

    general clean-up

commit a006f0cf5cfa75888bf26aa474294a1b1e756236
Author: Matt Baldwin <[email protected]>
Date:   2014-05-21T20:17:07Z

    general clean-up

commit efa9900ac626dfa38f259e37af0288b3dcf7550b
Author: davidcrossland <[email protected]>
Date:   2014-05-23T16:17:12Z

    added connection

commit f47a2020a921f47812657aeabf4a97180e708a11
Author: davidcrossland <[email protected]>
Date:   2014-05-27T12:34:42Z

    modified how headers are added to the request, ensured create_node works

commit a3cf1f3dcf1aa6bd7f0295be9ad22e8013b2b15c
Author: davidcrossland <[email protected]>
Date:   2014-05-27T16:02:31Z

    added delete unit tests

commit dc280277bd57b2a4fb4c4b33217d47304753a823
Author: davidcrossland <[email protected]>
Date:   2014-05-28T14:17:28Z

    added additional unit tests, modified locations to return supported vm role 
sizes supported

commit 73a6a13263bafc67a3b05d8d342cfdfa5ea9067f
Author: davidcrossland <[email protected]>
Date:   2014-05-28T14:22:18Z

    modified destroy node logic so exception is thrown if deployment or node do 
not exist

commit 52dd73e4442d102d9ac4cc0a13e85515508b673c
Author: davidcrossland <[email protected]>
Date:   2014-05-29T12:53:28Z

    added create/destroy cloud service.  added unit tests for create node

commit c495a947a9b615040a7b05c131338a004d1bf035
Author: davidcrossland <[email protected]>
Date:   2014-05-29T14:01:23Z

    modified asyn call so that an explicit check for status codes can be 
achieved.  Added 307 to the list of possible errors, sometimes these are sent 
by azure

commit 50849a91804ada76586dfd2db6a644997929497e
Author: davidcrossland <[email protected]>
Date:   2014-05-30T09:57:39Z

    added dict of standard images, fixed some minor issues

commit 20140c1676cf4259ee00bc3a03f0da4b742d1cf5
Author: davidcrossland <[email protected]>
Date:   2014-05-30T10:45:00Z

    fixed small issue where unit tests did not run

commit b9be704dbf430f7a6a60b9745b81cdd2f6cafab2
Author: davidcrossland <[email protected]>
Date:   2014-05-30T14:02:28Z

    cleanup and re-ordering of code to meet submission requirements

commit 80a7193eeb8113d2a4ee4bcbfe8a32cd9d4dadb4
Author: davidcrossland <[email protected]>
Date:   2014-06-02T08:50:13Z

    modified test subscriptionId and associated files so it no longer uses 
elastacloud sub-id, ensured tests no longer rely on elastacloud pem file.  
Empty file in fixtures serves as an adequate replacement

commit c95da5eaf626511ad25a2b5e6347fc8622a3a372
Author: Richard Conway <[email protected]>
Date:   2014-06-02T11:15:48Z

    updated python file to include proper async polling

commit bac58450469fb6154dec1acacc148fec9028af07
Author: davidcrossland <[email protected]>
Date:   2014-06-02T13:11:13Z

    Modified async code to poll for status.  Modified unit tests accordingly

commit 397a15b3507f88d7df347f0c935910c9709c5d75
Author: davidcrossland <[email protected]>
Date:   2014-06-02T14:02:00Z

    reverting example_compute

commit 89fc8daf415c755b4d30eae172750bcff59f76fa
Author: Matt Baldwin <[email protected]>
Date:   2014-06-03T01:35:30Z

    Merge pull request #1 from davidcrossland/trunk
    
    code merge

commit 7435265c65cad93852055ecb75a043622a5e23fc
Author: davidcrossland <[email protected]>
Date:   2014-06-30T09:15:20Z

    modified test of create node response to 202 Accepted rather than 200 OK. 
Removed default VM image name map as its already out of date.  Ensure line 
lengths are no greater the 80 characters where appropriate.  Fixed unit tests

commit f9cda56e93c197b7f74cf407815f4181eb6b9c29
Author: davidcrossland <[email protected]>
Date:   2014-06-30T09:47:15Z

    Added tests for kwarg required parameters when calling create_node

commit 9ca9e413e6ac46c75db5a52bc735cacf9991e05b
Author: Matt Baldwin <[email protected]>
Date:   2014-07-01T18:06:31Z

    Merge pull request #2 from baldwinSPC/LIBCLOUD-556_azure_compute_driver
    
    Libcloud 556 azure compute driver

commit 7ce734c4c7c01fa01722bb4a12614debb7c750d1
Author: Matt Baldwin <[email protected]>
Date:   2014-07-01T18:12:09Z

    updated unit test to support linux pathing

commit 6612f4e02b5c5a287d0fb5f88336bfafcd2a5647
Author: Matt Baldwin <[email protected]>
Date:   2014-07-01T18:35:49Z

    converted to using libcloud.utils.urlquote and libcloud.utils.urlunquote

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to