<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Thanks jordan for the quick answer, it looks interesting. </p>
<p>I forgot a detail: the section name is defined when registering options with the cfg.CONF.register_opts method. </p>
<div>
<pre>--
Maxime Cottret - Consultant Cloud/DataOps @ OBJECTIF-LIBRE
Mail : maxime.cottret@objectif-libre.com
Tel : 05 82 95 65 36 (standard)
Web : www.objectif-libre.com Twitter: @objectiflibre</pre>
</div>
<p>Le 2017-01-12 11:35, Jordan Pittier a écrit :</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>Hi,
Look at this file
<a href="https://github.com/openstack/tempest/blob/master/tempest/config.py">https://github.com/openstack/tempest/blob/master/tempest/config.py</a> and
search for "deprecated_opts" Not sure you can deprecate a whole
section, but you can set the old location (old section/old config
name) for each new config option.
On Thu, Jan 12, 2017 at 11:01 AM, Maxime Cottret
<<a href="mailto:maxime.cottret@objectif-libre.com">maxime.cottret@objectif-libre.com</a>> wrote:</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">Hi every one, I'm a new developer on Cloudkitty project and I was wondering how I can depreciate a section name in oslo.config. I'd like to rename a section for consistency and depreciate the old name before removing its use in the next cycle. I've looked into oslo.config documentation but couldn't manage a way to do it. Thanks in advance for your help. Regards -- Maxime Cottret - Consultant Cloud/DataOps @ OBJECTIF-LIBRE Mail : <a href="mailto:maxime.cottret@objectif-libre.com">maxime.cottret@objectif-libre.com</a> Tel : 05 82 95 65 36 (standard) Web : <a href="http://www.objectif-libre.com">www.objectif-libre.com</a> Twitter: @objectiflibre __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></blockquote>
</blockquote>
</body></html>