6be3448d40
This patch is a follow-up patch of 8e5e69869df476788b3ccf7e5ba6c2210a98fc8a addressing some the remaining comments after the patch was merged. The changes are: * Optimize the code by generating the list of reserved words for the nodes controller only once. * List the reserved words in the release note. * Improve the error string when someone tries to name a node using a reserved word. * Add a comment for future reference indicating how we should try to model the API in case a new sub-controller needs to be added to the nodes controller class. Change-Id: I43d6d9e2e92cc941a7839c60d9cd361cd94b6208
7 lines
281 B
YAML
7 lines
281 B
YAML
---
|
|
fixes:
|
|
- Fixes a problem which allowed nodes to be named with some reserved
|
|
words that are implicitly not allowed due the way the Ironic API
|
|
works. The reserved words are "maintenance", "management", "ports",
|
|
"states", "vendor_passthru", "validate" and "detail".
|