Doug Hellmann 5379261c78 Add FAQ section to documentation
Bring the FAQ from the Wiki into the library documentation.

Change-Id: Ie5c074e0e437e8643b4d27425f80aed501a993bc
2015-03-05 17:35:36 -05:00

1.3 KiB

Frequently Asked Questions

Why does oslo.config have a CONF object? Global objects SUCK!

Indeed. Well, it's a long story and well documented in mailing list archives if anyone cares to dig up some links.

Around the time of the Folsom Design Summit, an attempt was made to remove our dependence on a global object like this. There was massive debate and, in the end, the rough consensus was to stick with using this approach.

Nova, through its use of the gflags library, used this approach from commit zero. Some OpenStack projects didn't initially use this approach, but most now do. The idea is that having all projects use the same approach is more important than the objections to the approach. Sharing code between projects is great, but by also having projects use the same idioms for stuff like this it makes it much easier for people to work on multiple projects.

This debate will probably never completely go away, though. See this latest discussion in August, 2014