]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix client side versions in dhcp rpc API
authorRussell Bryant <rbryant@redhat.com>
Fri, 7 Nov 2014 14:31:15 +0000 (15:31 +0100)
committerRussell Bryant <rbryant@redhat.com>
Mon, 17 Nov 2014 15:03:00 +0000 (10:03 -0500)
commitaa3b5dda15293a77ad12599084c54dd6ecb20302
tree9724f134e5db9f6647a560b2f93e539d36dc64a9
parent18c84f42d0fd99b735766caf3a4f4264838fb5e5
Fix client side versions in dhcp rpc API

The dhcp rpc API has two version (1.0 and 1.1).  The proper way to use
versioning for this is to only specify '1.1' from the client side when
you require that the remote side implements at least version '1.1' for
the method to work.  Otherwise, '1.0' should still be specified.  The
previous code specified '1.1' always.

Related to blueprint drop-rpc-compat.

Change-Id: I9468f8f67d80c5d064137f917fc04f9335a3ed55
neutron/agent/dhcp_agent.py
neutron/tests/unit/test_dhcp_agent.py