logfile_parser.legacy.to_legacy

to_legacy(parsed_logfile)[source]

Convert the output of the new logfile parsing to legacy to a minimal working set of metadata. This converts the new more complex metadata structure to the previous one that did not have configuration profiles, but instead one configuration per channel. This is a temporal solution as we transition into a more general metadata structure that accounts for heterogeneous groups.

We convert image configs to channels, and add general metadata to the root.

Return type

dict