You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by micafer <gi...@git.apache.org> on 2018/09/26 06:53:55 UTC

[GitHub] libcloud pull request #1242: Implement new versions of OpenStack API calls [...

GitHub user micafer opened a pull request:

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

    Implement new versions of OpenStack API calls [LIBCLOUD-874]

    ## Implement new versions of OpenStack API calls [LIBCLOUD-874]
    
    ### Description
    
    This PR overwrite the usage of the deprecated nova API methods:
    - /os-volumes
    - /os-snapshots
    - /os-security-groups
    - /os-security-group-rules
    - /os-floating-ips
    - /os-floating-ip-pools
    
    Replacing them with corresponding calls to neutron and cinder.
    
    Also other minor fixes has been made as fixing the function parse_error to avoid error if "code" is not in the response message or fixing _to_port function to make it work with old OpenStack versions where some fields as: port_security_enabled or project_id are not returned by the API.
    
    ### Status
    
    - done, ready for review
    
    ### Checklist (tick everything that applies)
    
    - [x] [Code linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide) (required, can be done after the PR checks)
    - [x] Documentation
    - [x] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
    - [ ] [ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes) (required for bigger changes)


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

    $ git pull https://github.com/micafer/libcloud sec_groups

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

    https://github.com/apache/libcloud/pull/1242.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 #1242
    
----
commit b3d8b15b81a934d9364df168ae5433549a5a880e
Author: micafer <mi...@...>
Date:   2018-09-24T10:54:47Z

    Add cinder support LIBCLOUD-874

commit 1761c77c836faa0af53f390bc9ae012ab56e653b
Author: micafer <mi...@...>
Date:   2018-09-24T11:03:38Z

    Add cinder support LIBCLOUD-874

commit 78e96a51eaca71c0156553de599fbf6b9e1179f6
Author: micafer <mi...@...>
Date:   2018-09-24T13:19:43Z

    Add cinder support LIBCLOUD-874

commit 82b3dd034eb23e2ce7df01f11305a08b52c4773c
Author: micafer <mi...@...>
Date:   2018-09-24T14:10:39Z

    Add cinder support LIBCLOUD-874

commit 557e1e5fa661eb2dedc914913606ea5cdb7fcb90
Author: micafer <mi...@...>
Date:   2018-09-24T14:20:20Z

    Add cinder support LIBCLOUD-874

commit a65f4a6cc4439355ae3d39dec6f606e0470a992e
Author: micafer <mi...@...>
Date:   2018-09-24T14:32:58Z

    Add cinder support LIBCLOUD-874

commit b6103c7be4f22960b45cb5d24ee50a18fe16cc28
Author: micafer <mi...@...>
Date:   2018-09-24T15:13:29Z

    Move sec groups to neutron api LIBCLOUD-874

commit bd8318b53676f84e91ed775dc174545f00ac834b
Author: micafer <mi...@...>
Date:   2018-09-24T15:16:19Z

    Add cinder support LIBCLOUD-874

commit 860bfad85d108d77923acb8422bf561e58b68d16
Author: micafer <mi...@...>
Date:   2018-09-24T15:21:20Z

    Merge branch 'trunk' into sec_groups

commit c5add2fc8436088e07f20e9da3a6c7a491257101
Author: micafer <mi...@...>
Date:   2018-09-25T06:57:05Z

    Move sec groups to neutron api LIBCLOUD-874

commit 9cc717f2643e3375d729f04816e8df65ed5a52db
Author: micafer <mi...@...>
Date:   2018-09-25T13:35:28Z

    Move floatingips to neutron api LIBCLOUD-874

commit ef30fe7f9ec8f6fbe09e384485f933a1ec7904c9
Author: micafer <mi...@...>
Date:   2018-09-25T14:24:14Z

    Fix _to_port to make it work with old versions

commit bcbd0ca33c4ce4649e12d8289091a850bdc38ffd
Author: micafer <mi...@...>
Date:   2018-09-25T14:38:45Z

    Remove print

commit fbe0e2613b1f8e6a40164d7513b357602b73de8e
Author: micafer <mi...@...>
Date:   2018-09-25T14:54:01Z

    Update comment

----


---

[GitHub] libcloud pull request #1242: Implement new versions of OpenStack API calls [...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---