From ec513df7e670bc4a01abaac0a101e72958632ca4 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 2 Dec 2014 21:04:54 +0000 Subject: [PATCH] Remove RpcCallback class 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 --- neutron/common/rpc.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/neutron/common/rpc.py b/neutron/common/rpc.py index 37e9e3273..a2cbfe8e3 100644 --- a/neutron/common/rpc.py +++ b/neutron/common/rpc.py @@ -134,20 +134,6 @@ class RequestContextSerializer(om_serializer.Serializer): 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. -- 2.45.2