Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

new call wrappers for limits, quota-sets, tenant-usage and hypervisors #89

Closed
wants to merge 6 commits into from

Conversation

rochaporto
Copy link
Contributor

This pull request contains two commits for the functionality describe in the title.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.39%) when pulling d54422e on rochaporto:master into f7a00dc on aviator:master.

@relaxdiego
Copy link
Member

Thanks for your PR, @rochaporto! Before I accept this, can you add the tests alongside your code?

@rochaporto
Copy link
Contributor Author

Sure! Will do it next week.

@relaxdiego
Copy link
Member

Awesome. Thanks a lot for your work!

On Thursday, May 22, 2014, Ricardo Rocha notifications@github.com wrote:

Sure! Will do it next week.


Reply to this email directly or view it on GitHubhttps://github.com//pull/89#issuecomment-43966074
.

adds the network service branch in openstack calls.

also adds two initial calls for network/neutron:
- floatingips (listing)
- quotas (listing)

both taking a tenant_id as a parameter.
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.0%) when pulling 9392990 on rochaporto:master into 27731a1 on aviator:master.

@relaxdiego
Copy link
Member

@rochaporto You'll need to include the cassettes generated by your tests with your commit. Those are needed by the CI since it doesn't have access to a live OpenStack environment when it runs the tests.

link 'documentation',
'http://api.openstack.org/api-ref-compute-v2.html#compute_limits'

param :tenant_id, required: false
Copy link
Member

Choose a reason for hiding this comment

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

required: false and other similar code need to be converted to the hashrocket style :required => false since the former does not work with Ruby 1.8. Personally, I'd rather use the newstyle but since other projects still need to use this library with Ruby 1.8 (e.g. Puppet), we need to accommodate them.

@rochaporto
Copy link
Contributor Author

Ups sorry about that i didn't mean to push it all here.

@relaxdiego
Copy link
Member

No worries @rochaporto. Let me know if you need help with this PR. I'd like to merge this soon.

@relaxdiego
Copy link
Member

Hi @rochaporto. I'm going to close this PR in the meantime since these changes have diverged from the master branch. You will need to rebase your changes to master and resolve any conflicts. I did, however, cherry-pick one of your changes and merged to master in case you need a reference. The merged code is here: 97eff09

Again, thank you very much for your work!

@relaxdiego relaxdiego closed this Oct 3, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants