System Administration > Configuration > Fabric > Nodes > Transport Node Collections

Create or Update a sub-cluster

Create or update a sub-cluster under a compute collection.
Maximum number of sub-clusters that can be created under
a compute collection is 16.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/sites/{site-id}/enforcement-points/{enforcementpoint-id}/sub-clusters/{subcluster-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
SubCluster+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/sites/default/enforcement-points/default/sub-clusters/cluster-1 { "compute_collection_id": "0d25110c-b483-4e6e-95e4-f7b904b297bf:domain-c9", "sub_cluster_info": { "sub_cluster_type": "MANUAL", "discovered_node_ids": [ "57e6560e-acd3-4783-baa0-59143307524b:host-1043", "47e6560e-acd3-4783-baa0-59143307524b:host-1044", "37e6560e-acd3-4783-baa0-59143307524b:host-1045" ] } }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
SubCluster+

Example Response:

{ "compute_collection_id": "0d25110c-b483-4e6e-95e4-f7b904b297bf:domain-c9", "sub_cluster_info": { "sub_cluster_type": "MANUAL", "discovered_node_ids": [ "57e6560e-acd3-4783-baa0-59143307524b:host-1043", "47e6560e-acd3-4783-baa0-59143307524b:host-1044", "37e6560e-acd3-4783-baa0-59143307524b:host-1045" ] }, "resource_type": "SubCluster", "id": "cluster-1", "display_name": "cluster-1", "path": "/infra/sites/default/enforcement-points/default/sub-clusters/cluster-1", "marked_for_delete": false, "_create_user": "admin", "_create_time": 1607582565107, "_last_modified_user": "admin", "_last_modified_time": 1607582565109, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

nodes_transport_nodes

Additional Errors: