neutron/neutron/api/rpc
Ihar Hrachyshka 725a93bb76 Make security_groups_provider_updated work with Kilo agents
Initially, we bumped the required version for the agent endpoint from
1.1 (the initial version that implemented security groups) to 1.3
without considering that the code should work with old agents that do
not yet know about the new devices_to_update argument.

Actually, there was no need to bump the version: old agent side code
already captures all unknown arguments that could be passed from the
server, ignoring them:

608b54137f/neutron/agent/securitygroups_rpc.py (L155)

(^ the link shows the latest Kilo code as of writing)

Note: some people may argue that the approach that is taken in Neutron
to support backwards compatibility for server notifications is wrong,
and we instead should adopt some stricter mechanism like nova version
pinning. While that is a noble thing to do, it's out of scope for the
patch that is designed to be easily backportable to stable/liberty.

Note: some people may also argue that the patch should go straight into
stable/liberty because we don't claim support for rolling upgrade
scenarios that span multiple releases. That's indeed true, though my
take on it is that if we have a way to handle more unofficial scenarios
without more coding effort, it's worth doing it.

Change-Id: I741e6e5c460658ac17095551040e67e8d1990812
Closes-Bug: #1531772
(cherry picked from commit f8f3660240)
2016-01-16 17:53:23 +00:00
..
agentnotifiers DVR: notify specific agent when creating floating ip 2016-01-04 09:23:57 +01:00
callbacks Propagate notifications to agent consumers callbacks 2015-08-08 10:41:32 +02:00
handlers Make security_groups_provider_updated work with Kilo agents 2016-01-16 17:53:23 +00:00
__init__.py Remove invalid copyright headers under API module 2014-04-02 11:09:03 -07:00