]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
DVR: Remove get_port call from dvr_update_router_addvm
authorSwaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Fri, 4 Dec 2015 20:44:10 +0000 (12:44 -0800)
committerSwaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Mon, 21 Dec 2015 21:36:58 +0000 (13:36 -0800)
commitdcbae504da7a541acf1d0c67a70b5342793acddc
tree218c88f8b200f791ed3b0b90eee2894037b144de
parentb223452e68fa8629cb67826bb8ae3ac612e0b859
DVR: Remove get_port call from dvr_update_router_addvm

The dvr_update_router_addvm un-necessarily calls the
get_port to retreive the port dict, even though the port
dict is already passed in.

So this patch will remove the get_port call.

Change-Id: Ib893024ef0cf811497f077f5ae9d3965ea19f288
neutron/db/l3_dvrscheduler_db.py
neutron/tests/unit/scheduler/test_l3_agent_scheduler.py