summaryrefslogtreecommitdiff
path: root/ironic/api/controllers
diff options
context:
space:
mode:
authorJosh Gachnang <josh@pcsforeducation.com>2015-02-17 17:42:18 -0800
committerJim Rollenhagen <jim@jimrollenhagen.com>2015-03-13 15:42:11 -0700
commit7589d1faaf5415c12b2e738c6c09b17b65993235 (patch)
treef2c5c73ee18795f04cd608fe70706e8b6b1581b6 /ironic/api/controllers
parente807e28986f3b11a1569c2b4a4fddedef100a119 (diff)
downloadironic-7589d1faaf5415c12b2e738c6c09b17b65993235.tar.gz
Implement execute clean steps
This implements executing the clean steps in the conductor. The RPC API version is bumped to allow async clean steps to call back to the conductor. Adds node.clean_step to store the current cleaning operation. The conductor will get a list of clean steps from the node's drivers, order them by priority, and then have the drivers execute the steps in order. Adds a config option to enable cleaning, defaulting to True. Related-bug: #1174153 Implements blueprint implement-cleaning-states Change-Id: I96af133c501f86a6e620c4684ee65abad2111f7b
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 f2467f7e3..f6b76c833 100644
--- a/ironic/api/controllers/v1/node.py
+++ b/ironic/api/controllers/v1/node.py
@@ -651,7 +651,7 @@ class Node(base.APIBase):
provision_updated_at=time, instance_info={},
maintenance=False, maintenance_reason=None,
inspection_finished_at=None, inspection_started_at=time,
- console_enabled=False)
+ console_enabled=False, clean_step='')
# NOTE(matty_dubs): The chassis_uuid getter() is based on the
# _chassis_uuid variable:
sample._chassis_uuid = 'edcad704-b2da-41d5-96d9-afd580ecfa12'