Leapp¶
Parsers for parsing output of the
insights.specs.datasources.leapp.leapp_report
datasource.
LeappReport - based on /var/log/leapp/leapp-report.json
¶
- class insights.parsers.leapp.LeappReport(context)[source]¶
Bases:
Parser
,list
Class for parsing the
insights.specs.datasources.leapp.leapp_report
datasource.Examples
>>> type(leapp_report) <class 'insights.parsers.leapp.LeappReport'> >>> 'inhibitor' in leapp_report[0]['groups'] True >>> "Use of NFS detected. " in leapp_report[0]['title'] True