]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix database configuration of ryu-agent
authorYoshihiro Kaneko <ykaneko0929@gmail.com>
Tue, 8 Jan 2013 08:49:47 +0000 (17:49 +0900)
committerYoshihiro Kaneko <ykaneko0929@gmail.com>
Wed, 9 Jan 2013 03:20:50 +0000 (12:20 +0900)
Fixes bug #1097156

The database configuration was moved to the DB module.
This patch makes ryu-agent follow it.

Change-Id: Ib843132eb1a01769725dd89b1e1799c9d10790d3

quantum/plugins/ryu/agent/ryu_quantum_agent.py

index 5fd9bea2dbd787ad65a0651e7408b201a5e67827..63ae0acea704d96bdf53ba22bba24dc6732a410b 100755 (executable)
@@ -40,6 +40,7 @@ from quantum.openstack.common import log
 from quantum.plugins.ryu.common import config
 
 
+cfg.CONF.import_opt('sql_connection', 'quantum.db.api', 'DATABASE')
 LOG = log.getLogger(__name__)