CephOsdTree
Combiner provides the information about ceph osd tree. It
uses the results of the CephOsdTree
, CephInsights
and CephOsdTreeText
parsers.
The order from most preferred to least preferred is CephOsdTree
, CephInsights
, CephOsdTreeText
.
Examples
>>> type(cot)
<class 'insights.combiners.ceph_osd_tree.CephOsdTree'>
>>> cot['nodes'][0]['children']
[-7, -3, -5, -9]
- class insights.combiners.ceph_osd_tree.CephOsdTree(cot, ci, cott)[source]
Bases:
LegacyItemAccess
Combiner provides the information about ceph osd tree. It uses the results of the
CephOsdTree
,CephInsights
andCephOsdTreeText
parsers. The order from most preferred to least preferred isCephOsdTree
,CephInsights
,CephOsdTreeText
.