grpc update to get session and get sessions

This commit is contained in:
bharnden 2019-03-22 14:02:18 -07:00
parent 1f3e72e014
commit c6cfe1a8f4
3 changed files with 23 additions and 16 deletions

View file

@ -141,7 +141,7 @@ message GetSessionsRequest {
}
message GetSessionsResponse {
repeated Session sessions = 1;
repeated SessionSummary sessions = 1;
}
message GetSessionRequest {
@ -149,9 +149,7 @@ message GetSessionRequest {
}
message GetSessionResponse {
SessionState state = 1;
repeated Node nodes = 2;
repeated Link links = 3;
Session session = 1;
}
message GetSessionOptionsRequest {
@ -712,6 +710,13 @@ message ConfigOption {
}
message Session {
int32 id = 1;
SessionState state = 2;
repeated Node nodes = 3;
repeated Link links = 4;
}
message SessionSummary {
int32 id = 1;
SessionState state = 2;
int32 nodes = 3;