def getDefaultGraphDefs(self, drange=None): # Add and re-label graphs displayed in other components graphs = super(ThinPool, self).getDefaultGraphDefs(drange) vg = self.volumeGroup() if vg: vgGraphs = override_graph_labels(vg, drange) graphs.extend(vgGraphs) bd = self.blockDevice() if bd: bdGraphs = override_graph_labels(bd, drange) graphs.extend(bdGraphs) return graphs
def getDefaultGraphDefs(self, drange=None): # Add and re-label graphs displayed in other components graphs = super(LogicalVolume, self).getDefaultGraphDefs(drange) vg = self.volumeGroup() if vg: vgGraphs = override_graph_labels(vg, drange) graphs.extend(vgGraphs) bd = self.blockDevice() if bd: bdGraphs = override_graph_labels(bd, drange) graphs.extend(bdGraphs) return graphs
def getDefaultGraphDefs(self, drange=None): # Add and re-label graphs displayed in other components graphs = super(VolumeGroup, self).getDefaultGraphDefs(drange) for pv in self.physicalVolumes(): pvGraphs = override_graph_labels(pv, drange) graphs.extend(pvGraphs) return graphs
def getDefaultGraphDefs(self, drange=None): # Add and re-label graphs displayed in other components graphs = super(FileSystem, self).getDefaultGraphDefs(drange) bd = self.logicalVolume() or self.blockDevice() if bd: bdGraphs = override_graph_labels(bd, drange) graphs.extend(bdGraphs) return graphs