yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #53040
[Bug 1597913] [NEW] refactor model definitions
Public bug reported:
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.
** Affects: neutron
Importance: Undecided
Status: New
** Tags: rfe
** Tags added: rfe
--
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:
refactor model definitions
Status in neutron:
New
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
Follow ups