[openstack-dev] [oslo.config] MultiStrOpt VS. ListOpt
Julien Danjou
julien at danjou.info
Wed May 6 13:21:21 UTC 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150506/4977ab4a/attachment.pgp>
More information about the OpenStack-dev
mailing list