Return complete response from flavors_client part-1
Currently compute flavors_client returns Response by removing
top key from Response.
For example-
return service_client.ResponseBody(resp, body['flavor'])
As service clients are in direction to move to Tempest-lib, all
service clients should return Response without any truncation.
One good example is Resource pagination links which are lost with current
way of return value. Resource pagination links are present in parallel
(not inside) to top key of Response.
This patch makes create/show/list flavor methods of compute flavors_client
to return complete Response body.
Implements: blueprint method-return-value-and-move-service-clients-to-lib
Change-Id: If9ef2db0c78ebfd668c262c2ea57e303c953b048
15 files changed