![Takashi NATSUME](/assets/img/avatar_default.png)
* Example for the rebuild action The functional test is modified and the example is replaced with v2.26 examples. * Example for the rescue action The example in API reference is replaced with the example with 'rescue_imgae_ref'. Parameters for the rebuild action and the rescue action are also fixed. The patch completes the parameter verification and the example verification of servers-actions.inc. Change-Id: Iaf8808b13d1fdfead50da4cd447b3893578f76dd Implements: blueprint api-ref-in-rst-pike
22 lines
973 B
JSON
22 lines
973 B
JSON
{
|
|
"rebuild" : {
|
|
"imageRef" : "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"accessIPv4" : "1.2.3.4",
|
|
"accessIPv6" : "80fe::",
|
|
"adminPass" : "seekr3t",
|
|
"metadata" : {
|
|
"meta_var" : "meta_val"
|
|
},
|
|
"name" : "foobar",
|
|
"OS-DCF:diskConfig": "AUTO",
|
|
"personality" : [
|
|
{
|
|
"path" : "/etc/banner.txt",
|
|
"contents" : "ICAgICAgDQoiQSBjbG91ZCBkb2VzIG5vdCBrbm93IHdoeSBp dCBtb3ZlcyBpbiBqdXN0IHN1Y2ggYSBkaXJlY3Rpb24gYW5k IGF0IHN1Y2ggYSBzcGVlZC4uLkl0IGZlZWxzIGFuIGltcHVs c2lvbi4uLnRoaXMgaXMgdGhlIHBsYWNlIHRvIGdvIG5vdy4g QnV0IHRoZSBza3kga25vd3MgdGhlIHJlYXNvbnMgYW5kIHRo ZSBwYXR0ZXJucyBiZWhpbmQgYWxsIGNsb3VkcywgYW5kIHlv dSB3aWxsIGtub3csIHRvbywgd2hlbiB5b3UgbGlmdCB5b3Vy c2VsZiBoaWdoIGVub3VnaCB0byBzZWUgYmV5b25kIGhvcml6 b25zLiINCg0KLVJpY2hhcmQgQmFjaA=="
|
|
}
|
|
],
|
|
"preserve_ephemeral": false,
|
|
"description" : "description of foobar"
|
|
}
|
|
}
|