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

Instead of the existing EC2 demo, there should be a generalize demo module that works for demoing or interactively testing any driver class

    Details

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

      Description

      I found myself in need of live testing in working on an OpenStack driver. Though writing a driver-specific test/demo tool was an option, it's no more difficult to make one that works for any driver.

        Activity

        Hide
        kami Tomaz Muraus added a comment -

        Merged, thanks.

        I have made a minor change, because the tests were failing on Python 2.5:

        • self.driver = EucNodeDriver(EC2_ACCESS_ID, EC2_SECRET,
        • host="some.eucalyptus.com")
          + self.driver = EucNodeDriver(key=EC2_PARAMS[0], secret=EC2_PARAMS[1],
          + host='some.eucalyptus.com')

        Next time you can use tox command to automatically run tests on all the supported versions. Sadly you need to run it as root (sudo tox), because Python 2.5 depends on ssl module and you need root permissions to install it.

        Show
        kami Tomaz Muraus added a comment - Merged, thanks. I have made a minor change, because the tests were failing on Python 2.5: self.driver = EucNodeDriver(EC2_ACCESS_ID, EC2_SECRET, host="some.eucalyptus.com") + self.driver = EucNodeDriver(key=EC2_PARAMS [0] , secret=EC2_PARAMS [1] , + host='some.eucalyptus.com') Next time you can use tox command to automatically run tests on all the supported versions. Sadly you need to run it as root (sudo tox), because Python 2.5 depends on ssl module and you need root permissions to install it.
        Hide
        manganeez Mike Nerone added a comment -
        Show
        manganeez Mike Nerone added a comment - Pull request at: https://github.com/apache/libcloud/pull/22

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development