[ 
https://issues.apache.org/jira/browse/MESOS-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15345919#comment-15345919
 ] 

Jay Guo commented on MESOS-5491:
--------------------------------

[~vinodkone] In {{GET_STATE_SUMMARY}} API, we also need proto message {{Agent}} 
and {{Framework}}. I think it makes more sense to make these two message public 
and more inclusive. Fields required by {{GET_STATE_SUMMARY}} are:
{code}
  message GetStateSummary {
    message Agent {
      optional string id = 1;
      optional string pid = 2;
      optional string hostname = 3;
      optional string registered_time = 4;
      optional string reregistered_time =5;
      repeated Resource resources = 6;
      repeated Resource used_resources = 7;
      repeated Resource reserved_resources = 8;
      repeated Resource unreserved_resources = 9;
      repeated Attribute attributes = 10;
      optional bool active = 11;
      optional string version = 12;
    }
    
    message Framework {
      optional string id = 1;
      optional string name = 2;
      optional string pid = 3;
      optional string hostname = 4;
      repeated Resource used_resources = 5;
      repeated Resource offered_resources = 6;
      repeated FrameworkInfo.Capability capabilities = 7;
      optional string webui_url = 8;
      optional bool active = 9;
    }

    optional string hostname = 1;
    optional string cluster = 2;
    repeated Agent agents = 3;
    repeated Framework frameworks = 4;
  }
{code}

> Implement GET_AGENTS Call in v1 master API.
> -------------------------------------------
>
>                 Key: MESOS-5491
>                 URL: https://issues.apache.org/jira/browse/MESOS-5491
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Vinod Kone
>            Assignee: zhou xing
>




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

Reply via email to