diff options
author | Julia Kreger <juliaashleykreger@gmail.com> | 2020-10-21 11:44:44 -0700 |
---|---|---|
committer | Julia Kreger <juliaashleykreger@gmail.com> | 2020-10-21 11:44:44 -0700 |
commit | f9d05c7123f928531b99179ea84d8172b67d9b73 (patch) | |
tree | eeb71db8224ad9a4e2f5a1d75692ccf2b2d4cb19 | |
parent | 42514bef11f80d7cdb588371acd517f230a1c900 (diff) | |
download | python-ironicclient-f9d05c7123f928531b99179ea84d8172b67d9b73.tar.gz |
Update create node from file example
The file was out of date with the removed *_ipmitool drivers
and the driver_info field which should be posted on node creation
to the API.
Change-Id: I18ece4f2472a0aced2874992c18a8871665f9621
-rw-r--r-- | doc/source/user/create_command.rst | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/source/user/create_command.rst b/doc/source/user/create_command.rst index 5396dad..ce49edc 100644 --- a/doc/source/user/create_command.rst +++ b/doc/source/user/create_command.rst @@ -75,7 +75,7 @@ command:: "nodes": [ { "name": "node-3", - "driver": "agent_ipmitool", + "driver": "ipmi", "portgroups": [ { "name": "switch.cz7882.ports.1-2", @@ -96,11 +96,16 @@ command:: { "address": "00:00:00:00:00:03" } - ] + ], + "driver_info": { + "ipmi_address": "192.168.1.23", + "ipmi_username": "BmcUsername", + "ipmi_password": "BmcPassword", + } }, { "name": "node-4", - "driver": "agent_ipmitool", + "driver": "ipmi", "ports": [ { "address": "00:00:00:00:00:04" @@ -116,7 +121,7 @@ command:: "nodes": [ { "name": "node-5", - "driver": "pxe_ipmitool", + "driver": "ipmi", "chassis_uuid": "74d93e6e-7384-4994-a614-fd7b399b0785", "ports": [ { @@ -126,7 +131,7 @@ command:: }, { "name": "node-6", - "driver": "pxe_ipmitool" + "driver": "ipmi" } ] } |