Migrate to oslo.context
This removes akanda.rug's usage of openstack.common.context and instead uses the equivalent oslo_context.context. Note the old module is still left in place as its used by other old oslo-incubator things. Change-Id: I3343106d4da59dede7ca32e66c8ec7ed1abb4ebb
This commit is contained in:
parent
09ad9d750e
commit
8a34d72c60
|
@ -23,11 +23,11 @@ import uuid
|
|||
|
||||
import netaddr
|
||||
from oslo.config import cfg
|
||||
from oslo_context import context
|
||||
from neutronclient.v2_0 import client
|
||||
|
||||
from akanda.rug.common.linux import ip_lib
|
||||
from akanda.rug.openstack.common import importutils
|
||||
from akanda.rug.openstack.common import context
|
||||
from akanda.rug.openstack.common.rpc import proxy
|
||||
from akanda.rug.openstack.common import log as logging
|
||||
|
||||
|
|
|
@ -34,10 +34,10 @@ import kombu.messaging
|
|||
from akanda.rug import commands
|
||||
from akanda.rug import event
|
||||
|
||||
from akanda.rug.openstack.common import context
|
||||
from akanda.rug.openstack.common.rpc import common as rpc_common
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo_context import context
|
||||
|
||||
|
||||
cfg.CONF.register_group(cfg.OptGroup(name='rabbit',
|
||||
|
|
|
@ -2,6 +2,7 @@ netaddr
|
|||
httplib2
|
||||
python-neutronclient>=2.3.0,<3
|
||||
oslo.config>=1.2.0
|
||||
oslo.context>=0.2.0,<0.3.0
|
||||
kombu>=2.4.8
|
||||
WebOb>=1.2.3,<1.3
|
||||
python-novaclient>=2.15.0
|
||||
|
|
Loading…
Reference in New Issue