]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Move metadata agent entry to its own file
authorarmando-migliaccio <armamig@gmail.com>
Fri, 9 Jan 2015 18:35:59 +0000 (10:35 -0800)
committerarmando-migliaccio <armamig@gmail.com>
Sat, 10 Jan 2015 03:49:45 +0000 (19:49 -0800)
commit0cb3b54fcf297baa8c168a5547deeabda8324114
tree8c41530b79fec3ceb5a8dd5752b863b1a3aad443
parent6df7f5abf16f11abe784ab33e7885ec7bb8a5273
Move metadata agent entry to its own file

Break main() and configs out of agent logic. This makes metadata
consistent with the L3 and DHCP agents [1, 2].

Along with [3], this is done to better delineate what the agent module
inner boundaries are about. More to follow to finish off the cleanup.

[1] https://review.openstack.org/#/c/145979/
[2] https://review.openstack.org/#/c/146024/
[3] https://review.openstack.org/#/c/146151/

Change-Id: I2842f7c21db6f6dabdd2549f91a9001220454c22
neutron/agent/metadata/agent.py
neutron/agent/metadata/config.py [new file with mode: 0644]
neutron/agent/metadata_agent.py [new file with mode: 0644]
neutron/tests/unit/test_metadata_agent.py
setup.cfg