Resource Center/Elastic Bare Metal Management(Plus)
PUTElastic Bare Metal Management(Plus)Since 4.0.0SynchronousAuth Required
ChangeBareMetal2ProvisionNetworkState
ChangeBareMetal2ProvisionNetworkState
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe deployment network UUID.
Body Fields
changebaremetal2provisionnetworkstateObjectRequiredchangebaremetal2provisionnetworkstate request body object.
stateEventStringRequiredThe event that changes the state of the chassis.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/baremetal2/provision-networks/{uuid}/actions
/zstack/v1/baremetal2/provision-networks/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/baremetal2/provision-networks/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"changebaremetal2provisionnetworkstate":{"stateEvent":"<stateEvent>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "0f0a5bd7eaef49d2a4ddff9507afa4e8", "zoneUuid": "1d5a403dcfdb4b6fa581540579e5d5cb", "name": "BM_PROVISION_NETWORK", "description": "This is a bare metal provision network.", "dhcpInterface": "eth0", "dhcpRangeStartIp": "192.168.0.10", "dhcpRangeEndIp": "192.168.0.100", "dhcpRangeNetmask": "255.255.255.0", "dhcpRangeGateway": "192.168.0.1", "dhcpRangeNetworkCidr": "192.168.0.10/24", "state": "Enabled", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" } }Change History
This API has no change history records yet.
