Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
µEYc@s0ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlmZddlZddl
Z
ddlmZddlZddlmZddlmZyddlZWnek
reZnXyddljZWnek
r>eZnXdejejjƒejƒejƒfZedgƒZ ej!e"ƒZ#ed„Z$d	ej%fd
„ƒYZ&de'fd„ƒYZ(d
„Z)d„Z*de'fd„ƒYZ+e,d„ejj-dƒDƒƒZ.dej/j0fd„ƒYZ1dS(iÿÿÿÿN(t
positional(turllib(t_utils(t
exceptionsskeystoneauth1/%s %s %s/%ssapplication/jsoncCsF|sBtjƒ}x-t|jƒD]}|j|tƒƒq"Wn|S(N(trequeststSessiontlisttadapterstmounttTCPKeepAliveAdapter(tsession_objtscheme((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyt_construct_session8s
t_JSONEncodercBseZd„ZRS(cCsvt|tjƒr|jƒSt|tjƒr;tj|ƒStr`t|tjƒr`tj|ƒSt	t
|ƒj|ƒS(N(t
isinstancetdatetimet	isoformattuuidtUUIDtsixt	text_typetnetaddrt	IPAddresstsuperR
tdefault(tselfto((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyRFs


(t__name__t
__module__R(((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyR
Dst_StringFormattercBs eZdZd„Zd„ZRS(s1A String formatter that fetches values on demand.cCs||_||_dS(N(tsessiontauth(RRR((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyt__init__Ts	cCsq|dkr$|jj|jƒ}n0|dkrH|jj|jƒ}nt|ƒ‚|smtd|ƒ‚n|S(Nt
project_idtuser_idsIThis type of authentication does not provide a %s that can be substituted(Rtget_project_idRtget_user_idtAttributeErrort
ValueError(Rtitemtvalue((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyt__getitem__Xs
(RRt__doc__R R)(((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyRQs	cCs¾td„tjjƒDƒƒ}d	}d}xŒtr¹|d7}yctj|ƒ}y<||jj}|jdƒ\}}}||kr‹|SWnt	k
rŸnXWq.t
k
rµPq.Xq.WdS(
sBWalk the call frames trying to identify what is using this module.css3|])\}}t|dƒr|j|fVqdS(t__file__N(thasattrR+(t.0tntm((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pys	<genexpr>ms	t
debtcollectort
keystoneauth1tkeystoneclientiit.t(s
debtcollectors
keystoneauth1R2(tdicttsystmodulestitemstTruet	_getframetf_codetco_filenamet	partitiontKeyErrorR&(t
mod_lookuptignoredtitftnamet_((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyt_determine_calling_packagegs"	


	cCsdd}ytjd}Wntk
r+dSX|s6dStjj|ƒ}||kr`tƒ}n|S(s
Attempt to programatically generate a user agent string.

    First, look at the name of the process. Return this unless it is in
    the `ignored` list.  Otherwise, look at the function call stack and
    try to find the name of the code that invoked this module.
    tmod_wsgiiR4(RF(R6targvt
IndexErrortostpathtbasenameRE(R@RC((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyt_determine_user_agent‘s

RcBsÙeZdZeZddddddfZdZedƒeeeeeeeeeeeed	„ƒZ	e
d
„ƒZejd„ƒZd„Z
d
„Zed„ƒZeƒeeeeeed„ƒZeƒeeeeeed„ƒZeƒeeeeeeeeeeeedeieed„ƒZdd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zed„Zed„Zed„Zed„Z ed „Z!ed!„Z"ed"„Z#RS(#su
Maintains client communication state and common functionality.

    As much as possible the parameters to this class reflect and are passed
    directly to the :mod:`requests` library.

    :param auth: An authentication plugin to authenticate the session with.
                 (optional, defaults to None)
    :type auth: keystoneauth1.plugin.BaseAuthPlugin
    :param requests.Session session: A requests session object that can be used
                                     for issuing requests. (optional)
    :param str original_ip: The original IP of the requesting user which will
                            be sent to identity service in a 'Forwarded'
                            header. (optional)
    :param verify: The verification arguments to pass to requests. These are of
                   the same form as requests expects, so True or False to
                   verify (or not) against system certificates or a path to a
                   bundle or CA certs to check against or None for requests to
                   attempt to locate and use certificates. (optional, defaults
                   to True)
    :param cert: A client certificate to pass to requests. These are of the
                 same form as requests expects. Either a single filename
                 containing both the certificate and key or a tuple containing
                 the path to the certificate then a path to the key. (optional)
    :param float timeout: A timeout to pass to requests. This should be a
                          numerical value indicating some amount (or fraction)
                          of seconds or 0 for no timeout. (optional, defaults
                          to 0)
    :param str user_agent: A User-Agent header string to use for the request.
                           If not provided, a default of
                           :attr:`~keystoneauth1.session.DEFAULT_USER_AGENT` is
                           used, which contains the keystoneauth1 version as
                           well as those of the requests library and which
                           Python is being used. When a non-None value is
                           passed, it will be prepended to the default.
    :param int/bool redirect: Controls the maximum number of redirections that
                              can be followed by a request. Either an integer
                              for a specific count or True/False for
                              forever/never. (optional, default to 30)
    :param dict additional_headers: Additional headers that should be attached
                                    to every request passing through the
                                    session. Headers of the same name specified
                                    per request will take priority.
    :param str app_name: The name of the application that is creating the
                         session. This will be used to create the user_agent.
    :param str app_version: The version of the application creating the
                            session. This will be used to create the
                            user_agent.
    :param list additional_user_agent: A list of tuple of name, version that
                                       will be added to the user agent. This
                                       can be used by libraries that are part
                                       of the communication process.
    i-i.i/i1i3i4iic

CsÎ||_t|ƒ|_||_||_||_d|_||_|	pNi|_	|
|_
||_|pog|_d|_
|dk	rœt|ƒ|_n|dk	r¾d|tf|_ntƒ|_dS(Ns%s %s(RRRtoriginal_iptverifytcerttNonettimeouttredirecttadditional_headerstapp_nametapp_versiontadditional_user_agentt_determined_user_agenttfloattDEFAULT_USER_AGENTt
user_agentR
t_json(
RRRRMRNRORQRZRRRSRTRURV((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyR ès"									cCs
|jjS(N(RR(R((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyRscCs||j_dS(N(RR(RR(((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyRscCs|jj||ƒdS(N(RR(RRtadapter((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyRscCs“y{tj|ƒ}d|krLd|dkrLd|dd<|jj|ƒSd|dkrzd|dd<|jj|ƒSWntk
rŽnX|S(Nttokentcatalogs	<removed>tserviceCatalogtaccess(tjsontloadsR[tencodet	Exception(Rtbodytdata((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyt_remove_service_catalogs
cCsdd	}|djƒ|kr`tjƒ}|j|djdƒƒ|jƒ}|dd|fS|S(
s'Redact the secure headers to be logged.t
authorizationsx-auth-tokensx-subject-tokensx-service-tokeniisutf-8s{SHA1}%s(s
authorizationsx-auth-tokensx-subject-tokensx-service-token(tlowerthashlibtsha1tupdateRct	hexdigest(theadertsecure_headersttoken_hashert
token_hash((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyt_process_header!sc
Cs’|jtjƒsdSdg}|jtkr>|jdƒn,t|jtjƒrj|jd|jƒn|r†|j	d|gƒn|rº|dt
jj|ƒ}|jd|ƒn
|j|ƒ|rx1|j
ƒD] }	|jd|j|	ƒƒqÚWn|r|jj|ƒ}n|rxt|tjƒrdy|jdƒ}Wqdtk
r`d	}qdXn|jd
|ƒn|jdj|ƒƒdS(NsREQ: curl -g -is
--insecures
--cacert "%s"s-Xt?s"%s"s-H "%s: %s"tasciis
<binary_data>s-d '%s't (tisEnabledFortloggingtDEBUGRNtFalsetappendRRtstring_typestextendRtparset	urlencodeR8RrR[Rctbinary_typetdecodetUnicodeDecodeErrortdebugtjoin(
RturltmethodRfRatheaderstquery_paramstloggertstring_partsRn((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyt_http_log_request-s6	
	

cCst|jtjƒsdS|dk	rÈ|s4|j}n|sF|j}n|sÈ|jjddƒ}xatD]7}|dk	rh|j|ƒrh|j	|j
ƒ}PqhqhWd}||djtƒf}qÈn|rã|jj
|ƒ}ndg}	|r|	jd|ƒn|r@x1|jƒD] }
|	jd|j|
ƒƒqWn|rZ|	jd|ƒn|jdj|	ƒƒdS(	Nscontent-typesOOmitted, Content-Type is set to %s. Only %s responses have their bodies logged.s, sRESP:s[%s]s%s: %ss
RESP BODY: %s
Ru(RvRwRxRPtstatus_codeR†tgett_LOG_CONTENT_TYPESt
startswithRgttextRƒR[RcRzR8RrR‚(RtresponseRaR‹R†RRˆtcontent_typetlog_typeR‰Rn((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyt_http_log_response]s6
		!ic#Ks¯|jdtƒƒ}|d kr9t|	p0|jƒ}n|r‚|j|	ƒ}|d krrd}tj|ƒ‚n|j|ƒnt	rž|jt	j
ƒƒntjj
|ƒjs0d }|rÕ|t||	ƒ}n!|rö|j|	d||}n|stjƒ‚nd|jdƒ|jdƒf}n|jrO|jd|jƒn|jd k	rt|jd|jƒn|r‡||d<nA|jr¨|jd|jƒ}n g}|jrà|jrà|jd|j|jfƒn|jrü|j|jƒnx"|jD]}|jd|ƒqW|rG|rG|jd||fƒn|r]|j|ƒn|s |jd krtƒ|_n|jr |j|jƒq n|jtƒ|jdd	j|ƒƒ}|jrñ|jd
d|j|fƒn|d k	r&|jdd
ƒ|j j!|ƒ|d<nx-|j"j#ƒD]\}}|j||ƒq6W|jd|j$ƒ|
r||
|d<n|j%dtƒƒ}|
rÎ|j&|d|d|j%dƒd|d|d|ƒnt'|d<|d krð|j(}nt)j*|j+||||
||ƒ}y|j,d|	ƒ}Wntj-k
r@nX|rW|j|ƒn||} |
rd }!|rŸ|j%dƒ}!|!sŸ|j%dƒ}!qŸn| j.j%dƒpÀ| j.j%dƒ}"|"r|j/di| j0j1d6|!d6| j2d6|"d6ƒqn| j3dkrk|rk|rk|j4|	ƒrk|j|	ƒ}|d k	rh|j|ƒ||} qhqkn|r«| j3dkr«|j/d| j3ƒtj5| ||ƒ‚n| S(!sèSend an HTTP request with the specified characteristics.

        Wrapper around `requests.Session.request` to handle tasks such as
        setting headers, JSON encoding/decoding, and error handling.

        Arguments that are not handled are passed through to the requests
        library.

        :param str url: Path or fully qualified URL of HTTP request. If only a
                        path is provided then endpoint_filter must also be
                        provided such that the base URL can be determined. If a
                        fully qualified URL is provided then endpoint_filter
                        will be ignored.
        :param str method: The http method to use. (e.g. 'GET', 'POST')
        :param str original_ip: Mark this request as forwarded for this ip.
                                (optional)
        :param dict headers: Headers to be included in the request. (optional)
        :param json: Some data to be represented as JSON. (optional)
        :param str user_agent: A user_agent to use for the request. If present
                               will override one present in headers. (optional)
        :param int/bool redirect: the maximum number of redirections that
                                  can be followed by a request. Either an
                                  integer for a specific count or True/False
                                  for forever/never. (optional)
        :param int connect_retries: the maximum number of retries that should
                                    be attempted for connection errors.
                                    (optional, defaults to 0 - never retry).
        :param bool authenticated: True if a token should be attached to this
                                   request, False if not or None for attach if
                                   an auth_plugin is available.
                                   (optional, defaults to None)
        :param dict endpoint_filter: Data to be provided to an auth plugin with
                                     which it should be able to determine an
                                     endpoint to use for this request. If not
                                     provided then URL is expected to be a
                                     fully qualified URL. (optional)
        :param str endpoint_override: The URL to use instead of looking up the
                                      endpoint in the auth plugin. This will be
                                      ignored if a fully qualified URL is
                                      provided but take priority over an
                                      endpoint_filter. This string may contain
                                      the values ``%(project_id)s`` and
                                      ``%(user_id)s`` to have those values
                                      replaced by the project_id/user_id of the
                                      current authentication. (optional)
        :param auth: The auth plugin to use when authenticating this request.
                     This will override the plugin that is attached to the
                     session (if any). (optional)
        :type auth: keystoneauth1.plugin.BaseAuthPlugin
        :param requests_auth: A requests library auth plugin that cannot be
                              passed via kwarg because the `auth` kwarg
                              collides with our own auth plugins. (optional)
        :type requests_auth: :py:class:`requests.auth.AuthBase`
        :param bool raise_exc: If True then raise an appropriate exception for
                               failed HTTP requests. If False then return the
                               request object. (optional, default True)
        :param bool allow_reauth: Allow fetching a new token and retrying the
                                  request on receiving a 401 Unauthorized
                                  response. (optional, default True)
        :param bool log: If True then log the request and response data to the
                         debug log. (optional, default True)
        :param logger: The logger object to use to log request and responses.
                       If not provided the keystoneauth1.session default
                       logger will be used.
        :type logger: logging.Logger
        :param dict allow: Extra filters to pass when discovering API
                           versions. (optional)
        :param kwargs: any other parameter that can be passed to
                       :meth:`requests.Session.request` (such as `headers`).
                       Except:

                       - `data` will be overwritten by the data in the `json`
                         param.
                       - `allow_redirects` is ignored as redirects are handled
                         by the session.

        :raises keystoneauth1.exceptions.base.ClientException: For connection
            failure, or to indicate an error response code.

        :returns: The response to the request.
        R†s$No valid authentication is availabletallows%s/%st/RORQs
User-AgentRut	Forwardedsfor=%s;by=%ssContent-Typesapplication/jsonRfRNRtparamsR…R‡Rˆtallow_redirectstservice_nametservice_typesx-openstack-request-idsx-compute-request-idsW%(method)s call to %(service_name)s for %(url)s used request id %(response_request_id)sR„tresponse_request_idi‘is#Request returned failure status: %sN(6t
setdefaultR5RPtboolRtget_auth_headersRtAuthorizationFailureRltosprofiler_webtget_trace_id_headersRR}turlparsetnetlocRtget_endpointtEndpointNotFoundtrstriptlstripRORQRZRTRURzRVRWRLRYRƒRMR[RcRSR8RNRŒRŠRyRRt	functoolstpartialt
_send_requesttget_auth_connection_paramstMissingAuthPluginR†R‚trequestR…R„R‹t
invalidatet
from_response(#RR„R…RaRMRZRRt
authenticatedtendpoint_filterRt
requests_autht	raise_exctallow_reauthtlogtendpoint_overridetconnect_retriesRˆR”tclient_nametclient_versiontkwargsR†tauth_headerstmsgtbase_urltagentt
additionaltktvR‡tsendtconnection_paramstrespR™t
request_id((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyR­sÎX%	
	 		
		


		

	
gà?cKsšyy|jj|||}	Wnètjjk
ra}
di|d6|
d6}tj|ƒ‚n©tjjk
rd|}tj|ƒ‚nztjjk
rÇ}
d||
f}tj|ƒ‚nCtjj	k
r	}
di|d6|
d6}tj
||
ƒ‚nXWn€tjk
r}
|dkr2‚n|jdi|
d	6|d
6ƒt
j|ƒ|j|||||d|dd
|d|SX|r­|jd|	d|ƒn|	j|jkr–t|tƒr×|}n|d8}|dk}|s÷|	Sy|	jd}
Wn$tk
r.|jd|	jƒq–X|j|
||||d||}t|jtƒszt|jƒ|_n|jjd|	ƒ|}	n|	S(Ns.SSL exception connecting to %(url)s: %(error)sR„terrorsRequest to %s timed outs(Unable to establish connection to %s: %ss+Unexpected exception for %(url)s: %(error)sis)Failure: %(e)s. Retrying in %(delay).1fs.tetdelayR·itconnect_retry_delayiRRˆtlocationsBFailed to redirect request to %s as new location was not provided.(RR­RRtSSLErrortTimeouttConnectTimeouttConnectionErrortConnectFailuretRequestExceptiontUnknownConnectionErrortRetriableConnectionFailuretinfottimetsleepRªR“R‹t_REDIRECT_STATUSESRRR†R>twarningR„thistoryRtinsert(RR„R…RRRµRˆR·RÉRºRÄRÇR¼tredirect_allowedRÊtnew_resp((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyRª“sf

	

	

			cKs|j|d|S(slPerform a HEAD request.

        This calls :py:meth:`.request()` with ``method`` set to ``HEAD``.

        tHEAD(R­(RR„Rº((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pytheadèscKs|j|d|S(sjPerform a GET request.

        This calls :py:meth:`.request()` with ``method`` set to ``GET``.

        tGET(R­(RR„Rº((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyRŒðscKs|j|d|S(slPerform a POST request.

        This calls :py:meth:`.request()` with ``method`` set to ``POST``.

        tPOST(R­(RR„Rº((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pytpostøscKs|j|d|S(sjPerform a PUT request.

        This calls :py:meth:`.request()` with ``method`` set to ``PUT``.

        tPUT(R­(RR„Rº((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pytputscKs|j|d|S(spPerform a DELETE request.

        This calls :py:meth:`.request()` with ``method`` set to ``DELETE``.

        tDELETE(R­(RR„Rº((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pytdeletescKs|j|d|S(snPerform a PATCH request.

        This calls :py:meth:`.request()` with ``method`` set to ``PATCH``.

        tPATCH(R­(RR„Rº((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pytpatchscCs8|s|j}n|s4d}tj||ƒ‚n|S(Ns An auth plugin is required to %s(RRR¬(RRR¼tmsg_fmt((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyt_auth_requiredscKs"|j|dƒ}|j||S(s.Return auth headers as provided by the auth plugin.

        :param auth: The auth plugin to use for token. Overrides the plugin
                     on the session. (optional)
        :type auth: keystoneauth1.plugin.BaseAuthPlugin

        :raises keystoneauth1.exceptions.auth.AuthorizationFailure:
            if a new token fetch fails.
        :raises keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin:
            if a plugin is not available.

        :returns: Authentication headers or None for failure.
        :rtype: :class:`dict`
        s
fetch a token(Rètget_headers(RRRº((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyRž"scCs|j|ƒpijdƒS(síReturn a token as provided by the auth plugin.

        :param auth: The auth plugin to use for token. Overrides the plugin
                     on the session. (optional)
        :type auth: keystoneauth1.plugin.BaseAuthPlugin

        :raises keystoneauth1.exceptions.auth.AuthorizationFailure:
             if a new token fetch fails.
        :raises keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin:
            if a plugin is not available.

        .. warning::
            **DEPRECATED**: This assumes that the only header that is used to
            authenticate a message is ``X-Auth-Token``. This may not be
            correct. Use :meth:`get_auth_headers` instead.

        :returns: A valid token.
        :rtype: string
        sX-Auth-Token(RžRŒ(RR((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyt	get_token4scKs"|j|dƒ}|j||S(s­Get an endpoint as provided by the auth plugin.

        :param auth: The auth plugin to use for token. Overrides the plugin on
                     the session. (optional)
        :type auth: keystoneauth1.plugin.BaseAuthPlugin

        :raises keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin:
            if a plugin is not available.

        :returns: An endpoint if available or None.
        :rtype: string
        sdetermine endpoint URL(RèR¤(RRRº((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyR¤Js
cKs”|j|dƒ}|j||}|jƒ}x9dD]1}y|j|ƒ||<Wq7tk
rgq7Xq7W|rtjt|jƒƒƒ‚n|S(sßReturn auth connection params as provided by the auth plugin.

        An auth plugin may specify connection parameters to the request like
        providing a client certificate for communication.

        We restrict the values that may be returned from this function to
        prevent an auth plugin overriding values unrelated to connection
        parmeters. The values that are currently accepted are:

        - `cert`: a path to a client certificate, or tuple of client
          certificate and key pair that are used with this request.
        - `verify`: a boolean value to indicate verifying SSL certificates
          against the system CAs or a path to a CA file to verify with.

        These values are passed to the requests library and further information
        on accepted values may be found there.

        :param auth: The auth plugin to use for tokens. Overrides the plugin
                     on the session. (optional)
        :type auth: keystoneauth1.plugin.BaseAuthPlugin

        :raises keystoneauth1.exceptions.auth.AuthorizationFailure:
            if a new token fetch fails.
        :raises keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin:
            if a plugin is not available.
        :raises keystoneauth1.exceptions.auth_plugins.UnsupportedParameters:
            if the plugin returns a parameter that is not supported by this
            session.

        :returns: Authentication headers or None for failure.
        :rtype: :class:`dict`
        sfetch connection paramsRORN(scertsverify(	Rètget_connection_paramstcopytpopR>RtUnsupportedParametersRtkeys(RRRºR—tparams_copytarg((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyR«Zs!

cCs|j|dƒ}|jƒS(sàInvalidate an authentication plugin.

        :param auth: The auth plugin to invalidate. Overrides the plugin on the
                     session. (optional)
        :type auth: keystoneauth1.plugin.BaseAuthPlugin

        tvalidate(RèR®(RR((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyR®scCs|j|dƒ}|j|ƒS(sBReturn the authenticated user_id as provided by the auth plugin.

        :param auth: The auth plugin to use for token. Overrides the plugin
                     on the session. (optional)
        :type auth: keystoneauth1.plugin.BaseAuthPlugin

        :raises keystoneauth1.exceptions.auth.AuthorizationFailure:
            if a new token fetch fails.
        :raises keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin:
            if a plugin is not available.

        :returns: Current user_id or None if not supported by plugin.
        :rtype: :class:`str`
        sget user_id(RèR$(RR((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyR$šscCs|j|dƒ}|j|ƒS(sHReturn the authenticated project_id as provided by the auth plugin.

        :param auth: The auth plugin to use for token. Overrides the plugin
                     on the session. (optional)
        :type auth: keystoneauth1.plugin.BaseAuthPlugin

        :raises keystoneauth1.exceptions.auth.AuthorizationFailure:
            if a new token fetch fails.
        :raises keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin:
            if a plugin is not available.

        :returns: Current project_id or None if not supported by plugin.
        :rtype: :class:`str`
        sget project_id(RèR#(RR((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyR#¬s($RRR*RPRZRÖt_DEFAULT_REDIRECT_LIMITRR9R tpropertyRtsetterRRgtstaticmethodRrt_loggerRŠR“R­RªRÝRŒRàRâRäRæRèRžRêR¤R«R®R$R#(((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyR¬sZ4					-	-				ÿT							
5ccs|]}t|ƒVqdS(N(tint(R-RÁ((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pys	<genexpr>¿sR3R	cBseZdZd„ZRS(s:The custom adapter used to set TCP Keep-Alive on all connections.

    This Adapter also preserves the default behaviour of Requests which
    disables Nagle's Algorithm. See also:
    http://blogs.msdn.com/b/windowsazurestorage/archive/2010/06/25/nagle-s-algorithm-is-not-friendly-towards-small-requests.aspx
    cOsd|krãtd
krãtjtjdftjtjdfg}ttdƒrp|tjtjdfg7}nttdƒr¨tj	r¨|tjtj
dfg7}nttdƒrÖ|tjtjd	fg7}n||d<ntt
|ƒj||ŽdS(Ntsocket_optionsiiitTCP_KEEPIDLEi<tTCP_KEEPCNTt
TCP_KEEPINTVLi(iii(tREQUESTS_VERSIONtsockettIPPROTO_TCPtTCP_NODELAYt
SOL_SOCKETtSO_KEEPALIVER,Rútutilstis_windows_linux_subsystemRûRüRR	tinit_poolmanager(RtargsRºRù((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyRÊs

(RRR*R(((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyR	Âs(2RR¨RjRaRwRItplatformRþR6RÔRRRRt	six.movesRR1RRRRtImportErrorRPtosprofiler.webtwebR t__version__tdefault_user_agenttpython_implementationtpython_versionRYtsetRt
get_loggerRR÷RtJSONEncoderR
tobjectRRERLRttupletsplitRýRtHTTPAdapterR	(((sJ/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/session.pyt<module>
sR




	*	ÿÿÿ"