]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commit
common: changes to the Disk class
authorPaul Cuzner <pcuzner@redhat.com>
Thu, 6 Jul 2017 23:29:06 +0000 (11:29 +1200)
committerZack Cerza <zack@redhat.com>
Tue, 11 Jul 2017 22:39:04 +0000 (16:39 -0600)
commitc14e68e3db878dfc0d78be21bc10718b213cc5cb
tree5a7061e3883b9f114ffda4751b8a2eb0e84c9eb2
parentd421b079874e23d374ccb610eeab0462c8afe716
common: changes to the Disk class

Two main things;
1. Disk instances are now initialized here, instead of with the caller
devices simplying code in the osd class
2. get_real_dev function added to convert a device name of an OSD to the
name we'll use as a metric. this now provides initial support for nvme
and intelcas based osd
collectors/common.py