Created
February 8, 2018 00:04
-
-
Save rcgoodfellow/8390729169b86f3fd1cf5d09eb6047ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
message ConfigureRequset { | |
map<string,string> payload = 1; //resource-uuid ---> xir-node-object | |
} | |
message ConfigureResponse { | |
map<string,Diags> diags = 1; //resource-uuid ---> diagnostics | |
} | |
message Diags { | |
repeated Diag diags = 1; | |
} | |
message Diag { | |
enum Code { | |
Info = 0; | |
Warn = 1; | |
Error = 2; | |
} | |
Code code = 1; | |
string message = 2; | |
} | |
service Commander { | |
rpc Configure(ConfigureRequest) returns (ConfigureResponse) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
message ConfigRequest { | |
string xir = 1; | |
} | |
message Diag { | |
enum Code { | |
Info = 0; | |
Warn = 1; | |
Error = 2; | |
} | |
Code code = 1; | |
string message = 2; | |
} | |
message ConfigureResponse { | |
repeated Diags diags = 1; //resource-uuid ---> diagnostics | |
} | |
service Driver { | |
rpc Configure(ConfigRequest) returns (ConfigureResponse); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment