Add a ConfigFilter wrapper class to enforce option scoping

Registered by Mark McLoughlin

Add a new class designed to wrap cfg.ConfigFilter, with the following use cases in mind:

1. Help enforce that a given module does not access options registered by another module, without first declaring those cross-module dependencies using import_opt().

2. Prevent private configuration opts from being visible to modules other than the one which registered it.

Blueprint information

Status:
Complete
Approver:
Doug Hellmann
Priority:
High
Drafter:
Mark McLoughlin
Direction:
Needs approval
Assignee:
Mark McLoughlin
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon juno-2
Started by
Mark McLoughlin
Completed by
Mark McLoughlin

Related branches

Sprints

Whiteboard

Initial implementation of this here: https://review.openstack.org/95676

But I will be proposing this directly from oslo.config

--

Merged here: https://review.openstack.org/#/c/97233/

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.