Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
io_serviced_recursive = SplitValueFile("blkio.io_serviced_recursive", 1, int)
io_service_time = SplitValueFile("blkio.io_service_time", 1, int)
io_service_time_recursive = SplitValueFile("blkio.io_service_time_recursive", 1, int)
io_wait_time = SplitValueFile("blkio.io_wait_time", 1, int)
io_wait_time_recursive = SplitValueFile("blkio.io_wait_time_recursive", 1, int)
leaf_weight = IntegerFile("blkio.leaf_weight")
# TODO: Uncomment the following properties after researching how to interact with files
# leaf_weight_device =
reset_stats = IntegerFile("blkio.reset_stats")
# sectors =
# sectors_recursive =
# throttle_io_service_bytes =
# throttle_io_serviced =
throttle_read_bps_device = TypedFile("blkio.throttle.read_bps_device", contenttype=DeviceThrottle, many=True)
throttle_read_iops_device = TypedFile("blkio.throttle.read_iops_device", contenttype=DeviceThrottle, many=True)
throttle_write_bps_device = TypedFile("blkio.throttle.write_bps_device ", contenttype=DeviceThrottle, many=True)
throttle_write_iops_device = TypedFile("blkio.throttle.write_iops_device ", contenttype=DeviceThrottle, many=True)
# time =
# time_recursive =
weight = IntegerFile("blkio.weight")
# weight_device =
class NetClsController(Controller):
"""
net_cls.classid
"""
class_id = IntegerFile("net_cls.classid")
class NetPrioController(Controller):
io_service_bytes_recursive = SplitValueFile("blkio.io_service_bytes_recursive", 1, int)
io_serviced = SplitValueFile("blkio.io_serviced", 1, int)
io_serviced_recursive = SplitValueFile("blkio.io_serviced_recursive", 1, int)
io_service_time = SplitValueFile("blkio.io_service_time", 1, int)
io_service_time_recursive = SplitValueFile("blkio.io_service_time_recursive", 1, int)
io_wait_time = SplitValueFile("blkio.io_wait_time", 1, int)
io_wait_time_recursive = SplitValueFile("blkio.io_wait_time_recursive", 1, int)
leaf_weight = IntegerFile("blkio.leaf_weight")
# TODO: Uncomment the following properties after researching how to interact with files
# leaf_weight_device =
reset_stats = IntegerFile("blkio.reset_stats")
# sectors =
# sectors_recursive =
# throttle_io_service_bytes =
# throttle_io_serviced =
throttle_read_bps_device = TypedFile("blkio.throttle.read_bps_device", contenttype=DeviceThrottle, many=True)
throttle_read_iops_device = TypedFile("blkio.throttle.read_iops_device", contenttype=DeviceThrottle, many=True)
throttle_write_bps_device = TypedFile("blkio.throttle.write_bps_device ", contenttype=DeviceThrottle, many=True)
throttle_write_iops_device = TypedFile("blkio.throttle.write_iops_device ", contenttype=DeviceThrottle, many=True)
# time =
# time_recursive =
weight = IntegerFile("blkio.weight")
# weight_device =
class NetClsController(Controller):
"""
net_cls.classid
"""
class_id = IntegerFile("net_cls.classid")