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
This commit is contained in:
Julia Kreger 2020-10-21 11:44:44 -07:00
parent 42514bef11
commit f9d05c7123
1 changed files with 10 additions and 5 deletions

View File

@ -75,7 +75,7 @@ command::
"nodes": [ "nodes": [
{ {
"name": "node-3", "name": "node-3",
"driver": "agent_ipmitool", "driver": "ipmi",
"portgroups": [ "portgroups": [
{ {
"name": "switch.cz7882.ports.1-2", "name": "switch.cz7882.ports.1-2",
@ -96,11 +96,16 @@ command::
{ {
"address": "00:00:00:00:00:03" "address": "00:00:00:00:00:03"
} }
] ],
"driver_info": {
"ipmi_address": "192.168.1.23",
"ipmi_username": "BmcUsername",
"ipmi_password": "BmcPassword",
}
}, },
{ {
"name": "node-4", "name": "node-4",
"driver": "agent_ipmitool", "driver": "ipmi",
"ports": [ "ports": [
{ {
"address": "00:00:00:00:00:04" "address": "00:00:00:00:00:04"
@ -116,7 +121,7 @@ command::
"nodes": [ "nodes": [
{ {
"name": "node-5", "name": "node-5",
"driver": "pxe_ipmitool", "driver": "ipmi",
"chassis_uuid": "74d93e6e-7384-4994-a614-fd7b399b0785", "chassis_uuid": "74d93e6e-7384-4994-a614-fd7b399b0785",
"ports": [ "ports": [
{ {
@ -126,7 +131,7 @@ command::
}, },
{ {
"name": "node-6", "name": "node-6",
"driver": "pxe_ipmitool" "driver": "ipmi"
} }
] ]
} }