From 3284cd91507b1a4d03f80e7e50f8705dbc83c32d Mon Sep 17 00:00:00 2001 From: Sasha Chuzhoy Date: Wed, 1 Feb 2017 10:01:45 -0500 Subject: [PATCH] Adding clean-steps via json string examples Change-Id: Ie74bb2a46c79ae97b6fed7b544e9aa302d2d7e04 Signed-off-by: Sasha Chuzhoy --- doc/source/deploy/cleaning.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/source/deploy/cleaning.rst b/doc/source/deploy/cleaning.rst index 1ee90b719a..67571854f8 100644 --- a/doc/source/deploy/cleaning.rst +++ b/doc/source/deploy/cleaning.rst @@ -167,10 +167,13 @@ Its value is one of: Keep in mind that manual cleaning is only supported in API version 1.15 and higher. -An example of doing this with a JSON string:: +Examples of doing this with a JSON string:: ironic --ironic-api-version 1.15 node-set-provision-state \ - clean --clean-steps '[...]' + clean --clean-steps '[{"interface": "deploy", "step": "erase_devices_metadata"}]' + + ironic --ironic-api-version 1.15 node-set-provision-state \ + clean --clean-steps '[{"interface": "deploy", "step": "erase_devices"}]' Or with a file::