diff --git a/api/nodes/disk_writer.proto b/api/nodes/disk_writer.proto index 08a4b2d..f754567 100644 --- a/api/nodes/disk_writer.proto +++ b/api/nodes/disk_writer.proto @@ -4,6 +4,7 @@ package synapse; message DiskWriterConfig { string filename = 1; + uint32 storage_device_id = 2; } message DiskWriterStatus { diff --git a/api/status.proto b/api/status.proto index 3a73793..9400c34 100644 --- a/api/status.proto +++ b/api/status.proto @@ -23,9 +23,16 @@ enum DeviceState { kError = 4; } +message StorageDevice { + string name = 1; + uint32 storage_device_id = 2; + float total_gb = 3; + float used_gb = 4; +} + message DeviceStorage { - float total_gb = 1; - float used_gb = 2; + reserved 1, 2; + repeated StorageDevice storage_devices = 3; } message DevicePower {