← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1597913] Re: refactor model definitions

 

** Tags added: db

** Changed in: neutron
    Milestone: None => ocata-1

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Summary changed:

- refactor model definitions
+ relocate model definitions

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

Title:
  relocate model definitions

Status in neutron:
  Fix Released

Bug description:
  with Oslo versioned object integration there might be lot of re
  factors required to avoid cyclic imports.  which make it must for
  every resource to move model definition out of file which has Dbmixins
  in that. Instead of just creating a separate folder for defining model
  of each resource like this
  https://github.com/openstack/neutron/tree/master/neutron/db/extra_dhcp_opt
  and
  https://github.com/openstack/neutron/tree/master/neutron/db/allowed_address_pairs
  we can do it two ways either move all model definitions to single file
  or divide them based on categories (not more than 3 or 5) and move
  model definitions to respective ones.

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


References