You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Chris DeRamus (JIRA)" <ji...@apache.org> on 2014/02/09 13:55:19 UTC

[jira] [Commented] (LIBCLOUD-516) Add the ability to list sizes/flavors within Eucalyptus

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

Chris DeRamus commented on LIBCLOUD-516:
----------------------------------------

I've got the code and tests done at this point, but wanted to inquire about the best approach for the XML namespace. The DescribeInstanceTypes call is Eucalyptus specific and the namespace looks like this: http://pastebin.com/LxapvzAg. The call was introduced in version 3.3.0 so I don't want to hard set the API version to 3.4.1 which I'm currently doing. The Euca init function currently looks like this:

    def __init__(self, key, secret=None, secure=True, host=None,
                 path=None, port=None):
        """
        @inherits: :class:`EC2NodeDriver.__init__`

        :param    path: The host where the API can be reached.
        :type     path: ``str``
        """
        super(EucNodeDriver, self).__init__(key, secret, secure, host, port)
        if path is None:
            path = '/services/Eucalyptus'
        self.path = path
        self.EUCA_API_VERSION = '3.4.1'
        self.EUCA_NAMESPACE = 'http://msgs.eucalyptus.com/%s' % (self.EUCA_API_VERSION)

> Add the ability to list sizes/flavors within Eucalyptus
> -------------------------------------------------------
>
>                 Key: LIBCLOUD-516
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-516
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Chris DeRamus
>            Priority: Minor
>
> Add list_sizes into the EucNodeDriver which will call DescribeInstanceTypes. This call returns all sizes/flavors available within the Eucalyptus cluster.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)