Remove unused method "get_ovsdb_connection"

Trivial-Fix

Change-Id: I7c6fe4c3a6ba82c0b660042733f7df396e068855
This commit is contained in:
Rodolfo Alonso Hernandez 2021-04-16 10:07:17 +00:00 committed by Rodolfo Alonso
parent 08ff64034e
commit 5b66259bb8
1 changed files with 0 additions and 13 deletions

View File

@ -32,9 +32,6 @@ from oslo_config import cfg
from oslo_log import log
from oslo_utils import netutils
from oslo_utils import strutils
from ovs.db import idl
from ovsdbapp.backend.ovs_idl import connection
from ovsdbapp.backend.ovs_idl import idlutils
from ovsdbapp import constants as ovsdbapp_const
from neutron._i18n import _
@ -421,16 +418,6 @@ def get_port_subnet_ids(port):
return [f['subnet_id'] for f in fixed_ips]
def get_ovsdb_connection(connection_string, schema, timeout, tables=None):
helper = idlutils.get_schema_helper(connection_string, schema)
if tables:
for table in tables:
helper.register_table(table)
else:
helper.register_all()
return connection.Connection(idl.Idl(connection_string, helper), timeout)
def get_method_class(method):
if not inspect.ismethod(method):
return