Python oslo_config.cfg.DeprecatedOpt() Examples
The following are 2
code examples of oslo_config.cfg.DeprecatedOpt().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
oslo_config.cfg
, or try the search function
.
Example #1
Source File: keystone_client.py From vitrage with Apache License 2.0 | 5 votes |
def register_keystoneauth_opts(): ka_loading.register_auth_conf_options(CONF, CFG_GROUP) ka_loading.register_session_conf_options( CONF, CFG_GROUP, deprecated_opts={'cacert': [ cfg.DeprecatedOpt('os-cacert', group=CFG_GROUP), cfg.DeprecatedOpt('os-cacert', group="DEFAULT")] })
Example #2
Source File: keystone_client.py From aodh with Apache License 2.0 | 5 votes |
def register_keystoneauth_opts(conf): ka_loading.register_auth_conf_options(conf, CFG_GROUP) ka_loading.register_session_conf_options( conf, CFG_GROUP, deprecated_opts={'cacert': [ cfg.DeprecatedOpt('os-cacert', group=CFG_GROUP), cfg.DeprecatedOpt('os-cacert', group="DEFAULT")] })