REST API samples updated
Change-Id: Iaaf6ec47596b6d9722527198d1c9a978cba6af37
This commit is contained in:
parent
66b333054b
commit
0a1819810e
27
etc/rest-api-samples/cluster_create_full.json
Normal file
27
etc/rest-api-samples/cluster_create_full.json
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "sl-cluster-42",
|
||||
"plugin_name": "vanilla",
|
||||
"hadoop_version": "1.1.1",
|
||||
"user_keypair_id": "slukjanov",
|
||||
"default_image_id": "51752c61-f73a-456c-98fb-192c0a448554",
|
||||
"cluster_configs": {
|
||||
"general": {
|
||||
"some_overridden_config": "asdfgh"
|
||||
}
|
||||
},
|
||||
"node_groups": [
|
||||
{
|
||||
"name": "master",
|
||||
"node_group_template_id": "0fe82f67-5453-41bb-b913-36775c1f50be",
|
||||
"flavor_id": "42",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"name": "worker",
|
||||
"flavor_id": "42",
|
||||
"node_processes": ["tasktracker", "datanode"],
|
||||
"node_configs": {},
|
||||
"count": 2
|
||||
}
|
||||
]
|
||||
}
|
6
etc/rest-api-samples/cluster_create_minimal.json
Normal file
6
etc/rest-api-samples/cluster_create_minimal.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "cluster-1",
|
||||
"plugin_name": "vanilla",
|
||||
"hadoop_version": "1.1.1",
|
||||
"cluster_template_id" : "3ebd3aa9-2252-4830-b814-25bf0d58abfe"
|
||||
}
|
@ -11,7 +11,7 @@
|
||||
"node_groups": [
|
||||
{
|
||||
"name": "master",
|
||||
"node_group_template_id": "9291e73c-0982-4728-820e-0ee77f8e317c",
|
||||
"node_group_template_id": "0fe82f67-5453-41bb-b913-36775c1f50be",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user