[openstack-dev] [oslo.config] MultiStrOpt VS. ListOpt
Davanum Srinivas
davanum at gmail.com
Wed May 6 14:06:38 UTC 2015
ZhiQiang,
Please log a bug and we can try to do what jd suggested.
-- dims
On Wed, May 6, 2015 at 9:21 AM, Julien Danjou <julien at danjou.info> wrote:
> On Wed, May 06 2015, ZhiQiang Fan wrote:
>
>> I come across a problem that crudini cannot handle MultiStrOpt[1], I don't
>> know why such type configuration option is needed. It seems ListOpt is a
>> better choice. Currently I find lots of MultiStrOpt options in both Nova
>> and Ceilometer, and I think other projects have too.
>>
>> Here are my questions:
>>
>> 1) how can I update such type of option without manually rewrite the config
>> file? (like devstack scenario)
>> 2) Is there any way to migrate MultiStrOpt to ListOpt? The ListOpt will
>> take last specified value while MultiStrOpt takes all, so the compatibility
>> is a big problem
>>
>> Any hints?
>
> I didn't check extensively, but this is something I hit regularly. It
> seems to me we have to two types doing more or less the same things and
> mapping to the same data structure (i.e. list). We should unify them.
>
> --
> Julien Danjou
> // Free Software hacker
> // http://julien.danjou.info
>
> __________________________________________________________________________
> 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
>
--
Davanum Srinivas :: https://twitter.com/dims
More information about the OpenStack-dev
mailing list