/usr/lib/python2.6/site-packages/novaclient
NameSizeModeActions
openstack/-0755rm
tests/-0755rm
v1_1/-0755rm
v2/-0755rm
api_versions.py135520644editdlrm
api_versions.pyc137060644editdlrm
auth_plugin.py49460644editdlrm
auth_plugin.pyc57840644editdlrm
base.py108690644editdlrm
base.pyc99830644editdlrm
client.py315860644editdlrm
client.pyc259010644editdlrm
crypto.py12930644editdlrm
crypto.pyc11230644editdlrm
exceptions.py72270644editdlrm
exceptions.pyc118160644editdlrm
extension.py14710644editdlrm
extension.pyc15690644editdlrm
i18n.py11440644editdlrm
i18n.pyc5610644editdlrm
service_catalog.py35210644editdlrm
service_catalog.pyc26970644editdlrm
shell.py360070644editdlrm
shell.pyc259140644editdlrm
utils.py122050644editdlrm
utils.pyc125050644editdlrm
__init__.py8390644editdlrm
__init__.pyc4670644editdlrm
Edit: /usr/lib/python2.6/site-packages/novaclient/service_catalog.pyc (2697B)
Ñò =vVc@s&ddkZdefd„ƒYZdS(iÿÿÿÿNtServiceCatalogcBsDeZdZd„Zd„Zd„Zddddddd„ZRS(s;Helper methods for dealing with a Keystone Service Catalog.cCs ||_dS(N(tcatalog(tselft resource_dict((sE/tmp/pip-build-cD3xZi/python-novaclient/novaclient/service_catalog.pyt__init__scCs|idddS(Ntaccessttokentid(R(R((sE/tmp/pip-build-cD3xZi/python-novaclient/novaclient/service_catalog.pyt get_tokenscCs|iddddS(NRRttenantR(R(R((sE/tmp/pip-build-cD3xZi/python-novaclient/novaclient/service_catalog.pyt get_tenant_idst publicURLc CsUg}d|ijoxo|idD]`}| p|||joA|idƒdjo'|idƒdjo|i|ƒq„q$q$W|ptiiƒ‚q¦nd|idjodS|idd} x,| D]$} | idƒ|joq×n|o*|djo| id ƒ|joq×n|o*|d jo| id ƒ|joq×n| d} x’| D]Š}| idƒdjo |iddƒdjoqmn| p"|i|ƒiƒ|iƒjo$| id ƒ|d <|i|ƒqmqmWq×W|ptiiƒ‚n9t|ƒd jotii d|ƒ‚n |d |SdS(s²Fetch the public URL from the Compute service for a particular endpoint attribute. If none given, return the first. See tests for sample service catalog. t endpointsttypetcomputet versionIds1.1t2tserviceCatalogRtnametvolumet serviceNameiiN(Ns1.1R(s1.1R( RtgettNonetappendt novaclientt exceptionstEndpointNotFoundtlowertlentAmbiguousEndpoints( Rtattrt filter_valuet service_typet endpoint_typet service_nametvolume_service_nametmatching_endpointstendpointRtserviceR ((sE/tmp/pip-build-cD3xZi/python-novaclient/novaclient/service_catalog.pyturl_for"sN "  N(t__name__t __module__t__doc__RRR RR'(((sE/tmp/pip-build-cD3xZi/python-novaclient/novaclient/service_catalog.pyRs   (tnovaclient.exceptionsRtobjectR(((sE/tmp/pip-build-cD3xZi/python-novaclient/novaclient/service_catalog.pyts