Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Mesosphere Sprint 27
-
1
Description
Source is used to describe the extra information about the source of a Disk resource. We will support 'PATH' type first and then 'BLOCK' later.
message Source { enum Type { PATH = 1; BLOCK = 2, } message Path { // Path to the folder (e.g., /mnt/raid/disk0). required string root = 1; required double total_size = 2; } message Block { // Path to the device file (e.g., /dev/sda1, /dev/vg/v1). // It can be a physical partition, or a logical volume (LVM). required string device = 1; } required Type type = 1; optional Path path = 2; optional Block block = 3; } }