neutron/neutron/services/metering
Eugene Nikanorov de5bdc9cc2 Consume service plugins queues in RPC workers.
This patch adds all RPC workers to consumers of service
plugins queues such as metering and l3-plugin.
This is important for DVR-enabled deployments with hundreds
of agents.

Closes-Bug: #1498844
(cherry picked from commit 5be613490d)

===

Also include the following fix that keeps backwards compatibility with
plugins that don't implement start_rpc_listeners method:

Check if plugin supports starting rpc listeners

When neutron starts an rpc worker, it checks if the plugin has the method
"start_rpc_listeners".  Since most plugins inherit from a base class, and
that base class implements the start_rpc_listeners method and raises
NotImplementedError, the rpc worker will attempt to call that method.
It should just catch the NotImplementedError and continue on.

Change-Id: Ie1830b6140acffffd0f283a0d8eefa52067f7650
Closes-Bug: 1551542
(cherry picked from commit cd7be292a8)

===

Change-Id: I6fea7f409c91b25d2c35b038d6100fdfa85d1905
2016-04-18 16:54:53 +02:00
..
agents Fix a wrong condition for the _purge_metering_info function 2015-09-04 01:15:47 +00:00
drivers Switches metering agent to stateless iptables 2016-04-01 02:47:50 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
metering_plugin.py Consume service plugins queues in RPC workers. 2016-04-18 16:54:53 +02:00