Skip to content
Snippets Groups Projects

Develop

Merged Ghost User requested to merge develop into master
3 files
+ 30
2
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -9,9 +9,19 @@ option java_outer_classname = "cliInterface";
package cliInterface;
// The greeting service definition.
service Greeter {
service GrpcCli {
// Sends a greeting
rpc SayHello (HelloRequest) returns (HelloReply) {}
// Shutdown goSDN
rpc Shutdown (ShutdownRequest) returns (ShutdownReply) {}
// By now solely TAPI specific calls can be issued from the grpc-cli
// TAPIGetEdge
rpc TAPIGetEdge (TAPIRequest) returns (TAPIReply) {}
//TAPIGetEdgeNode
rpc TAPIGetEdgeNode (TAPIRequest) returns (TAPIReply) {}
// TAPIGetLink
rpc TAPIGetLink (TAPIRequest) returns (TAPIReply) {}
}
// The request message containing the user's name.
@@ -22,4 +32,27 @@ message HelloRequest {
// The response message containing the greetings
message HelloReply {
string message = 1;
string goSDNInfo = 2;
}
// Request to shutdown goSDN
message ShutdownRequest {
string name = 1;
}
// The response message containing some shutdown notes of goSDN
message ShutdownReply {
string message = 1;
}
// Request with no meaning by now
message TAPIRequest {
string name = 1;
}
// The response message containing a string with no meaning by now
message TAPIReply {
string message = 1;
}
Loading