751f5dec11
This patch adds `key_name` param to instance rebuild API. Then the user could reset the instance keypair when rebuilding. If set key_name to None, the API will unset the keypair of the instance. APIImpact Implements blueprint: rebuild-keypair-reset Change-Id: I23886a89c25f811cfbe7e2500ce7ff52f9162966
15 lines
365 B
JSON
15 lines
365 B
JSON
{
|
|
"rebuild" : {
|
|
"accessIPv4" : "1.2.3.4",
|
|
"accessIPv6" : "80fe::",
|
|
"imageRef" : "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"name" : "foobar",
|
|
"key_name": "new-key",
|
|
"description" : "description of foobar",
|
|
"adminPass" : "seekr3t",
|
|
"metadata" : {
|
|
"meta_var" : "meta_val"
|
|
}
|
|
}
|
|
}
|