Resource Center/Bare Metal Management (Plus)/Bare Metal Management Operations
POSTBare Metal Management OperationsSince 2.6.0SynchronousAuth Required
CreateBaremetalChassis
CreateBaremetalChassis
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.
nameStringRequiredThe name of the bare metal chassis.
descriptionStringOptional. The detailed description of the bare metal chassis.
clusterUuidStringRequiredThe UUID of the cluster where the bare metal chassis resides.
ipmiAddressStringRequiredThe IPMI address of the bare metal chassis.
ipmiPortIntegerOptional. The IPMI port of the bare metal chassis.
ipmiUsernameStringRequiredThe IPMI username.
ipmiPasswordStringRequiredThe IPMI password.
resourceUuidStringThe UUID of the bare metal chassis.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/baremetal/chassis
/zstack/v1/baremetal/chassis
Request Example
curl -X POST 'http://{host}/zstack/v1/baremetal/chassis' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"name":"<name>","description":"<description>","clusterUuid":"<clusterUuid>","ipmiAddress":"<ipmiAddress>","ipmiPort":1,"ipmiUsername":"<ipmiUsername>","ipmiPassword":"<ipmiPassword>","resourceUuid":"<resourceUuid>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "40fae70b4c573bdfad57d031eaba0eb0", "ipmiAddress": "1.1.1.1", "ipmiPort": 623.0, "ipmiUsername": "root", "ipmiPassword": "password", "state": "Enabled", "status": "HWInfoUnknown" } }Change History
This API has no change history records yet.
