The Session
overrides
Session
to provide end point filtering and
mapping KSA exceptions to SDK exceptions.
openstack.session.
Session
(profile, user_agent=None, **kwargs)¶Create a new Keystone auth session with a profile.
Parameters: |
|
---|
get_endpoint
(auth=None, interface=None, service_type=None, **kwargs)¶Override get endpoint to automate endpoint filtering
This method uses the service catalog to find the root URI of each service and then gets all available versions directly from the service, not from the service catalog.
Endpoints are cached per service type and interface combination so that they’re only requested from the remote service once per instance of this class.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.