Merge "Adding clean-steps via json string examples"

This commit is contained in:
Jenkins 2017-02-01 22:36:04 +00:00 committed by Gerrit Code Review
commit e37f2543cf

View File

@ -167,10 +167,13 @@ Its value is one of:
Keep in mind that manual cleaning is only supported in API version 1.15 and Keep in mind that manual cleaning is only supported in API version 1.15 and
higher. 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 \ 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:: Or with a file::