All users of the RpcCallback class have been converted to directly
define the oslo.messaging Target so this compatibility class is no
longer needed.
This is the final change of blueprint drop-rpc-compat.
Change-Id: I25474569850f3f2c176e7eee7aafa7ff0180b809
load_admin_roles=False, **rpc_ctxt_dict)
-class RpcCallback(object):
- '''
- This class is created to facilitate migration from oslo-incubator
- RPC layer implementation to oslo.messaging and is intended to set
- callback version using oslo.messaging API once the migration is
- applied.
- '''
- RPC_API_VERSION = '1.0'
-
- def __init__(self):
- super(RpcCallback, self).__init__()
- self.target = messaging.Target(version=self.RPC_API_VERSION)
-
-
class Service(service.Service):
"""Service object for binaries running on hosts.