Repository URL to install this package:
Version:
4.1.94.1.dev5 ▾
|
ó ÿ^¢`c @ s] d Z d d l m Z d d l m Z d Z d d Z d Z e d d Z d Z d S( s\ Common utilities for conf providers. This module does not provide any actual conf options. iÿÿÿÿ( t loading( t cfgt versiont min_versiont max_versionc C sl t j d t d | } x. | D]% } | j t k r | j | q q Wt j | d d d g d | | 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. t include_deprecatedt deprecated_optst valid_interfacest internalt publict service_type( t ks_loadingt get_adapter_conf_optionst Falset destt _ADAPTER_VERSION_OPTSt removeR t set_defaults( t default_service_typeR t optst opt( ( s4 /usr/lib/python2.7/dist-packages/dmapi/conf/utils.pyt get_ksa_adapter_opts s c C s t j | d d S( Nt typec S s d S( N( t None( t x( ( s4 /usr/lib/python2.7/dist-packages/dmapi/conf/utils.pyt <lambda>- s ( R t Opt( t name( ( s4 /usr/lib/python2.7/dist-packages/dmapi/conf/utils.pyt _dummy_opt* s c C s t | d | } t j | | d | | rA t j | | n | j t | d | d | x' t D] } | j t | d | qg Wd S( 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 R R t groupN( t getattrR t register_session_conf_optionst register_auth_conf_optionst register_optsR R t register_optR ( t confR R t include_authR R ( ( s4 /usr/lib/python2.7/dist-packages/dmapi/conf/utils.pyt register_ksa_opts0 s c C s i S( N( ( ( ( s4 /usr/lib/python2.7/dist-packages/dmapi/conf/utils.pyt list_optsP s N( s versionR R ( t __doc__t keystoneauth1R R t oslo_configR R R R R t TrueR% R&