Introduce RpcCallback class
This class will be used to create proper self.target with appropriate API version once we migrate to oslo.messaging. blueprint oslo-messaging Change-Id: I1fb5eb0aaac0d115fd84630e58b333e695ad4f5f
This commit is contained in:
@@ -17,6 +17,7 @@ import weakref
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
from neutron.common import rpc_compat
|
||||
from neutron.common import utils
|
||||
from neutron.openstack.common import importutils
|
||||
from neutron.openstack.common import log as logging
|
||||
@@ -29,7 +30,7 @@ from stevedore import driver
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Manager(periodic_task.PeriodicTasks):
|
||||
class Manager(rpc_compat.RpcCallback, periodic_task.PeriodicTasks):
|
||||
|
||||
# Set RPC API version to 1.0 by default.
|
||||
RPC_API_VERSION = '1.0'
|
||||
|
||||
Reference in New Issue
Block a user