blob: 3b8a761cb599ef5485e0745a5488f0c103dec936 [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;
Andy Bavierea82b462018-07-27 16:48:13 -070015 string serial_number = 4;
Stephane Barbarie35595062018-02-08 08:34:39 -050016}
17
18message RegistrationReply {
19 string id = 1;
20
21 enum Status {
22 REGISTERED = 0;
23 FAILED = 1;
24 UNAVAILABLE = 2;
25 }
26
27 Status status = 2;
28 string status_message = 3;
29
30 string parent_address = 4;
31 int32 parent_port = 5;
32 int32 assigned_port = 6;
33}