summaryrefslogtreecommitdiff
path: root/ironic/api/controllers
diff options
context:
space:
mode:
authorRamakrishnan G <rameshg87@gmail.com>2015-09-22 03:19:57 +0000
committerRamakrishnan G <rameshg87@gmail.com>2015-09-22 03:21:29 +0000
commitd2afe204b7ae25eb8d20764fa9b400c4170ba94d (patch)
tree47fb0fcc9a303b8c6a0ddb207dbcdf85d9f0ee14 /ironic/api/controllers
parent38a4ebcdf8cf1c8b47bf1f9bd32e4d55b5e31a43 (diff)
downloadironic-d2afe204b7ae25eb8d20764fa9b400c4170ba94d.tar.gz
Allow unsetting node.target_raid_config
Currently we have no mechanism to unset node.target_raid_config. This should be possible because operators may decide to stop using RAID on the bare metal after using it for a while. Change-Id: Ifdb2017827a7962d353ae69e9b4fb24144e19f8e Closes-Bug: 1498275
Diffstat (limited to 'ironic/api/controllers')
-rw-r--r--ironic/api/controllers/v1/node.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/api/controllers/v1/node.py b/ironic/api/controllers/v1/node.py
index 89ce43ac7..664016b9c 100644
--- a/ironic/api/controllers/v1/node.py
+++ b/ironic/api/controllers/v1/node.py
@@ -357,7 +357,7 @@ class NodeStatesController(rest.RestController):
:param node_ident: the UUID or logical name of a node.
:param target_raid_config: Desired target RAID configuration of
- the node
+ the node. It may be an empty dictionary as well.
:raises: UnsupportedDriverExtension, if the node's driver doesn't
support RAID configuration.
:raises: InvalidParameterValue, if validation of target raid config