Browse Source

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
changes/24/759124/1
Julia Kreger 6 months ago
parent
commit
f9d05c7123
1 changed files with 10 additions and 5 deletions
  1. +10
    -5
      doc/source/user/create_command.rst

+ 10
- 5
doc/source/user/create_command.rst View File

@ -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"
}
]
}


Loading…
Cancel
Save