grpc: node_command improvements to include return code and options for wait and shell when running commands

This commit is contained in:
Blake Harnden 2020-06-04 13:48:25 -07:00
parent 29d09c8397
commit 7b2dd59c81
3 changed files with 20 additions and 4 deletions

View file

@ -467,10 +467,13 @@ message NodeCommandRequest {
int32 session_id = 1;
int32 node_id = 2;
string command = 3;
bool wait = 4;
bool shell = 5;
}
message NodeCommandResponse {
string output = 1;
int32 return_code = 2;
}
message GetNodeLinksRequest {