Return complete resp from sec grp default rule client
Currently compute security_group_default_rules_client returns Response by
removing top key from Response.
For example-
return service_client.ResponseBody(resp, body['security_group_default_rule'])
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 compute security_group_default_rules_client to return
complete Response body.
Change-Id: Ie39cb8a0d710c1412836f93ce6b3df60faad9f76
Implements: blueprint method-return-value-and-move-service-clients-to-lib
2 files changed