blob: 903e5cc58490fb1f949a7d1fb810210df7418dd4 [file] [log] [blame]
sslobodra3ea7d42019-01-16 15:03:16 -05001// protoc -I echo/ echo/*.proto --go_out=plugins=grpc:echo
2
3syntax = "proto3";
4
5option go_package = "github.com/opencord/voltha-go/protos/afrouter";
6
7package afrouter;
8
9service Configuration {
10 rpc SetConnection (Conn) returns (Result) {}
11 rpc SetAffinity(Affinity) returns (Result) {}
12}
13
14message Result {
15 bool success = 1;
16 string error = 2;
17}
18
19message Conn {
20 string server = 1;
21 string pkg = 2;
22 string svc = 3;
23 string cluster = 4;
24 string backend = 5;
25 string connection = 6;
26 string addr = 7;
27 uint64 port = 8;
28}
29
30message Affinity {
31 string router = 1;
32 string route = 2;
33 string cluster = 3;
34 string backend = 4;
35 string id = 5;
36}