]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Create arping helper in ip_lib
authorCarl Baldwin <carl.baldwin@hp.com>
Mon, 12 Jan 2015 16:36:40 +0000 (16:36 +0000)
committerCarl Baldwin <carl.baldwin@hp.com>
Thu, 15 Jan 2015 05:43:10 +0000 (05:43 +0000)
commit7333678c1303fa57effb461fc0c1a00ca72c7033
tree69b18e3c6518eb71a58836cb6dc2ed12499a3c59
parent6df7f5abf16f11abe784ab33e7885ec7bb8a5273
Create arping helper in ip_lib

In trying to restructure the L3 agent in to more modules, some helpers
like arping will be used by several modules.  It is better to relocate
it to a common module which all of them will import and use.

Since there is only one spot which passed 'distributed=True', I chose
to break the utility in to two.  Also, 'distributed' doesn't really
describe what that argument is for.  So, I named the second utility
differently to indicate that it is for sending garps when proxyarp is
in use for the address on the interface.

Change-Id: Icfdf41917e9e2e0dcd2be19297aee5ac89e96e94
Partially-Implements: blueprint restructure-l3-agent
neutron/agent/l3/agent.py
neutron/agent/l3/dvr.py
neutron/agent/linux/ip_lib.py
neutron/tests/functional/agent/test_l3_agent.py
neutron/tests/unit/test_l3_agent.py
neutron/tests/unit/test_linux_ip_lib.py