neutron/neutron/tests/unit/mlnx
Russell Bryant 8098b6bd20 Drop RpcProxy usage from neutron.agent.rpc.PluginApi
This patch removes the usage of the RpcProxy compatibility class from
the neutron.agent.rpc.PluginApi class.  The equivalent use of
oslo.messaging APIs have been put in place instead.  This simple
conversion had a pretty wide impact on unit tests, as well.

The security groups API was converted in this patch as well.  It was
necessary because the security group class is used as a mixin, so it
must be implemented the same way.  Unfortunately, the way this is used
as a mix-in is not consistent, so for now it's only conditionally
converted.

Finally, some other miscellaneous plugin specific interfaces were
converted as well.  Again, these were methods mixed-in for certain
plugins.

Note that there's one very minor functional difference in this patch.
The previous code set the base version to be '1.1'.  The right pattern
is for this to be set to '1.0'.  This version is the default version
specified by the client, telling the server that it must implement at
least this version to satisfy the request.  The default should be
'1.0' and methods that require higher than that should specify it.
From looking at other parts of the code, '1.0' vs '1.1' is not
actually important, as '1.1' was actually the addition of some
security group methods defined elsewhere.  The correction is more
about establishing the right pattern to follow.

Change-Id: I391c01e79943ef179d815ea602253720925ccce1
2014-11-19 17:18:34 +00:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_agent_scheduler.py Change header from LLC to Foundation 2013-09-20 01:37:51 +08:00
test_defaults.py Change tenant network type usage for IB Fabric 2014-02-24 08:14:34 +02:00
test_mlnx_comm_utils.py Fix sleep function call 2014-10-01 09:55:21 +03:00
test_mlnx_db.py Fix incorrect number of args to string format 2014-08-27 11:36:19 +10:00
test_mlnx_neutron_agent.py Refresh rpc_backend values in unit tests to those from oslo.messaging 2014-08-22 11:02:25 +02:00
test_mlnx_plugin.py UTs: Disable auto deletion of ports/subnets/nets 2014-09-09 07:09:02 -07:00
test_mlnx_plugin_config.py Refresh rpc_backend values in unit tests to those from oslo.messaging 2014-08-22 11:02:25 +02:00
test_mlnx_security_group.py Remove XML support 2014-10-24 15:18:49 +00:00
test_rpcapi.py Drop RpcProxy usage from neutron.agent.rpc.PluginApi 2014-11-19 17:18:34 +00:00