]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Drop RpcProxy usage from ml2 AgentNotifierApi
authorRussell Bryant <rbryant@redhat.com>
Mon, 1 Dec 2014 18:42:30 +0000 (18:42 +0000)
committerRussell Bryant <rbryant@redhat.com>
Mon, 1 Dec 2014 18:42:30 +0000 (18:42 +0000)
commit1bc911ca8a487ad82e0422be8f74ce510afa5f8c
treececde5848629954b212a80ac6e5b8ac12ba45c28
parent881344280ce47a1af41d8b74d8fd779959510068
Drop RpcProxy usage from ml2 AgentNotifierApi

Remove usage of the RpcProxy compatibility class from the ml2
AgentNotifierApi.  The equivalent oslo.messaging APIs are now used
instead.  A couple of other mixin APIs had to be converted at the same
time.

Note that there is one very minor functional change here.  The base
rpc version is set to '1.0' now instead of '1.1'.  The right pattern
to use is to always set the base to be N.0.  Any method that needs a
newer version should specify it.

Part of blueprint drop-rpc-compat.

Change-Id: I640568e2d73c9eb7a9505db640dc1427a1ae2abe
neutron/api/rpc/handlers/dvr_rpc.py
neutron/plugins/ml2/drivers/type_tunnel.py
neutron/plugins/ml2/rpc.py
neutron/tests/unit/ml2/test_rpcapi.py