Reorganize OVSDB API
This reorganization makes adding a second implementation of the API a lot cleaner. Partially-Implements: blueprint vsctl-to-ovsdb Change-Id: Ice869f33b6023d3693ad732276267621912c691b
This commit is contained in:
parent
8200f8004a
commit
fa22605c15
|
@ -24,7 +24,7 @@ import six
|
|||
|
||||
from neutron.agent.linux import ip_lib
|
||||
from neutron.agent.linux import utils
|
||||
from neutron.agent import ovsdb
|
||||
from neutron.agent.ovsdb import api as ovsdb
|
||||
from neutron.common import exceptions
|
||||
from neutron.i18n import _LE, _LI, _LW
|
||||
from neutron.openstack.common import log as logging
|
||||
|
|
|
@ -19,7 +19,7 @@ from oslo_utils import importutils
|
|||
import six
|
||||
|
||||
interface_map = {
|
||||
'vsctl': 'neutron.agent.linux.ovsdb_vsctl.OvsdbVsctl',
|
||||
'vsctl': 'neutron.agent.ovsdb.impl_vsctl.OvsdbVsctl',
|
||||
}
|
||||
|
||||
OPTS = [
|
|
@ -20,7 +20,7 @@ from oslo_serialization import jsonutils
|
|||
from oslo_utils import excutils
|
||||
|
||||
from neutron.agent.linux import utils
|
||||
from neutron.agent import ovsdb
|
||||
from neutron.agent.ovsdb import api as ovsdb
|
||||
from neutron.i18n import _LE
|
||||
from neutron.openstack.common import log as logging
|
||||
|
Loading…
Reference in New Issue