← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1643571] [NEW] lbaas data model is too recursive

 

Public bug reported:

this is an example of pool to_api_dict().
http://paste.openstack.org/show/589872/
as you can see, it has too many copies of same objects.
note: there are only 3 objects in the dict.

while from_sqlalchemy_model has some recursion protection,
it's better to make it shallower.

especially, to_dict/to_api_dict should not do much recursion.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: lbaas

** Tags added: lbaas

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1643571

Title:
  lbaas data model is too recursive

Status in neutron:
  New

Bug description:
  this is an example of pool to_api_dict().
  http://paste.openstack.org/show/589872/
  as you can see, it has too many copies of same objects.
  note: there are only 3 objects in the dict.

  while from_sqlalchemy_model has some recursion protection,
  it's better to make it shallower.

  especially, to_dict/to_api_dict should not do much recursion.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1643571/+subscriptions


Follow ups