ironic/releasenotes/notes/reserved-node-names-67a08012ed1131ae.yaml
Lucas Alvares Gomes 6be3448d40 Follow-up patch of 8e5e69869d
This patch is a follow-up patch of
8e5e69869d 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
2016-05-25 16:02:25 -04:00

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".