Stephane Barbarie | 3559506 | 2018-02-08 08:34:39 -0500 | [diff] [blame] | 1 | syntax = "proto3"; |
2 | |||||
3 | option go_package = "github.com/opencord/voltha/protos/go/ponsim"; | ||||
4 | |||||
5 | package ponsim; | ||||
6 | |||||
7 | import "google/protobuf/empty.proto"; | ||||
8 | |||||
9 | service PonSimCommon { | ||||
10 | rpc ProcessData (stream IncomingData) returns (google.protobuf.Empty) {} | ||||
11 | } | ||||
12 | |||||
13 | message IncomingData { | ||||
14 | string id = 1; | ||||
15 | string address = 2; | ||||
16 | int32 port = 3; | ||||
17 | bytes payload = 4; | ||||
18 | |||||
19 | } |