/usr/lib/python2.6/site-packages/openstack
NameSizeModeActions
block_store/-0755rm
cluster/-0755rm
compute/-0755rm
database/-0755rm
identity/-0755rm
image/-0755rm
key_manager/-0755rm
message/-0755rm
metric/-0755rm
network/-0755rm
object_store/-0755rm
orchestration/-0755rm
telemetry/-0755rm
tests/-0755rm
connection.py113370644editdlrm
connection.pyc106290644editdlrm
exceptions.py31140644editdlrm
exceptions.pyc47190644editdlrm
format.py46130644editdlrm
format.pyc41750644editdlrm
module_loader.py9890644editdlrm
module_loader.pyc7290644editdlrm
profile.py70080644editdlrm
profile.pyc79800644editdlrm
proxy.py136030644editdlrm
proxy.pyc129350644editdlrm
proxy2.py144540644editdlrm
proxy2.pyc141080644editdlrm
resource.py391070644editdlrm
resource.pyc382400644editdlrm
resource2.py297640644editdlrm
service_filter.py53330644editdlrm
service_filter.pyc69030644editdlrm
session.py41990644editdlrm
session.pyc42960644editdlrm
utils.py28640644editdlrm
utils.pyc28080644editdlrm
__init__.py6630644editdlrm
__init__.pyc2900644editdlrm
Edit: /usr/lib/python2.6/site-packages/openstack/session.pyc (4296B)
Ñò 5 Wc @s©dZddkZddklZddklZddkZddklZddkl Z dei Z ei dƒZ d„Zd „Zd eifd „ƒYZdS( s© The :class:`~openstack.session.Session` overrides :class:`~keystoneauth1.session.Session` to provide end point filtering and mapping KSA exceptions to SDK exceptions. iÿÿÿÿN(t exceptions(tsession(tparsesopenstacksdk/%ss /v\d[\d.]*c CsÒti|ƒ}|i}ti|ƒ}|p!|id|id|iƒS|iƒ\}}|| }d|i||d|!ƒ}||o||i dƒnd} |id|i||| }|S(Ns://t/it( RturlparsetpathtVERSION_PATTERNtsearchtschemetnetloctget_pathtspantrstrip( tfiltturltresultRtvstrtstarttendtprefixtversiontpostfix((s7/tmp/pip-build-wCUybK/openstacksdk/openstack/session.pyt parse_url!s ! % cs‡fd†}|S(Ncsyˆ||ŽSWntij o¿}|idjoUtid|id|id|id|id|i d|i d|id |ƒ‚qti d|id|id|id|id|i d|i d|id |ƒ‚n4ti j o$}ti d|id |ƒ‚nXdS( Ni”tmessagetdetailstresponset request_idRtmethodt http_statustcause(t _exceptionst HttpErrorRRtNotFoundExceptionRRRRRRt HttpExceptiontClientExceptiont SDKException(targstkwargste(tfunc(s7/tmp/pip-build-wCUybK/openstacksdk/openstack/session.pytmap_exceptions_wrapper0s   ((R(R)((R(s7/tmp/pip-build-wCUybK/openstacksdk/openstack/session.pytmap_exceptions/stSessioncBs2eZdd„Zddd„Zed„ƒZRS(cKsY|dj od|tf|_n t|_tt|ƒid|i|||_dS(s6Create a new Keystone auth session with a profile. :param profile: If the user has any special profiles such as the service name, region, version or interface, they may be provided in the profile object. If no profiles are provided, the services that appear first in the service catalog will be used. :param user_agent: A User-Agent header string to use for the request. If not provided, a default of :attr:`~openstack.session.DEFAULT_USER_AGENT` is used, which contains the openstacksdk version When a non-None value is passed, it will be prepended to the default. :type profile: :class:`~openstack.profile.Profile` s%s %st user_agentN(tNonetDEFAULT_USER_AGENTR,tsuperR+t__init__tprofile(tselfR1R,R&((s7/tmp/pip-build-wCUybK/openstacksdk/openstack/session.pyR0Hs   cKsl|idƒ}|ii|ƒ}|idjo ||_ntt|ƒi||iƒ}t||ƒS(s4Override get endpoint to automate endpoint filteringt service_typeN( tgetR1t get_filtert interfaceR-R/R+t get_endpointR(R2tauthR6R&R3RR((s7/tmp/pip-build-wCUybK/openstacksdk/openstack/session.pyR7_s  !cOstt|ƒi||ŽS(N(R/R+trequest(R2R%R&((s7/tmp/pip-build-wCUybK/openstacksdk/openstack/session.pyR9isN(t__name__t __module__R-R0R7R*R9(((s7/tmp/pip-build-wCUybK/openstacksdk/openstack/session.pyR+Fs  (t__doc__tret keystoneauth1RRRt_sessiont openstacktsix.moves.urllibRt __version__R.tcompileRRR*R+(((s7/tmp/pip-build-wCUybK/openstacksdk/openstack/session.pyts