From d1d43dbe063f5cfd791e9b9ab81bbf3c2d10d0d5 Mon Sep 17 00:00:00 2001 From: Yoshihiro Kaneko Date: Tue, 8 Jan 2013 17:49:47 +0900 Subject: [PATCH] Fix database configuration of ryu-agent 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/quantum/plugins/ryu/agent/ryu_quantum_agent.py b/quantum/plugins/ryu/agent/ryu_quantum_agent.py index 5fd9bea2db..63ae0acea7 100755 --- a/quantum/plugins/ryu/agent/ryu_quantum_agent.py +++ b/quantum/plugins/ryu/agent/ryu_quantum_agent.py @@ -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__)