The watcher.decision_engine.model.element.disk_info Module

class watcher.decision_engine.model.element.disk_info.DiskInfo[source]

Bases: watcher.decision_engine.model.element.base.Element

accept(visitor)[source]
get_device_name()[source]
get_size()[source]
set_device_name(name)[source]

Device name

Parameters:name
set_scheduler(scheduler)[source]

DiskInfo

I/O Scheduler noop cfq deadline :param scheduler: :return:

set_size(size)[source]

DiskInfo

Parameters:size – Size in bytes