Skip to content

LIBCLOUD-516: Add list_size() support into Eucalyptus for cluster versio...#249

Closed
cderamus wants to merge 2 commits into
apache:trunkfrom
DivvyCloud:LIBCLOUD-516_Add_Size_Support_To_Eucalyptus
Closed

LIBCLOUD-516: Add list_size() support into Eucalyptus for cluster versio...#249
cderamus wants to merge 2 commits into
apache:trunkfrom
DivvyCloud:LIBCLOUD-516_Add_Size_Support_To_Eucalyptus

Conversation

@cderamus
Copy link
Copy Markdown
Contributor

@cderamus cderamus commented Feb 9, 2014

...ns >= 3.3.0. In this version Eucalyptus introduced the DescribeInstanceTypes call which is specific to EUCA and is not AWS compatible. This call requires a different XML namespace.

…sions >= 3.3.0. In this version Eucalyptus introduced the DescribeInstanceTypes call which is specific to EUCA and is not AWS compatible. This call requires a different XML namespace.
@Kami
Copy link
Copy Markdown
Member

Kami commented Feb 9, 2014

Honestly, I don't think this approach is that bad.

Comment thread libcloud/compute/drivers/ec2.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be consistent with AWS stuff, I would promote those variables to module level constants.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now, this driver could also support standard api_version argument. This argument would default to DEFAULT_EUCA_API_VERSION (or smth).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not super familiar with Eucalyptus and am only using the community cloud at the moment. Is the API version something that can dynamically be pulled?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea. I know it can't be dynamically specified for AWS.

… constant. The API version now defaults to version 3.3.0 and can be changed by passing in the api_version keyword argument.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't api_version default to DEFAULT_EUCA_API_VERSION?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose so :)

@Kami
Copy link
Copy Markdown
Member

Kami commented Feb 12, 2014

I've made the api_version change and merged patch into trunk.

Thanks.

@asfgit asfgit closed this in 773cd3d Feb 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants