]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Move classes out of l3_agent.py
authorCarl Baldwin <carl.baldwin@hp.com>
Mon, 1 Dec 2014 21:49:10 +0000 (16:49 -0500)
committerBrian Haley <brian.haley@hp.com>
Wed, 10 Dec 2014 22:19:28 +0000 (15:19 -0700)
commitd7c5306360a052201e0d91019ebc5a1062808241
tree386b87dc3b9caf2ef343890500721e18757a3ba2
parente55e71524f7431f3947f994e8552aab047e5b0cb
Move classes out of l3_agent.py

The file l3_agent.py has become too large.  This patch is a simple
pure refactor to move some of the functionality in to other files
where things aren't too tangled up.  There is no functional change
with this patch and I avoided gratuitous other fixups in this patch in
order to make it easier to review.

I plan to follow up on the new l3_dvr and l3_agent_router modules with
more restructuring in the near future.

Partially-Implements: bp restructure-l3-agent

Change-Id: I3529fe4146c50c940f41eb26d0b5efc5870b3af9
14 files changed:
neutron/agent/l3/__init__.py [new file with mode: 0644]
neutron/agent/l3/agent.py [moved from neutron/agent/l3_agent.py with 86% similarity]
neutron/agent/l3/ha.py [moved from neutron/agent/l3_ha_agent.py with 100% similarity]
neutron/agent/l3/link_local_allocator.py [new file with mode: 0644]
neutron/agent/l3/router_info.py [new file with mode: 0644]
neutron/agent/l3/router_processing_queue.py [new file with mode: 0644]
neutron/agent/netns_cleanup_util.py
neutron/agent/ovs_cleanup_util.py
neutron/tests/common/agents/l3_agent.py
neutron/tests/functional/agent/test_l3_agent.py
neutron/tests/unit/test_l3_agent.py
neutron/tests/unit/test_l3_dvr.py [new file with mode: 0644]
neutron/tests/unit/test_router_processing_queue.py [new file with mode: 0644]
setup.cfg