/usr/lib/python2.6/site-packages/openstackclient/identity
Edit: /usr/lib/python2.6/site-packages/openstackclient/identity/client.pyc (2560B)
Ńņ
;vVc @ sĀ d d k Z d d k l Z d d k l Z d d k l Z e i e Z
d Z d Z d Z
h d d 6d d 6d
d 6Z h d d 6d d 6d
d 6Z d Z d Z d e i f d YZ d S( i’’’’N( t client( t auth( t utilst 2t os_identity_api_versiont identitys0 openstackclient.identity.client.IdentityClientv2s 2.0s keystoneclient.v3.client.Clientt 3t v2t v3c C sc t i t | i t t } t i d | t i d | i } | d | i d | i
| } | S( s# Returns an identity service client.s! Instantiating identity client: %st interfacet sessiont region_name( R t get_client_classt API_NAMEt _api_versiont API_VERSIONSt LOGt debugt build_kwargs_dictt
_interfaceR
t _region_name( t instancet identity_clientt kwargsR ( ( sO /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/identity/client.pyt make_client) s
c C s= | i d d d d t i d d d t d t i | S( s Hook to add global optionss --os-identity-api-versiont metavars
t defaultt OS_IDENTITY_API_VERSIONt helps Identity API version, default=s (Env: OS_IDENTITY_API_VERSION)( t add_argumentR t envt DEFAULT_API_VERSIONR t build_auth_plugins_option_parser( t parser( ( sO /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/identity/client.pyt build_option_parser= s t IdentityClientv2c B s e Z d Z d Z RS( s8 Tweak the earlier client class to deal with some changesc C s% | d j o | i St | d S( Nt projects( t tenantst AttributeError( t selft name( ( sO /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/identity/client.pyt __getattr__K s
( t __name__t
__module__t __doc__R) ( ( ( sO /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/identity/client.pyR# I s ( t loggingt keystoneclient.v2_0R t identity_client_v2t openstackclient.apiR t openstackclient.commonR t getLoggerR* R R t API_VERSION_OPTIONR
R t
AUTH_VERSIONSR R" t ClientR# ( ( ( sO /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/identity/client.pyt s$