Remove old oslo.messaging transport aliases

Those are remnants from the oslo-incubator times. Also, oslo.messaging
deprecated [1] transport aliases since 5.2.0+ that is the minimal
version supported for stable/newton. The patch that bumped the minimal
version for Searchlight landed 3 months+ ago, so we can proceed ripping
those aliases from the code base.

[1] I314cefa5fb1803fa7e21e3e34300e5ced31bba89

Closes-Bug: #1424728

Change-Id: Ia270d486d0a85354df30f7e5731d4c09a3ef3727
This commit is contained in:
ChangBo Guo(gcb) 2017-03-20 13:28:03 +08:00
parent 22f7cd4199
commit a0ca06a4df
1 changed files with 1 additions and 7 deletions

View File

@ -38,15 +38,9 @@ notifier_opts = [
CONF = cfg.CONF
CONF.register_opts(notifier_opts)
_ALIASES = {
'searchlight.openstack.common.rpc.impl_kombu': 'rabbit',
'searchlight.openstack.common.rpc.impl_qpid': 'qpid',
'searchlight.openstack.common.rpc.impl_zmq': 'zmq',
}
def get_transport():
return oslo_messaging.get_transport(CONF, aliases=_ALIASES)
return oslo_messaging.get_transport(CONF)
class Notifier(object):