]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Introduce a separate RPC server
authorSalvatore Orlando <salv.orlando@gmail.com>
Mon, 10 Aug 2015 23:03:41 +0000 (16:03 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Thu, 17 Sep 2015 12:18:32 +0000 (05:18 -0700)
commitfb69960f1e1b5f62c10dfeda22269a8b661cbb8c
tree6a199f1cf0c42f1fd6413dccd08491691e59efc3
parent4e4a6cff5d257c85fb062d660ef2d1c9d0941ce9
Introduce a separate RPC server

As the Pecan server only server REST requests over HTTP, this
patch introduces a new server implementing the RPC over AMQP
endpoints for agent/server communication.

However, the REST server does not yet have the ability to send
notifications to the RPC server or directly to the agents.
This patch simply adapts the ML2 plugin to run the RPC notifiers
only when initialized in the pecan server, so that notification
to agents can still be sent.

This patch therefore is tantamount to a poor man's
implementation of REST/RPC separation which will be iteratively
improved.

Change-Id: Ie471869d9b2793acdc412f13507038433f6a72c6
neutron/cmd/eventlet/server/__init__.py
neutron/plugins/ml2/plugin.py
neutron/server/rpc_eventlet.py [new file with mode: 0644]
setup.cfg