summaryrefslogtreecommitdiff
path: root/neutron/service.py
diff options
context:
space:
mode:
authorIhar Hrachyshka <ihrachys@redhat.com>2014-06-09 16:09:26 +0200
committerIhar Hrachyshka <ihrachys@redhat.com>2014-06-24 10:35:39 +0200
commitb43307b768a0fa851194ada5b73baf541934ea19 (patch)
tree2b96f460826f982c708b709f8884a7902abcb4d2 /neutron/service.py
parentf7ef6ea7ec798e62814f2071126de6e4fcb15b02 (diff)
downloadneutron-b43307b768a0fa851194ada5b73baf541934ea19.tar.gz
Moved rpc_compat.py code back into rpc.py
Most of this code will probably stay with us for quite some time, so let's make things easier and consider them as our way of doing RPC. blueprint oslo-messaging Change-Id: Iaf353b23f9c54b82d1e02a6bd5a5960cec827c88
Diffstat (limited to 'neutron/service.py')
-rw-r--r--neutron/service.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/neutron/service.py b/neutron/service.py
index c26182bc5d..cf357d16fa 100644
--- a/neutron/service.py
+++ b/neutron/service.py
@@ -22,7 +22,7 @@ from oslo.config import cfg
from oslo.messaging import server as rpc_server
from neutron.common import config
-from neutron.common import rpc_compat
+from neutron.common import rpc as n_rpc
from neutron import context
from neutron.db import api as session
from neutron import manager
@@ -180,7 +180,7 @@ def _run_wsgi(app_name):
return server
-class Service(rpc_compat.Service):
+class Service(n_rpc.Service):
"""Service object for binaries running on hosts.
A service takes a manager and enables rpc by listening to queues based