neutron/neutron/tests/unit/nec
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
fake_ofc_manager.py Refactor unit tests for NEC Plugin 2013-07-12 15:40:33 +09:00
stub_ofc_driver.py NEC plugin: Allow to apply Packet filter on OFC router interface 2014-10-23 11:29:05 +09:00
test_agent_scheduler.py remove openvswitch plugin 2014-10-01 21:16:27 -07:00
test_config.py NEC plugin: Allow to apply Packet filter on OFC router interface 2014-10-23 11:29:05 +09:00
test_db.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_nec_agent.py Drop RpcProxy usage from neutron.agent.rpc.PluginApi 2014-11-19 17:18:34 +00:00
test_nec_plugin.py UTs: Disable auto deletion of ports/subnets/nets 2014-09-09 07:09:02 -07:00
test_ofc_client.py switch to oslo.serialization 2014-11-14 09:28:12 +00:00
test_ofc_manager.py Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
test_packet_filter.py NEC plugin: Allow to apply Packet filter on OFC router interface 2014-10-23 11:29:05 +09:00
test_pfc_driver.py NEC plugin: Allow to apply Packet filter on OFC router interface 2014-10-23 11:29:05 +09:00
test_portbindings.py Set vif_details to reflect enable_security_group 2014-09-21 17:41:38 +09:00
test_router.py Removes calls to mock.patch.stopall in unit tests 2014-03-12 04:17:11 +00:00
test_security_group.py Remove XML support 2014-10-24 15:18:49 +00:00
test_trema_driver.py NEC plugin: Allow to apply Packet filter on OFC router interface 2014-10-23 11:29:05 +09:00
test_utils.py nec plugin: Compare OFS datapath_id as hex int 2014-02-13 10:37:29 +00:00