[openstack-dev] How change a section name in oslo.config but keep compatibility with the old format

Jordan Pittier jordan.pittier at scality.com
Thu Jan 12 10:35:28 UTC 2017


Hi,

Look at this file
https://github.com/openstack/tempest/blob/master/tempest/config.py 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
<maxime.cottret at objectif-libre.com> wrote:
> 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 : maxime.cottret at objectif-libre.com
> Tel : 05 82 95 65 36 (standard)
> Web : www.objectif-libre.com Twitter: @objectiflibre
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

-- 
 
<http://go.scality.com/acton/media/18585/gartner-magic-quadrant-object-storage?utm_campaign=MQ&utm_medium=Email&utm_source=signatures>



More information about the OpenStack-dev mailing list