
All pci passthrough code is merged into nova, but the API does not support. this patch extends the servers to show PCI information for instance and compute node. This is a part of PCI APIs, for more information see the blueprint. Partially implement blueprint pci-api-support Change-Id: I99eeeca67983c49433ab0079f490a454d250f5e0
16 lines
863 B
JSON
16 lines
863 B
JSON
{
|
|
"server" : {
|
|
"name" : "new-server-test",
|
|
"image_ref" : "http://glance.openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"flavor_ref" : "http://openstack.example.com/flavors/1",
|
|
"metadata" : {
|
|
"My Server Name" : "Apache1"
|
|
},
|
|
"personality" : [
|
|
{
|
|
"path" : "/etc/banner.txt",
|
|
"contents" : "ICAgICAgDQoiQSBjbG91ZCBkb2VzIG5vdCBrbm93IHdoeSBpdCBtb3ZlcyBpbiBqdXN0IHN1Y2ggYSBkaXJlY3Rpb24gYW5kIGF0IHN1Y2ggYSBzcGVlZC4uLkl0IGZlZWxzIGFuIGltcHVsc2lvbi4uLnRoaXMgaXMgdGhlIHBsYWNlIHRvIGdvIG5vdy4gQnV0IHRoZSBza3kga25vd3MgdGhlIHJlYXNvbnMgYW5kIHRoZSBwYXR0ZXJucyBiZWhpbmQgYWxsIGNsb3VkcywgYW5kIHlvdSB3aWxsIGtub3csIHRvbywgd2hlbiB5b3UgbGlmdCB5b3Vyc2VsZiBoaWdoIGVub3VnaCB0byBzZWUgYmV5b25kIGhvcml6b25zLiINCg0KLVJpY2hhcmQgQmFjaA=="
|
|
}
|
|
]
|
|
}
|
|
} |