You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Tomaz Muraus (Commented) (JIRA)" <ji...@apache.org> on 2012/03/16 00:32:38 UTC

[dev] [jira] [Commented] (LIBCLOUD-167) Rackspace Drivers: Allow Connection Kwargs in Driver Constructor

    [ https://issues.apache.org/jira/browse/LIBCLOUD-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230705#comment-13230705 ] 

Tomaz Muraus commented on LIBCLOUD-167:
---------------------------------------

I would prefer to use a mixin class, because in the current patch there is a lot of copy and pasted code which just makes it harder to maintain.
                
> Rackspace Drivers: Allow Connection Kwargs in Driver Constructor
> ----------------------------------------------------------------
>
>                 Key: LIBCLOUD-167
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-167
>             Project: Libcloud
>          Issue Type: New Feature
>            Reporter: Dave King
>            Priority: Minor
>         Attachments: libcloud-167.patch
>
>
> The OpenStack Compute Driver allows specifying various connection arguments in its constructor, such as auth url/base url/auth version.
> Currently when instantiating drivers that use different connections I am just making new classes, this would remove that need.
> This updates the Rackspace DNS, Loadbalancer, and Storage drivers with the same functionality.  I investigated using a mixin briefly here but ran into failures in the tests, let me know if you would prefer me to investigate this further.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira