osd dump --format=json converted to a python object :returns: the python object
(self)
| 2663 | return json.loads('\n'.join(out.split('\n')[1:])) |
| 2664 | |
| 2665 | def get_osd_dump_json(self): |
| 2666 | """ |
| 2667 | osd dump --format=json converted to a python object |
| 2668 | :returns: the python object |
| 2669 | """ |
| 2670 | out = self.raw_cluster_cmd('osd', 'dump', '--format=json') |
| 2671 | return json.loads('\n'.join(out.split('\n')[1:])) |
| 2672 | |
| 2673 | def get_osd_dump(self): |
| 2674 | """ |