[openstack-dev] [Neutron] Bump the RPC version required for port_update - AgentNotifierApi
Rossella Sblendido
rsblendido at suse.com
Mon Apr 27 16:09:41 UTC 2015
Hello all,
I am working at the blueprint "Restructure the L2 agent" [1] .
One of the work item of this blueprint is to modify the port_update
message to include the attributes of the ports that were modified. This
is implemented in this patch [2] .
The client side of the RPC is in AgentNotifierApi , the server side is
implemented in the L2 agent. A problem arises since now the vendor
plugins are out of the tree. If they use a custom L2 agent (like for
example the Ryu plugin) when the patch is merged they will get an
UnsupportedVersion error if the version is not bumped in their agent too.
I am writing this email as heads up and also to ask a question. The
port_update signature on the server side is like this:
def port_update(self, context, **kwargs)
kwargs is used, no specific parameter is specified. If a new key is
added like in this case, the minor version of the RPC should be bumped
anyway? I think so.
cheers,
Rossella
[1] https://blueprints.launchpad.net/neutron/+spec/restructure-l2-agent
[2] https://review.openstack.org/#/c/155223
More information about the OpenStack-dev
mailing list