deb-python-os-collect-config/os_collect_config/tests
Steve Baker 76975f04e5 ec2 collector attempt config-drive before metadata server
This change will first attempt to get ec2 metadata from a v2 config
drive before falling back to the nova metadata server if no config
drive is detected.

Config drive is enabled in overcloud nodes, so using this for
os-collect-config will allow the undercloud nova metadata server to be
disabled.

V2 of the config-drive was released in OpenStack Folsom, so a decision
was made to not support V1 discovery at all. This makes the block
device candidate selection much simpler than the cloud-init one[1].

[1] https://git.launchpad.net/cloud-init/tree/cloudinit/sources/DataSourceConfigDrive.py#n219

Change-Id: I2aec0544fe40c2e901aee38c79bb838a627d20da
Closes-Bug: #1619074
2016-10-13 09:38:29 +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 ec2 collector attempt config-drive before metadata server 2016-10-13 09:38:29 +13:00
test_config_drive.py ec2 collector attempt config-drive before metadata server 2016-10-13 09:38:29 +13:00
test_ec2.py ec2 collector attempt config-drive before metadata server 2016-10-13 09:38:29 +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