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

Add Source to Resource.DiskInfo.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.27.0
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: