Resource Center/Bare Metal Management (Plus)/Bare Metal Management Operations
POSTBare Metal Management OperationsSince 3.3.0SynchronousAuth Required
CreateBaremetalBonding
CreateBaremetalBonding
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
chassisUuidStringRequiredThe UUID of the bare metal chassis.
nameStringRequiredThe name of the bonded NIC.
modeIntegerRequiredThe network bonding mode.
slavesStringRequiredThe bonded slave MAC addresses of the NIC.
optsStringOptional. The network bonding options.
resourceUuidStringOptional. The network bonding UUID.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/baremetal/network/bondings
/zstack/v1/baremetal/network/bondings
Request Example
curl -X POST 'http://{host}/zstack/v1/baremetal/network/bondings' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"chassisUuid":"<chassisUuid>","name":"<name>","mode":1,"slaves":"<slaves>","opts":"<opts>","resourceUuid":"<resourceUuid>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "a904ce62244c415795da26028fc281b4", "chassisUuid": "c034b1866a754e3c88ca7d67770dc8eb", "name": "bond0", "mode": 1.0, "slaves": "d4:ae:52:6e:d1:0d,d4:ae:52:6e:d1:04", "opts": "miimon=100", "createDate": "Jan 8, 2019 3:06:09 PM", "lastOpDate": "Jan 8, 2019 3:06:09 PM" } }Change History
This API has no change history records yet.
