nova/releasenotes/notes/notify_on_state_change_opt-e3c6f6664e143993.yaml
ChangBo Guo(gcb) 5f4dcdce16 Enhance value check for option notify_on_state_change
oslo.config provides parameter choices for class cfg.StrOpt to
make sure user's input must be in the choices. Option
notify_on_state_change only allow three values, so let's use
parameter choices.

UpgradeImpact: option notify_on_state_change allows three values:
'vm_state', 'vm_and_task_state', None, default value is None.

Change-Id: I94b2a8ab2584a4a31ef9644ad4f614a15636de8d
2016-04-04 18:52:10 +00:00

8 lines
294 B
YAML

---
upgrade:
- |
The ``notify_on_state_change`` configuration option was StrOpt, which would accept
any string or None in the previous release. Starting in the Newton release,
it allows only three values: None, ``vm_state``, ``vm_and_task_state``. The default
value is None.