]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
remove unused modules for linuxbridge/ovs plugin agent
authorJiajun Liu <iamljj@gmail.com>
Mon, 29 Oct 2012 10:26:43 +0000 (18:26 +0800)
committerJiajun Liu <iamljj@gmail.com>
Mon, 29 Oct 2012 10:26:43 +0000 (18:26 +0800)
fixes bug 1072635.

Since linuxbridge/ovs plugin agent can not access database any more.
remove unused sqlsouq module.

Change-Id: I0bf02798e2b6e63e1f3690bf0920132ba5dd7e65

quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py
quantum/plugins/openvswitch/agent/ovs_quantum_agent.py

index d6ecdad3afd787baaf39df76861e547cd722e8be..0bb735861ab91dbf7bc8223fc2ae4101acc45305 100755 (executable)
 
 import logging
 import os
-import shlex
-import signal
-import subprocess
 import sys
 import time
 
 import eventlet
 import pyudev
-from sqlalchemy.ext.sqlsoup import SqlSoup
 
 from quantum.agent.linux import ip_lib
 from quantum.agent.linux import utils
@@ -58,8 +54,6 @@ BRIDGE_NAME_PLACEHOLDER = "bridge_name"
 BRIDGE_INTERFACES_FS = BRIDGE_FS + BRIDGE_NAME_PLACEHOLDER + "/brif/"
 DEVICE_NAME_PLACEHOLDER = "device_name"
 BRIDGE_PORT_FS_FOR_DEVICE = BRIDGE_FS + DEVICE_NAME_PLACEHOLDER + "/brport"
-VLAN_BINDINGS = "vlan_bindings"
-PORT_BINDINGS = "port_bindings"
 
 
 class LinuxBridge:
index e6bcf809fc643b9d79c1ed15163e91659d5c6cbe..4f332e11db2878612e02bfbe6f3fe140dfb08a4d 100755 (executable)
@@ -25,7 +25,6 @@ import sys
 import time
 
 import eventlet
-from sqlalchemy.ext import sqlsoup
 
 from quantum.agent import rpc as agent_rpc
 from quantum.agent.linux import ip_lib