summaryrefslogtreecommitdiff
path: root/oslo_config/sources/_uri.py
Commit message (Collapse)AuthorAgeFilesLines
* User guide documentation for backend drivers for oslo.configRaildo Mascena2018-07-051-17/+50
| | | | | | | | | New documentation sections explaning how to use the backend drivers for oslo.config, also include explanation on how to use the remote_file driver. Change-Id: I45fc2155f6fe2d8bee058dac880afba8bb9bfd53 Blueprint: oslo-config-drivers
* add detail to driver options in config generatorDoug Hellmann2018-07-051-13/+4
| | | | | | | | | | | | | | | | | Have the main _list_opts caller construct the driver option so individual drivers do not need to repeat that. Add choices with descriptions when emitting samples. We don't really care about those for the runtime use, but they improve the output in the config generator and documentation. Use an OptGroup with the driver_option and dynamic_group_owner options set instead of just a group name when describing the options. Add sample_default values for some of the options in the URI driver. Change-Id: I14c0a046e6c70a9108308db70a4efb70613d5bb3 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Add example group for the URI driverMoises Guimaraes de Medeiros2018-06-251-10/+42
| | | | | | | | | Ensure the sample generator emits an example group with instructions on how to define extra URI sources. Change-Id: Ica556771d8dd37cb02d9ca69c04e888d187041ee Blueprint: oslo-config-drivers Signed-off-by: Moises Guimaraes de Medeiros <moguimar@redhat.com>
* Add config_source optionDoug Hellmann2018-06-251-0/+114
Define a config_source option that can be used to specify the alternative sources that require drivers to load configuration settings. Co-Authored-By: Moises Guimaraes de Medeiros <moguimar@redhat.com> Change-Id: Ibd5a6d306bb98d30d973dfe3604dcc0691d2e369 Blueprint: oslo-config-drivers Signed-off-by: Doug Hellmann <doug@doughellmann.com>