diff --git a/doc/api-site/api-ref/src/wadls/clustering-api/src/v1/clustering-api.wadl b/doc/api-site/api-ref/src/wadls/clustering-api/src/v1/clustering-api.wadl
index baacb0e35..41366141d 100644
--- a/doc/api-site/api-ref/src/wadls/clustering-api/src/v1/clustering-api.wadl
+++ b/doc/api-site/api-ref/src/wadls/clustering-api/src/v1/clustering-api.wadl
@@ -8,15 +8,6 @@
POST'>
DELETE'>
-
-^[a-zA-Z][a-zA-Z0-9_.-]*$.'>
-Deleting or abandoning a cluster may not
-make the cluster name available for reuse, or the ability to reuse a cluster
-name could be delayed for an unspecified time.'>
]>
'>
-
+
List of cluster records where each record contains fields like
created_time
, id
, name
,
@@ -299,41 +290,60 @@ name could be delayed for an unspecified time.'>
-
-
- &CLUSTER_NAME_CREATE_DESC;
-
+
-
- ID of profile to be used for this cluster.
-
-
-
-
- Initial size of the cluster.
-
-
-
-
- Cluster creation timeout as number of minutes.
-
-
-
-
- A collection of key-value pairs to be associated with the stack.
+ A map that contains details for the cluster to be created.
+
+ Cluster Create Request Body
+
+
+ name
Name for the cluster to be created. (required).
+
+
+
+
+ parent
ID of parent cluster if the new cluster is to be
+ a nested cluster. (optional).
+
+
+
+
+ profile_id
ID or name of profile to be used by the cluster.
+ (required).
+
+
+
+
+ size
Initial size of the cluster, default to 0. (required).
+
+
+
+
+ timeout
Cluster creation timeout as number of minutes.
+ Default to 60. (optional).
+
+
+
+
+ tags
List of key-value pairs that will be associated with
+ the cluster. (optional).
+
+
+
-
+
- A dictionary containing the id
of and link
to the cluster.
+ A map containing the id
, name
, status
,
+ and many other fields of the cluster under creation.
diff --git a/doc/api-site/api-ref/src/wadls/clustering-api/src/v1/samples/cluster_create.json b/doc/api-site/api-ref/src/wadls/clustering-api/src/v1/samples/cluster_create.json
index feb27fcd6..b9fea8115 100644
--- a/doc/api-site/api-ref/src/wadls/clustering-api/src/v1/samples/cluster_create.json
+++ b/doc/api-site/api-ref/src/wadls/clustering-api/src/v1/samples/cluster_create.json
@@ -1,9 +1,10 @@
{
- "name": "testcluster",
- "profile_id": "40be8d1a-3eb9-40de-8abd-43237517384f",
- "size": 5,
- "timeout": 60,
- "tags": {
- "owner": "Thomas",
+ "cluster": {
+ "name": "test_cluster",
+ "parent": null,
+ "profile_id": "mystack",
+ "size": "1",
+ "tags": {},
+ "timeout": null
}
}
diff --git a/doc/api-site/api-ref/src/wadls/clustering-api/src/v1/samples/cluster_create_resp.json b/doc/api-site/api-ref/src/wadls/clustering-api/src/v1/samples/cluster_create_resp.json
index b9b656da2..499ae304b 100644
--- a/doc/api-site/api-ref/src/wadls/clustering-api/src/v1/samples/cluster_create_resp.json
+++ b/doc/api-site/api-ref/src/wadls/clustering-api/src/v1/samples/cluster_create_resp.json
@@ -1,11 +1,25 @@
{
"cluster": {
- "id": "3095aefc-09fb-4bc7-b1f0-f21a304e864c",
- "links": [
- {
- "href": "http://192.168.12.34:8778/v1/eb1c63a4f77141548385f113a28f0f52/clusters/3095aefc-09fb-4bc7-b1f0-f21a304e864c",
- "rel": "self"
- }
- ]
+ "action": "bbf4558b-9fa3-482a-93c2-a4aa5cc85317",
+ "created_time": null,
+ "data": {},
+ "deleted_time": null,
+ "domain": "",
+ "id": "45edadcb-c73b-4920-87e1-518b2f29f54b",
+ "init_time": null,
+ "name": "test_cluster",
+ "nodes": [],
+ "parent": null,
+ "policies": [],
+ "profile_id": "edc63d0a-2ca4-48fa-9854-27926da76a4a",
+ "profile_name": "mystack",
+ "project": "6e18cc2bdbeb48a5b3cad2dc499f6804",
+ "size": 1,
+ "status": "INIT",
+ "status_reason": "Initializing",
+ "tags": {},
+ "timeout": null,
+ "updated_time": null,
+ "user": "admin"
}
}