troveclient.service_catalog module

troveclient.service_catalog module

class troveclient.service_catalog.ServiceCatalog(resource_dict)

Bases: object

Helper methods for dealing with a Keystone Service Catalog.

get_token()
url_for(attr=None, filter_value=None, service_type=None, endpoint_type='publicURL', service_name=None, database_service_name=None)

Fetch the public URL from the Compute service for a particular endpoint attribute. If none given, return the first. See tests for sample service catalog.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.