MyDict
[source]¶Bases: dict
Custom non clearable dictionary.
Required to overcome the nature of oslo.config where configuration comes from files and command line input.
Using this dictionary we can load from memory everything and it won’t clear things when we dynamically load a driver and the driver has new configuration options.
setup
(config)[source]¶Setup persistence to be used in cinderlib.
By default memory persistance will be used, but there are other mechanisms available and other ways to use custom mechanisms:
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.