034d7f3795
This adds the new microversion to allow providing a description when creating a flavor, returning a flavor description when showing flavor details, and updating the description on an existing flavor. Implements blueprint flavor-description Change-Id: Ib16b0de82f9f9492f5cacf646dc3165a0849d75e
26 lines
709 B
JSON
26 lines
709 B
JSON
{
|
|
"flavor": {
|
|
"OS-FLV-DISABLED:disabled": false,
|
|
"disk": 10,
|
|
"OS-FLV-EXT-DATA:ephemeral": 0,
|
|
"os-flavor-access:is_public": true,
|
|
"id": "10",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/flavors/10",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/flavors/10",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "test_flavor",
|
|
"ram": 1024,
|
|
"swap": "",
|
|
"rxtx_factor": 2.0,
|
|
"vcpus": 2,
|
|
"description": "test description"
|
|
}
|
|
}
|