deb-python-os-collect-config/os_collect_config/tests
Steve Baker a950edb320 Treat ec2 collector data as immutable
Currently the ec2 collector polls the nova metadata service every
$polling_period even though the data is not expected to change and no
known config actions have been written to respond to changes in these
values.

With larger overclouds, this metadata polling will cause noticeable
load on the undercloud, especially nova-api and neutron (for port
lookups).

This change will check for data in /var/lib/os-collect-config/ec2.json
and simply return that if it exists.

Change-Id: I84156f8b005b319fccf8ac17af8943aefb0a8f6d
Closes-Bug: #1619072
2016-10-12 12:16:59 +13:00
..
__init__.py Fix tests for rename. 2013-06-26 13:08:42 -07:00
test_cache.py Replace assertEqual(None, *) with assertIsNone in tests 2016-01-04 19:41:10 +05:30
test_cfn.py Use TEST-NET-1 for unit tests, not 127.0.0.1 2016-10-12 12:16:52 +13:00
test_collect.py Treat ec2 collector data as immutable 2016-10-12 12:16:59 +13:00
test_ec2.py Treat ec2 collector data as immutable 2016-10-12 12:16:59 +13:00
test_heat_local.py Drop use of 'oslo' namespace package 2015-05-06 18:45:17 +00:00
test_heat.py Use TEST-NET-1 for unit tests, not 127.0.0.1 2016-10-12 12:16:52 +13:00
test_keystone.py Use TEST-NET-1 for unit tests, not 127.0.0.1 2016-10-12 12:16:52 +13:00
test_local.py Drop use of 'oslo' namespace package 2015-05-06 18:45:17 +00:00
test_merger.py Refactor merging out of cfn collector 2015-06-15 09:14:29 +12:00
test_request.py Use TEST-NET-1 for unit tests, not 127.0.0.1 2016-10-12 12:16:52 +13:00
test_zaqar.py Use TEST-NET-1 for unit tests, not 127.0.0.1 2016-10-12 12:16:52 +13:00