2cc7c0e589
The server-groups UUID add to response of 'GET /servers/{id}', 'PUT /servers/{server_id}" and rebuild API 'POST /servers/{server_id}/action'. Change-Id: I4a2a584df56ece7beb8b12c0ce9b0e6b30237120 Implements: blueprint show-server-group Co-authored-by: Gerry Kopec <Gerry.Kopec@windriver.com> Signed-off-by: Yongli He <yongli.he@intel.com>
23 lines
637 B
JSON
23 lines
637 B
JSON
{
|
|
"server" : {
|
|
"accessIPv4": "1.2.3.4",
|
|
"accessIPv6": "80fe::",
|
|
"name" : "new-server-test",
|
|
"imageRef" : "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"flavorRef" : "1",
|
|
"OS-DCF:diskConfig": "AUTO",
|
|
"metadata" : {
|
|
"My Server Name" : "Apache1"
|
|
},
|
|
"security_groups": [
|
|
{
|
|
"name": "default"
|
|
}
|
|
],
|
|
"user_data" : "IyEvYmluL2Jhc2gKL2Jpbi9zdQplY2hvICJJIGFtIGluIHlvdSEiCg==",
|
|
"networks": "auto"
|
|
},
|
|
"OS-SCH-HNT:scheduler_hints": {
|
|
"group": "f3d86fe6-4246-4be8-b87c-eb894626c741"
|
|
}
|
|
} |