]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
sriovnicagent: untangle SecurityGroupAgentRpcMixin
authorRussell Bryant <rbryant@redhat.com>
Wed, 21 Jan 2015 20:50:21 +0000 (15:50 -0500)
committerRussell Bryant <rbryant@redhat.com>
Thu, 22 Jan 2015 20:39:07 +0000 (15:39 -0500)
commite6592f74021fbb4a1d577733292233f0a3f7be5f
treeed3852acfb85098e46449626a598dbe0fe4f1c2b
parent168b3c5dfd2b9bf50520e89ebc293f0fac0c35a6
sriovnicagent: untangle SecurityGroupAgentRpcMixin

This patch separates the use of SecurityGroupAgentRpcMixin out to its
own class.  This matches most of the rest of the code base.  This
separation is needed to be able to eventually move this rpc API into
its own messaging namespace.  Now that it's separate, a future change
can pass the new class an instance of SecurityGroupServerRpcApi
instead of assuming that the PluginApi instance includes
SecurityGroupServerRpcApiMixin.

Part of blueprint rpc-docs-and-namespaces.

Change-Id: I46bdf2132bfed582df85bb302f55b1840e7a7a18
neutron/plugins/sriovnicagent/sriov_nic_agent.py
neutron/tests/unit/sriovnicagent/test_sriov_neutron_agent.py