blob: 82214a77fa20a0888eac47c58e2384deb6e02ac6 [file] [log] [blame]
Stephane Barbarie35595062018-02-08 08:34:39 -05001syntax = "proto3";
2
3option go_package = "github.com/opencord/voltha/protos/go/ponsim";
4
5package ponsim;
6
7service PonSimOlt {
8 rpc Register (RegistrationRequest) returns (RegistrationReply) {}
9}
10
11message RegistrationRequest {
12 string id = 1;
13 string address = 2;
14 int32 port = 3;
15}
16
17message RegistrationReply {
18 string id = 1;
19
20 enum Status {
21 REGISTERED = 0;
22 FAILED = 1;
23 UNAVAILABLE = 2;
24 }
25
26 Status status = 2;
27 string status_message = 3;
28
29 string parent_address = 4;
30 int32 parent_port = 5;
31 int32 assigned_port = 6;
32}