b26bc7fd7a
This microversion implements below API cleanups: 1. 400 for unknown param for query param and for request body. 2. Making server representation always consistent among all APIs returning the complete server representation. 3. Change the default return value of ``swap`` field from the empty string to 0 (integer) in flavor APIs. 4. Return ``servers`` field always in the response of GET hypervisors API even there are no servers on hypervisor Details: https://specs.openstack.org/openstack/nova-specs/specs/train/approved/api-consistency-cleanup.html Partial-Implements: blueprint api-consistency-cleanup Change-Id: I9d257a003d315b84b937dcef91f3cb41f3e24b53
12 lines
208 B
JSON
12 lines
208 B
JSON
{
|
|
"flavor": {
|
|
"name": "test_flavor",
|
|
"ram": 1024,
|
|
"vcpus": 2,
|
|
"disk": 10,
|
|
"id": "10",
|
|
"rxtx_factor": 2.0,
|
|
"description": "test description"
|
|
}
|
|
}
|