]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Metadata agent caches networks for routers
authorJakub Libosvar <libosvar@redhat.com>
Thu, 30 Jan 2014 14:27:02 +0000 (15:27 +0100)
committerJakub Libosvar <libosvar@redhat.com>
Thu, 22 May 2014 11:19:13 +0000 (13:19 +0200)
commit3faea81c6029033c85cefd6e98d7a3e719e858f5
tree31ed828793917c00da439939ead10108134d13d2
parent7508170498949818aed02ba0fd9b7f861e596320
Metadata agent caches networks for routers

During cloud-init there are several calls that asks neutron API for the
same data which will not be most likely changed. Specifically router's
networks are cached.

Closes-bug: #1276440
Change-Id: Ic5eedb8057c7f4934eed08869ebf55c91e6edfc9
etc/metadata_agent.ini
neutron/agent/metadata/agent.py
neutron/tests/unit/test_metadata_agent.py