]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Move ha router functionality from the agent to ha_router
authorCarl Baldwin <carl.baldwin@hp.com>
Tue, 27 Jan 2015 22:34:06 +0000 (22:34 +0000)
committerCarl Baldwin <carl.baldwin@hp.com>
Fri, 30 Jan 2015 22:30:40 +0000 (22:30 +0000)
commit9d1db4a01c4e617109d742e44e54fc9588a2b856
tree8934bfe7962499a17aa6b5b995345b8a0b113a11
parent6a797f354eb4ba936b80603f7cc01a2fe80446fd
Move ha router functionality from the agent to ha_router

This was pretty much a mechanical change.  Most of the methods passed
in ri as the first argument and so changing the way they're called was
a simple matter of replacing self with ri.  In the methods themselves,
I first made sure that self was not referenced for anything that
wasn't available in the router context and then replaced ri with self.

Change-Id: I2f9e23543a10da256d33c4c32a50aa2b8c93989d
Partially-Implements: bp/restructure-l3-agent
neutron/agent/l3/agent.py
neutron/agent/l3/ha.py
neutron/agent/l3/ha_router.py
neutron/tests/functional/agent/test_l3_agent.py
neutron/tests/unit/test_l3_agent.py