[
https://issues.apache.org/jira/browse/MESOS-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542702#comment-14542702
]
Michael Park commented on MESOS-2475:
-------------------------------------
{noformat}
commit 4d1e5b02dc7f1ab3c09f0b0eadf4f72adc149140
Refs:
Author: Michael Park <[email protected]>
AuthorDate: Sun May 3 11:40:11 2015 -0700
Commit: Jie Yu <[email protected]>
CommitDate: Sun May 3 13:08:43 2015 -0700
Added Resource::ReservationInfo protobuf message.
Review: https://reviews.apache.org/r/32139
{noformat}
> Add the Resource::ReservationInfo protobuf message
> --------------------------------------------------
>
> Key: MESOS-2475
> URL: https://issues.apache.org/jira/browse/MESOS-2475
> Project: Mesos
> Issue Type: 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 what it will look like:
> {code}
> message ReservationInfo {
> // 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;
> }
> // 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}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)