cinder.volume.drivers.coprhd.helpers.authentication Module¶Authentication(ipaddr, port)¶Bases: cinder.volume.drivers.coprhd.helpers.commoncoprhdapi.CoprHDResource
HEADERS = {'X-EMC-REST-CLIENT': 'TRUE', 'Content-Type': 'application/json', 'ACCEPT': 'application/json'}¶URI_AUTHENTICATION = '/login'¶URI_SERVICES_BASE = ''¶authenticate_user(username, password)¶Makes REST API call to generate the authentication token.
Authentication token is generated for the specified user after validation
| Parameters: |
|
|---|---|
| Returns: | The authtoken |
extract_error_detail(login_response)¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.