]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Refactor radvd control in the l3-agent
authorHenry Gessau <gessau@cisco.com>
Sun, 8 Feb 2015 02:19:06 +0000 (21:19 -0500)
committerHenry Gessau <gessau@cisco.com>
Tue, 10 Feb 2015 03:20:35 +0000 (22:20 -0500)
commitd03e80a390bd712e6d8df7cddc36f2f481d35255
tree9059fddd3853f19784a4ae71988774fc70104d7d
parentab9c3b16842579e8d59e3628f9e4829324b6b8df
Refactor radvd control in the l3-agent

Several of parameters used by radvd are known when a router is created
and do not need to be passed around every time an RA method is
called. Also, we want to easily check the state of radvd for a router.

Use an object to keep track of the data and state of an radvd process.

Related-blueprint: restructure-l3-agent

Change-Id: I6bcad9d84af5a5b148df7520f582392a8b56a2ec
neutron/agent/l3/agent.py
neutron/agent/l3/router_info.py
neutron/agent/linux/ra.py
neutron/tests/unit/test_l3_agent.py