]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Drop RpcProxy usage from mlnx plugin
authorRussell Bryant <rbryant@redhat.com>
Fri, 21 Nov 2014 20:56:04 +0000 (20:56 +0000)
committerRussell Bryant <rbryant@redhat.com>
Mon, 24 Nov 2014 21:01:42 +0000 (21:01 +0000)
commit019690702456da9606800a4faee14015bec6136e
tree06051e41164417a6da846c59ba5fce5af6f6fd86
parentd42bf76dc9d0a14a337e37640a9fe64f56f81a04
Drop RpcProxy usage from mlnx plugin

This patch drops usage of the RpcProxy compatibility class from the
mlnx plugin.  The equivalent oslo.messaging APIs are now used instead.

Note that one test case was dropped, but only because it did not
provide any actual additional test coverage.

Also note that the base rpc version is set to '1.0' instead of '1.1'
as it was in the original code.  Setting the base to X.0 is the right
pattern.  Methods that require a newer version should specify it in
their implementation.  According to the API history comment here, the
methods in this class were not the ones changed in '1.1', so they
don't specify '1.1' as a requirement.

Part of blueprint drop-rpc-compat.

Change-Id: Ia8174b3e3415aa1e8588d908117e79a604e63881
neutron/plugins/mlnx/agent_notify_api.py
neutron/tests/unit/mlnx/test_rpcapi.py