diff options
author | Aija Jauntēva <aija.jaunteva@dell.com> | 2020-12-23 04:26:30 -0500 |
---|---|---|
committer | Aija Jauntēva <aija.jaunteva@dell.com> | 2021-02-03 11:47:53 -0500 |
commit | 3138acc836c933aa179b9a92c14a226a8b903fe5 (patch) | |
tree | 8bc95225e14ed2e2de59528c8642d3641f19b901 /doc/source/admin/node-deployment.rst | |
parent | 6c9e28dd505a19d405b5ab75500cde555b4aca8d (diff) | |
download | ironic-3138acc836c933aa179b9a92c14a226a8b903fe5.tar.gz |
Add 'deploy steps' parameter for provisioning API
Story: 2008043
Task: 40705
Change-Id: I3dc2d42b3edd2a9530595e752895e9d113f76ea8
Diffstat (limited to 'doc/source/admin/node-deployment.rst')
-rw-r--r-- | doc/source/admin/node-deployment.rst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/source/admin/node-deployment.rst b/doc/source/admin/node-deployment.rst index 0e6e6966c..d9e736a8c 100644 --- a/doc/source/admin/node-deployment.rst +++ b/doc/source/admin/node-deployment.rst @@ -89,6 +89,31 @@ More deploy steps can be provided by the ramdisk, see :ironic-python-agent-doc:`IPA hardware managers documentation <admin/hardware_managers.html>` for a listing. +Requesting steps +---------------- + +Starting with Bare Metal API version 1.69 user can optionally supply deploy +steps for node deployment when invoking deployment or rebuilding. Overlapping +steps will take precedence over `Agent steps`_ and `Deploy Templates`_ +steps. + +Using "baremetal" client deploy steps can be passed via ``--deploy-steps`` +argument. The argument ``--deploy-steps`` is one of: + +- a JSON string +- path to a JSON file whose contents are passed to the API +- '-', to read from stdin. This allows piping in the deploy steps. + +An example by passing a JSON string: + +.. code-block:: console + + baremetal node deploy <node> \ + --deloy-steps '[{"interface": "bios", "step": "apply_configuration", "args": {"settings": [{"name": "LogicalProc", "value": "Enabled"}]}, "priority": 150}]' + +Format of JSON for deploy steps argument is described in `Deploy step format`_ +section. + Writing a Deploy Step --------------------- |