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
changes/71/447371/1
ChangBo Guo(gcb) 6 years ago
parent 22f7cd4199
commit a0ca06a4df
  1. 8
      searchlight/notifier.py

@ -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):

Loading…
Cancel
Save