8d4af6b906
server actions sometimes return servers objects, which means their output is different when extensions are enabled. This adds api samples for those cases to give a more realistic view to the user of what they might expect. Change-Id: Iaa9a4c3a373dee41931c5dc4f1b805f09a05299f
18 lines
897 B
JSON
18 lines
897 B
JSON
{
|
|
"rebuild" : {
|
|
"imageRef" : "http://openstack.example.com/v2/32278/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"name" : "foobar",
|
|
"adminPass" : "seekr3t",
|
|
"accessIPv4" : "1.2.3.4",
|
|
"accessIPv6" : "fe80::100",
|
|
"metadata" : {
|
|
"meta var" : "meta val"
|
|
},
|
|
"personality" : [
|
|
{
|
|
"path" : "/etc/banner.txt",
|
|
"contents" : "ICAgICAgDQoiQSBjbG91ZCBkb2VzIG5vdCBrbm93IHdoeSBp dCBtb3ZlcyBpbiBqdXN0IHN1Y2ggYSBkaXJlY3Rpb24gYW5k IGF0IHN1Y2ggYSBzcGVlZC4uLkl0IGZlZWxzIGFuIGltcHVs c2lvbi4uLnRoaXMgaXMgdGhlIHBsYWNlIHRvIGdvIG5vdy4g QnV0IHRoZSBza3kga25vd3MgdGhlIHJlYXNvbnMgYW5kIHRo ZSBwYXR0ZXJucyBiZWhpbmQgYWxsIGNsb3VkcywgYW5kIHlv dSB3aWxsIGtub3csIHRvbywgd2hlbiB5b3UgbGlmdCB5b3Vy c2VsZiBoaWdoIGVub3VnaCB0byBzZWUgYmV5b25kIGhvcml6 b25zLiINCg0KLVJpY2hhcmQgQmFjaA=="
|
|
}
|
|
]
|
|
}
|
|
} |