]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix update_subnet for prefix delegation
authorJohn Davidge <jodavidg@cisco.com>
Fri, 7 Aug 2015 15:27:47 +0000 (16:27 +0100)
committerJohn Davidge <jodavidg@cisco.com>
Wed, 12 Aug 2015 15:00:07 +0000 (16:00 +0100)
commita3285ac71acb83880c3e055728acff0c5e339062
treea41ed5f5d36348a7e0eb88fca7a61bd7870ecd7d
parent0b0aa4a61dce3af9e6e2d773434ced0298d60275
Fix update_subnet for prefix delegation

A misnamed function call and execution order issue was causing
update_subnet to fail when a PD enabled subnet received a new CIDR.

This patch fixes the issues, and introduces an rpc api test to
ensure the function works. This includes altering the process_prefix_update
RPC handler to expose the issue to the test.

Change-Id: Id1e781291f711865fd783ed5e0208694097b7024
Closes-Bug: 1482676
neutron/api/rpc/handlers/l3_rpc.py
neutron/db/db_base_plugin_v2.py
neutron/tests/unit/api/rpc/handlers/test_l3_rpc.py [new file with mode: 0644]