]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't update metadata_proxy if metadata is not enabled
authorHong Hui Xiao <xiaohhui@cn.ibm.com>
Wed, 28 Oct 2015 09:57:43 +0000 (05:57 -0400)
committerHong Hui Xiao <xiaohhui@cn.ibm.com>
Wed, 28 Oct 2015 09:57:43 +0000 (05:57 -0400)
commitce3a31faff35e6f177bd747cf8427a9f00d05af0
tree2bdd334a63adda1b7f534aea8a58918dd3240cc4
parent5e34292faa0ab10d7a19470aa00ff10b13e1162b
Don't update metadata_proxy if metadata is not enabled

When enable_metadata_proxy is false, the agent instance will
not have metadata_driver. And agent should avoid using it.

Change-Id: Ia18dc5dea23de49b97c8f225532531eb9232fb51
Closes-Bug: #1510399
neutron/agent/l3/ha.py
neutron/tests/unit/agent/l3/test_agent.py