/usr/lib/python2.6/site-packages/cinderclient
NameSizeModeActions
openstack/-0755rm
tests/-0755rm
v1/-0755rm
v2/-0755rm
auth_plugin.py45680644editdlrm
auth_plugin.pyc57410644editdlrm
base.py91040644editdlrm
base.pyc81320644editdlrm
client.py207000644editdlrm
client.pyc173680644editdlrm
exceptions.py50490644editdlrm
exceptions.pyc76630644editdlrm
extension.py14090644editdlrm
extension.pyc15300644editdlrm
service_catalog.py35020644editdlrm
service_catalog.pyc25820644editdlrm
shell.py373030644editdlrm
shell.pyc261080644editdlrm
utils.py82250644editdlrm
utils.pyc95060644editdlrm
version.py7260644editdlrm
version.pyc3310644editdlrm
__init__.py9360644editdlrm
__init__.pyc4260644editdlrm
Edit: /usr/lib/python2.6/site-packages/cinderclient/exceptions.pyc (7663B)
Ρς =vVc@s±dZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZd efd „ƒYZd efd „ƒYZd efd„ƒYZdefd„ƒYZ defd„ƒYZ defd„ƒYZ defd„ƒYZ de fd„ƒYZ de fd„ƒYZde fd„ƒYZde fd„ƒYZde fd „ƒYZd!e fd"„ƒYZed#„e eeeeegDƒƒZd$„Zd%S(&s Exception definitions. tUnsupportedVersioncBseZdZRS(sTIndicates that the user is trying to use an unsupported version of the API. (t__name__t __module__t__doc__(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyRstInvalidAPIVersioncBseZRS((RR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyRst CommandErrorcBseZRS((RR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR stAuthorizationFailurecBseZRS((RR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR$st NoUniqueMatchcBseZRS((RR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR(stAuthSystemNotFoundcBs eZdZd„Zd„ZRS(s8When the user specifies an AuthSystem but not installed.cCs ||_dS(N(t auth_system(tselfR ((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyt__init__.scCsdt|iƒS(NsAuthSystemNotFound: %s(treprR (R ((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyt__str__1s(RRRR R (((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR,s tNoTokenLookupExceptioncBseZdZRS(seThis form of authentication does not support looking up endpoints from an existing token. (RRR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR5stEndpointNotFoundcBseZdZRS(s4Could not find Service or Region in Service Catalog.(RRR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR<stConnectionErrorcBseZdZRS(s/Could not open a connection to the API service.(RRR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyRAstAmbiguousEndpointscBs#eZdZdd„Zd„ZRS(s9Found more than one matching endpoint in Service Catalog.cCs ||_dS(N(t endpoints(R R((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR HscCsdt|iƒS(NsAmbiguousEndpoints: %s(R R(R ((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR KsN(RRRtNoneR R (((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyRFs tClientExceptioncBs)eZdZdddd„Zd„ZRS(sJ The base exception class for all exceptions this library raises. cCs>||_|pt|iddƒ|_||_||_dS(Ntmessage(tcodetgetattrt __class__RRtdetailst request_id(R RRRR((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR Ss  cCs9d|i|if}|io|d|i7}n|S(Ns %s (HTTP %s)s (Request-ID: %s)(RRR(R tformatted_string((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR [s N(RRRRR R (((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyROst BadRequestcBseZdZdZdZRS(s? HTTP 400 - Bad request: you sent some malformed data. is Bad request(RRRt http_statusR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyRcst UnauthorizedcBseZdZdZdZRS(s3 HTTP 401 - Unauthorized: bad credentials. i‘R(RRRRR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyRkst ForbiddencBseZdZdZdZRS(s\ HTTP 403 - Forbidden: your credentials don't give you access to this resource. i“R(RRRRR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyRsstNotFoundcBseZdZdZdZRS(s HTTP 404 - Not found i”s Not found(RRRRR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR |st OverLimitcBseZdZdZdZRS(sQ HTTP 413 - Over limit: you're over the API limits for this time period. is Over limit(RRRRR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR!„stHTTPNotImplementedcBseZdZdZdZRS(sQ HTTP 501 - Not Implemented: the server does not support this operation. iυsNot Implemented(RRRRR(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyR"sccs"x|]}|i|fVqWdS(N(R(t.0tc((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pys ›s c Csΰti|itƒ}|io|iidƒ}nd }|o{d}d}t|dƒo<|t|ƒd}|id|ƒ}|id|ƒ}n|d|id|d|d|ƒS|d|id|d|iƒSd S( sψ Return an instance of a ClientException or subclass based on a requests response. Usage:: resp, body = requests.request(...) if resp.status_code != 200: raise exceptions.from_response(resp, resp.text) sx-compute-request-idsn/atkeysiRRRRN( t _code_maptgett status_codeRtheadersRthasattrtlisttreason(tresponsetbodytclsRRRterror((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyt from_response s  N(Rt ExceptionRRRRRRRRRRRRRRR R!R"tdictR&R1(((sD/tmp/pip-build-cD3xZi/python-cinderclient/cinderclient/exceptions.pyts*