Resource Center/Elastic Bare Metal Management(Plus)
POSTElastic Bare Metal Management(Plus)Since 4.0.0SynchronousAuth Required
AttachBareMetal2ProvisionNetworkToCluster
AttachBareMetal2ProvisionNetworkToCluster
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
clusterUuidStringRequiredThe cluster UUID.
networkUuidStringRequiredThe deployment network UUID.
Body Fields
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/baremetal2/clusters/{clusterUuid}/provision-networks/{networkUuid}
/zstack/v1/baremetal2/clusters/{clusterUuid}/provision-networks/{networkUuid}
Request Example
curl -X POST 'http://{host}/zstack/v1/baremetal2/clusters/{clusterUuid}/provision-networks/{networkUuid}' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "bc86a5d650424baaab9f875bfe3337bd", "zoneUuid": "3f7405e07ab54cd9bdcfa6008c398be1", "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.
