summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Tantsur <divius.inside@gmail.com>2019-03-07 10:28:56 +0100
committerDmitry Tantsur <divius.inside@gmail.com>2019-03-07 10:28:56 +0100
commit5d8231fa149bca71ca94d108b2ef7c2654d863b9 (patch)
treeda6f89d4d12656e9b870109fb4f7ced68f0a07a6
parent595db83ddcbed667c6d1abdb1e697e3397df3a3b (diff)
downloadpython-ironicclient-5d8231fa149bca71ca94d108b2ef7c2654d863b9.tar.gz
Follow-up to the configdrive change
This is a follow-up to commit 595db83ddcbed667c6d1abdb1e697e3397df3a3b. Change-Id: Ie3d177f77289a25077592a6a0c76d65fa4ce591b Story: #2005083
-rwxr-xr-xironicclient/osc/v1/baremetal_node.py6
-rw-r--r--releasenotes/notes/configdrive-7bd2b67830691b2e.yaml6
2 files changed, 9 insertions, 3 deletions
diff --git a/ironicclient/osc/v1/baremetal_node.py b/ironicclient/osc/v1/baremetal_node.py
index e940731..c44aefd 100755
--- a/ironicclient/osc/v1/baremetal_node.py
+++ b/ironicclient/osc/v1/baremetal_node.py
@@ -33,8 +33,10 @@ CONFIG_DRIVE_ARG_HELP = _(
"the path to the configuration drive file OR the path to a "
"directory containing the config drive files OR a JSON object to build "
"config drive from. In case it's a directory, a config drive will be "
- "generated from it. In case it's a JSON object, a config drive will "
- "be generated on the server side.")
+ "generated from it. In case it's a JSON object with optional keys "
+ "`meta_data`, `user_data` and `network_data`, a config drive will "
+ "be generated on the server side (see the bare metal API reference for "
+ "more details).")
SUPPORTED_INTERFACES = ['bios', 'boot', 'console', 'deploy', 'inspect',
diff --git a/releasenotes/notes/configdrive-7bd2b67830691b2e.yaml b/releasenotes/notes/configdrive-7bd2b67830691b2e.yaml
index b7dbed3..3ef0ea0 100644
--- a/releasenotes/notes/configdrive-7bd2b67830691b2e.yaml
+++ b/releasenotes/notes/configdrive-7bd2b67830691b2e.yaml
@@ -2,4 +2,8 @@
features:
- |
Supports passing a JSON object to ``--config-drive`` to build the config
- drive on the server side (requires API version 1.56).
+ drive on the server side (requires API version 1.56) to the following
+ commands:
+
+ openstack baremetal node deploy <node> --config-drive '{...}'
+ openstack baremetal node rebuild <node> --config-drive '{...}'