lbaas data model is too recursive
Bug #1643571 reported by
YAMAMOTO Takashi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Invalid
|
Low
|
Unassigned |
Bug Description
this is an example of pool to_api_dict().
http://
as you can see, it has too many copies of same objects.
note: there are only 3 objects in the dict.
while from_sqlalchemy
it's better to make it shallower.
especially, to_dict/to_api_dict should not do much recursion.
I consider that this affects the payload of the object and not the current functionality.