Deprecate carrot rpc code

Fixes bug 950153

carrot rpc code is not being maintained anymore and is buggy.  Use
kombu, instead.

Change-Id: Ifcd6d8997adb4fc07fce45486f0663d57954be1d
This commit is contained in:
Chris Behrens 2012-03-08 10:33:13 -08:00
parent af6f0d8cb3
commit 98ced06664

View File

@ -46,11 +46,14 @@ from nova import local
from nova import log as logging from nova import log as logging
from nova.rpc import common as rpc_common from nova.rpc import common as rpc_common
from nova.testing import fake from nova.testing import fake
from nova import utils
FLAGS = flags.FLAGS FLAGS = flags.FLAGS
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)
@utils.deprecated('Use of carrot will be removed in a future release. '
'Use kombu, instead.')
class Connection(carrot_connection.BrokerConnection, rpc_common.Connection): class Connection(carrot_connection.BrokerConnection, rpc_common.Connection):
"""Connection instance object.""" """Connection instance object."""