← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1563069] [NEW] [RFE] Centralize Configuration Options

 

Public bug reported:

[Overview]
Refactor Neutron configuration options to be in one place 'neutron/conf' similar to the Nova implementation found here: http://specs.openstack.org/openstack/nova-specs/specs/mitaka/approved/centralize-config-options.html

This would allow for centralization of all configuration options and
provide an easy way to import and gain access to the wide breadth of
configuration options available to Neutron.

[Proposal]

1. Introduce a new package: neutron/conf
2. Group modules logically under new package: i.e. common.py, securitygroups.py
3. Move all 'cfg.CONF.register_opts' and cfg declarations to new modules.
4. __init__.py in new package imports all modules so all options can be imported by: import neutron.conf

[Benefits]

- As a developer I will find all config options in one place and will add further config options to that central place.
- End user is not affected by this change.

[Related information]
[1] Nova Implementation: http://specs.openstack.org/openstack/nova-specs/specs/mitaka/approved/centralize-config-options.html

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: 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/1563069

Title:
  [RFE] Centralize Configuration Options

Status in neutron:
  New

Bug description:
  [Overview]
  Refactor Neutron configuration options to be in one place 'neutron/conf' similar to the Nova implementation found here: http://specs.openstack.org/openstack/nova-specs/specs/mitaka/approved/centralize-config-options.html

  This would allow for centralization of all configuration options and
  provide an easy way to import and gain access to the wide breadth of
  configuration options available to Neutron.

  [Proposal]

  1. Introduce a new package: neutron/conf
  2. Group modules logically under new package: i.e. common.py, securitygroups.py
  3. Move all 'cfg.CONF.register_opts' and cfg declarations to new modules.
  4. __init__.py in new package imports all modules so all options can be imported by: import neutron.conf

  [Benefits]

  - As a developer I will find all config options in one place and will add further config options to that central place.
  - End user is not affected by this change.

  [Related information]
  [1] Nova Implementation: http://specs.openstack.org/openstack/nova-specs/specs/mitaka/approved/centralize-config-options.html

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


Follow ups