[ 
https://issues.apache.org/jira/browse/MESOS-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Chen updated MESOS-2475:
--------------------------------
    Shepherd: Timothy Chen

> Add the Resource::ReservationInfo protobuf message
> --------------------------------------------------
>
>                 Key: MESOS-2475
>                 URL: https://issues.apache.org/jira/browse/MESOS-2475
>             Project: Mesos
>          Issue Type: Technical task
>            Reporter: Michael Park
>            Assignee: Michael Park
>              Labels: mesosphere
>
> The {{Resource::ReservationInfo}} protobuf message encapsulates information 
> needed to keep track of reservations. It's named {{ReservationInfo}} rather 
> than {{Reservation}} to keep consistency with {{Resource::DiskInfo}}.
> Here's essentially what it will look like in the end:
> {code}
> message ReservationInfo {
>   // If this is set, it means that the resource is reserved for this 
> particular
>   // framework. Otherwise, the resource is reserved for the role.
>   optional FrameworkID framework_id;
>   // Indicates the principal of the operator or framework that created the
>   // reservation. This is used to determine whether this resource can be 
>   // unreserved by an operator or a framework by checking the
>   // "unreserve" ACL.
>   required string principal;
>   // Anyone can set this ID at the time of reservation in order to keep track.
>   optional string id;
> }
> // If this is set, this resource was dynamically reserved by an
> // operator or a framework. Otherwise, this resource was
> // statically configured by an operator via the --resources flag.
> optional ReservationInfo reservation;
> {code}
> In v1, we'll only need to introduce {{framework_id}}. {{principal}} will be 
> introduced along with the "unreserved" ACLs and {{id}} may be introduced in 
> the future.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to