ironic/releasenotes/notes/add-choice-to-some-options-9fb327c48e6bfda1.yaml
Lin Tan 1a4d589e28 Add choices option to several options
This will help user to avoid wrong configs, and oslo_config exception
ConfigFileValueError will be raised if a wrong value was given in the
config file.

The list of options:
[DEFAULT]/auth_strategy
[glance]/auth_strategy
[glance]/glance_protocol
[neutron]/auth_strategy
[amt]/protocol
[irmc]/remote_image_share_type
[irmc]/port
[irmc]/auth_method
[irmc]/sensor_method

Co-Authored-By: Anton Arefiev <aarefiev@mirantis.com>
Closes-Bug: 1502027
Change-Id: I63cdfbf4eb44c07f7fefa8301e9cda1289654c94
2016-01-14 10:16:16 +00:00

16 lines
658 B
YAML

---
upgrade:
- Add ``choices`` parameter to config options. Invalid values will be
rejected when first accessing them, which can happen in the middle of
deployment.
* [DEFAULT]/auth_strategy [keystone, noauth]
* [glance]/auth_strategy [keystone, noauth]
* [glance]/glance_protocol [http, https]
* [neutron]/auth_strategy [keystone, noauth]
* [amt]/protocol [http, https]
* [irmc]/remote_image_share_type [CIFS, NFS]
* [irmc]/port [443, 80]
* [irmc]/auth_method [basic, digest]
* [irmc]/sensor_method [ipmitool, scci]