Jump to: navigation, search

Difference between revisions of "Neutron/Lib"

(iptables management code)
Line 78: Line 78:
=== iptables management code ===
=== iptables management code ===
* http://codesearch.openstack.org/?q=iptables_manager&i=nope&files=&repos=neutron-fwaas,neutron-lbaas,neutron-vpnaas
* http://codesearch.openstack.org/?q=iptables_manager&i=nope&files=&repos=

Revision as of 18:50, 14 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.


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.


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%
3 pc_m callbacks in review/rewrite?

neutron.db rework

1. Current usage from adv.services:

lbaas example:

        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

Other Candidates for Neutron-Lib

iptables management code