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:
Adam Gandelman 2015-05-14 12:12:29 -07:00
parent 09ad9d750e
commit 8a34d72c60
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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',

View File

@ -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