You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Mike Nerone (JIRA)" <ji...@apache.org> on 2011/09/06 19:33:09 UTC

[dev] [jira] [Created] (LIBCLOUD-110) The class inheritance between the OpenStack and Rackspace drivers is inverted.

The class inheritance between the OpenStack and Rackspace drivers is inverted.
------------------------------------------------------------------------------

                 Key: LIBCLOUD-110
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-110
             Project: Libcloud
          Issue Type: Improvement
          Components: Compute
            Reporter: Mike Nerone


In the current state of the computer drivers, the exists an inverted inheritance in that OpenStack inherits from Rackspace, where Rackspace (and potentially other specific OpenStack providers) should rather inherit from OpenStack. This inversion complicated several things:

* Support for multiple OpenStack providers.
* Support for multiiple OpenStack API versions in general.
* Separately, future migration of the Rackspace driver to a new OpenStack version (e.g. migrating Rackspace to OpenStack 1.1 would migrate all OpenStack subclasses to 1.1).


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Commented] (LIBCLOUD-110) The class inheritance between the OpenStack and Rackspace drivers is inverted.

Posted by "Mike Nerone (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LIBCLOUD-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098189#comment-13098189 ] 

Mike Nerone commented on LIBCLOUD-110:
--------------------------------------

I've implemented changes to correct this inversion and created a pull request in GitHub:

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

Note: these changes attempt almost no functional change, and serve only to correct the above issues and pave the way for multi-version/provider support.

> The class inheritance between the OpenStack and Rackspace drivers is inverted.
> ------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-110
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-110
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Mike Nerone
>
> In the current state of the computer drivers, the exists an inverted inheritance in that OpenStack inherits from Rackspace, where Rackspace (and potentially other specific OpenStack providers) should rather inherit from OpenStack. This inversion complicated several things:
> * Support for multiple OpenStack providers.
> * Support for multiiple OpenStack API versions in general.
> * Separately, future migration of the Rackspace driver to a new OpenStack version (e.g. migrating Rackspace to OpenStack 1.1 would migrate all OpenStack subclasses to 1.1).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Updated] (LIBCLOUD-110) The class inheritance between the OpenStack and Rackspace drivers is inverted.

Posted by "Tomaz Muraus (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Muraus updated LIBCLOUD-110:
----------------------------------

    Fix Version/s: 0.6.0

> The class inheritance between the OpenStack and Rackspace drivers is inverted.
> ------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-110
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-110
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Mike Nerone
>             Fix For: 0.6.0
>
>
> In the current state of the computer drivers, the exists an inverted inheritance in that OpenStack inherits from Rackspace, where Rackspace (and potentially other specific OpenStack providers) should rather inherit from OpenStack. This inversion complicated several things:
> * Support for multiple OpenStack providers.
> * Support for multiiple OpenStack API versions in general.
> * Separately, future migration of the Rackspace driver to a new OpenStack version (e.g. migrating Rackspace to OpenStack 1.1 would migrate all OpenStack subclasses to 1.1).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Resolved] (LIBCLOUD-110) The class inheritance between the OpenStack and Rackspace drivers is inverted.

Posted by "Tomaz Muraus (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Muraus resolved LIBCLOUD-110.
-----------------------------------

    Resolution: Fixed

> The class inheritance between the OpenStack and Rackspace drivers is inverted.
> ------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-110
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-110
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Mike Nerone
>             Fix For: 0.6.0
>
>
> In the current state of the computer drivers, the exists an inverted inheritance in that OpenStack inherits from Rackspace, where Rackspace (and potentially other specific OpenStack providers) should rather inherit from OpenStack. This inversion complicated several things:
> * Support for multiple OpenStack providers.
> * Support for multiiple OpenStack API versions in general.
> * Separately, future migration of the Rackspace driver to a new OpenStack version (e.g. migrating Rackspace to OpenStack 1.1 would migrate all OpenStack subclasses to 1.1).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Commented] (LIBCLOUD-110) The class inheritance between the OpenStack and Rackspace drivers is inverted.

Posted by "Mike Nerone (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LIBCLOUD-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098536#comment-13098536 ] 

Mike Nerone commented on LIBCLOUD-110:
--------------------------------------

Just noting here that I added some commits to the above pull request in response to feedback in IRC.

> The class inheritance between the OpenStack and Rackspace drivers is inverted.
> ------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-110
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-110
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Mike Nerone
>
> In the current state of the computer drivers, the exists an inverted inheritance in that OpenStack inherits from Rackspace, where Rackspace (and potentially other specific OpenStack providers) should rather inherit from OpenStack. This inversion complicated several things:
> * Support for multiple OpenStack providers.
> * Support for multiiple OpenStack API versions in general.
> * Separately, future migration of the Rackspace driver to a new OpenStack version (e.g. migrating Rackspace to OpenStack 1.1 would migrate all OpenStack subclasses to 1.1).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira