Global configuration support for Plugins and Agents
Add support to the agent and plugins that will enable them to make us of the global configuration data structure cfg.CONF. This is a prerequisite for the RPC and other common library support.
Blueprint information
- Status:
- Complete
- Approver:
- Gary Kotton
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Gary Kotton
- Definition:
- Approved
- Series goal:
- Proposed for folsom
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Gary Kotton
- Completed by
- Gary Kotton
Related branches
Related bugs
Sprints
Whiteboard
Each plugin has one or more ini files.
Currently the plugin and the agent have shared code that creates local instance of the configuration structure. The code is below:
def parse(config_file):
conf = cfg.ConfigOpts()
conf(args=[], default_
This needs to be modified to make use of the global configuration structure. This already exists in the quantum service but does not exist in the agent.
Gerrit topic: https:/
Addressed by: https:/
Enable quantum agents to work with global cfg.CONF
Gerrit topic: https:/