]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Refactor the _get_external_device_interface_name method
authorSylvain Afchain <sylvain.afchain@enovance.com>
Fri, 12 Dec 2014 09:52:43 +0000 (09:52 +0000)
committerCarl Baldwin <carl.baldwin@hp.com>
Fri, 16 Jan 2015 00:58:14 +0000 (00:58 +0000)
commit6e5762be5b3324f1cf0e52f2680455d760bcc3ea
treedda6973a2ce655038c8f0ef259957daea336e835
parentf945d84fc973220e4bdf0897c003a39640960f0b
Refactor the _get_external_device_interface_name method

Currently this method does two things. It returns the
external interface name as its name indicates and
creates some interfaces in the case of the dvr mode.
This patch split these two things into two methods and
refactor a bit the code according to this change.

Related-Bug: #1375994
Change-Id: I7dc2c03457cbb209c84584c2badffd12048e9617
neutron/agent/l3/agent.py
neutron/tests/unit/test_l3_agent.py