]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Reqd. core_plugin for plugin agents & show cfg opts loaded.
authorPaul Michali <pcm@cisco.com>
Thu, 24 Jan 2013 13:13:18 +0000 (08:13 -0500)
committerPaul Michali <pcm@cisco.com>
Fri, 25 Jan 2013 19:31:26 +0000 (14:31 -0500)
commit06ce1329a044b8e7be9db59811d4f4316d0d0743
treee69d70bc2a7cb9b0503c87ecffee01017235ac39
parent56fa94f40bba981bd986ec9f876a839c3aadf440
Reqd. core_plugin for plugin agents & show cfg opts loaded.

For the linuxbridge, openvswitch, nec, and ryu plugin agents,
require the core_plugin configuration option, and throw an
exception, if not present. Note: cannot make this a required
option for all agents, as there are agent that include the
core config options, but do not require core_plugin.

In addition, log (as debug) the configuration options that
have been loaded at start-up for these four agents. This will
help with diagnosing start-up issues related to the
configuraiton settings (or lack of).

Tested that exception thrown, when missing core_plugin
value in config file(s) included, for these four agents.

bug 1059923
Change-Id: I813f0c2a3d0ec01be74a34e56ab085979197a16a
quantum/agent/common/validate.py [new file with mode: 0644]
quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py
quantum/plugins/nec/agent/nec_quantum_agent.py
quantum/plugins/openvswitch/agent/ovs_quantum_agent.py
quantum/plugins/ryu/agent/ryu_quantum_agent.py
quantum/tests/unit/test_agent_config.py