Use neutron-lib modules for neutron_taas
Use model_base and exceptions from neutron-lib to remove DeprecationWarning. Change-Id: Idcc40332909bf24c46c926e7337070ebbc59bde4
This commit is contained in:
parent
78da47153a
commit
5068617c49
@ -19,8 +19,8 @@ from sqlalchemy import orm
|
||||
from sqlalchemy.orm import exc
|
||||
|
||||
from neutron.db import common_db_mixin as base_db
|
||||
from neutron.db import model_base
|
||||
from neutron import manager
|
||||
from neutron_lib.db import model_base
|
||||
from neutron_taas.extensions import taas
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import uuidutils
|
||||
|
@ -18,8 +18,8 @@ import abc
|
||||
from neutron.api import extensions
|
||||
from neutron.api.v2 import attributes as attr
|
||||
from neutron.api.v2 import resource_helper
|
||||
from neutron.common import exceptions as qexception
|
||||
from neutron.services import service_base
|
||||
from neutron_lib import exceptions as qexception
|
||||
|
||||
from neutron_taas.common import constants
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from neutron.common import exceptions as n_exc
|
||||
from neutron.common import rpc as n_rpc
|
||||
from neutron_lib import exceptions as n_exc
|
||||
from neutron_taas.common import topics
|
||||
from neutron_taas.extensions import taas as taas_ex
|
||||
from neutron_taas.services.taas import service_drivers
|
||||
|
@ -14,10 +14,10 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from neutron.common import exceptions as n_exc
|
||||
from neutron.db import servicetype_db as st_db
|
||||
from neutron.services import provider_configuration as pconf
|
||||
from neutron.services import service_base
|
||||
from neutron_lib import exceptions as n_exc
|
||||
|
||||
from neutron_taas.common import constants
|
||||
from neutron_taas.db import taas_db
|
||||
|
Loading…
x
Reference in New Issue
Block a user