983abb05d7
This patch introduces a new API microversion which will be used to alter the responses of ``GET /servers``, ``GET /servers/detail``, ``GET /servers/{server_id}`` and ``GET /os-services`` when a cell is down to return minimal constructs with missing keys. Implements blueprint handling-down-cell Change-Id: Id9f12532897912b39093f63e9286540d9029edeb
20 lines
575 B
JSON
20 lines
575 B
JSON
{
|
|
"server" : {
|
|
"accessIPv4": "1.2.3.4",
|
|
"accessIPv6": "80fe::",
|
|
"name" : "new-server-test",
|
|
"imageRef" : "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"flavorRef" : "http://openstack.example.com/flavors/1",
|
|
"OS-DCF:diskConfig": "AUTO",
|
|
"metadata" : {
|
|
"My Server Name" : "Apache1"
|
|
},
|
|
"security_groups": [
|
|
{
|
|
"name": "default"
|
|
}
|
|
],
|
|
"user_data" : "IyEvYmluL2Jhc2gKL2Jpbi9zdQplY2hvICJJIGFtIGluIHlvdSEiCg==",
|
|
"networks": "auto"
|
|
}
|
|
} |