Skip to content

[LIBCLOUD-682] Add fields for additional OpenStack size information#488

Closed
jimbobhickville wants to merge 1 commit into
apache:trunkfrom
jimbobhickville:682_add-flavor-data
Closed

[LIBCLOUD-682] Add fields for additional OpenStack size information#488
jimbobhickville wants to merge 1 commit into
apache:trunkfrom
jimbobhickville:682_add-flavor-data

Conversation

@jimbobhickville

Copy link
Copy Markdown

Adds:

  • swap - the amount of swap provisioned for the flavor
  • ephemeral_disk - the amount of non-root local storage for the flavor
    (from the OS-FLV-EXT-DATA extension used by Rackspace)
  • extra - additional metadata about the flavor
    (from the OS-FLV-WITH-EXT-SPECS extension used by Rackspace)

@allardhoeve

Copy link
Copy Markdown
Contributor

Hey Greg!

Thanks for contributing! Can you add some unittests to the openstack tests? That way we ensure that this added value keeps working in the future. Thanks!

@jimbobhickville

Copy link
Copy Markdown
Author

Oh, derp. Yes I can. I'll get the PR updated tomorrow.

Adds:
* swap - the amount of swap provisioned for the flavor
* ephemeral_disk - the amount of non-root local storage for the flavor
	(from the OS-FLV-EXT-DATA extension used by Rackspace)
* extra - additional metadata about the flavor
	(from the OS-FLV-WITH-EXT-SPECS extension used by Rackspace)
@jimbobhickville

Copy link
Copy Markdown
Author

I added some tests similar in style to the other openstack tests around it. Let me know if they are sufficient or you'd like to see more. Looks like the sizes didn't have much test coverage other than the pricing information, so I added a few other tests in there as well.

@jimbobhickville

Copy link
Copy Markdown
Author

@allardhoeve any feedback on the tests I added?

@allardhoeve

Copy link
Copy Markdown
Contributor

Looks good, but will wait for the tests to succeed

@jimbobhickville

Copy link
Copy Markdown
Author

Is there a reason they aren't running yet? It hasn't even tried to start them it seems.

@allardhoeve

allardhoeve commented Mar 26, 2015 via email

Copy link
Copy Markdown
Contributor

@jimbobhickville

Copy link
Copy Markdown
Author

More than a day slow? Wow, ok.

@allardhoeve

Copy link
Copy Markdown
Contributor

Travis CI is not fast. I've seen it be a day or two. Or get stuck. In that case I'll run the tests myself.

@allardhoeve

Copy link
Copy Markdown
Contributor

thanks, merged

@asfgit asfgit closed this in 4261d4e Mar 27, 2015
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