Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-110

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.1
    • Component/s: Compute
    • Labels:
      None

      Description

      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).

        Activity

        Hide
        manganeez Mike Nerone added a comment -

        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.

        Show
        manganeez Mike Nerone added a comment - 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.
        Hide
        manganeez Mike Nerone added a comment -

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

        Show
        manganeez Mike Nerone added a comment - Just noting here that I added some commits to the above pull request in response to feedback in IRC.

          People

          • Assignee:
            Unassigned
            Reporter:
            manganeez Mike Nerone
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development