Difference between revisions of "Neutron/Lib"
(→neutron.db rework) |
|||
Line 60: | Line 60: | ||
2. Current usage from "common" things inside neutron: | 2. Current usage from "common" things inside neutron: | ||
− | + | Example from neutron.common.rpc, following the import chain: | |
+ | <br /> | ||
− | |||
from neutron import context | from neutron import context | ||
+ | <br /> | ||
from neutron.db import api as db_api | from neutron.db import api as db_api | ||
+ | <br /> | ||
from neutron.db import common_db_mixin | from neutron.db import common_db_mixin | ||
+ | <br /> | ||
from neutron.db import sqlalchemyutils | from neutron.db import sqlalchemyutils | ||
− | </ | + | <br /> |
Revision as of 00:24, 8 December 2015
This page is primarily meant to organize the steps for getting the first version of neutron-lib out the door, who is doing what, and pointers to how to help.
Reviews
Code review guidelines: https://github.com/openstack/neutron-lib/blob/master/doc/source/review-guidelines.rst
Lib transition reviews: https://review.openstack.org/#/q/status:open+topic:bp/neutron-lib,n,z
Repo reviews: https://review.openstack.org/#/q/status:open+project:openstack/neutron-lib,n,z
Available work items
- Adopt _i18n through stadium.
- Include message catalog initial commit throughout stadium.
Tasks
Priority | Owner | Description | Status |
---|---|---|---|
0 | dougwig | Repo creation | Done |
1 | dougwig | Base exceptions/constants | Done |
1 | dougwig | i18n scheme across subprojects | Done, _i18n work needed for subprojects |
2 | HenryG / dougwig | neutron.db plan | 0% |
neutron.db rework
1. Current usage from adv.services:
lbaas example:
'neutron.db.quota_db.DbQuotaDriver', is_agent_down_str = 'neutron.db.agents_db.AgentDbMixin.is_agent_down' quota_driver = neutron.db.quota_db.DbQuotaDriver # milestone identifier, used by neutron-db-manage DB_CORE_PLUGIN_CLASS = 'neutron.db.db_base_plugin_v2.NeutronDbPluginV2' DB_CORE_PLUGIN_KLASS = 'neutron.db.db_base_plugin_v2.NeutronDbPluginV2' from neutron.db import agents_db from neutron.db import agentschedulers_db from neutron.db import common_db_mixin as base_db from neutron.db import l3_db from neutron.db import migration from neutron.db import model_base from neutron.db import models_v2 from neutron.db import servicetype_db from neutron.db import servicetype_db as sdb from neutron.db import servicetype_db as st_db from neutron.db.migration import cli import neutron.db.l3_db # noqa
2. Current usage from "common" things inside neutron:
Example from neutron.common.rpc, following the import chain:
from neutron import context
from neutron.db import api as db_api
from neutron.db import common_db_mixin
from neutron.db import sqlalchemyutils