Ability to filter which configuration options are available to a given module

Registered by Mark McLoughlin

At the moment, if a module requires a configuration option from another module, we do:

  CONF.import_opt('source.module', 'option_name')

but, in fact, all options from the imported module are available for use.

An alternative would be to enforce which options we available within a module e.g.

  CONF = cfg.FilterView(cfg.CONF, 'option_name')

Blueprint information

Status:
Complete
Approver:
Mark McLoughlin
Priority:
Medium
Drafter:
Mark McLoughlin
Direction:
Approved
Assignee:
Mark McLoughlin
Definition:
Approved
Series goal:
Accepted for grizzly
Implementation:
Implemented
Milestone target:
milestone icon 2013.1
Started by
Mark McLoughlin
Completed by
Mark McLoughlin

Related branches

Sprints

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.