Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4378

Add Source to Resource.DiskInfo.

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.27.0
    • Component/s: None
    • Labels:

      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;
          }
      }
      

        Attachments

          Activity

            People

            • Assignee:
              jvanremoortere Joris Van Remoortere
              Reporter:
              jieyu Jie Yu
              Shepherd:
              Jie Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: