]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Rename _get_vm_port_hostid in dvr to reflect the right functionality
authorSwaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Wed, 23 Dec 2015 18:36:35 +0000 (10:36 -0800)
committerSwaminathan Vasudevan <swaminathan.vasudevan@hp.com>
Fri, 8 Jan 2016 17:54:56 +0000 (17:54 +0000)
commit3a6951befee21f5113449d551adb7c9243c6159c
tree5ca8a3e6b49627c4a1c7f988d90a17c4ba7a9648
parent6960cc133c9ebac3ca356a2058230674562d5615
Rename _get_vm_port_hostid in dvr to reflect the right functionality

_get_vm_port_hostid returns the host id associated with the
dvr service ports. It not only returns the VM port hostid, but
also returns the host id associated with LBaaS vip port and
dhcp.

So to be in sync with other function names let us rename the
function to _get_dvr_service_port_hostid.

Change-Id: Idc69d3b35a371b987aa34597ed6e1de7b96ff2e5
neutron/db/l3_dvr_db.py
neutron/tests/unit/db/test_l3_dvr_db.py