Newer
Older
syntax = "proto3";
option go_package = "gitlab.fbi.h-da.de/cocsn/gosdn";
option java_multiple_files = true;
option java_package = "de.h-da.fbi.gosdn.cliInterface";
option java_outer_classname = "cliInterface";
package cliInterface;
// The greeting service definition.
// 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.
message HelloRequest {
string name = 1;
}
// The response message containing the greetings
message HelloReply {
string message = 1;
// Request to shutdown goSDN
message ShutdownRequest {
string name = 1;
}
// The response message containing some shutdown notes of goSDN
message ShutdownReply {
string message = 1;
}