Bases: cinder.volume.drivers.ibm.ibm_storage.ds8k_restclient.APIException
Exception raised for errors in the Authentication.
Bases: cinder.exception.VolumeBackendAPIException
Exception raised for errors in the REST APIs.
Bases: object
Inherit this class when you define your own connector.
close the connector.
If the connector uses persistent connection, please provide a way to close it in this method, otherwise you can just leave this method empty.
Input: None Output: None Exception: can raise any exceptions
send the request.
Input: see above Output:
if we reached the server and read an HTTP response: (INTEGER__HTTP_RESPONSE_STATUS_CODE, STRING__BODY_OF_RESPONSE_EVEN_IF_STATUS_NOT_200) if we were not able to reach the server or response was invalid HTTP(like certificate error, or could not resolve domain etc): (False, STRING__SHORT_EXPLANATION_OF_REASON_FOR_NOT_
REACHING_SERVER_OR_GETTING_INVALID_RESPONSE)
Bases: cinder.volume.drivers.ibm.ibm_storage.ds8k_restclient.AbstractRESTConnector
User can write their own connector and pass it to RESTScheduler.
Bases: cinder.volume.drivers.ibm.ibm_storage.ds8k_restclient.APIException
Exception raised for errors when LSS is full.
Bases: cinder.exception.VolumeBackendAPIException
Exception raised for errors when can not find available LSS.
Bases: object
This class is multithread friendly.
it isn’t optimally (token handling) but good enough for low-mid traffic.
Bases: cinder.volume.drivers.ibm.ibm_storage.ds8k_restclient.APIException
Exception raised when the request is time out.