]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Drop RpcProxy usage from bigswitch plugin
authorRussell Bryant <rbryant@redhat.com>
Thu, 20 Nov 2014 22:22:41 +0000 (22:22 +0000)
committerRussell Bryant <rbryant@redhat.com>
Fri, 21 Nov 2014 13:40:01 +0000 (13:40 +0000)
commitd0eb47046b855fc02cd4a080808f0bcab75e8549
tree13e8a44791bea7f1f13ee5a015d4bc112a0560bd
parent2161b1aea123bb23b393f01da4a2232704ecae75
Drop RpcProxy usage from bigswitch plugin

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

Note that there is one very minor functional change included.  The
previous code set the base version to '1.1'.  It should be '1.0'.  The
proper pattern to use is to set the base version on the client side to
be the initial version of the API (X.0).  Then, any methods that
require a newer version need to specify it.  In this case, verison
'1.1' was the security group methods, and those specify '1.1' as you
would expect.

Part of blueprint drop-rpc-compat.

Change-Id: I695d2a26db9c01b0be65b11cd4e4063567b5f20d
neutron/plugins/bigswitch/plugin.py