Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get Cloud Networks client using a context #381

Closed
rs-randallburt opened this issue May 20, 2014 · 1 comment
Closed

Cannot get Cloud Networks client using a context #381

rs-randallburt opened this issue May 20, 2014 · 1 comment

Comments

@rs-randallburt
Copy link
Contributor

When using contexts:

ctx = pyrax.create_context('rackspace')
ctx.auth_with_token(...)

The following call fails because there isn't a "networks" entry in the service catalog:

ctx.get_client("networks", "IAD")

The non-contextual pyrax has special handling of the "compute:network" type that uses the compute endpoint to get a networks client. It would be helpful if this were the case with contexts as well.

@EdLeafe
Copy link
Contributor

EdLeafe commented May 23, 2014

Good catch. I'll have to add some special-case code to handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants