]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix Metering doesn't respect the l3 agent binding
authorSylvain Afchain <sylvain.afchain@enovance.com>
Tue, 7 Jan 2014 09:36:58 +0000 (10:36 +0100)
committerSylvain Afchain <sylvain.afchain@enovance.com>
Mon, 14 Apr 2014 15:05:57 +0000 (17:05 +0200)
commit901d676b8bcbb3e731ba44a4e574e9ae998f486e
tree90d4fd74a338d1a5c08b84506f97dad9fca3bbf4
parentf407360e10a1db0407460c65aba9c27fe270e4b9
Fix Metering doesn't respect the l3 agent binding

This patch fix the issue by changing the call to
find the plugin which handles the l3 which is now
the l3_router service plugin instead of the old mixin.

Also change the unit tests to use the l3 service plugin
instead of the l3 mixin and refactor the rpc callbacks
part.

Co-Authored-By: Ala Rezmerita <ala.rezmerita@cloudwatt.com>
Closes-bug: #1257354
Change-Id: Ide26f825005fa63cd3fcc75fa91fffb947e0be7a
neutron/api/rpc/agentnotifiers/metering_rpc_agent_api.py
neutron/db/metering/metering_db.py
neutron/db/metering/metering_rpc.py [new file with mode: 0644]
neutron/services/metering/agents/metering_agent.py
neutron/services/metering/metering_plugin.py
neutron/tests/unit/services/metering/test_metering_plugin.py
neutron/tests/unit/test_l3_plugin.py