incubator-libcloud mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomaz Muraus (JIRA)" <j...@apache.org>
Subject [libcloud] [jira] Updated: (LIBCLOUD-47) Bug in dummy driver (_ip_to_int and _int_to_ip function)
Date Sat, 21 Aug 2010 05:59:16 GMT

     [ https://issues.apache.org/jira/browse/LIBCLOUD-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tomaz Muraus updated LIBCLOUD-47:
---------------------------------

    Attachment: dummy_driver.patch

Here is a patch.

I've moved the methods outside the class and changed how they are called inside the DummyNodeDriver
class.

Becauser these two functions are basically utility function which might get used somewhere
else in the future it makes sense to put them in a separate file with other utility functions.

> Bug in dummy driver (_ip_to_int and _int_to_ip function)
> --------------------------------------------------------
>
>                 Key: LIBCLOUD-47
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-47
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Core
>            Reporter: Tomaz Muraus
>         Attachments: dummy_driver.patch
>
>
> _ip_to_int and _int_to_ip function functions are defined inside a DummyNodeDriver class,
but don't accept "self" as a first argument and obviously this won't work and throws an exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message