[
https://issues.apache.org/jira/browse/MESOS-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Park updated MESOS-2475:
--------------------------------
Description:
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:
{code}
message ReservationInfo {
// Anyone can set this ID at the time of reservation in order to keep track.
optional string id;
// 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;
}
// If this is set, this resource was dynamically reserved by an operator or
// a framework. Otherwise, this resource was static configured by an
// operator via the --resources flag.
optional ReservationInfo reservation;
{code}
was:
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:
{code}
message ReservationInfo {
// Anyone can set this ID at the time of reservation in order to keep track.
optional string id;
// If this is set, it means that the resource is reserved for this particular
// framework. Otherwise, the resource is reserved for the role.
optional string 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.
optional string principal;
}
// If this is set, this resource was dynamically reserved by an operator or
// a framework. Otherwise, this resource was static configured by an
// operator via the --resources flag.
optional ReservationInfo reservation;
{code}
> 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 essentially what it will look like:
> {code}
> message ReservationInfo {
> // Anyone can set this ID at the time of reservation in order to keep track.
> optional string id;
> // 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;
> }
> // If this is set, this resource was dynamically reserved by an operator or
> // a framework. Otherwise, this resource was static configured by an
> // operator via the --resources flag.
> optional ReservationInfo reservation;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)