use get reader/writer session from neutron-lib

The get_reader_session and get_writer_session functions are available
in neutron-lib. This patch consumes them by removing the functions
from neutron and using lib's instead in prep for
https://review.openstack.org/#/c/570603

It also bumps neutron-lib requirements to 1.14.0

Change-Id: I0326e1444049370f6cb611e853041be89cdfc606
This commit is contained in:
Boden R 2018-05-29 10:34:57 -06:00
parent b7eda732f5
commit 675c7546e9
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ import contextlib
import inspect
import random
from neutron.db import api as db_api
from neutron_lib.db import api as db_api
from oslo_config import cfg
from oslo_db import api as oslo_db_api
from oslo_db import exception as db_exc

View File

@ -12,7 +12,7 @@ pyzmq>=14.3.1 # LGPL+BSD
ryu>=4.14 # Apache-2.0
SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT
alembic>=0.8.10 # MIT
neutron-lib>=1.13.0 # Apache-2.0
neutron-lib>=1.14.0 # Apache-2.0
oslo.config>=5.2.0 # Apache-2.0
oslo.db>=4.27.0 # Apache-2.0
oslo.i18n>=3.15.3 # Apache-2.0