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    
dmapi / usr / lib / python2.7 / dist-packages / dmapi / conf / utils.pyc
Size: Mime:
ó
ÿ^¢`c@s]dZddlmZddlmZdZdd„Zd„Z	e
dd	„Zd
„ZdS(
s\Common utilities for conf providers.

This module does not provide any actual conf options.
iÿÿÿÿ(tloading(tcfgtversiontmin_versiontmax_versioncCsltjdtd|ƒ}x.|D]%}|jtkr |j|ƒq q Wtj|dddgd|ƒ|S(súGet auth, Session, and Adapter conf options from keystonauth1.loading.

    :param default_service_type: Default for the service_type conf option on
                                 the Adapter.
    :param deprecated_opts: dict of deprecated opts to register with the ksa
                            Adapter opts.  Works the same as the
                            deprecated_opts kwarg to:
                    keystoneauth1.loading.session.Session.register_conf_options
    :return: List of cfg.Opts.
    tinclude_deprecatedtdeprecated_optstvalid_interfacestinternaltpublictservice_type(t
ks_loadingtget_adapter_conf_optionstFalsetdestt_ADAPTER_VERSION_OPTStremoveRtset_defaults(tdefault_service_typeRtoptstopt((s4/usr/lib/python2.7/dist-packages/dmapi/conf/utils.pytget_ksa_adapter_optss	cCstj|dd„ƒS(NttypecSsdS(N(tNone(tx((s4/usr/lib/python2.7/dist-packages/dmapi/conf/utils.pyt<lambda>-s(RtOpt(tname((s4/usr/lib/python2.7/dist-packages/dmapi/conf/utils.pyt
_dummy_opt*scCsŽt|d|ƒ}tj||d|ƒ|rAtj||ƒn|jt|d|ƒd|ƒx'tD]}|jt|ƒd|ƒqgWdS(sžRegister keystoneauth auth, Session, and Adapter opts.

    :param conf: oslo_config.cfg.CONF in which to register the options
    :param group: Conf group, or string name thereof, in which to register the
                  options.
    :param default_service_type: Default for the service_type conf option on
                                 the Adapter.
    :param include_auth: For service types where Nova is acting on behalf of
                         the user, auth should come from the user context.
                         In those cases, set this arg to False to avoid
                         registering ksa auth options.
    :param deprecated_opts: dict of deprecated opts to register with the ksa
                            Session or Adapter opts.  See docstring for
                            the deprecated_opts param of:
                    keystoneauth1.loading.session.Session.register_conf_options
    RRtgroupN(	tgetattrRtregister_session_conf_optionstregister_auth_conf_optionst
register_optsRRtregister_optR(tconfRRtinclude_authRR((s4/usr/lib/python2.7/dist-packages/dmapi/conf/utils.pytregister_ksa_opts0s	
cCsiS(N((((s4/usr/lib/python2.7/dist-packages/dmapi/conf/utils.pyt	list_optsPsN(sversionRR(
t__doc__t
keystoneauth1RRtoslo_configRRRRRtTrueR%R&(((s4/usr/lib/python2.7/dist-packages/dmapi/conf/utils.pyt<module>s