Global configuration support for Plugins and Agents

Registered by Gary Kotton

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

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_config_files=[config_file])

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://review.openstack.org/#q,topic:bp/global-config-support,n,z

Addressed by: https://review.openstack.org/9487
    Enable quantum agents to work with global cfg.CONF

Gerrit topic: https://review.openstack.org/#q,topic:bp/scalable-agent-comms,n,z

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.