neutron/doc
Miguel Angel Ajo 1d18475dbd Refactor the rpc callback version discovery mechanism
The previous version depended on the AgentDbMixin to be loaded by
any plugin, and also introduced an __init__ on the mixin which
was problematic: mixins are expected to be classes which add methods
to another class, but to implement no constructor. One of the plugins
had one of the elements of MRO not calling to super().__init__ and
hence not triggering this __init__ method.

This change requires the plugins using the rpc callback mechanism
to provide the AgentDbMixin which is used to refresh cache of known
resource consumers (agents) and versions on demand, this way
we make it more clear that the rpc_callback api is currently designed
to be used with agents only, despite of its extensibility to other
areas.

Change-Id: Ie96b52dbe3a1f32cd4c11de8d8a5eff663fbf7f6
Related-Bug: #1584204
(cherry picked from commit 1d43dd217a)
2016-06-09 13:43:08 +00:00
..
source Refactor the rpc callback version discovery mechanism 2016-06-09 13:43:08 +00:00
Makefile Merge from launchpad quantum/diablo branch: 2011-09-23 20:17:44 -07:00
pom.xml Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00