Project: mesos
Issue MESOS-2475: Add the Resource::ReservationInfo protobuf message
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}
Story points: 2