ironic-python-agent/ironic_python_agent/tests/unit
Lucas Alvares Gomes af81914ce7 Add a log extension
The log extension is responsible for retrieving logs from the system,
if journalctl is present the logs will come from it, otherwise we
fallback to getting the logs from the /var/log directory + dmesg logs.

In the coreos ramdisk, we need to bind mount /run/log in the container
so the IPA service can have access to the journal.

For the tinyIPA ramdisk, the logs from IPA are now being redirected to
/var/logs/ironic-python-agent.log instead of only going to the default
stdout.

Inspector now shares the same method of collecting logs, extending its
capabilities for non-systemd systems.

Partial-Bug: #1587143
Change-Id: Ie507e2e5c58cffa255bbfb2fa5ffb95cb98ed8c4
2016-06-28 17:02:11 +01:00
..
extensions Add a log extension 2016-06-28 17:02:11 +01:00
__init__.py Add base for IPA functional tests 2015-08-18 16:19:47 +00:00
test_agent.py Wait for at least one interface before node lookup 2016-06-14 12:36:52 +00:00
test_api.py Merge "Removes the use of mutables as default args" 2016-06-20 17:25:29 +00:00
test_encoding.py Replace assertEqual(None, *) with assertIsNone in tests 2015-12-17 11:32:33 +08:00
test_errors.py Bind to interface routable to the ironic host, not a random one 2016-03-21 14:21:12 +00:00
test_hardware.py Replace dict.get(key) with dict[key] in tests 2016-06-23 17:41:23 -04:00
test_inspector.py Add a log extension 2016-06-28 17:02:11 +01:00
test_ironic_api_client.py Support LLDP data as part of interfaces in inventory 2016-06-22 18:26:04 +01:00
test_multi_hardware.py Enforce all flake8 rules except E129 2015-10-02 10:01:00 -07:00
test_multi_hardware_clean_steps.py Allow hardware managers to override clean step priority 2016-01-14 13:12:52 -08:00
test_netutils.py Consolidate IPA configuration into a config module 2016-05-31 15:24:23 +01:00
test_utils.py Add a log extension 2016-06-28 17:02:11 +01:00