blob: 7d3a9ee270af6551a78865084ba37d4596fb0e25 [file] [log] [blame]
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: api/bbsim/bbsim.proto
3
4package bbsim
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
Pragya Arya8bdb4532020-03-02 17:08:09 +053010 openolt "github.com/opencord/voltha-protos/v2/go/openolt"
Anand S Katti09541352020-01-29 15:54:01 +053011 tech_profile "github.com/opencord/voltha-protos/v2/go/tech_profile"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070012 grpc "google.golang.org/grpc"
Pragya Aryabd731ec2020-02-11 16:38:17 +053013 codes "google.golang.org/grpc/codes"
14 status "google.golang.org/grpc/status"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070015 math "math"
16)
17
18// Reference imports to suppress errors if they are not otherwise used.
19var _ = proto.Marshal
20var _ = fmt.Errorf
21var _ = math.Inf
22
23// This is a compile-time assertion to ensure that this generated file
24// is compatible with the proto package it is being compiled against.
25// A compilation error at this line likely means your copy of the
26// proto package needs to be updated.
27const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
28
Arjun E K57a7fcb2020-01-30 06:44:45 +000029type SubActionTypes int32
30
31const (
Arjun E Kdd443f02020-02-07 15:24:01 +000032 SubActionTypes_JOIN SubActionTypes = 0
33 SubActionTypes_LEAVE SubActionTypes = 1
34 SubActionTypes_JOINV3 SubActionTypes = 2
Arjun E K57a7fcb2020-01-30 06:44:45 +000035)
36
37var SubActionTypes_name = map[int32]string{
38 0: "JOIN",
39 1: "LEAVE",
Arjun E Kdd443f02020-02-07 15:24:01 +000040 2: "JOINV3",
Arjun E K57a7fcb2020-01-30 06:44:45 +000041}
42
43var SubActionTypes_value = map[string]int32{
Arjun E Kdd443f02020-02-07 15:24:01 +000044 "JOIN": 0,
45 "LEAVE": 1,
46 "JOINV3": 2,
Arjun E K57a7fcb2020-01-30 06:44:45 +000047}
48
49func (x SubActionTypes) String() string {
50 return proto.EnumName(SubActionTypes_name, int32(x))
51}
52
53func (SubActionTypes) EnumDescriptor() ([]byte, []int) {
54 return fileDescriptor_ef7750073d18011b, []int{0}
55}
56
Scott Baker41724b82020-01-21 19:54:53 -080057// These types correspond to the messages permitted in the oneof
58// in AlarmIndication in the openolt protos
59type AlarmType_Types int32
60
61const (
62 AlarmType_LOS AlarmType_Types = 0
63 AlarmType_DYING_GASP AlarmType_Types = 1
64 AlarmType_ONU_ALARM AlarmType_Types = 2
65 AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3
66 AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4
67 AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5
68 AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6
69 AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7
70 AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8
71 AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9
72 AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10
73 AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11
74 AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12
75 // These break out ONU_ALARM, which is a single message, but
76 // includes statuses for these six alarms.
77 AlarmType_ONU_ALARM_LOS AlarmType_Types = 13
78 AlarmType_ONU_ALARM_LOB AlarmType_Types = 14
79 AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15
80 AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16
81 AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17
82 AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18
83)
84
85var AlarmType_Types_name = map[int32]string{
86 0: "LOS",
87 1: "DYING_GASP",
88 2: "ONU_ALARM",
89 3: "ONU_STARTUP_FAILURE",
90 4: "ONU_SIGNAL_DEGRADE",
91 5: "ONU_DRIFT_OF_WINDOW",
92 6: "ONU_LOSS_OF_OMCI_CHANNEL",
93 7: "ONU_SIGNALS_FAILURE",
94 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING",
95 9: "ONU_ACTIVATION_FAILURE",
96 10: "ONU_PROCESSING_ERROR",
97 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE",
98 12: "ONU_ITU_PON_STATS",
99 13: "ONU_ALARM_LOS",
100 14: "ONU_ALARM_LOB",
101 15: "ONU_ALARM_LOPC_MISS",
102 16: "ONU_ALARM_LOPC_MIC_ERROR",
103 17: "ONU_ALARM_LOFI",
104 18: "ONU_ALARM_LOAMI",
105}
106
107var AlarmType_Types_value = map[string]int32{
108 "LOS": 0,
109 "DYING_GASP": 1,
110 "ONU_ALARM": 2,
111 "ONU_STARTUP_FAILURE": 3,
112 "ONU_SIGNAL_DEGRADE": 4,
113 "ONU_DRIFT_OF_WINDOW": 5,
114 "ONU_LOSS_OF_OMCI_CHANNEL": 6,
115 "ONU_SIGNALS_FAILURE": 7,
116 "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8,
117 "ONU_ACTIVATION_FAILURE": 9,
118 "ONU_PROCESSING_ERROR": 10,
119 "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11,
120 "ONU_ITU_PON_STATS": 12,
121 "ONU_ALARM_LOS": 13,
122 "ONU_ALARM_LOB": 14,
123 "ONU_ALARM_LOPC_MISS": 15,
124 "ONU_ALARM_LOPC_MIC_ERROR": 16,
125 "ONU_ALARM_LOFI": 17,
126 "ONU_ALARM_LOAMI": 18,
127}
128
129func (x AlarmType_Types) String() string {
130 return proto.EnumName(AlarmType_Types_name, int32(x))
131}
132
133func (AlarmType_Types) EnumDescriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530134 return fileDescriptor_ef7750073d18011b, []int{8, 0}
Scott Baker41724b82020-01-21 19:54:53 -0800135}
136
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700137type PONPort struct {
138 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
139 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
140 XXX_NoUnkeyedLiteral struct{} `json:"-"`
141 XXX_unrecognized []byte `json:"-"`
142 XXX_sizecache int32 `json:"-"`
143}
144
145func (m *PONPort) Reset() { *m = PONPort{} }
146func (m *PONPort) String() string { return proto.CompactTextString(m) }
147func (*PONPort) ProtoMessage() {}
148func (*PONPort) Descriptor() ([]byte, []int) {
149 return fileDescriptor_ef7750073d18011b, []int{0}
150}
151
152func (m *PONPort) XXX_Unmarshal(b []byte) error {
153 return xxx_messageInfo_PONPort.Unmarshal(m, b)
154}
155func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
156 return xxx_messageInfo_PONPort.Marshal(b, m, deterministic)
157}
158func (m *PONPort) XXX_Merge(src proto.Message) {
159 xxx_messageInfo_PONPort.Merge(m, src)
160}
161func (m *PONPort) XXX_Size() int {
162 return xxx_messageInfo_PONPort.Size(m)
163}
164func (m *PONPort) XXX_DiscardUnknown() {
165 xxx_messageInfo_PONPort.DiscardUnknown(m)
166}
167
168var xxx_messageInfo_PONPort proto.InternalMessageInfo
169
170func (m *PONPort) GetID() int32 {
171 if m != nil {
172 return m.ID
173 }
174 return 0
175}
176
177func (m *PONPort) GetOperState() string {
178 if m != nil {
179 return m.OperState
180 }
181 return ""
182}
183
184type NNIPort struct {
185 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
186 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
187 XXX_NoUnkeyedLiteral struct{} `json:"-"`
188 XXX_unrecognized []byte `json:"-"`
189 XXX_sizecache int32 `json:"-"`
190}
191
192func (m *NNIPort) Reset() { *m = NNIPort{} }
193func (m *NNIPort) String() string { return proto.CompactTextString(m) }
194func (*NNIPort) ProtoMessage() {}
195func (*NNIPort) Descriptor() ([]byte, []int) {
196 return fileDescriptor_ef7750073d18011b, []int{1}
197}
198
199func (m *NNIPort) XXX_Unmarshal(b []byte) error {
200 return xxx_messageInfo_NNIPort.Unmarshal(m, b)
201}
202func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
203 return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic)
204}
205func (m *NNIPort) XXX_Merge(src proto.Message) {
206 xxx_messageInfo_NNIPort.Merge(m, src)
207}
208func (m *NNIPort) XXX_Size() int {
209 return xxx_messageInfo_NNIPort.Size(m)
210}
211func (m *NNIPort) XXX_DiscardUnknown() {
212 xxx_messageInfo_NNIPort.DiscardUnknown(m)
213}
214
215var xxx_messageInfo_NNIPort proto.InternalMessageInfo
216
217func (m *NNIPort) GetID() int32 {
218 if m != nil {
219 return m.ID
220 }
221 return 0
222}
223
224func (m *NNIPort) GetOperState() string {
225 if m != nil {
226 return m.OperState
227 }
228 return ""
229}
230
231type Olt struct {
232 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
233 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
234 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
235 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
rajeshf921f882020-03-06 18:24:28 +0530236 IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700237 NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"`
238 PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"`
239 XXX_NoUnkeyedLiteral struct{} `json:"-"`
240 XXX_unrecognized []byte `json:"-"`
241 XXX_sizecache int32 `json:"-"`
242}
243
244func (m *Olt) Reset() { *m = Olt{} }
245func (m *Olt) String() string { return proto.CompactTextString(m) }
246func (*Olt) ProtoMessage() {}
247func (*Olt) Descriptor() ([]byte, []int) {
248 return fileDescriptor_ef7750073d18011b, []int{2}
249}
250
251func (m *Olt) XXX_Unmarshal(b []byte) error {
252 return xxx_messageInfo_Olt.Unmarshal(m, b)
253}
254func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
255 return xxx_messageInfo_Olt.Marshal(b, m, deterministic)
256}
257func (m *Olt) XXX_Merge(src proto.Message) {
258 xxx_messageInfo_Olt.Merge(m, src)
259}
260func (m *Olt) XXX_Size() int {
261 return xxx_messageInfo_Olt.Size(m)
262}
263func (m *Olt) XXX_DiscardUnknown() {
264 xxx_messageInfo_Olt.DiscardUnknown(m)
265}
266
267var xxx_messageInfo_Olt proto.InternalMessageInfo
268
269func (m *Olt) GetID() int32 {
270 if m != nil {
271 return m.ID
272 }
273 return 0
274}
275
276func (m *Olt) GetSerialNumber() string {
277 if m != nil {
278 return m.SerialNumber
279 }
280 return ""
281}
282
283func (m *Olt) GetOperState() string {
284 if m != nil {
285 return m.OperState
286 }
287 return ""
288}
289
290func (m *Olt) GetInternalState() string {
291 if m != nil {
292 return m.InternalState
293 }
294 return ""
295}
296
rajeshf921f882020-03-06 18:24:28 +0530297func (m *Olt) GetIP() string {
298 if m != nil {
299 return m.IP
300 }
301 return ""
302}
303
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700304func (m *Olt) GetNNIPorts() []*NNIPort {
305 if m != nil {
306 return m.NNIPorts
307 }
308 return nil
309}
310
311func (m *Olt) GetPONPorts() []*PONPort {
312 if m != nil {
313 return m.PONPorts
314 }
315 return nil
316}
317
318type ONU struct {
319 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
320 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
321 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
322 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
323 PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"`
324 STag int32 `protobuf:"varint,6,opt,name=STag,proto3" json:"STag,omitempty"`
325 CTag int32 `protobuf:"varint,7,opt,name=CTag,proto3" json:"CTag,omitempty"`
326 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
327 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
328 XXX_NoUnkeyedLiteral struct{} `json:"-"`
329 XXX_unrecognized []byte `json:"-"`
330 XXX_sizecache int32 `json:"-"`
331}
332
333func (m *ONU) Reset() { *m = ONU{} }
334func (m *ONU) String() string { return proto.CompactTextString(m) }
335func (*ONU) ProtoMessage() {}
336func (*ONU) Descriptor() ([]byte, []int) {
337 return fileDescriptor_ef7750073d18011b, []int{3}
338}
339
340func (m *ONU) XXX_Unmarshal(b []byte) error {
341 return xxx_messageInfo_ONU.Unmarshal(m, b)
342}
343func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
344 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
345}
346func (m *ONU) XXX_Merge(src proto.Message) {
347 xxx_messageInfo_ONU.Merge(m, src)
348}
349func (m *ONU) XXX_Size() int {
350 return xxx_messageInfo_ONU.Size(m)
351}
352func (m *ONU) XXX_DiscardUnknown() {
353 xxx_messageInfo_ONU.DiscardUnknown(m)
354}
355
356var xxx_messageInfo_ONU proto.InternalMessageInfo
357
358func (m *ONU) GetID() int32 {
359 if m != nil {
360 return m.ID
361 }
362 return 0
363}
364
365func (m *ONU) GetSerialNumber() string {
366 if m != nil {
367 return m.SerialNumber
368 }
369 return ""
370}
371
372func (m *ONU) GetOperState() string {
373 if m != nil {
374 return m.OperState
375 }
376 return ""
377}
378
379func (m *ONU) GetInternalState() string {
380 if m != nil {
381 return m.InternalState
382 }
383 return ""
384}
385
386func (m *ONU) GetPonPortID() int32 {
387 if m != nil {
388 return m.PonPortID
389 }
390 return 0
391}
392
393func (m *ONU) GetSTag() int32 {
394 if m != nil {
395 return m.STag
396 }
397 return 0
398}
399
400func (m *ONU) GetCTag() int32 {
401 if m != nil {
402 return m.CTag
403 }
404 return 0
405}
406
407func (m *ONU) GetHwAddress() string {
408 if m != nil {
409 return m.HwAddress
410 }
411 return ""
412}
413
414func (m *ONU) GetPortNo() int32 {
415 if m != nil {
416 return m.PortNo
417 }
418 return 0
419}
420
Anand S Katti09541352020-01-29 15:54:01 +0530421type ONUTrafficSchedulers struct {
422 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
423 XXX_NoUnkeyedLiteral struct{} `json:"-"`
424 XXX_unrecognized []byte `json:"-"`
425 XXX_sizecache int32 `json:"-"`
426}
427
428func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
429func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
430func (*ONUTrafficSchedulers) ProtoMessage() {}
431func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
432 return fileDescriptor_ef7750073d18011b, []int{4}
433}
434
435func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
436 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
437}
438func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
439 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
440}
441func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
442 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
443}
444func (m *ONUTrafficSchedulers) XXX_Size() int {
445 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
446}
447func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
448 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
449}
450
451var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
452
453func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
454 if m != nil {
455 return m.TraffSchedulers
456 }
457 return nil
458}
459
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700460type ONUs struct {
461 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
462 XXX_NoUnkeyedLiteral struct{} `json:"-"`
463 XXX_unrecognized []byte `json:"-"`
464 XXX_sizecache int32 `json:"-"`
465}
466
467func (m *ONUs) Reset() { *m = ONUs{} }
468func (m *ONUs) String() string { return proto.CompactTextString(m) }
469func (*ONUs) ProtoMessage() {}
470func (*ONUs) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530471 return fileDescriptor_ef7750073d18011b, []int{5}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700472}
473
474func (m *ONUs) XXX_Unmarshal(b []byte) error {
475 return xxx_messageInfo_ONUs.Unmarshal(m, b)
476}
477func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
478 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
479}
480func (m *ONUs) XXX_Merge(src proto.Message) {
481 xxx_messageInfo_ONUs.Merge(m, src)
482}
483func (m *ONUs) XXX_Size() int {
484 return xxx_messageInfo_ONUs.Size(m)
485}
486func (m *ONUs) XXX_DiscardUnknown() {
487 xxx_messageInfo_ONUs.DiscardUnknown(m)
488}
489
490var xxx_messageInfo_ONUs proto.InternalMessageInfo
491
492func (m *ONUs) GetItems() []*ONU {
493 if m != nil {
494 return m.Items
495 }
496 return nil
497}
498
499type ONURequest struct {
500 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
501 XXX_NoUnkeyedLiteral struct{} `json:"-"`
502 XXX_unrecognized []byte `json:"-"`
503 XXX_sizecache int32 `json:"-"`
504}
505
506func (m *ONURequest) Reset() { *m = ONURequest{} }
507func (m *ONURequest) String() string { return proto.CompactTextString(m) }
508func (*ONURequest) ProtoMessage() {}
509func (*ONURequest) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530510 return fileDescriptor_ef7750073d18011b, []int{6}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700511}
512
513func (m *ONURequest) XXX_Unmarshal(b []byte) error {
514 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
515}
516func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
517 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
518}
519func (m *ONURequest) XXX_Merge(src proto.Message) {
520 xxx_messageInfo_ONURequest.Merge(m, src)
521}
522func (m *ONURequest) XXX_Size() int {
523 return xxx_messageInfo_ONURequest.Size(m)
524}
525func (m *ONURequest) XXX_DiscardUnknown() {
526 xxx_messageInfo_ONURequest.DiscardUnknown(m)
527}
528
529var xxx_messageInfo_ONURequest proto.InternalMessageInfo
530
531func (m *ONURequest) GetSerialNumber() string {
532 if m != nil {
533 return m.SerialNumber
534 }
535 return ""
536}
537
Pragya Aryabd731ec2020-02-11 16:38:17 +0530538type PONRequest struct {
539 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
540 XXX_NoUnkeyedLiteral struct{} `json:"-"`
541 XXX_unrecognized []byte `json:"-"`
542 XXX_sizecache int32 `json:"-"`
543}
544
545func (m *PONRequest) Reset() { *m = PONRequest{} }
546func (m *PONRequest) String() string { return proto.CompactTextString(m) }
547func (*PONRequest) ProtoMessage() {}
548func (*PONRequest) Descriptor() ([]byte, []int) {
549 return fileDescriptor_ef7750073d18011b, []int{7}
550}
551
552func (m *PONRequest) XXX_Unmarshal(b []byte) error {
553 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
554}
555func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
556 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
557}
558func (m *PONRequest) XXX_Merge(src proto.Message) {
559 xxx_messageInfo_PONRequest.Merge(m, src)
560}
561func (m *PONRequest) XXX_Size() int {
562 return xxx_messageInfo_PONRequest.Size(m)
563}
564func (m *PONRequest) XXX_DiscardUnknown() {
565 xxx_messageInfo_PONRequest.DiscardUnknown(m)
566}
567
568var xxx_messageInfo_PONRequest proto.InternalMessageInfo
569
570func (m *PONRequest) GetPonPortId() uint32 {
571 if m != nil {
572 return m.PonPortId
573 }
574 return 0
575}
576
Scott Baker41724b82020-01-21 19:54:53 -0800577type AlarmType struct {
578 XXX_NoUnkeyedLiteral struct{} `json:"-"`
579 XXX_unrecognized []byte `json:"-"`
580 XXX_sizecache int32 `json:"-"`
581}
582
583func (m *AlarmType) Reset() { *m = AlarmType{} }
584func (m *AlarmType) String() string { return proto.CompactTextString(m) }
585func (*AlarmType) ProtoMessage() {}
586func (*AlarmType) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530587 return fileDescriptor_ef7750073d18011b, []int{8}
Scott Baker41724b82020-01-21 19:54:53 -0800588}
589
590func (m *AlarmType) XXX_Unmarshal(b []byte) error {
591 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
592}
593func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
594 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
595}
596func (m *AlarmType) XXX_Merge(src proto.Message) {
597 xxx_messageInfo_AlarmType.Merge(m, src)
598}
599func (m *AlarmType) XXX_Size() int {
600 return xxx_messageInfo_AlarmType.Size(m)
601}
602func (m *AlarmType) XXX_DiscardUnknown() {
603 xxx_messageInfo_AlarmType.DiscardUnknown(m)
604}
605
606var xxx_messageInfo_AlarmType proto.InternalMessageInfo
607
608type AlarmParameter struct {
609 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
610 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
611 XXX_NoUnkeyedLiteral struct{} `json:"-"`
612 XXX_unrecognized []byte `json:"-"`
613 XXX_sizecache int32 `json:"-"`
614}
615
616func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
617func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
618func (*AlarmParameter) ProtoMessage() {}
619func (*AlarmParameter) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530620 return fileDescriptor_ef7750073d18011b, []int{9}
Scott Baker41724b82020-01-21 19:54:53 -0800621}
622
623func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
624 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
625}
626func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
627 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
628}
629func (m *AlarmParameter) XXX_Merge(src proto.Message) {
630 xxx_messageInfo_AlarmParameter.Merge(m, src)
631}
632func (m *AlarmParameter) XXX_Size() int {
633 return xxx_messageInfo_AlarmParameter.Size(m)
634}
635func (m *AlarmParameter) XXX_DiscardUnknown() {
636 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
637}
638
639var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
640
641func (m *AlarmParameter) GetKey() string {
642 if m != nil {
643 return m.Key
644 }
645 return ""
646}
647
648func (m *AlarmParameter) GetValue() string {
649 if m != nil {
650 return m.Value
651 }
652 return ""
653}
654
Anand S Katti86552f92020-03-03 21:56:32 +0530655// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +0530656// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -0800657// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +0530658type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +0530659 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -0800660 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
661 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
662 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
663 XXX_NoUnkeyedLiteral struct{} `json:"-"`
664 XXX_unrecognized []byte `json:"-"`
665 XXX_sizecache int32 `json:"-"`
666}
667
Anand S Katti86552f92020-03-03 21:56:32 +0530668func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
669func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
670func (*ONUAlarmRequest) ProtoMessage() {}
671func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530672 return fileDescriptor_ef7750073d18011b, []int{10}
Scott Baker41724b82020-01-21 19:54:53 -0800673}
674
Anand S Katti86552f92020-03-03 21:56:32 +0530675func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
676 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -0800677}
Anand S Katti86552f92020-03-03 21:56:32 +0530678func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
679 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -0800680}
Anand S Katti86552f92020-03-03 21:56:32 +0530681func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
682 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -0800683}
Anand S Katti86552f92020-03-03 21:56:32 +0530684func (m *ONUAlarmRequest) XXX_Size() int {
685 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -0800686}
Anand S Katti86552f92020-03-03 21:56:32 +0530687func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
688 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -0800689}
690
Anand S Katti86552f92020-03-03 21:56:32 +0530691var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -0800692
Anand S Katti86552f92020-03-03 21:56:32 +0530693func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -0800694 if m != nil {
695 return m.AlarmType
696 }
Pragya Arya694ece02020-02-07 13:03:47 +0530697 return ""
Scott Baker41724b82020-01-21 19:54:53 -0800698}
699
Anand S Katti86552f92020-03-03 21:56:32 +0530700func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -0800701 if m != nil {
702 return m.SerialNumber
703 }
704 return ""
705}
706
Anand S Katti86552f92020-03-03 21:56:32 +0530707func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -0800708 if m != nil {
709 return m.Status
710 }
711 return ""
712}
713
Anand S Katti86552f92020-03-03 21:56:32 +0530714func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -0800715 if m != nil {
716 return m.Parameters
717 }
718 return nil
719}
720
Anand S Katti86552f92020-03-03 21:56:32 +0530721// OLT alarm request
722type OLTAlarmRequest struct {
723 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
724 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
725 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
726 XXX_NoUnkeyedLiteral struct{} `json:"-"`
727 XXX_unrecognized []byte `json:"-"`
728 XXX_sizecache int32 `json:"-"`
729}
730
731func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
732func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
733func (*OLTAlarmRequest) ProtoMessage() {}
734func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530735 return fileDescriptor_ef7750073d18011b, []int{11}
Anand S Katti86552f92020-03-03 21:56:32 +0530736}
737
738func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
739 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
740}
741func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
742 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
743}
744func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
745 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
746}
747func (m *OLTAlarmRequest) XXX_Size() int {
748 return xxx_messageInfo_OLTAlarmRequest.Size(m)
749}
750func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
751 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
752}
753
754var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
755
756func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
757 if m != nil {
758 return m.InterfaceID
759 }
760 return 0
761}
762
763func (m *OLTAlarmRequest) GetInterfaceType() string {
764 if m != nil {
765 return m.InterfaceType
766 }
767 return ""
768}
769
770func (m *OLTAlarmRequest) GetStatus() string {
771 if m != nil {
772 return m.Status
773 }
774 return ""
775}
776
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700777type VersionNumber struct {
778 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
779 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
780 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
781 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
782 XXX_NoUnkeyedLiteral struct{} `json:"-"`
783 XXX_unrecognized []byte `json:"-"`
784 XXX_sizecache int32 `json:"-"`
785}
786
787func (m *VersionNumber) Reset() { *m = VersionNumber{} }
788func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
789func (*VersionNumber) ProtoMessage() {}
790func (*VersionNumber) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530791 return fileDescriptor_ef7750073d18011b, []int{12}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700792}
793
794func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
795 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
796}
797func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
798 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
799}
800func (m *VersionNumber) XXX_Merge(src proto.Message) {
801 xxx_messageInfo_VersionNumber.Merge(m, src)
802}
803func (m *VersionNumber) XXX_Size() int {
804 return xxx_messageInfo_VersionNumber.Size(m)
805}
806func (m *VersionNumber) XXX_DiscardUnknown() {
807 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
808}
809
810var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
811
812func (m *VersionNumber) GetVersion() string {
813 if m != nil {
814 return m.Version
815 }
816 return ""
817}
818
819func (m *VersionNumber) GetBuildTime() string {
820 if m != nil {
821 return m.BuildTime
822 }
823 return ""
824}
825
826func (m *VersionNumber) GetCommitHash() string {
827 if m != nil {
828 return m.CommitHash
829 }
830 return ""
831}
832
833func (m *VersionNumber) GetGitStatus() string {
834 if m != nil {
835 return m.GitStatus
836 }
837 return ""
838}
839
840type LogLevel struct {
841 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
842 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
843 XXX_NoUnkeyedLiteral struct{} `json:"-"`
844 XXX_unrecognized []byte `json:"-"`
845 XXX_sizecache int32 `json:"-"`
846}
847
848func (m *LogLevel) Reset() { *m = LogLevel{} }
849func (m *LogLevel) String() string { return proto.CompactTextString(m) }
850func (*LogLevel) ProtoMessage() {}
851func (*LogLevel) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530852 return fileDescriptor_ef7750073d18011b, []int{13}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700853}
854
855func (m *LogLevel) XXX_Unmarshal(b []byte) error {
856 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
857}
858func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
859 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
860}
861func (m *LogLevel) XXX_Merge(src proto.Message) {
862 xxx_messageInfo_LogLevel.Merge(m, src)
863}
864func (m *LogLevel) XXX_Size() int {
865 return xxx_messageInfo_LogLevel.Size(m)
866}
867func (m *LogLevel) XXX_DiscardUnknown() {
868 xxx_messageInfo_LogLevel.DiscardUnknown(m)
869}
870
871var xxx_messageInfo_LogLevel proto.InternalMessageInfo
872
873func (m *LogLevel) GetLevel() string {
874 if m != nil {
875 return m.Level
876 }
877 return ""
878}
879
880func (m *LogLevel) GetCaller() bool {
881 if m != nil {
882 return m.Caller
883 }
884 return false
885}
886
887type Response struct {
888 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
889 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
890 XXX_NoUnkeyedLiteral struct{} `json:"-"`
891 XXX_unrecognized []byte `json:"-"`
892 XXX_sizecache int32 `json:"-"`
893}
894
895func (m *Response) Reset() { *m = Response{} }
896func (m *Response) String() string { return proto.CompactTextString(m) }
897func (*Response) ProtoMessage() {}
898func (*Response) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530899 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700900}
901
902func (m *Response) XXX_Unmarshal(b []byte) error {
903 return xxx_messageInfo_Response.Unmarshal(m, b)
904}
905func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
906 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
907}
908func (m *Response) XXX_Merge(src proto.Message) {
909 xxx_messageInfo_Response.Merge(m, src)
910}
911func (m *Response) XXX_Size() int {
912 return xxx_messageInfo_Response.Size(m)
913}
914func (m *Response) XXX_DiscardUnknown() {
915 xxx_messageInfo_Response.DiscardUnknown(m)
916}
917
918var xxx_messageInfo_Response proto.InternalMessageInfo
919
920func (m *Response) GetStatusCode() int32 {
921 if m != nil {
922 return m.StatusCode
923 }
924 return 0
925}
926
927func (m *Response) GetMessage() string {
928 if m != nil {
929 return m.Message
930 }
931 return ""
932}
933
Arjun E K57a7fcb2020-01-30 06:44:45 +0000934type IgmpRequest struct {
935 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
936 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
937 XXX_NoUnkeyedLiteral struct{} `json:"-"`
938 XXX_unrecognized []byte `json:"-"`
939 XXX_sizecache int32 `json:"-"`
940}
941
942func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
943func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
944func (*IgmpRequest) ProtoMessage() {}
945func (*IgmpRequest) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530946 return fileDescriptor_ef7750073d18011b, []int{15}
Arjun E K57a7fcb2020-01-30 06:44:45 +0000947}
948
949func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
950 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
951}
952func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
953 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
954}
955func (m *IgmpRequest) XXX_Merge(src proto.Message) {
956 xxx_messageInfo_IgmpRequest.Merge(m, src)
957}
958func (m *IgmpRequest) XXX_Size() int {
959 return xxx_messageInfo_IgmpRequest.Size(m)
960}
961func (m *IgmpRequest) XXX_DiscardUnknown() {
962 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
963}
964
965var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
966
967func (m *IgmpRequest) GetOnuReq() *ONURequest {
968 if m != nil {
969 return m.OnuReq
970 }
971 return nil
972}
973
974func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
975 if m != nil {
976 return m.SubActionVal
977 }
978 return SubActionTypes_JOIN
979}
980
Pragya Arya8bdb4532020-03-02 17:08:09 +0530981type Flows struct {
982 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
983 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
984 XXX_NoUnkeyedLiteral struct{} `json:"-"`
985 XXX_unrecognized []byte `json:"-"`
986 XXX_sizecache int32 `json:"-"`
987}
988
989func (m *Flows) Reset() { *m = Flows{} }
990func (m *Flows) String() string { return proto.CompactTextString(m) }
991func (*Flows) ProtoMessage() {}
992func (*Flows) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530993 return fileDescriptor_ef7750073d18011b, []int{16}
Pragya Arya8bdb4532020-03-02 17:08:09 +0530994}
995
996func (m *Flows) XXX_Unmarshal(b []byte) error {
997 return xxx_messageInfo_Flows.Unmarshal(m, b)
998}
999func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1000 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1001}
1002func (m *Flows) XXX_Merge(src proto.Message) {
1003 xxx_messageInfo_Flows.Merge(m, src)
1004}
1005func (m *Flows) XXX_Size() int {
1006 return xxx_messageInfo_Flows.Size(m)
1007}
1008func (m *Flows) XXX_DiscardUnknown() {
1009 xxx_messageInfo_Flows.DiscardUnknown(m)
1010}
1011
1012var xxx_messageInfo_Flows proto.InternalMessageInfo
1013
1014func (m *Flows) GetFlowCount() uint32 {
1015 if m != nil {
1016 return m.FlowCount
1017 }
1018 return 0
1019}
1020
1021func (m *Flows) GetFlows() []*openolt.Flow {
1022 if m != nil {
1023 return m.Flows
1024 }
1025 return nil
1026}
1027
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001028type Empty struct {
1029 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1030 XXX_unrecognized []byte `json:"-"`
1031 XXX_sizecache int32 `json:"-"`
1032}
1033
1034func (m *Empty) Reset() { *m = Empty{} }
1035func (m *Empty) String() string { return proto.CompactTextString(m) }
1036func (*Empty) ProtoMessage() {}
1037func (*Empty) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301038 return fileDescriptor_ef7750073d18011b, []int{17}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001039}
1040
1041func (m *Empty) XXX_Unmarshal(b []byte) error {
1042 return xxx_messageInfo_Empty.Unmarshal(m, b)
1043}
1044func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1045 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1046}
1047func (m *Empty) XXX_Merge(src proto.Message) {
1048 xxx_messageInfo_Empty.Merge(m, src)
1049}
1050func (m *Empty) XXX_Size() int {
1051 return xxx_messageInfo_Empty.Size(m)
1052}
1053func (m *Empty) XXX_DiscardUnknown() {
1054 xxx_messageInfo_Empty.DiscardUnknown(m)
1055}
1056
1057var xxx_messageInfo_Empty proto.InternalMessageInfo
1058
1059func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001060 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Scott Baker41724b82020-01-21 19:54:53 -08001061 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001062 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
1063 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1064 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
1065 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Anand S Katti09541352020-01-29 15:54:01 +05301066 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001067 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
1068 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301069 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001070 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1071 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301072 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1073 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001074 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1075 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1076 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001077 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301078 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001079 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1080}
1081
Scott Bakerb90c4312020-03-12 21:33:25 -07001082func init() {
1083 proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b)
1084}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001085
1086var fileDescriptor_ef7750073d18011b = []byte{
Pragya Aryabd731ec2020-02-11 16:38:17 +05301087 // 1353 bytes of a gzipped FileDescriptorProto
1088 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xdd, 0x72, 0x9b, 0xd6,
1089 0x16, 0xd6, 0x8f, 0xf5, 0xb7, 0x64, 0xc9, 0x78, 0x27, 0x76, 0x18, 0xc7, 0xe7, 0xc4, 0xc3, 0xc9,
1090 0x39, 0xe3, 0x64, 0x4e, 0x9c, 0xc6, 0x6e, 0xa7, 0xc9, 0x25, 0x96, 0xb0, 0x42, 0x2d, 0x03, 0xb3,
1091 0x41, 0xce, 0xe4, 0x8a, 0xc1, 0xd2, 0xb6, 0xc5, 0x0c, 0x02, 0x05, 0x50, 0x3c, 0x79, 0x80, 0xbe,
1092 0x48, 0x9f, 0xa8, 0x4f, 0xd0, 0x5e, 0xf5, 0x21, 0x7a, 0xd7, 0xd9, 0x9b, 0x0d, 0x02, 0x4b, 0xe9,
1093 0xa8, 0xbd, 0xe9, 0x8d, 0x66, 0xaf, 0x6f, 0x7d, 0xeb, 0x7f, 0xb3, 0x40, 0xb0, 0xe7, 0xcc, 0xdd,
1094 0xd7, 0x37, 0x37, 0x91, 0x3b, 0x4b, 0x7e, 0x4f, 0xe6, 0x61, 0x10, 0x07, 0xa8, 0xc6, 0x84, 0x83,
1095 0xa7, 0x9f, 0x03, 0x2f, 0x9e, 0x3a, 0x36, 0x03, 0xa3, 0xd7, 0xc1, 0x9c, 0xf8, 0x81, 0x17, 0x27,
1096 0x9c, 0x83, 0xa3, 0xa2, 0x32, 0x26, 0xe3, 0x29, 0x3d, 0xdf, 0xba, 0x1e, 0x49, 0x18, 0xd2, 0xf7,
1097 0xd0, 0x30, 0x74, 0xcd, 0x08, 0xc2, 0x18, 0x75, 0xa1, 0xa2, 0xf6, 0xc5, 0xf2, 0x51, 0xf9, 0xb8,
1098 0x86, 0x2b, 0x6a, 0x1f, 0x1d, 0x42, 0x4b, 0x9f, 0x93, 0xd0, 0x8c, 0x9d, 0x98, 0x88, 0x95, 0xa3,
1099 0xf2, 0x71, 0x0b, 0x2f, 0x01, 0x6a, 0xa8, 0x69, 0xea, 0xdf, 0x30, 0xfc, 0xad, 0x0c, 0x55, 0xdd,
1100 0x5b, 0xb5, 0x92, 0x60, 0xdb, 0x24, 0xa1, 0xeb, 0x78, 0xda, 0x62, 0x76, 0x43, 0x42, 0x6e, 0x58,
1101 0xc0, 0x8a, 0x9e, 0xab, 0x0f, 0x3c, 0xa3, 0xe7, 0xd0, 0x51, 0xfd, 0x98, 0x84, 0xbe, 0xe3, 0x25,
1102 0x8c, 0x2d, 0xc6, 0x28, 0x82, 0x2c, 0xae, 0x21, 0x36, 0x98, 0xaa, 0xa2, 0x1a, 0xe8, 0x25, 0x34,
1103 0x79, 0x21, 0x91, 0x58, 0x3b, 0xaa, 0x1e, 0xb7, 0x4f, 0xbb, 0x27, 0x49, 0x9f, 0x39, 0x8c, 0x33,
1104 0x3d, 0xe5, 0xf2, 0x6e, 0x45, 0x62, 0xbd, 0xc0, 0xe5, 0x30, 0xce, 0xf4, 0xd2, 0xef, 0xb4, 0x4e,
1105 0x6d, 0xf4, 0x8f, 0xd5, 0x79, 0x08, 0x2d, 0x23, 0xf0, 0x69, 0x2e, 0x6a, 0x5f, 0xac, 0xb1, 0xf0,
1106 0x4b, 0x00, 0x21, 0xd8, 0x32, 0x2d, 0xe7, 0x4e, 0xac, 0x33, 0x05, 0x3b, 0x53, 0xac, 0x47, 0xb1,
1107 0x46, 0x82, 0xd1, 0x33, 0xf5, 0xf2, 0xfe, 0x5e, 0x9e, 0x4c, 0x42, 0x12, 0x45, 0x62, 0x33, 0xc9,
1108 0x24, 0x03, 0xd0, 0x3e, 0xd4, 0xa9, 0x3f, 0x2d, 0x10, 0x5b, 0xcc, 0x86, 0x4b, 0x92, 0x03, 0x8f,
1109 0x75, 0x6d, 0x64, 0x85, 0xce, 0xed, 0xad, 0x3b, 0x36, 0xc7, 0x53, 0x32, 0x59, 0x78, 0x24, 0x8c,
1110 0x90, 0x0a, 0x3b, 0x31, 0x05, 0x97, 0x10, 0x6b, 0x4c, 0xfb, 0xf4, 0xd9, 0x49, 0xe1, 0x6e, 0xae,
1111 0x58, 0xe2, 0x87, 0x76, 0xd2, 0x31, 0x6c, 0xe9, 0xda, 0x28, 0x42, 0x47, 0x50, 0x73, 0x63, 0x32,
1112 0xa3, 0x8e, 0xe8, 0x3c, 0x80, 0xcf, 0x43, 0xd7, 0x46, 0x38, 0x51, 0x48, 0xdf, 0x00, 0x50, 0x89,
1113 0x7c, 0x5a, 0x90, 0x28, 0x5e, 0x69, 0x7f, 0x79, 0xb5, 0xfd, 0xd2, 0x4b, 0x00, 0x43, 0xd7, 0x52,
1114 0x8b, 0x5c, 0x23, 0x27, 0x8c, 0xde, 0x59, 0x36, 0x72, 0x22, 0xfd, 0x52, 0x85, 0x96, 0xec, 0x39,
1115 0xe1, 0xcc, 0xfa, 0x32, 0x27, 0xd2, 0xcf, 0x55, 0xa8, 0xd1, 0x43, 0x84, 0x1a, 0x50, 0x1d, 0xea,
1116 0xa6, 0x50, 0x42, 0x5d, 0x80, 0xfe, 0x47, 0x55, 0x1b, 0xd8, 0x03, 0xd9, 0x34, 0x84, 0x32, 0xea,
1117 0x40, 0x4b, 0xd7, 0x46, 0xb6, 0x3c, 0x94, 0xf1, 0x95, 0x50, 0x41, 0x4f, 0xe0, 0x11, 0x15, 0x4d,
1118 0x4b, 0xc6, 0xd6, 0xc8, 0xb0, 0x2f, 0x64, 0x75, 0x38, 0xc2, 0x8a, 0x50, 0x45, 0xfb, 0x80, 0x98,
1119 0x42, 0x1d, 0x68, 0xf2, 0xd0, 0xee, 0x2b, 0x03, 0x2c, 0xf7, 0x15, 0x61, 0x2b, 0x35, 0xe8, 0x63,
1120 0xf5, 0xc2, 0xb2, 0xf5, 0x0b, 0xfb, 0x83, 0xaa, 0xf5, 0xf5, 0x0f, 0x42, 0x0d, 0x1d, 0x82, 0x48,
1121 0x15, 0x43, 0xdd, 0x34, 0x29, 0xae, 0x5f, 0xf5, 0x54, 0xbb, 0xf7, 0x5e, 0xd6, 0x34, 0x65, 0x28,
1122 0xd4, 0xb3, 0x38, 0xcc, 0x9d, 0x99, 0xc5, 0x69, 0xa0, 0x17, 0xf0, 0x5f, 0xaa, 0xb0, 0xb0, 0xac,
1123 0x99, 0x57, 0xaa, 0x69, 0xaa, 0xba, 0x66, 0xab, 0x9a, 0xa5, 0xe0, 0x0b, 0x05, 0x2b, 0x5a, 0x4f,
1124 0xb1, 0x3f, 0xc8, 0x58, 0x53, 0xb5, 0x81, 0xd0, 0x44, 0x07, 0xb0, 0xcf, 0x52, 0xef, 0x59, 0xea,
1125 0xb5, 0x6c, 0x51, 0x62, 0xea, 0xa6, 0x85, 0x44, 0x36, 0x72, 0xdb, 0xc0, 0x7a, 0x4f, 0x31, 0x4d,
1126 0x5a, 0xaf, 0x82, 0xb1, 0x8e, 0x05, 0x40, 0x47, 0x70, 0x98, 0xcf, 0xeb, 0x52, 0xf9, 0x68, 0x9b,
1127 0x1f, 0xb5, 0x5e, 0x66, 0xdb, 0x46, 0x7b, 0xb0, 0x4b, 0x19, 0xaa, 0x35, 0xb2, 0x0d, 0x5d, 0xa3,
1128 0xbd, 0xb0, 0x4c, 0x61, 0x1b, 0xed, 0x42, 0x27, 0xeb, 0x14, 0x35, 0x17, 0x3a, 0x0f, 0xa1, 0x73,
1129 0xa1, 0x9b, 0x16, 0x96, 0x42, 0x46, 0xcf, 0xa6, 0x55, 0x08, 0x3b, 0x69, 0x3f, 0x0a, 0x8a, 0x1e,
1130 0xcf, 0x4a, 0x40, 0x08, 0xba, 0x79, 0xed, 0x85, 0x2a, 0xec, 0xa2, 0x47, 0xb0, 0x93, 0xc7, 0xe4,
1131 0x2b, 0x55, 0x40, 0xd2, 0x5b, 0xe8, 0xb2, 0xf9, 0x1a, 0x4e, 0xe8, 0xcc, 0x48, 0x4c, 0x42, 0x24,
1132 0x40, 0xf5, 0x92, 0x7c, 0xe1, 0x37, 0x87, 0x1e, 0xd1, 0x63, 0xa8, 0x5d, 0x3b, 0xde, 0x22, 0xdd,
1133 0x76, 0x89, 0x20, 0xfd, 0x54, 0x66, 0xfe, 0x98, 0x75, 0xee, 0x32, 0x65, 0xb7, 0x85, 0x7b, 0x58,
1134 0x02, 0x1b, 0xed, 0x86, 0x7d, 0xa8, 0xd3, 0x07, 0x7c, 0x11, 0xf1, 0xc5, 0xc0, 0x25, 0xf4, 0x1d,
1135 0x40, 0x96, 0x62, 0x24, 0x6e, 0xb1, 0xa7, 0x61, 0x8f, 0x3f, 0x0d, 0xc5, 0x02, 0x70, 0x8e, 0x28,
1136 0x7d, 0x82, 0x1d, 0x7d, 0x68, 0x15, 0x72, 0x3c, 0x82, 0x36, 0x5b, 0x25, 0xb7, 0xce, 0x98, 0xf0,
1137 0xd5, 0xd5, 0xc1, 0x79, 0x28, 0xdb, 0x40, 0x54, 0x64, 0x95, 0x54, 0x72, 0x1b, 0x28, 0x05, 0xbf,
1138 0x96, 0xa9, 0xf4, 0x63, 0x19, 0x3a, 0xd7, 0x24, 0x8c, 0xdc, 0xc0, 0xe7, 0x35, 0x89, 0xd0, 0xf8,
1139 0x9c, 0x00, 0xbc, 0x27, 0xa9, 0x48, 0xfb, 0x75, 0xb3, 0x70, 0xbd, 0x89, 0xe5, 0xce, 0xb2, 0x77,
1140 0x49, 0x06, 0xa0, 0x7f, 0x03, 0x8c, 0x83, 0xd9, 0xcc, 0x8d, 0xdf, 0x3b, 0xd1, 0x94, 0x47, 0xc9,
1141 0x21, 0xd4, 0xfa, 0xce, 0x8d, 0x79, 0x12, 0xc9, 0x96, 0x5c, 0x02, 0xd2, 0x5b, 0x68, 0x0e, 0x83,
1142 0xbb, 0x21, 0xf9, 0x4c, 0x3c, 0x3a, 0x41, 0x8f, 0x1e, 0x78, 0xfc, 0x44, 0xa0, 0x15, 0x8c, 0x1d,
1143 0xcf, 0xe3, 0x93, 0x68, 0x62, 0x2e, 0x49, 0x0a, 0x34, 0x31, 0x89, 0xe6, 0x81, 0x1f, 0x11, 0xf4,
1144 0x0c, 0xda, 0x11, 0xf3, 0x67, 0x8f, 0x83, 0x09, 0xe1, 0x8b, 0x1e, 0x12, 0xa8, 0x17, 0x4c, 0x08,
1145 0x2d, 0x6e, 0x46, 0xa2, 0xc8, 0xb9, 0x4b, 0x0b, 0x48, 0x45, 0x29, 0x82, 0xb6, 0x7a, 0x37, 0x9b,
1146 0xa7, 0x7d, 0x7f, 0x01, 0x75, 0xdd, 0x5f, 0x60, 0xf2, 0x89, 0x2f, 0xc5, 0xdd, 0xdc, 0x2e, 0x4b,
1147 0x28, 0x98, 0x13, 0xd0, 0x3b, 0xd8, 0x36, 0x17, 0x37, 0xf2, 0x38, 0x76, 0x03, 0xff, 0xda, 0xf1,
1148 0x98, 0xe3, 0x6e, 0x36, 0xee, 0x4c, 0xc5, 0x56, 0x11, 0x2e, 0x50, 0xa5, 0x4b, 0xa8, 0x5d, 0x78,
1149 0xc1, 0x7d, 0x84, 0xfe, 0x05, 0x70, 0xeb, 0x05, 0xf7, 0xf6, 0x38, 0x58, 0xf8, 0x71, 0xba, 0xd8,
1150 0x28, 0xd2, 0xa3, 0x00, 0xfa, 0x0f, 0xd4, 0xa8, 0x10, 0x89, 0x15, 0x76, 0x95, 0x3a, 0x27, 0xe9,
1151 0xa7, 0x05, 0xb5, 0xc6, 0x89, 0x4e, 0x6a, 0x40, 0x4d, 0x99, 0xcd, 0xe3, 0x2f, 0x2f, 0xdf, 0x40,
1152 0xb7, 0x18, 0x15, 0x35, 0x61, 0xeb, 0x07, 0x5d, 0xd5, 0x84, 0x12, 0x6a, 0x41, 0x6d, 0xa8, 0xc8,
1153 0xd7, 0x8a, 0x50, 0x46, 0x00, 0x75, 0x0a, 0x5e, 0x9f, 0x09, 0x95, 0xd3, 0x5f, 0x9b, 0x50, 0x3b,
1154 0x3f, 0x37, 0xdd, 0x19, 0x7a, 0x0d, 0x0d, 0x7e, 0x1f, 0xd0, 0x36, 0x2f, 0x81, 0x79, 0x3d, 0x78,
1155 0xcc, 0xa5, 0xc2, 0x6d, 0x91, 0x4a, 0xe8, 0x0d, 0xb4, 0x4d, 0x12, 0x67, 0xc3, 0xdb, 0xe1, 0xb4,
1156 0x14, 0x38, 0x78, 0x08, 0x48, 0x25, 0xf4, 0x1c, 0xea, 0x03, 0x12, 0xd3, 0x0f, 0x8f, 0x62, 0x88,
1157 0xec, 0x85, 0xe1, 0xc5, 0x52, 0x09, 0xbd, 0x02, 0x30, 0x82, 0x7b, 0x12, 0x06, 0xfe, 0x2a, 0x33,
1158 0x75, 0x9a, 0x4e, 0x5e, 0x2a, 0xa1, 0x13, 0x68, 0x9b, 0xd3, 0x45, 0x3c, 0x09, 0xee, 0x37, 0xe3,
1159 0xff, 0x1f, 0x5a, 0x98, 0xdc, 0x04, 0x41, 0xbc, 0x11, 0xfb, 0x45, 0x92, 0xb2, 0x36, 0x42, 0xab,
1160 0x37, 0xe1, 0x20, 0xf7, 0xa2, 0x93, 0x4a, 0xe8, 0x7f, 0xd0, 0x48, 0xa8, 0xd1, 0x03, 0xb7, 0xed,
1161 0x25, 0x2d, 0x92, 0x4a, 0xe8, 0x2c, 0x97, 0xf0, 0x7a, 0xbf, 0x6b, 0xf2, 0x38, 0x85, 0x9d, 0xd4,
1162 0x48, 0xf6, 0xbc, 0x35, 0x41, 0xd6, 0xd8, 0xbc, 0x83, 0xdd, 0x5c, 0xa0, 0x48, 0xf7, 0x0d, 0x5d,
1163 0xcb, 0xc2, 0x2d, 0x5f, 0xae, 0xeb, 0xc3, 0x65, 0x33, 0xd8, 0x38, 0xc5, 0x37, 0xd0, 0xe5, 0x36,
1164 0x1b, 0x67, 0xf8, 0x16, 0x84, 0x65, 0x98, 0xbf, 0x94, 0xe0, 0xb7, 0xb0, 0x8d, 0x49, 0x14, 0x3b,
1165 0x61, 0xac, 0x38, 0xf3, 0xc0, 0xdb, 0x30, 0xc5, 0x33, 0x68, 0x73, 0xab, 0xfe, 0x74, 0x3c, 0xdf,
1166 0xd0, 0xe8, 0x1c, 0xf6, 0x4c, 0x12, 0xeb, 0xfe, 0x82, 0x2d, 0x68, 0xd5, 0x9f, 0xb8, 0x63, 0x87,
1167 0x3e, 0x62, 0x68, 0x7f, 0x69, 0x9e, 0xdf, 0xdd, 0x7f, 0xe2, 0xc3, 0x8b, 0xbf, 0xea, 0xa3, 0xb8,
1168 0xff, 0xd7, 0xf9, 0x78, 0x05, 0xcd, 0x01, 0x89, 0x93, 0xbd, 0xb1, 0x26, 0xf3, 0xb4, 0xd9, 0x8c,
1169 0xc0, 0x7a, 0xbb, 0xd3, 0x9b, 0x3a, 0xfe, 0x1d, 0xa1, 0xeb, 0x2d, 0xf9, 0x1c, 0x45, 0x9c, 0x92,
1170 0x5b, 0x78, 0xeb, 0x02, 0x5d, 0xc2, 0x93, 0x01, 0x2b, 0x78, 0xf5, 0xe3, 0x71, 0x4d, 0xdc, 0xa7,
1171 0x4b, 0x68, 0x85, 0x2f, 0x95, 0x6e, 0xea, 0xec, 0x3f, 0xce, 0xd9, 0x1f, 0x01, 0x00, 0x00, 0xff,
1172 0xff, 0x42, 0x70, 0xbe, 0x17, 0x42, 0x0d, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001173}
1174
1175// Reference imports to suppress errors if they are not otherwise used.
1176var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001177var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001178
1179// This is a compile-time assertion to ensure that this generated file
1180// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001181const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001182
1183// BBSimClient is the client API for BBSim service.
1184//
1185// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1186type BBSimClient interface {
1187 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301188 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001189 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001190 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1191 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1192 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001193 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301194 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001195 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301196 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1197 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001198 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301199 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1200 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001201 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
1202 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Anand S Katti86552f92020-03-03 21:56:32 +05301203 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
1204 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Pragya Arya8bdb4532020-03-02 17:08:09 +05301205 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Arjun E K57a7fcb2020-01-30 06:44:45 +00001206 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Anand S Katti09541352020-01-29 15:54:01 +05301207 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001208}
1209
1210type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04001211 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001212}
1213
Kent Hagerman60d62302020-03-10 17:02:36 -04001214func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001215 return &bBSimClient{cc}
1216}
1217
1218func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1219 out := new(VersionNumber)
1220 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1221 if err != nil {
1222 return nil, err
1223 }
1224 return out, nil
1225}
1226
Pragya Aryabd731ec2020-02-11 16:38:17 +05301227func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1228 out := new(LogLevel)
1229 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1230 if err != nil {
1231 return nil, err
1232 }
1233 return out, nil
1234}
1235
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001236func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1237 out := new(Olt)
1238 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1239 if err != nil {
1240 return nil, err
1241 }
1242 return out, nil
1243}
1244
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001245func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1246 out := new(Response)
1247 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1248 if err != nil {
1249 return nil, err
1250 }
1251 return out, nil
1252}
1253
1254func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1255 out := new(Response)
1256 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1257 if err != nil {
1258 return nil, err
1259 }
1260 return out, nil
1261}
1262
1263func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1264 out := new(Response)
1265 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1266 if err != nil {
1267 return nil, err
1268 }
1269 return out, nil
1270}
1271
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001272func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
1273 out := new(ONU)
1274 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
1275 if err != nil {
1276 return nil, err
1277 }
1278 return out, nil
1279}
1280
Pragya Aryabd731ec2020-02-11 16:38:17 +05301281func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
1282 out := new(ONUs)
1283 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001284 if err != nil {
1285 return nil, err
1286 }
1287 return out, nil
1288}
1289
1290func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1291 out := new(Response)
1292 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
1293 if err != nil {
1294 return nil, err
1295 }
1296 return out, nil
1297}
1298
Pragya Aryabd731ec2020-02-11 16:38:17 +05301299func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1300 out := new(Response)
1301 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
1302 if err != nil {
1303 return nil, err
1304 }
1305 return out, nil
1306}
1307
1308func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1309 out := new(Response)
1310 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
1311 if err != nil {
1312 return nil, err
1313 }
1314 return out, nil
1315}
1316
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001317func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1318 out := new(Response)
1319 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
1320 if err != nil {
1321 return nil, err
1322 }
1323 return out, nil
1324}
1325
Pragya Aryabd731ec2020-02-11 16:38:17 +05301326func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1327 out := new(Response)
1328 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
1329 if err != nil {
1330 return nil, err
1331 }
1332 return out, nil
1333}
1334
1335func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1336 out := new(Response)
1337 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
1338 if err != nil {
1339 return nil, err
1340 }
1341 return out, nil
1342}
1343
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001344func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1345 out := new(Response)
1346 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
1347 if err != nil {
1348 return nil, err
1349 }
1350 return out, nil
1351}
1352
1353func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1354 out := new(Response)
1355 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
1356 if err != nil {
1357 return nil, err
1358 }
1359 return out, nil
1360}
1361
Anand S Katti86552f92020-03-03 21:56:32 +05301362func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08001363 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05301364 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
1365 if err != nil {
1366 return nil, err
1367 }
1368 return out, nil
1369}
1370
1371func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
1372 out := new(Response)
1373 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08001374 if err != nil {
1375 return nil, err
1376 }
1377 return out, nil
1378}
1379
Pragya Arya8bdb4532020-03-02 17:08:09 +05301380func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
1381 out := new(Flows)
1382 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
1383 if err != nil {
1384 return nil, err
1385 }
1386 return out, nil
1387}
1388
Arjun E K57a7fcb2020-01-30 06:44:45 +00001389func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
1390 out := new(Response)
1391 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
1392 if err != nil {
1393 return nil, err
1394 }
1395 return out, nil
1396}
1397
Anand S Katti09541352020-01-29 15:54:01 +05301398func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
1399 out := new(ONUTrafficSchedulers)
1400 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
1401 if err != nil {
1402 return nil, err
1403 }
1404 return out, nil
1405}
1406
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001407// BBSimServer is the server API for BBSim service.
1408type BBSimServer interface {
1409 Version(context.Context, *Empty) (*VersionNumber, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301410 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001411 GetOlt(context.Context, *Empty) (*Olt, error)
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001412 PoweronOlt(context.Context, *Empty) (*Response, error)
1413 ShutdownOlt(context.Context, *Empty) (*Response, error)
1414 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001415 GetONU(context.Context, *ONURequest) (*ONU, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301416 GetONUs(context.Context, *Empty) (*ONUs, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001417 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301418 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
1419 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001420 PoweronONU(context.Context, *ONURequest) (*Response, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301421 PoweronAllONUs(context.Context, *Empty) (*Response, error)
1422 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001423 RestartEapol(context.Context, *ONURequest) (*Response, error)
1424 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Anand S Katti86552f92020-03-03 21:56:32 +05301425 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
1426 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Pragya Arya8bdb4532020-03-02 17:08:09 +05301427 GetFlows(context.Context, *ONURequest) (*Flows, error)
Arjun E K57a7fcb2020-01-30 06:44:45 +00001428 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Anand S Katti09541352020-01-29 15:54:01 +05301429 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001430}
1431
Pragya Aryabd731ec2020-02-11 16:38:17 +05301432// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
1433type UnimplementedBBSimServer struct {
1434}
1435
1436func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
1437 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
1438}
1439func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
1440 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
1441}
1442func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
1443 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
1444}
1445func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
1446 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
1447}
1448func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
1449 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
1450}
1451func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
1452 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
1453}
1454func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
1455 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
1456}
1457func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
1458 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
1459}
1460func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
1461 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
1462}
1463func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1464 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
1465}
1466func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1467 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
1468}
1469func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
1470 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
1471}
1472func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1473 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
1474}
1475func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1476 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
1477}
1478func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
1479 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
1480}
1481func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
1482 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
1483}
1484func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
1485 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
1486}
1487func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
1488 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
1489}
1490func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
1491 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
1492}
1493func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
1494 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
1495}
1496func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
1497 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
1498}
1499
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001500func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
1501 s.RegisterService(&_BBSim_serviceDesc, srv)
1502}
1503
1504func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1505 in := new(Empty)
1506 if err := dec(in); err != nil {
1507 return nil, err
1508 }
1509 if interceptor == nil {
1510 return srv.(BBSimServer).Version(ctx, in)
1511 }
1512 info := &grpc.UnaryServerInfo{
1513 Server: srv,
1514 FullMethod: "/bbsim.BBSim/Version",
1515 }
1516 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1517 return srv.(BBSimServer).Version(ctx, req.(*Empty))
1518 }
1519 return interceptor(ctx, in, info, handler)
1520}
1521
Pragya Aryabd731ec2020-02-11 16:38:17 +05301522func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1523 in := new(LogLevel)
1524 if err := dec(in); err != nil {
1525 return nil, err
1526 }
1527 if interceptor == nil {
1528 return srv.(BBSimServer).SetLogLevel(ctx, in)
1529 }
1530 info := &grpc.UnaryServerInfo{
1531 Server: srv,
1532 FullMethod: "/bbsim.BBSim/SetLogLevel",
1533 }
1534 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1535 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
1536 }
1537 return interceptor(ctx, in, info, handler)
1538}
1539
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001540func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1541 in := new(Empty)
1542 if err := dec(in); err != nil {
1543 return nil, err
1544 }
1545 if interceptor == nil {
1546 return srv.(BBSimServer).GetOlt(ctx, in)
1547 }
1548 info := &grpc.UnaryServerInfo{
1549 Server: srv,
1550 FullMethod: "/bbsim.BBSim/GetOlt",
1551 }
1552 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1553 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
1554 }
1555 return interceptor(ctx, in, info, handler)
1556}
1557
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001558func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1559 in := new(Empty)
1560 if err := dec(in); err != nil {
1561 return nil, err
1562 }
1563 if interceptor == nil {
1564 return srv.(BBSimServer).PoweronOlt(ctx, in)
1565 }
1566 info := &grpc.UnaryServerInfo{
1567 Server: srv,
1568 FullMethod: "/bbsim.BBSim/PoweronOlt",
1569 }
1570 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1571 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
1572 }
1573 return interceptor(ctx, in, info, handler)
1574}
1575
1576func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1577 in := new(Empty)
1578 if err := dec(in); err != nil {
1579 return nil, err
1580 }
1581 if interceptor == nil {
1582 return srv.(BBSimServer).ShutdownOlt(ctx, in)
1583 }
1584 info := &grpc.UnaryServerInfo{
1585 Server: srv,
1586 FullMethod: "/bbsim.BBSim/ShutdownOlt",
1587 }
1588 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1589 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
1590 }
1591 return interceptor(ctx, in, info, handler)
1592}
1593
1594func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1595 in := new(Empty)
1596 if err := dec(in); err != nil {
1597 return nil, err
1598 }
1599 if interceptor == nil {
1600 return srv.(BBSimServer).RebootOlt(ctx, in)
1601 }
1602 info := &grpc.UnaryServerInfo{
1603 Server: srv,
1604 FullMethod: "/bbsim.BBSim/RebootOlt",
1605 }
1606 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1607 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
1608 }
1609 return interceptor(ctx, in, info, handler)
1610}
1611
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001612func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1613 in := new(ONURequest)
1614 if err := dec(in); err != nil {
1615 return nil, err
1616 }
1617 if interceptor == nil {
1618 return srv.(BBSimServer).GetONU(ctx, in)
1619 }
1620 info := &grpc.UnaryServerInfo{
1621 Server: srv,
1622 FullMethod: "/bbsim.BBSim/GetONU",
1623 }
1624 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1625 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
1626 }
1627 return interceptor(ctx, in, info, handler)
1628}
1629
Pragya Aryabd731ec2020-02-11 16:38:17 +05301630func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1631 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001632 if err := dec(in); err != nil {
1633 return nil, err
1634 }
1635 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301636 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001637 }
1638 info := &grpc.UnaryServerInfo{
1639 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05301640 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001641 }
1642 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301643 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001644 }
1645 return interceptor(ctx, in, info, handler)
1646}
1647
1648func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1649 in := new(ONURequest)
1650 if err := dec(in); err != nil {
1651 return nil, err
1652 }
1653 if interceptor == nil {
1654 return srv.(BBSimServer).ShutdownONU(ctx, in)
1655 }
1656 info := &grpc.UnaryServerInfo{
1657 Server: srv,
1658 FullMethod: "/bbsim.BBSim/ShutdownONU",
1659 }
1660 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1661 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
1662 }
1663 return interceptor(ctx, in, info, handler)
1664}
1665
Pragya Aryabd731ec2020-02-11 16:38:17 +05301666func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1667 in := new(Empty)
1668 if err := dec(in); err != nil {
1669 return nil, err
1670 }
1671 if interceptor == nil {
1672 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
1673 }
1674 info := &grpc.UnaryServerInfo{
1675 Server: srv,
1676 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
1677 }
1678 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1679 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
1680 }
1681 return interceptor(ctx, in, info, handler)
1682}
1683
1684func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1685 in := new(PONRequest)
1686 if err := dec(in); err != nil {
1687 return nil, err
1688 }
1689 if interceptor == nil {
1690 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
1691 }
1692 info := &grpc.UnaryServerInfo{
1693 Server: srv,
1694 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
1695 }
1696 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1697 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
1698 }
1699 return interceptor(ctx, in, info, handler)
1700}
1701
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001702func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1703 in := new(ONURequest)
1704 if err := dec(in); err != nil {
1705 return nil, err
1706 }
1707 if interceptor == nil {
1708 return srv.(BBSimServer).PoweronONU(ctx, in)
1709 }
1710 info := &grpc.UnaryServerInfo{
1711 Server: srv,
1712 FullMethod: "/bbsim.BBSim/PoweronONU",
1713 }
1714 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1715 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
1716 }
1717 return interceptor(ctx, in, info, handler)
1718}
1719
Pragya Aryabd731ec2020-02-11 16:38:17 +05301720func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1721 in := new(Empty)
1722 if err := dec(in); err != nil {
1723 return nil, err
1724 }
1725 if interceptor == nil {
1726 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
1727 }
1728 info := &grpc.UnaryServerInfo{
1729 Server: srv,
1730 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
1731 }
1732 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1733 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
1734 }
1735 return interceptor(ctx, in, info, handler)
1736}
1737
1738func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1739 in := new(PONRequest)
1740 if err := dec(in); err != nil {
1741 return nil, err
1742 }
1743 if interceptor == nil {
1744 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
1745 }
1746 info := &grpc.UnaryServerInfo{
1747 Server: srv,
1748 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
1749 }
1750 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1751 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
1752 }
1753 return interceptor(ctx, in, info, handler)
1754}
1755
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001756func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1757 in := new(ONURequest)
1758 if err := dec(in); err != nil {
1759 return nil, err
1760 }
1761 if interceptor == nil {
1762 return srv.(BBSimServer).RestartEapol(ctx, in)
1763 }
1764 info := &grpc.UnaryServerInfo{
1765 Server: srv,
1766 FullMethod: "/bbsim.BBSim/RestartEapol",
1767 }
1768 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1769 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
1770 }
1771 return interceptor(ctx, in, info, handler)
1772}
1773
1774func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1775 in := new(ONURequest)
1776 if err := dec(in); err != nil {
1777 return nil, err
1778 }
1779 if interceptor == nil {
1780 return srv.(BBSimServer).RestartDhcp(ctx, in)
1781 }
1782 info := &grpc.UnaryServerInfo{
1783 Server: srv,
1784 FullMethod: "/bbsim.BBSim/RestartDhcp",
1785 }
1786 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1787 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
1788 }
1789 return interceptor(ctx, in, info, handler)
1790}
1791
Anand S Katti86552f92020-03-03 21:56:32 +05301792func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1793 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08001794 if err := dec(in); err != nil {
1795 return nil, err
1796 }
1797 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05301798 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08001799 }
1800 info := &grpc.UnaryServerInfo{
1801 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05301802 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08001803 }
1804 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05301805 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
1806 }
1807 return interceptor(ctx, in, info, handler)
1808}
1809
1810func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1811 in := new(OLTAlarmRequest)
1812 if err := dec(in); err != nil {
1813 return nil, err
1814 }
1815 if interceptor == nil {
1816 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
1817 }
1818 info := &grpc.UnaryServerInfo{
1819 Server: srv,
1820 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
1821 }
1822 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1823 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08001824 }
1825 return interceptor(ctx, in, info, handler)
1826}
1827
Pragya Arya8bdb4532020-03-02 17:08:09 +05301828func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1829 in := new(ONURequest)
1830 if err := dec(in); err != nil {
1831 return nil, err
1832 }
1833 if interceptor == nil {
1834 return srv.(BBSimServer).GetFlows(ctx, in)
1835 }
1836 info := &grpc.UnaryServerInfo{
1837 Server: srv,
1838 FullMethod: "/bbsim.BBSim/GetFlows",
1839 }
1840 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1841 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
1842 }
1843 return interceptor(ctx, in, info, handler)
1844}
1845
Arjun E K57a7fcb2020-01-30 06:44:45 +00001846func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1847 in := new(IgmpRequest)
1848 if err := dec(in); err != nil {
1849 return nil, err
1850 }
1851 if interceptor == nil {
1852 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
1853 }
1854 info := &grpc.UnaryServerInfo{
1855 Server: srv,
1856 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
1857 }
1858 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1859 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
1860 }
1861 return interceptor(ctx, in, info, handler)
1862}
1863
Anand S Katti09541352020-01-29 15:54:01 +05301864func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1865 in := new(ONURequest)
1866 if err := dec(in); err != nil {
1867 return nil, err
1868 }
1869 if interceptor == nil {
1870 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
1871 }
1872 info := &grpc.UnaryServerInfo{
1873 Server: srv,
1874 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
1875 }
1876 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1877 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
1878 }
1879 return interceptor(ctx, in, info, handler)
1880}
1881
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001882var _BBSim_serviceDesc = grpc.ServiceDesc{
1883 ServiceName: "bbsim.BBSim",
1884 HandlerType: (*BBSimServer)(nil),
1885 Methods: []grpc.MethodDesc{
1886 {
1887 MethodName: "Version",
1888 Handler: _BBSim_Version_Handler,
1889 },
1890 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301891 MethodName: "SetLogLevel",
1892 Handler: _BBSim_SetLogLevel_Handler,
1893 },
1894 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001895 MethodName: "GetOlt",
1896 Handler: _BBSim_GetOlt_Handler,
1897 },
1898 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001899 MethodName: "PoweronOlt",
1900 Handler: _BBSim_PoweronOlt_Handler,
1901 },
1902 {
1903 MethodName: "ShutdownOlt",
1904 Handler: _BBSim_ShutdownOlt_Handler,
1905 },
1906 {
1907 MethodName: "RebootOlt",
1908 Handler: _BBSim_RebootOlt_Handler,
1909 },
1910 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001911 MethodName: "GetONU",
1912 Handler: _BBSim_GetONU_Handler,
1913 },
1914 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301915 MethodName: "GetONUs",
1916 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001917 },
1918 {
1919 MethodName: "ShutdownONU",
1920 Handler: _BBSim_ShutdownONU_Handler,
1921 },
1922 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301923 MethodName: "ShutdownAllONUs",
1924 Handler: _BBSim_ShutdownAllONUs_Handler,
1925 },
1926 {
1927 MethodName: "ShutdownONUsOnPON",
1928 Handler: _BBSim_ShutdownONUsOnPON_Handler,
1929 },
1930 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001931 MethodName: "PoweronONU",
1932 Handler: _BBSim_PoweronONU_Handler,
1933 },
1934 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301935 MethodName: "PoweronAllONUs",
1936 Handler: _BBSim_PoweronAllONUs_Handler,
1937 },
1938 {
1939 MethodName: "PoweronONUsOnPON",
1940 Handler: _BBSim_PoweronONUsOnPON_Handler,
1941 },
1942 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001943 MethodName: "RestartEapol",
1944 Handler: _BBSim_RestartEapol_Handler,
1945 },
1946 {
1947 MethodName: "RestartDhcp",
1948 Handler: _BBSim_RestartDhcp_Handler,
1949 },
Scott Baker41724b82020-01-21 19:54:53 -08001950 {
Anand S Katti86552f92020-03-03 21:56:32 +05301951 MethodName: "SetOnuAlarmIndication",
1952 Handler: _BBSim_SetOnuAlarmIndication_Handler,
1953 },
1954 {
1955 MethodName: "SetOltAlarmIndication",
1956 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08001957 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00001958 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05301959 MethodName: "GetFlows",
1960 Handler: _BBSim_GetFlows_Handler,
1961 },
1962 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001963 MethodName: "ChangeIgmpState",
1964 Handler: _BBSim_ChangeIgmpState_Handler,
1965 },
Anand S Katti09541352020-01-29 15:54:01 +05301966 {
1967 MethodName: "GetOnuTrafficSchedulers",
1968 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
1969 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001970 },
1971 Streams: []grpc.StreamDesc{},
1972 Metadata: "api/bbsim/bbsim.proto",
1973}