|
pyrax
Python Bindings for the Rackspace Cloud
|
Helper methods for dealing with a Keystone Service Catalog. More...
Public Member Functions | |
| def | __init__ |
| def | get_token |
| Extracts and returns the authentication token. | |
| def | url_for |
| Fetches the public URL from the given service for a particular endpoint attribute. | |
Public Attributes | |
| catalog | |
Helper methods for dealing with a Keystone Service Catalog.
| def __init__ | ( | self, | |
| resource_dict | |||
| ) |
| def get_token | ( | self | ) |
Extracts and returns the authentication token.
| def url_for | ( | self, | |
attr = None, |
|||
filter_value = None, |
|||
service_type = None, |
|||
endpoint_type = "publicURL", |
|||
service_name = None, |
|||
volume_service_name = None |
|||
| ) |
Fetches the public URL from the given service for a particular endpoint attribute.
If none given, returns the first. See tests for sample service catalog.
1.7.6.1