/usr/lib/python2.6/site-packages/keystoneauth1/fixture
NameSizeModeActions
discovery.py82120644editdlrm
discovery.pyc111210644editdlrm
exception.py8210644editdlrm
exception.pyc6440644editdlrm
keystoneauth_betamax.py25960644editdlrm
keystoneauth_betamax.pyc23520644editdlrm
v2.py74350644editdlrm
v2.pyc105430644editdlrm
v3.py145090644editdlrm
v3.pyc193430644editdlrm
__init__.py14800644editdlrm
__init__.pyc10390644editdlrm
Edit: /usr/lib/python2.6/site-packages/keystoneauth1/fixture/v3.pyc (19343B)
Ñò DVc@s~ddkZddkZddklZddklZdefd„ƒYZdefd„ƒYZdefd „ƒYZ dS( iÿÿÿÿN(t_utils(t exceptiont_ServicecBs2eZdZddd„Zddddd„ZRS(sÀOne of the services that exist in the catalog. You use this by adding a service to a token which returns an instance of this object and then you can add_endpoints to the service. cCsVh|p tiƒid6|d6|d6|d6|d6}|idgƒi|ƒ|S(Ntidt interfaceturltregiont region_idt endpoints(tuuidtuuid4thext setdefaulttappend(tselfRRRRtdata((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyt add_endpoints cCsˆg}|o#|i|id|d|ƒƒn|o#|i|id|d|ƒƒn|o#|i|id|d|ƒƒn|S(NtpublicRtadmintinternal(R R(RRRRRtret((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pytadd_standard_endpoints$s###N(t__name__t __module__t__doc__tNoneRR(((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyRs tTokencBseZdZd>d>d>d>d>d>d>d>d>d>d>d>d>d>d>d>d>d>d>d>d>d„Zed„ƒZed„ƒZeid„ƒZed„ƒZ e id„ƒZ ed„ƒZ e id„ƒZ ed „ƒZ e id „ƒZ ed „ƒZ ed „ƒZ e id „ƒZ ed„ƒZeid„ƒZed„ƒZeid„ƒZed„ƒZeid„ƒZed„ƒZeid„ƒZed„ƒZed„ƒZeid„ƒZed„ƒZeid„ƒZed„ƒZeid„ƒZed„ƒZeid„ƒZed„ƒZeid „ƒZed!„ƒZeid"„ƒZed#„ƒZeid$„ƒZed%„ƒZeid&„ƒZed'„ƒZeid(„ƒZed)„ƒZeid*„ƒZed+„ƒZeid,„ƒZed-„ƒZeid.„ƒZed/„ƒZeid0„ƒZed1„ƒZ e id2„ƒZ ed3„ƒZ!ed4„ƒZ"d5„Z#d>d>d6„Z$d>d>d7„Z%d>d>d>d>d8„Z&d>d>d9„Z'd>e(d>d>d:„Z)d>d>d;„Z*ed<„ƒZ+d=„Z,RS(?s[A V3 Keystone token that can be used for testing. This object is designed to allow clients to generate a correct V3 token for use in there test code. It should prevent clients from having to know the correct token format and allow them to test the portions of token handling that matter to them and not copy and paste sample. cCsKtt|ƒiƒ|p tiƒi|_|p tiƒi|_|p tiƒi|_|p tiƒi|_ |p tiƒi|_ |p dg}n|i i |ƒ|pt iddƒ}ny ||_Wn"ttfj o||_nX|p|itiddƒ}ny ||_Wn"ttfj o||_nX|p| p| p| o&|id|d| d| d | ƒn| p| o|id| d| ƒn|p|dj p|p|o&|id|d |d |d |ƒn|p|o|id |d|ƒn|o ||_ndS(NtpasswordtminutesithoursiRtnamet domain_idt domain_namet impersonationttrustee_user_idttrustor_user_idtaccess_token_idt consumer_id(tsuperRt__init__R R R tuser_idt user_nametuser_domain_idtuser_domain_nametaudit_idtmethodstextendRt before_utcnowtissuedt TypeErrortAttributeErrort issued_strtdatetimet timedeltatexpirest expires_strtset_project_scopetset_domain_scopeRtset_trust_scopet set_oauthtaudit_chain_id(RR6R0R(R)R*R+R-t project_idt project_nametproject_domain_idtproject_domain_nameRR ttrust_idttrust_impersonationR"R#toauth_access_token_idtoauth_consumer_idR,R<((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyR';sP      cCs|idhƒS(Nttoken(R (R((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pytrootxscCs|iidƒS(Nt expires_at(RFtget(R((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyR7|scCs||idÔscCs||iidhƒdØscCs(|iidhƒidhƒidƒS(NRQROR(RFRH(R((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyR?ÜscCs/|iidhƒ}||idhƒdR?R@(RRRRR ((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyR8xscCs6|p tiƒi|_|p tiƒi|_dS(N(R R R RR (RRR((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyR9scCsX|p tiƒi|_||_|p tiƒi|_|p tiƒi|_dS(N(R R R RARBR"R#(RRR!R"R#((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyR:ƒs cCs6|p tiƒi|_|p tiƒi|_dS(N(R R R RCRD(RR$R%((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyR;ŠscCs|iidƒS(Ntservice_providers(RFRH(R((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyRhŽscCsA|iidgƒ}h|d6|d6|d6}|i|ƒ|S(NRhRtauth_urltsp_url(RFR R (Rtsp_idt sp_auth_urlRjt_service_providerstsp((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pytadd_service_provider’s N(-RRRRR'tpropertyRFR7tsetterR6R3R0RNR(R)RPR*R+R-R=R>R?R@RR RARBR"R#RCRDR,R<R[R\RcRdRgR8R9tFalseR:R;RhRo(((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyR2sŒ     7   tV3FederationTokencBs;eZdZdZddddd„Zdddd„ZRS(sÇA V3 Keystone Federation token that can be used for testing. Similar to V3Token, this object is designed to allow clients to generate a correct V3 federation token for use in test code. t FederatedcCsS|pdg}tt|ƒid|ƒhtid6|_|i|||ƒdS(Ntsaml2R-R(R&RsR'tFEDERATED_DOMAIN_IDRPtadd_federation_info_to_user(RR-tidentity_providertprotocoltgroups((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyR'¢scCsphh|p tiƒid6|p tiƒid6|phtiƒid6gd6d6}|ii|ƒ|S(NRxRyRRzs OS-FEDERATION(R R R RNtupdate(RRxRyRzR((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyRw©s(N(RRRRvRR'Rw(((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyRs™s   ( R4R t keystoneauth1Rtkeystoneauth1.fixtureRtdictRRRs(((s?/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/fixture/v3.pyt s  ÿh