blob: fa002792980233193fab3efe0854e02091a70c49 [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"
Matteo Scandolo4f4ac792020-10-01 16:33:21 -070010 openolt "github.com/opencord/voltha-protos/v4/go/openolt"
11 tech_profile "github.com/opencord/voltha-protos/v4/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) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700134 return fileDescriptor_ef7750073d18011b, []int{10, 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 {
Matteo Scandolocedde462021-03-09 17:37:16 -0800319 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 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
325 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
326 Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"`
327 ImageSoftwareExpectedSections int32 `protobuf:"varint,11,opt,name=ImageSoftwareExpectedSections,proto3" json:"ImageSoftwareExpectedSections,omitempty"`
328 ImageSoftwareReceivedSections int32 `protobuf:"varint,12,opt,name=ImageSoftwareReceivedSections,proto3" json:"ImageSoftwareReceivedSections,omitempty"`
329 ActiveImageEntityId int32 `protobuf:"varint,13,opt,name=ActiveImageEntityId,proto3" json:"ActiveImageEntityId,omitempty"`
330 CommittedImageEntityId int32 `protobuf:"varint,14,opt,name=CommittedImageEntityId,proto3" json:"CommittedImageEntityId,omitempty"`
331 XXX_NoUnkeyedLiteral struct{} `json:"-"`
332 XXX_unrecognized []byte `json:"-"`
333 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700334}
335
336func (m *ONU) Reset() { *m = ONU{} }
337func (m *ONU) String() string { return proto.CompactTextString(m) }
338func (*ONU) ProtoMessage() {}
339func (*ONU) Descriptor() ([]byte, []int) {
340 return fileDescriptor_ef7750073d18011b, []int{3}
341}
342
343func (m *ONU) XXX_Unmarshal(b []byte) error {
344 return xxx_messageInfo_ONU.Unmarshal(m, b)
345}
346func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
347 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
348}
349func (m *ONU) XXX_Merge(src proto.Message) {
350 xxx_messageInfo_ONU.Merge(m, src)
351}
352func (m *ONU) XXX_Size() int {
353 return xxx_messageInfo_ONU.Size(m)
354}
355func (m *ONU) XXX_DiscardUnknown() {
356 xxx_messageInfo_ONU.DiscardUnknown(m)
357}
358
359var xxx_messageInfo_ONU proto.InternalMessageInfo
360
361func (m *ONU) GetID() int32 {
362 if m != nil {
363 return m.ID
364 }
365 return 0
366}
367
368func (m *ONU) GetSerialNumber() string {
369 if m != nil {
370 return m.SerialNumber
371 }
372 return ""
373}
374
375func (m *ONU) GetOperState() string {
376 if m != nil {
377 return m.OperState
378 }
379 return ""
380}
381
382func (m *ONU) GetInternalState() string {
383 if m != nil {
384 return m.InternalState
385 }
386 return ""
387}
388
389func (m *ONU) GetPonPortID() int32 {
390 if m != nil {
391 return m.PonPortID
392 }
393 return 0
394}
395
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700396func (m *ONU) GetHwAddress() string {
397 if m != nil {
398 return m.HwAddress
399 }
400 return ""
401}
402
403func (m *ONU) GetPortNo() int32 {
404 if m != nil {
405 return m.PortNo
406 }
407 return 0
408}
409
Matteo Scandolo4a036262020-08-17 15:56:13 -0700410func (m *ONU) GetServices() []*Service {
411 if m != nil {
412 return m.Services
413 }
414 return nil
415}
416
Matteo Scandolocedde462021-03-09 17:37:16 -0800417func (m *ONU) GetImageSoftwareExpectedSections() int32 {
418 if m != nil {
419 return m.ImageSoftwareExpectedSections
420 }
421 return 0
422}
423
424func (m *ONU) GetImageSoftwareReceivedSections() int32 {
425 if m != nil {
426 return m.ImageSoftwareReceivedSections
427 }
428 return 0
429}
430
431func (m *ONU) GetActiveImageEntityId() int32 {
432 if m != nil {
433 return m.ActiveImageEntityId
434 }
435 return 0
436}
437
438func (m *ONU) GetCommittedImageEntityId() int32 {
439 if m != nil {
440 return m.CommittedImageEntityId
441 }
442 return 0
443}
444
Matteo Scandolo4a036262020-08-17 15:56:13 -0700445type Service struct {
446 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
447 HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
448 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
449 STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"`
450 CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"`
451 NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"`
452 NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"`
453 NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"`
454 GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"`
455 EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"`
456 DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"`
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700457 InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
Matteo Scandolo618a6582020-09-09 12:21:29 -0700458 IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"`
Matteo Scandolo4a036262020-08-17 15:56:13 -0700459 XXX_NoUnkeyedLiteral struct{} `json:"-"`
460 XXX_unrecognized []byte `json:"-"`
461 XXX_sizecache int32 `json:"-"`
462}
463
464func (m *Service) Reset() { *m = Service{} }
465func (m *Service) String() string { return proto.CompactTextString(m) }
466func (*Service) ProtoMessage() {}
467func (*Service) Descriptor() ([]byte, []int) {
468 return fileDescriptor_ef7750073d18011b, []int{4}
469}
470
471func (m *Service) XXX_Unmarshal(b []byte) error {
472 return xxx_messageInfo_Service.Unmarshal(m, b)
473}
474func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
475 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
476}
477func (m *Service) XXX_Merge(src proto.Message) {
478 xxx_messageInfo_Service.Merge(m, src)
479}
480func (m *Service) XXX_Size() int {
481 return xxx_messageInfo_Service.Size(m)
482}
483func (m *Service) XXX_DiscardUnknown() {
484 xxx_messageInfo_Service.DiscardUnknown(m)
485}
486
487var xxx_messageInfo_Service proto.InternalMessageInfo
488
489func (m *Service) GetName() string {
490 if m != nil {
491 return m.Name
492 }
493 return ""
494}
495
496func (m *Service) GetHwAddress() string {
497 if m != nil {
498 return m.HwAddress
499 }
500 return ""
501}
502
503func (m *Service) GetOnuSn() string {
504 if m != nil {
505 return m.OnuSn
506 }
507 return ""
508}
509
510func (m *Service) GetSTag() int32 {
511 if m != nil {
512 return m.STag
513 }
514 return 0
515}
516
517func (m *Service) GetCTag() int32 {
518 if m != nil {
519 return m.CTag
520 }
521 return 0
522}
523
524func (m *Service) GetNeedsEapol() bool {
525 if m != nil {
526 return m.NeedsEapol
527 }
528 return false
529}
530
531func (m *Service) GetNeedsDhcp() bool {
532 if m != nil {
533 return m.NeedsDhcp
534 }
535 return false
536}
537
538func (m *Service) GetNeedsIgmp() bool {
539 if m != nil {
540 return m.NeedsIgmp
541 }
542 return false
543}
544
545func (m *Service) GetGemPort() int32 {
546 if m != nil {
547 return m.GemPort
548 }
549 return 0
550}
551
552func (m *Service) GetEapolState() string {
553 if m != nil {
554 return m.EapolState
555 }
556 return ""
557}
558
559func (m *Service) GetDhcpState() string {
560 if m != nil {
561 return m.DhcpState
562 }
563 return ""
564}
565
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700566func (m *Service) GetInternalState() string {
567 if m != nil {
568 return m.InternalState
569 }
570 return ""
571}
572
Matteo Scandolo618a6582020-09-09 12:21:29 -0700573func (m *Service) GetIGMPState() string {
574 if m != nil {
575 return m.IGMPState
576 }
577 return ""
578}
579
Anand S Katti09541352020-01-29 15:54:01 +0530580type ONUTrafficSchedulers struct {
581 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
582 XXX_NoUnkeyedLiteral struct{} `json:"-"`
583 XXX_unrecognized []byte `json:"-"`
584 XXX_sizecache int32 `json:"-"`
585}
586
587func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
588func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
589func (*ONUTrafficSchedulers) ProtoMessage() {}
590func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700591 return fileDescriptor_ef7750073d18011b, []int{5}
Anand S Katti09541352020-01-29 15:54:01 +0530592}
593
594func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
595 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
596}
597func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
598 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
599}
600func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
601 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
602}
603func (m *ONUTrafficSchedulers) XXX_Size() int {
604 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
605}
606func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
607 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
608}
609
610var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
611
612func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
613 if m != nil {
614 return m.TraffSchedulers
615 }
616 return nil
617}
618
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700619type ONUs struct {
620 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
621 XXX_NoUnkeyedLiteral struct{} `json:"-"`
622 XXX_unrecognized []byte `json:"-"`
623 XXX_sizecache int32 `json:"-"`
624}
625
626func (m *ONUs) Reset() { *m = ONUs{} }
627func (m *ONUs) String() string { return proto.CompactTextString(m) }
628func (*ONUs) ProtoMessage() {}
629func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700630 return fileDescriptor_ef7750073d18011b, []int{6}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700631}
632
633func (m *ONUs) XXX_Unmarshal(b []byte) error {
634 return xxx_messageInfo_ONUs.Unmarshal(m, b)
635}
636func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
637 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
638}
639func (m *ONUs) XXX_Merge(src proto.Message) {
640 xxx_messageInfo_ONUs.Merge(m, src)
641}
642func (m *ONUs) XXX_Size() int {
643 return xxx_messageInfo_ONUs.Size(m)
644}
645func (m *ONUs) XXX_DiscardUnknown() {
646 xxx_messageInfo_ONUs.DiscardUnknown(m)
647}
648
649var xxx_messageInfo_ONUs proto.InternalMessageInfo
650
651func (m *ONUs) GetItems() []*ONU {
652 if m != nil {
653 return m.Items
654 }
655 return nil
656}
657
Matteo Scandolo4a036262020-08-17 15:56:13 -0700658type Services struct {
659 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
660 XXX_NoUnkeyedLiteral struct{} `json:"-"`
661 XXX_unrecognized []byte `json:"-"`
662 XXX_sizecache int32 `json:"-"`
663}
664
665func (m *Services) Reset() { *m = Services{} }
666func (m *Services) String() string { return proto.CompactTextString(m) }
667func (*Services) ProtoMessage() {}
668func (*Services) Descriptor() ([]byte, []int) {
669 return fileDescriptor_ef7750073d18011b, []int{7}
670}
671
672func (m *Services) XXX_Unmarshal(b []byte) error {
673 return xxx_messageInfo_Services.Unmarshal(m, b)
674}
675func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
676 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
677}
678func (m *Services) XXX_Merge(src proto.Message) {
679 xxx_messageInfo_Services.Merge(m, src)
680}
681func (m *Services) XXX_Size() int {
682 return xxx_messageInfo_Services.Size(m)
683}
684func (m *Services) XXX_DiscardUnknown() {
685 xxx_messageInfo_Services.DiscardUnknown(m)
686}
687
688var xxx_messageInfo_Services proto.InternalMessageInfo
689
690func (m *Services) GetItems() []*Service {
691 if m != nil {
692 return m.Items
693 }
694 return nil
695}
696
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700697type ONURequest struct {
698 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
699 XXX_NoUnkeyedLiteral struct{} `json:"-"`
700 XXX_unrecognized []byte `json:"-"`
701 XXX_sizecache int32 `json:"-"`
702}
703
704func (m *ONURequest) Reset() { *m = ONURequest{} }
705func (m *ONURequest) String() string { return proto.CompactTextString(m) }
706func (*ONURequest) ProtoMessage() {}
707func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700708 return fileDescriptor_ef7750073d18011b, []int{8}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700709}
710
711func (m *ONURequest) XXX_Unmarshal(b []byte) error {
712 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
713}
714func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
715 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
716}
717func (m *ONURequest) XXX_Merge(src proto.Message) {
718 xxx_messageInfo_ONURequest.Merge(m, src)
719}
720func (m *ONURequest) XXX_Size() int {
721 return xxx_messageInfo_ONURequest.Size(m)
722}
723func (m *ONURequest) XXX_DiscardUnknown() {
724 xxx_messageInfo_ONURequest.DiscardUnknown(m)
725}
726
727var xxx_messageInfo_ONURequest proto.InternalMessageInfo
728
729func (m *ONURequest) GetSerialNumber() string {
730 if m != nil {
731 return m.SerialNumber
732 }
733 return ""
734}
735
Pragya Aryabd731ec2020-02-11 16:38:17 +0530736type PONRequest struct {
737 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
738 XXX_NoUnkeyedLiteral struct{} `json:"-"`
739 XXX_unrecognized []byte `json:"-"`
740 XXX_sizecache int32 `json:"-"`
741}
742
743func (m *PONRequest) Reset() { *m = PONRequest{} }
744func (m *PONRequest) String() string { return proto.CompactTextString(m) }
745func (*PONRequest) ProtoMessage() {}
746func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700747 return fileDescriptor_ef7750073d18011b, []int{9}
Pragya Aryabd731ec2020-02-11 16:38:17 +0530748}
749
750func (m *PONRequest) XXX_Unmarshal(b []byte) error {
751 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
752}
753func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
754 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
755}
756func (m *PONRequest) XXX_Merge(src proto.Message) {
757 xxx_messageInfo_PONRequest.Merge(m, src)
758}
759func (m *PONRequest) XXX_Size() int {
760 return xxx_messageInfo_PONRequest.Size(m)
761}
762func (m *PONRequest) XXX_DiscardUnknown() {
763 xxx_messageInfo_PONRequest.DiscardUnknown(m)
764}
765
766var xxx_messageInfo_PONRequest proto.InternalMessageInfo
767
768func (m *PONRequest) GetPonPortId() uint32 {
769 if m != nil {
770 return m.PonPortId
771 }
772 return 0
773}
774
Scott Baker41724b82020-01-21 19:54:53 -0800775type AlarmType struct {
776 XXX_NoUnkeyedLiteral struct{} `json:"-"`
777 XXX_unrecognized []byte `json:"-"`
778 XXX_sizecache int32 `json:"-"`
779}
780
781func (m *AlarmType) Reset() { *m = AlarmType{} }
782func (m *AlarmType) String() string { return proto.CompactTextString(m) }
783func (*AlarmType) ProtoMessage() {}
784func (*AlarmType) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700785 return fileDescriptor_ef7750073d18011b, []int{10}
Scott Baker41724b82020-01-21 19:54:53 -0800786}
787
788func (m *AlarmType) XXX_Unmarshal(b []byte) error {
789 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
790}
791func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
792 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
793}
794func (m *AlarmType) XXX_Merge(src proto.Message) {
795 xxx_messageInfo_AlarmType.Merge(m, src)
796}
797func (m *AlarmType) XXX_Size() int {
798 return xxx_messageInfo_AlarmType.Size(m)
799}
800func (m *AlarmType) XXX_DiscardUnknown() {
801 xxx_messageInfo_AlarmType.DiscardUnknown(m)
802}
803
804var xxx_messageInfo_AlarmType proto.InternalMessageInfo
805
806type AlarmParameter struct {
807 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
808 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
809 XXX_NoUnkeyedLiteral struct{} `json:"-"`
810 XXX_unrecognized []byte `json:"-"`
811 XXX_sizecache int32 `json:"-"`
812}
813
814func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
815func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
816func (*AlarmParameter) ProtoMessage() {}
817func (*AlarmParameter) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700818 return fileDescriptor_ef7750073d18011b, []int{11}
Scott Baker41724b82020-01-21 19:54:53 -0800819}
820
821func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
822 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
823}
824func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
825 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
826}
827func (m *AlarmParameter) XXX_Merge(src proto.Message) {
828 xxx_messageInfo_AlarmParameter.Merge(m, src)
829}
830func (m *AlarmParameter) XXX_Size() int {
831 return xxx_messageInfo_AlarmParameter.Size(m)
832}
833func (m *AlarmParameter) XXX_DiscardUnknown() {
834 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
835}
836
837var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
838
839func (m *AlarmParameter) GetKey() string {
840 if m != nil {
841 return m.Key
842 }
843 return ""
844}
845
846func (m *AlarmParameter) GetValue() string {
847 if m != nil {
848 return m.Value
849 }
850 return ""
851}
852
Anand S Katti86552f92020-03-03 21:56:32 +0530853// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +0530854// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -0800855// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +0530856type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +0530857 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -0800858 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
859 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
860 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
861 XXX_NoUnkeyedLiteral struct{} `json:"-"`
862 XXX_unrecognized []byte `json:"-"`
863 XXX_sizecache int32 `json:"-"`
864}
865
Anand S Katti86552f92020-03-03 21:56:32 +0530866func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
867func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
868func (*ONUAlarmRequest) ProtoMessage() {}
869func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700870 return fileDescriptor_ef7750073d18011b, []int{12}
Scott Baker41724b82020-01-21 19:54:53 -0800871}
872
Anand S Katti86552f92020-03-03 21:56:32 +0530873func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
874 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -0800875}
Anand S Katti86552f92020-03-03 21:56:32 +0530876func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
877 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -0800878}
Anand S Katti86552f92020-03-03 21:56:32 +0530879func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
880 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -0800881}
Anand S Katti86552f92020-03-03 21:56:32 +0530882func (m *ONUAlarmRequest) XXX_Size() int {
883 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -0800884}
Anand S Katti86552f92020-03-03 21:56:32 +0530885func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
886 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -0800887}
888
Anand S Katti86552f92020-03-03 21:56:32 +0530889var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -0800890
Anand S Katti86552f92020-03-03 21:56:32 +0530891func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -0800892 if m != nil {
893 return m.AlarmType
894 }
Pragya Arya694ece02020-02-07 13:03:47 +0530895 return ""
Scott Baker41724b82020-01-21 19:54:53 -0800896}
897
Anand S Katti86552f92020-03-03 21:56:32 +0530898func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -0800899 if m != nil {
900 return m.SerialNumber
901 }
902 return ""
903}
904
Anand S Katti86552f92020-03-03 21:56:32 +0530905func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -0800906 if m != nil {
907 return m.Status
908 }
909 return ""
910}
911
Anand S Katti86552f92020-03-03 21:56:32 +0530912func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -0800913 if m != nil {
914 return m.Parameters
915 }
916 return nil
917}
918
Anand S Katti86552f92020-03-03 21:56:32 +0530919// OLT alarm request
920type OLTAlarmRequest struct {
921 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
922 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
923 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
924 XXX_NoUnkeyedLiteral struct{} `json:"-"`
925 XXX_unrecognized []byte `json:"-"`
926 XXX_sizecache int32 `json:"-"`
927}
928
929func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
930func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
931func (*OLTAlarmRequest) ProtoMessage() {}
932func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700933 return fileDescriptor_ef7750073d18011b, []int{13}
Anand S Katti86552f92020-03-03 21:56:32 +0530934}
935
936func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
937 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
938}
939func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
940 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
941}
942func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
943 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
944}
945func (m *OLTAlarmRequest) XXX_Size() int {
946 return xxx_messageInfo_OLTAlarmRequest.Size(m)
947}
948func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
949 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
950}
951
952var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
953
954func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
955 if m != nil {
956 return m.InterfaceID
957 }
958 return 0
959}
960
961func (m *OLTAlarmRequest) GetInterfaceType() string {
962 if m != nil {
963 return m.InterfaceType
964 }
965 return ""
966}
967
968func (m *OLTAlarmRequest) GetStatus() string {
969 if m != nil {
970 return m.Status
971 }
972 return ""
973}
974
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700975type VersionNumber struct {
976 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
977 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
978 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
979 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
980 XXX_NoUnkeyedLiteral struct{} `json:"-"`
981 XXX_unrecognized []byte `json:"-"`
982 XXX_sizecache int32 `json:"-"`
983}
984
985func (m *VersionNumber) Reset() { *m = VersionNumber{} }
986func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
987func (*VersionNumber) ProtoMessage() {}
988func (*VersionNumber) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700989 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700990}
991
992func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
993 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
994}
995func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
996 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
997}
998func (m *VersionNumber) XXX_Merge(src proto.Message) {
999 xxx_messageInfo_VersionNumber.Merge(m, src)
1000}
1001func (m *VersionNumber) XXX_Size() int {
1002 return xxx_messageInfo_VersionNumber.Size(m)
1003}
1004func (m *VersionNumber) XXX_DiscardUnknown() {
1005 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
1006}
1007
1008var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
1009
1010func (m *VersionNumber) GetVersion() string {
1011 if m != nil {
1012 return m.Version
1013 }
1014 return ""
1015}
1016
1017func (m *VersionNumber) GetBuildTime() string {
1018 if m != nil {
1019 return m.BuildTime
1020 }
1021 return ""
1022}
1023
1024func (m *VersionNumber) GetCommitHash() string {
1025 if m != nil {
1026 return m.CommitHash
1027 }
1028 return ""
1029}
1030
1031func (m *VersionNumber) GetGitStatus() string {
1032 if m != nil {
1033 return m.GitStatus
1034 }
1035 return ""
1036}
1037
1038type LogLevel struct {
1039 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
1040 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
1041 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1042 XXX_unrecognized []byte `json:"-"`
1043 XXX_sizecache int32 `json:"-"`
1044}
1045
1046func (m *LogLevel) Reset() { *m = LogLevel{} }
1047func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1048func (*LogLevel) ProtoMessage() {}
1049func (*LogLevel) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001050 return fileDescriptor_ef7750073d18011b, []int{15}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001051}
1052
1053func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1054 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1055}
1056func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1057 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1058}
1059func (m *LogLevel) XXX_Merge(src proto.Message) {
1060 xxx_messageInfo_LogLevel.Merge(m, src)
1061}
1062func (m *LogLevel) XXX_Size() int {
1063 return xxx_messageInfo_LogLevel.Size(m)
1064}
1065func (m *LogLevel) XXX_DiscardUnknown() {
1066 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1067}
1068
1069var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1070
1071func (m *LogLevel) GetLevel() string {
1072 if m != nil {
1073 return m.Level
1074 }
1075 return ""
1076}
1077
1078func (m *LogLevel) GetCaller() bool {
1079 if m != nil {
1080 return m.Caller
1081 }
1082 return false
1083}
1084
1085type Response struct {
1086 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1087 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1088 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1089 XXX_unrecognized []byte `json:"-"`
1090 XXX_sizecache int32 `json:"-"`
1091}
1092
1093func (m *Response) Reset() { *m = Response{} }
1094func (m *Response) String() string { return proto.CompactTextString(m) }
1095func (*Response) ProtoMessage() {}
1096func (*Response) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001097 return fileDescriptor_ef7750073d18011b, []int{16}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001098}
1099
1100func (m *Response) XXX_Unmarshal(b []byte) error {
1101 return xxx_messageInfo_Response.Unmarshal(m, b)
1102}
1103func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1104 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1105}
1106func (m *Response) XXX_Merge(src proto.Message) {
1107 xxx_messageInfo_Response.Merge(m, src)
1108}
1109func (m *Response) XXX_Size() int {
1110 return xxx_messageInfo_Response.Size(m)
1111}
1112func (m *Response) XXX_DiscardUnknown() {
1113 xxx_messageInfo_Response.DiscardUnknown(m)
1114}
1115
1116var xxx_messageInfo_Response proto.InternalMessageInfo
1117
1118func (m *Response) GetStatusCode() int32 {
1119 if m != nil {
1120 return m.StatusCode
1121 }
1122 return 0
1123}
1124
1125func (m *Response) GetMessage() string {
1126 if m != nil {
1127 return m.Message
1128 }
1129 return ""
1130}
1131
Arjun E K57a7fcb2020-01-30 06:44:45 +00001132type IgmpRequest struct {
1133 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1134 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001135 GroupAddress string `protobuf:"bytes,3,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"`
Arjun E K57a7fcb2020-01-30 06:44:45 +00001136 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1137 XXX_unrecognized []byte `json:"-"`
1138 XXX_sizecache int32 `json:"-"`
1139}
1140
1141func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1142func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1143func (*IgmpRequest) ProtoMessage() {}
1144func (*IgmpRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001145 return fileDescriptor_ef7750073d18011b, []int{17}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001146}
1147
1148func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1149 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1150}
1151func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1152 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1153}
1154func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1155 xxx_messageInfo_IgmpRequest.Merge(m, src)
1156}
1157func (m *IgmpRequest) XXX_Size() int {
1158 return xxx_messageInfo_IgmpRequest.Size(m)
1159}
1160func (m *IgmpRequest) XXX_DiscardUnknown() {
1161 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1162}
1163
1164var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1165
1166func (m *IgmpRequest) GetOnuReq() *ONURequest {
1167 if m != nil {
1168 return m.OnuReq
1169 }
1170 return nil
1171}
1172
1173func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1174 if m != nil {
1175 return m.SubActionVal
1176 }
1177 return SubActionTypes_JOIN
1178}
1179
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001180func (m *IgmpRequest) GetGroupAddress() string {
1181 if m != nil {
1182 return m.GroupAddress
1183 }
1184 return ""
1185}
1186
Pragya Arya8bdb4532020-03-02 17:08:09 +05301187type Flows struct {
1188 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1189 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1190 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1191 XXX_unrecognized []byte `json:"-"`
1192 XXX_sizecache int32 `json:"-"`
1193}
1194
1195func (m *Flows) Reset() { *m = Flows{} }
1196func (m *Flows) String() string { return proto.CompactTextString(m) }
1197func (*Flows) ProtoMessage() {}
1198func (*Flows) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001199 return fileDescriptor_ef7750073d18011b, []int{18}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301200}
1201
1202func (m *Flows) XXX_Unmarshal(b []byte) error {
1203 return xxx_messageInfo_Flows.Unmarshal(m, b)
1204}
1205func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1206 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1207}
1208func (m *Flows) XXX_Merge(src proto.Message) {
1209 xxx_messageInfo_Flows.Merge(m, src)
1210}
1211func (m *Flows) XXX_Size() int {
1212 return xxx_messageInfo_Flows.Size(m)
1213}
1214func (m *Flows) XXX_DiscardUnknown() {
1215 xxx_messageInfo_Flows.DiscardUnknown(m)
1216}
1217
1218var xxx_messageInfo_Flows proto.InternalMessageInfo
1219
1220func (m *Flows) GetFlowCount() uint32 {
1221 if m != nil {
1222 return m.FlowCount
1223 }
1224 return 0
1225}
1226
1227func (m *Flows) GetFlows() []*openolt.Flow {
1228 if m != nil {
1229 return m.Flows
1230 }
1231 return nil
1232}
1233
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001234type Timeout struct {
1235 Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
1236 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1237 XXX_unrecognized []byte `json:"-"`
1238 XXX_sizecache int32 `json:"-"`
1239}
1240
1241func (m *Timeout) Reset() { *m = Timeout{} }
1242func (m *Timeout) String() string { return proto.CompactTextString(m) }
1243func (*Timeout) ProtoMessage() {}
1244func (*Timeout) Descriptor() ([]byte, []int) {
1245 return fileDescriptor_ef7750073d18011b, []int{19}
1246}
1247
1248func (m *Timeout) XXX_Unmarshal(b []byte) error {
1249 return xxx_messageInfo_Timeout.Unmarshal(m, b)
1250}
1251func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1252 return xxx_messageInfo_Timeout.Marshal(b, m, deterministic)
1253}
1254func (m *Timeout) XXX_Merge(src proto.Message) {
1255 xxx_messageInfo_Timeout.Merge(m, src)
1256}
1257func (m *Timeout) XXX_Size() int {
1258 return xxx_messageInfo_Timeout.Size(m)
1259}
1260func (m *Timeout) XXX_DiscardUnknown() {
1261 xxx_messageInfo_Timeout.DiscardUnknown(m)
1262}
1263
1264var xxx_messageInfo_Timeout proto.InternalMessageInfo
1265
1266func (m *Timeout) GetDelay() uint32 {
1267 if m != nil {
1268 return m.Delay
1269 }
1270 return 0
1271}
1272
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001273type Empty struct {
1274 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1275 XXX_unrecognized []byte `json:"-"`
1276 XXX_sizecache int32 `json:"-"`
1277}
1278
1279func (m *Empty) Reset() { *m = Empty{} }
1280func (m *Empty) String() string { return proto.CompactTextString(m) }
1281func (*Empty) ProtoMessage() {}
1282func (*Empty) Descriptor() ([]byte, []int) {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001283 return fileDescriptor_ef7750073d18011b, []int{20}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001284}
1285
1286func (m *Empty) XXX_Unmarshal(b []byte) error {
1287 return xxx_messageInfo_Empty.Unmarshal(m, b)
1288}
1289func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1290 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1291}
1292func (m *Empty) XXX_Merge(src proto.Message) {
1293 xxx_messageInfo_Empty.Merge(m, src)
1294}
1295func (m *Empty) XXX_Size() int {
1296 return xxx_messageInfo_Empty.Size(m)
1297}
1298func (m *Empty) XXX_DiscardUnknown() {
1299 xxx_messageInfo_Empty.DiscardUnknown(m)
1300}
1301
1302var xxx_messageInfo_Empty proto.InternalMessageInfo
1303
1304func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001305 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Scott Baker41724b82020-01-21 19:54:53 -08001306 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001307 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
1308 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1309 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
1310 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001311 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301312 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001313 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001314 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001315 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301316 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001317 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1318 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301319 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1320 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001321 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1322 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1323 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001324 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301325 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001326 proto.RegisterType((*Timeout)(nil), "bbsim.Timeout")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001327 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1328}
1329
Matteo Scandolof65e6872020-04-15 15:18:43 -07001330func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001331
1332var fileDescriptor_ef7750073d18011b = []byte{
Matteo Scandolocedde462021-03-09 17:37:16 -08001333 // 1668 bytes of a gzipped FileDescriptorProto
1334 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcd, 0x72, 0xdb, 0xc8,
1335 0x11, 0xe6, 0x8f, 0xf8, 0xd7, 0x14, 0x29, 0x68, 0x6c, 0x6b, 0x51, 0x5a, 0x6f, 0xcc, 0x42, 0x9c,
1336 0x94, 0xec, 0xca, 0xca, 0x6b, 0x3b, 0xd9, 0x78, 0x8f, 0x30, 0x09, 0xd1, 0x88, 0x29, 0x00, 0x35,
1337 0x20, 0xe5, 0xf2, 0x09, 0x05, 0x91, 0x23, 0x0a, 0x55, 0x20, 0x40, 0x03, 0x43, 0x29, 0x7a, 0x80,
1338 0x3c, 0x43, 0xee, 0x79, 0xa2, 0x3c, 0x41, 0x6e, 0xc9, 0x3d, 0x95, 0x17, 0x48, 0xcd, 0x60, 0x00,
1339 0x02, 0x24, 0xb5, 0x91, 0x73, 0xd9, 0x0b, 0x0b, 0xf3, 0x75, 0x7f, 0xdd, 0x3d, 0x3d, 0x3d, 0xdd,
1340 0x53, 0x84, 0x27, 0xee, 0xd2, 0x7b, 0x75, 0x79, 0x19, 0x7b, 0x8b, 0xe4, 0xf7, 0x74, 0x19, 0x85,
1341 0x34, 0x44, 0x35, 0xbe, 0x38, 0xfe, 0xf6, 0x26, 0xf4, 0xe9, 0xb5, 0xeb, 0x70, 0x30, 0x7e, 0x15,
1342 0x2e, 0x49, 0x10, 0xfa, 0x34, 0xd1, 0x39, 0xee, 0x15, 0x85, 0x94, 0x4c, 0xaf, 0xd9, 0xf7, 0x95,
1343 0xe7, 0x93, 0x44, 0x43, 0xf9, 0x23, 0x34, 0x2c, 0xd3, 0xb0, 0xc2, 0x88, 0xa2, 0x2e, 0x54, 0xf4,
1344 0x81, 0x5c, 0xee, 0x95, 0x4f, 0x6a, 0xb8, 0xa2, 0x0f, 0xd0, 0x53, 0x68, 0x99, 0x4b, 0x12, 0xd9,
1345 0xd4, 0xa5, 0x44, 0xae, 0xf4, 0xca, 0x27, 0x2d, 0xbc, 0x06, 0x18, 0xd1, 0x30, 0xf4, 0xff, 0x83,
1346 0xf8, 0xcf, 0x32, 0x54, 0x4d, 0x7f, 0x9b, 0xa5, 0xc0, 0xbe, 0x4d, 0x22, 0xcf, 0xf5, 0x8d, 0xd5,
1347 0xe2, 0x92, 0x44, 0x82, 0x58, 0xc0, 0x8a, 0x96, 0xab, 0x1b, 0x96, 0xd1, 0x73, 0xe8, 0xe8, 0x01,
1348 0x25, 0x51, 0xe0, 0xfa, 0x89, 0xc6, 0x1e, 0xd7, 0x28, 0x82, 0xdc, 0xaf, 0x25, 0x37, 0xb8, 0xa8,
1349 0xa2, 0x5b, 0xe8, 0x25, 0x34, 0xc5, 0x46, 0x62, 0xb9, 0xd6, 0xab, 0x9e, 0xb4, 0xdf, 0x74, 0x4f,
1350 0x93, 0x3c, 0x0b, 0x18, 0x67, 0x72, 0xa6, 0x2b, 0xb2, 0x15, 0xcb, 0xf5, 0x82, 0xae, 0x80, 0x71,
1351 0x26, 0x57, 0xfe, 0x53, 0x85, 0xaa, 0x69, 0x4c, 0x7e, 0xb1, 0x7d, 0x3e, 0x85, 0x96, 0x15, 0x06,
1352 0x2c, 0x16, 0x7d, 0x20, 0xd7, 0xb8, 0xfb, 0x35, 0xc0, 0xa4, 0x1f, 0x6e, 0xd5, 0xd9, 0x2c, 0x22,
1353 0x71, 0x2c, 0x37, 0x13, 0x0f, 0x19, 0x80, 0x8e, 0xa0, 0xce, 0xf4, 0x8c, 0x50, 0x6e, 0x71, 0xa2,
1354 0x58, 0xb1, 0xfd, 0xc7, 0x24, 0xba, 0xf1, 0xa6, 0x24, 0x96, 0xa1, 0xb0, 0x7f, 0x3b, 0x81, 0x71,
1355 0x26, 0x47, 0x03, 0xf8, 0x4e, 0x5f, 0xb8, 0x73, 0x62, 0x87, 0x57, 0xf4, 0xd6, 0x8d, 0x88, 0xf6,
1356 0xe7, 0x25, 0x99, 0x52, 0x32, 0xb3, 0xc9, 0x94, 0x7a, 0x61, 0x10, 0xcb, 0x6d, 0x6e, 0xfa, 0xe7,
1357 0x95, 0xb6, 0xac, 0x60, 0x32, 0x25, 0xde, 0x4d, 0xce, 0xca, 0xfe, 0x0e, 0x2b, 0x9b, 0x4a, 0xe8,
1358 0x07, 0x78, 0xa4, 0x4e, 0xa9, 0x77, 0x43, 0xb8, 0x9a, 0x16, 0x50, 0x8f, 0xde, 0xe9, 0x33, 0xb9,
1359 0xc3, 0xb9, 0xbb, 0x44, 0xe8, 0x47, 0x38, 0xea, 0x87, 0x8b, 0x85, 0x47, 0x29, 0x99, 0x15, 0x49,
1360 0x5d, 0x4e, 0xba, 0x47, 0xaa, 0xfc, 0xbb, 0x02, 0x0d, 0x91, 0x0b, 0x84, 0x60, 0xcf, 0x70, 0x17,
1361 0x84, 0x9f, 0x7d, 0x0b, 0xf3, 0xef, 0x62, 0xde, 0x2b, 0x9b, 0x79, 0x7f, 0x0c, 0x35, 0x33, 0x58,
1362 0xd9, 0x81, 0x38, 0xf3, 0x64, 0xc1, 0xec, 0xd8, 0x63, 0x77, 0xce, 0x8f, 0xb9, 0x86, 0xf9, 0x37,
1363 0xc3, 0xfa, 0x0c, 0x4b, 0x0e, 0x96, 0x7f, 0xa3, 0x5f, 0x01, 0x18, 0x84, 0xcc, 0x62, 0xcd, 0x5d,
1364 0x86, 0xbe, 0x5c, 0xef, 0x95, 0x4f, 0x9a, 0x38, 0x87, 0x30, 0xdf, 0x7c, 0x35, 0xb8, 0x9e, 0x2e,
1365 0xf9, 0x05, 0x68, 0xe2, 0x35, 0x90, 0x49, 0xf5, 0xf9, 0x62, 0xc9, 0x2b, 0x22, 0x95, 0x32, 0x00,
1366 0xc9, 0xd0, 0x18, 0x92, 0x05, 0x2b, 0x03, 0x51, 0x12, 0xe9, 0x92, 0x79, 0xe5, 0xe6, 0x93, 0x52,
1367 0x04, 0x1e, 0x78, 0x0e, 0x61, 0x76, 0x99, 0xfd, 0x44, 0xdc, 0x4e, 0x76, 0x9c, 0x01, 0xdb, 0xb5,
1368 0xbc, 0x7f, 0x4f, 0x2d, 0xeb, 0xc3, 0x73, 0x2b, 0xd1, 0xe8, 0x24, 0x36, 0x32, 0x40, 0x71, 0xe1,
1369 0xb1, 0x69, 0x4c, 0xc6, 0x91, 0x7b, 0x75, 0xe5, 0x4d, 0xed, 0xe9, 0x35, 0x99, 0xad, 0x7c, 0x12,
1370 0xc5, 0x48, 0x87, 0x03, 0xca, 0xc0, 0x35, 0xc4, 0x8f, 0xa2, 0xfd, 0xe6, 0xd9, 0x69, 0xa1, 0x13,
1371 0x6e, 0x31, 0xf1, 0x26, 0x4f, 0x39, 0x81, 0x3d, 0xd3, 0x98, 0xc4, 0xa8, 0x07, 0x35, 0x8f, 0x92,
1372 0x05, 0x33, 0xc4, 0xaa, 0x1f, 0x44, 0xf5, 0x9b, 0xc6, 0x04, 0x27, 0x02, 0xe5, 0x07, 0x68, 0xda,
1373 0xe9, 0x15, 0x78, 0x5e, 0xd4, 0xde, 0xbc, 0x2b, 0x19, 0x03, 0x18, 0x9f, 0x7c, 0x59, 0x91, 0x98,
1374 0x6e, 0xb5, 0x87, 0xf2, 0x76, 0x7b, 0x50, 0x5e, 0x02, 0x58, 0xa6, 0x91, 0x32, 0x72, 0x17, 0x7d,
1375 0xc6, 0xd5, 0x3b, 0xeb, 0x8b, 0x3e, 0x53, 0xfe, 0x51, 0x85, 0x96, 0xea, 0xbb, 0xd1, 0x62, 0x7c,
1376 0xb7, 0x24, 0xca, 0xdf, 0xab, 0x50, 0x63, 0x1f, 0x31, 0x6a, 0x40, 0x75, 0x64, 0xda, 0x52, 0x09,
1377 0x75, 0x01, 0x06, 0x9f, 0x75, 0x63, 0xe8, 0x0c, 0x55, 0xdb, 0x92, 0xca, 0xa8, 0x03, 0x2d, 0xd3,
1378 0x98, 0x38, 0xea, 0x48, 0xc5, 0xe7, 0x52, 0x05, 0x7d, 0x03, 0x8f, 0xd8, 0xd2, 0x1e, 0xab, 0x78,
1379 0x3c, 0xb1, 0x9c, 0x33, 0x55, 0x1f, 0x4d, 0xb0, 0x26, 0x55, 0xd1, 0x11, 0x20, 0x2e, 0xd0, 0x87,
1380 0x86, 0x3a, 0x72, 0x06, 0xda, 0x10, 0xab, 0x03, 0x4d, 0xda, 0x4b, 0x09, 0x03, 0xac, 0x9f, 0x8d,
1381 0x1d, 0xf3, 0xcc, 0xf9, 0xa4, 0x1b, 0x03, 0xf3, 0x93, 0x54, 0x43, 0x4f, 0x41, 0x66, 0x82, 0x91,
1382 0x69, 0xdb, 0x0c, 0x37, 0xcf, 0xfb, 0xba, 0xd3, 0xff, 0xa0, 0x1a, 0x86, 0x36, 0x92, 0xea, 0x99,
1383 0x1f, 0x6e, 0xce, 0xce, 0xfc, 0x34, 0xd0, 0x0b, 0xf8, 0x0d, 0x13, 0x8c, 0xb1, 0x6a, 0xd8, 0xe7,
1384 0xba, 0x6d, 0xeb, 0xa6, 0xe1, 0xe8, 0xc6, 0x58, 0xc3, 0x67, 0x1a, 0xd6, 0x8c, 0xbe, 0xe6, 0x7c,
1385 0x52, 0xb1, 0xa1, 0x1b, 0x43, 0xa9, 0x89, 0x8e, 0xe1, 0x88, 0x87, 0xde, 0x1f, 0xeb, 0x17, 0xea,
1386 0x98, 0x29, 0xa6, 0x66, 0x5a, 0x48, 0xe6, 0x45, 0xe2, 0x58, 0xd8, 0xec, 0x6b, 0xb6, 0xcd, 0xf6,
1387 0xab, 0x61, 0x6c, 0x62, 0x09, 0x50, 0x0f, 0x9e, 0xe6, 0xe3, 0xfa, 0xa8, 0x7d, 0x76, 0xec, 0xcf,
1388 0x46, 0x3f, 0xe3, 0xb6, 0xd1, 0x13, 0x38, 0x64, 0x1a, 0xfa, 0x78, 0xe2, 0x58, 0xa6, 0xc1, 0x72,
1389 0x31, 0xb6, 0xa5, 0x7d, 0x74, 0x08, 0x9d, 0x2c, 0x53, 0x8c, 0x2e, 0x75, 0x36, 0xa1, 0xf7, 0x52,
1390 0x37, 0xdd, 0x58, 0x0a, 0x59, 0x7d, 0x87, 0xed, 0x42, 0x3a, 0x48, 0xf3, 0x51, 0x10, 0xf4, 0x45,
1391 0x54, 0x12, 0x42, 0xd0, 0xcd, 0x4b, 0xcf, 0x74, 0xe9, 0x10, 0x3d, 0x82, 0x83, 0x3c, 0xa6, 0x9e,
1392 0xeb, 0x12, 0x52, 0xde, 0x41, 0x97, 0x9f, 0xaf, 0xe5, 0x46, 0xee, 0x82, 0x50, 0x12, 0x21, 0x09,
1393 0xaa, 0x1f, 0xc9, 0x9d, 0xa8, 0x1c, 0xf6, 0xc9, 0xfa, 0xca, 0x85, 0xeb, 0xaf, 0xd2, 0x69, 0x9c,
1394 0x2c, 0x94, 0xbf, 0x95, 0xb9, 0x3d, 0xce, 0xce, 0x15, 0x53, 0x56, 0x2d, 0xc2, 0xc2, 0x1a, 0x78,
1395 0xd0, 0xec, 0x3a, 0x82, 0x3a, 0xbb, 0x96, 0xab, 0x58, 0x34, 0x31, 0xb1, 0x42, 0x7f, 0x00, 0xc8,
1396 0x42, 0x8c, 0xe5, 0x3d, 0x7e, 0x23, 0x9e, 0x88, 0x1b, 0x51, 0xdc, 0x00, 0xce, 0x29, 0x2a, 0x5f,
1397 0xe0, 0xc0, 0x1c, 0x8d, 0x0b, 0x31, 0xf6, 0xa0, 0xcd, 0xdb, 0xc3, 0x95, 0x3b, 0x25, 0x62, 0xb4,
1398 0x76, 0x70, 0x1e, 0xca, 0xba, 0x0a, 0x5b, 0xf2, 0x9d, 0x54, 0x72, 0x5d, 0x25, 0x05, 0xef, 0x8b,
1399 0x54, 0xf9, 0x4b, 0x19, 0x3a, 0x17, 0x24, 0x8a, 0xbd, 0x30, 0x10, 0x7b, 0x92, 0xa1, 0x71, 0x93,
1400 0x00, 0x22, 0x27, 0xe9, 0x92, 0xe5, 0xeb, 0x72, 0xe5, 0xf9, 0xb3, 0xb1, 0xb7, 0xc8, 0xde, 0x3a,
1401 0x19, 0xc0, 0x7a, 0xe3, 0x94, 0xcf, 0x89, 0x0f, 0x6e, 0x7c, 0x2d, 0xbc, 0xe4, 0x10, 0xc6, 0x9e,
1402 0x7b, 0x54, 0x04, 0x91, 0x4c, 0xf1, 0x35, 0xa0, 0xbc, 0x83, 0xe6, 0x28, 0x9c, 0x8f, 0xc8, 0x0d,
1403 0xf1, 0xd9, 0x09, 0xfa, 0xec, 0x43, 0xf8, 0x4f, 0x16, 0x6c, 0x07, 0x53, 0xd7, 0xf7, 0xc5, 0x49,
1404 0x34, 0xb1, 0x58, 0x29, 0x1a, 0x34, 0x31, 0x89, 0x97, 0x61, 0x10, 0x13, 0xf4, 0x0c, 0xda, 0x31,
1405 0xb7, 0xe7, 0x4c, 0xc3, 0x19, 0x11, 0x0f, 0x11, 0x48, 0xa0, 0x7e, 0x38, 0x23, 0x6c, 0x73, 0x0b,
1406 0x12, 0xc7, 0xee, 0x3c, 0xdd, 0x40, 0xba, 0x54, 0xfe, 0x5a, 0x86, 0x36, 0xeb, 0xfe, 0x69, 0xe2,
1407 0x5f, 0x40, 0xdd, 0x0c, 0x56, 0x98, 0x7c, 0x11, 0x7d, 0xf4, 0x30, 0xd7, 0xfe, 0x12, 0x15, 0x2c,
1408 0x14, 0xd0, 0x4f, 0xb0, 0x6f, 0xaf, 0x2e, 0x55, 0x3e, 0x7f, 0x2f, 0x5c, 0x9f, 0x5b, 0xee, 0x66,
1409 0xe7, 0x9d, 0x89, 0x78, 0x2f, 0xc2, 0x05, 0x55, 0x56, 0x64, 0xc3, 0x28, 0x5c, 0x2d, 0xd3, 0x29,
1410 0x99, 0xa4, 0xad, 0x80, 0x29, 0x1f, 0xa1, 0x76, 0xe6, 0x87, 0xb7, 0x31, 0xfa, 0x0e, 0xe0, 0xca,
1411 0x0f, 0x6f, 0x9d, 0x69, 0xb8, 0x0a, 0x68, 0xda, 0xfd, 0x18, 0xd2, 0x67, 0x00, 0xfa, 0x35, 0xd4,
1412 0xd8, 0x82, 0x8d, 0x5a, 0x56, 0x6f, 0x9d, 0xd3, 0xf4, 0x7d, 0xcc, 0xd8, 0x38, 0x91, 0x29, 0xcf,
1413 0xa0, 0xc1, 0x4e, 0x2b, 0x5c, 0x51, 0x96, 0xe6, 0x19, 0xf1, 0xdd, 0x3b, 0x61, 0x29, 0x59, 0x28,
1414 0x0d, 0xa8, 0x69, 0x8b, 0x25, 0xbd, 0x7b, 0xf9, 0x1a, 0xba, 0xc5, 0xd0, 0x51, 0x13, 0xf6, 0xfe,
1415 0x64, 0xea, 0x86, 0x54, 0x42, 0x2d, 0xa8, 0x8d, 0x34, 0xf5, 0x42, 0x93, 0xca, 0x08, 0xa0, 0xce,
1416 0xc0, 0x8b, 0xb7, 0x52, 0xe5, 0xcd, 0xbf, 0x00, 0x6a, 0xef, 0xdf, 0xdb, 0xde, 0x02, 0xbd, 0x82,
1417 0x86, 0xa8, 0x2a, 0xb4, 0x2f, 0xf2, 0xc0, 0xad, 0x1e, 0x3f, 0x16, 0xab, 0x42, 0xcd, 0x29, 0x25,
1418 0xf4, 0x1a, 0xda, 0x36, 0xa1, 0x59, 0x09, 0x1c, 0x08, 0xb5, 0x14, 0x38, 0xde, 0x04, 0x94, 0x12,
1419 0x7a, 0x0e, 0xf5, 0x21, 0xa1, 0xec, 0x79, 0x5d, 0x74, 0x91, 0x0d, 0x2a, 0x9f, 0x2a, 0x25, 0xf4,
1420 0x3d, 0x80, 0x15, 0xde, 0x92, 0x28, 0x0c, 0xb6, 0x35, 0x53, 0xa3, 0x69, 0xfd, 0x28, 0x25, 0x74,
1421 0x0a, 0x6d, 0xfb, 0x7a, 0x45, 0x67, 0xe1, 0xed, 0xc3, 0xf4, 0x7f, 0x07, 0x2d, 0x4c, 0x2e, 0xc3,
1422 0x90, 0x3e, 0x48, 0x9b, 0xe5, 0x94, 0x86, 0xcb, 0x39, 0xb6, 0xfa, 0x6c, 0x30, 0x92, 0xe8, 0x7f,
1423 0x53, 0xde, 0xc0, 0x81, 0x4d, 0xdd, 0x88, 0x7e, 0x0d, 0xe7, 0x47, 0x38, 0xc4, 0x24, 0xde, 0x60,
1424 0xa5, 0x13, 0x59, 0x1c, 0xff, 0x2e, 0xde, 0x8b, 0x24, 0xa3, 0xc6, 0x04, 0x6d, 0x57, 0xfb, 0x71,
1425 0x6e, 0xfe, 0x2b, 0x25, 0xf4, 0x5b, 0xf6, 0x46, 0xa2, 0xfc, 0x9d, 0x50, 0x0c, 0xa7, 0xbd, 0x56,
1426 0x8b, 0x93, 0x7c, 0x0e, 0x09, 0xcd, 0x5e, 0x09, 0xbb, 0x43, 0x4f, 0xc5, 0x3c, 0xf4, 0x2e, 0xb3,
1427 0x1b, 0xac, 0x32, 0xca, 0x8e, 0x50, 0x76, 0xf0, 0xde, 0xe6, 0xce, 0x6d, 0x77, 0xfc, 0xf7, 0xe4,
1428 0x56, 0x90, 0x54, 0xdf, 0xdf, 0xb1, 0x99, 0x1d, 0x9c, 0x9f, 0xe0, 0x30, 0xe7, 0x28, 0x36, 0x03,
1429 0xcb, 0x34, 0x32, 0x77, 0xeb, 0x97, 0xca, 0x6e, 0x77, 0x59, 0x29, 0x3e, 0x38, 0xc4, 0xd7, 0xd0,
1430 0x15, 0x9c, 0x07, 0x47, 0xf8, 0x0e, 0xa4, 0xb5, 0x9b, 0xaf, 0x0a, 0xf0, 0xf7, 0xb0, 0x2f, 0xea,
1431 0x26, 0x79, 0x44, 0x3f, 0x2c, 0xc4, 0xb7, 0xd0, 0x16, 0x2c, 0xfe, 0xb6, 0x7e, 0x18, 0xe9, 0x3d,
1432 0x3c, 0xb1, 0xf9, 0x39, 0xf3, 0x69, 0xa7, 0x07, 0x33, 0x6f, 0xea, 0xb2, 0x4e, 0x83, 0x8e, 0xd6,
1433 0xf4, 0xfc, 0x20, 0xfc, 0x19, 0x1b, 0x3e, 0xbd, 0xd7, 0x46, 0x71, 0x98, 0xee, 0xb2, 0xf1, 0x3d,
1434 0x34, 0x87, 0x84, 0x26, 0xfd, 0x75, 0x47, 0xe4, 0x69, 0xb2, 0xb9, 0x02, 0xcf, 0xed, 0x41, 0xff,
1435 0xda, 0x0d, 0xe6, 0x84, 0x8d, 0x8a, 0xe4, 0xbd, 0x8e, 0x84, 0x4a, 0x6e, 0x78, 0xec, 0x72, 0xf4,
1436 0x11, 0xbe, 0x49, 0x0a, 0x7b, 0xfb, 0xed, 0xbe, 0xc3, 0xef, 0xb7, 0x6b, 0x68, 0x4b, 0x5f, 0x29,
1437 0x5d, 0xd6, 0xf9, 0x1f, 0x1a, 0x6f, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x62, 0x43, 0x1a, 0x58,
1438 0x2f, 0x11, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001439}
1440
1441// Reference imports to suppress errors if they are not otherwise used.
1442var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001443var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001444
1445// This is a compile-time assertion to ensure that this generated file
1446// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001447const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001448
1449// BBSimClient is the client API for BBSim service.
1450//
1451// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1452type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001453 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001454 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001455 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301456 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001457 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001458 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001459 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001460 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001461 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001462 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001463 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001464 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001465 // Closes the Openolt gRPC server
1466 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1467 // Start the Openolt gRPC server
1468 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05301469 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001470 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001471 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001472 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001473 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301474 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001475 // Get all the Services
1476 GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error)
1477 // Get all the Services of an ONU by serial number
1478 GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001479 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001480 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001481 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301482 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001483 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301484 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001485 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001486 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001487 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301488 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001489 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301490 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001491 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001492 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001493 // Restart DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001494 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001495 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301496 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001497 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301498 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001499 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301500 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001501 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001502 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001503 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301504 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001505}
1506
1507type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04001508 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001509}
1510
Kent Hagerman60d62302020-03-10 17:02:36 -04001511func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001512 return &bBSimClient{cc}
1513}
1514
1515func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1516 out := new(VersionNumber)
1517 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1518 if err != nil {
1519 return nil, err
1520 }
1521 return out, nil
1522}
1523
Pragya Aryabd731ec2020-02-11 16:38:17 +05301524func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1525 out := new(LogLevel)
1526 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1527 if err != nil {
1528 return nil, err
1529 }
1530 return out, nil
1531}
1532
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001533func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1534 out := new(Olt)
1535 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1536 if err != nil {
1537 return nil, err
1538 }
1539 return out, nil
1540}
1541
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001542func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1543 out := new(Response)
1544 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1545 if err != nil {
1546 return nil, err
1547 }
1548 return out, nil
1549}
1550
1551func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1552 out := new(Response)
1553 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1554 if err != nil {
1555 return nil, err
1556 }
1557 return out, nil
1558}
1559
1560func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1561 out := new(Response)
1562 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1563 if err != nil {
1564 return nil, err
1565 }
1566 return out, nil
1567}
1568
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001569func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1570 out := new(Response)
1571 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
1572 if err != nil {
1573 return nil, err
1574 }
1575 return out, nil
1576}
1577
1578func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1579 out := new(Response)
1580 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
1581 if err != nil {
1582 return nil, err
1583 }
1584 return out, nil
1585}
1586
1587func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
1588 out := new(Response)
1589 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
1590 if err != nil {
1591 return nil, err
1592 }
1593 return out, nil
1594}
1595
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001596func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
1597 out := new(ONU)
1598 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
1599 if err != nil {
1600 return nil, err
1601 }
1602 return out, nil
1603}
1604
Pragya Aryabd731ec2020-02-11 16:38:17 +05301605func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
1606 out := new(ONUs)
1607 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001608 if err != nil {
1609 return nil, err
1610 }
1611 return out, nil
1612}
1613
Matteo Scandolo4a036262020-08-17 15:56:13 -07001614func (c *bBSimClient) GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error) {
1615 out := new(Services)
1616 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
1617 if err != nil {
1618 return nil, err
1619 }
1620 return out, nil
1621}
1622
1623func (c *bBSimClient) GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error) {
1624 out := new(Services)
1625 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuServices", in, out, opts...)
1626 if err != nil {
1627 return nil, err
1628 }
1629 return out, nil
1630}
1631
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001632func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1633 out := new(Response)
1634 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
1635 if err != nil {
1636 return nil, err
1637 }
1638 return out, nil
1639}
1640
Pragya Aryabd731ec2020-02-11 16:38:17 +05301641func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1642 out := new(Response)
1643 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
1644 if err != nil {
1645 return nil, err
1646 }
1647 return out, nil
1648}
1649
1650func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1651 out := new(Response)
1652 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
1653 if err != nil {
1654 return nil, err
1655 }
1656 return out, nil
1657}
1658
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001659func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1660 out := new(Response)
1661 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
1662 if err != nil {
1663 return nil, err
1664 }
1665 return out, nil
1666}
1667
Pragya Aryabd731ec2020-02-11 16:38:17 +05301668func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1669 out := new(Response)
1670 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
1671 if err != nil {
1672 return nil, err
1673 }
1674 return out, nil
1675}
1676
1677func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1678 out := new(Response)
1679 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
1680 if err != nil {
1681 return nil, err
1682 }
1683 return out, nil
1684}
1685
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001686func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1687 out := new(Response)
1688 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
1689 if err != nil {
1690 return nil, err
1691 }
1692 return out, nil
1693}
1694
1695func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1696 out := new(Response)
1697 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
1698 if err != nil {
1699 return nil, err
1700 }
1701 return out, nil
1702}
1703
Anand S Katti86552f92020-03-03 21:56:32 +05301704func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08001705 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05301706 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
1707 if err != nil {
1708 return nil, err
1709 }
1710 return out, nil
1711}
1712
1713func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
1714 out := new(Response)
1715 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08001716 if err != nil {
1717 return nil, err
1718 }
1719 return out, nil
1720}
1721
Pragya Arya8bdb4532020-03-02 17:08:09 +05301722func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
1723 out := new(Flows)
1724 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
1725 if err != nil {
1726 return nil, err
1727 }
1728 return out, nil
1729}
1730
Arjun E K57a7fcb2020-01-30 06:44:45 +00001731func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
1732 out := new(Response)
1733 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
1734 if err != nil {
1735 return nil, err
1736 }
1737 return out, nil
1738}
1739
Anand S Katti09541352020-01-29 15:54:01 +05301740func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
1741 out := new(ONUTrafficSchedulers)
1742 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
1743 if err != nil {
1744 return nil, err
1745 }
1746 return out, nil
1747}
1748
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001749// BBSimServer is the server API for BBSim service.
1750type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001751 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001752 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001753 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301754 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001755 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001756 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001757 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001758 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001759 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001760 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001761 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001762 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001763 // Closes the Openolt gRPC server
1764 StopgRPCServer(context.Context, *Empty) (*Response, error)
1765 // Start the Openolt gRPC server
1766 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05301767 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001768 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001769 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001770 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001771 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301772 GetONUs(context.Context, *Empty) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001773 // Get all the Services
1774 GetServices(context.Context, *Empty) (*Services, error)
1775 // Get all the Services of an ONU by serial number
1776 GetOnuServices(context.Context, *ONURequest) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001777 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001778 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001779 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301780 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001781 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301782 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001783 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001784 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001785 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301786 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001787 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301788 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001789 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001790 RestartEapol(context.Context, *ONURequest) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001791 // Restart DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001792 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001793 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301794 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001795 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301796 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001797 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301798 GetFlows(context.Context, *ONURequest) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001799 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001800 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001801 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301802 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001803}
1804
Pragya Aryabd731ec2020-02-11 16:38:17 +05301805// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
1806type UnimplementedBBSimServer struct {
1807}
1808
1809func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
1810 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
1811}
1812func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
1813 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
1814}
1815func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
1816 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
1817}
1818func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
1819 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
1820}
1821func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
1822 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
1823}
1824func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
1825 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
1826}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001827func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
1828 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
1829}
1830func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
1831 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
1832}
1833func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
1834 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
1835}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301836func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
1837 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
1838}
1839func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
1840 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
1841}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001842func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *Empty) (*Services, error) {
1843 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
1844}
1845func (*UnimplementedBBSimServer) GetOnuServices(ctx context.Context, req *ONURequest) (*Services, error) {
1846 return nil, status.Errorf(codes.Unimplemented, "method GetOnuServices not implemented")
1847}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301848func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
1849 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
1850}
1851func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1852 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
1853}
1854func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1855 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
1856}
1857func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
1858 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
1859}
1860func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1861 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
1862}
1863func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1864 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
1865}
1866func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
1867 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
1868}
1869func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
1870 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
1871}
1872func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
1873 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
1874}
1875func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
1876 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
1877}
1878func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
1879 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
1880}
1881func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
1882 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
1883}
1884func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
1885 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
1886}
1887
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001888func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
1889 s.RegisterService(&_BBSim_serviceDesc, srv)
1890}
1891
1892func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1893 in := new(Empty)
1894 if err := dec(in); err != nil {
1895 return nil, err
1896 }
1897 if interceptor == nil {
1898 return srv.(BBSimServer).Version(ctx, in)
1899 }
1900 info := &grpc.UnaryServerInfo{
1901 Server: srv,
1902 FullMethod: "/bbsim.BBSim/Version",
1903 }
1904 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1905 return srv.(BBSimServer).Version(ctx, req.(*Empty))
1906 }
1907 return interceptor(ctx, in, info, handler)
1908}
1909
Pragya Aryabd731ec2020-02-11 16:38:17 +05301910func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1911 in := new(LogLevel)
1912 if err := dec(in); err != nil {
1913 return nil, err
1914 }
1915 if interceptor == nil {
1916 return srv.(BBSimServer).SetLogLevel(ctx, in)
1917 }
1918 info := &grpc.UnaryServerInfo{
1919 Server: srv,
1920 FullMethod: "/bbsim.BBSim/SetLogLevel",
1921 }
1922 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1923 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
1924 }
1925 return interceptor(ctx, in, info, handler)
1926}
1927
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001928func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1929 in := new(Empty)
1930 if err := dec(in); err != nil {
1931 return nil, err
1932 }
1933 if interceptor == nil {
1934 return srv.(BBSimServer).GetOlt(ctx, in)
1935 }
1936 info := &grpc.UnaryServerInfo{
1937 Server: srv,
1938 FullMethod: "/bbsim.BBSim/GetOlt",
1939 }
1940 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1941 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
1942 }
1943 return interceptor(ctx, in, info, handler)
1944}
1945
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001946func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1947 in := new(Empty)
1948 if err := dec(in); err != nil {
1949 return nil, err
1950 }
1951 if interceptor == nil {
1952 return srv.(BBSimServer).PoweronOlt(ctx, in)
1953 }
1954 info := &grpc.UnaryServerInfo{
1955 Server: srv,
1956 FullMethod: "/bbsim.BBSim/PoweronOlt",
1957 }
1958 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1959 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
1960 }
1961 return interceptor(ctx, in, info, handler)
1962}
1963
1964func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1965 in := new(Empty)
1966 if err := dec(in); err != nil {
1967 return nil, err
1968 }
1969 if interceptor == nil {
1970 return srv.(BBSimServer).ShutdownOlt(ctx, in)
1971 }
1972 info := &grpc.UnaryServerInfo{
1973 Server: srv,
1974 FullMethod: "/bbsim.BBSim/ShutdownOlt",
1975 }
1976 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1977 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
1978 }
1979 return interceptor(ctx, in, info, handler)
1980}
1981
1982func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1983 in := new(Empty)
1984 if err := dec(in); err != nil {
1985 return nil, err
1986 }
1987 if interceptor == nil {
1988 return srv.(BBSimServer).RebootOlt(ctx, in)
1989 }
1990 info := &grpc.UnaryServerInfo{
1991 Server: srv,
1992 FullMethod: "/bbsim.BBSim/RebootOlt",
1993 }
1994 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1995 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
1996 }
1997 return interceptor(ctx, in, info, handler)
1998}
1999
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002000func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2001 in := new(Empty)
2002 if err := dec(in); err != nil {
2003 return nil, err
2004 }
2005 if interceptor == nil {
2006 return srv.(BBSimServer).StopgRPCServer(ctx, in)
2007 }
2008 info := &grpc.UnaryServerInfo{
2009 Server: srv,
2010 FullMethod: "/bbsim.BBSim/StopgRPCServer",
2011 }
2012 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2013 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
2014 }
2015 return interceptor(ctx, in, info, handler)
2016}
2017
2018func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2019 in := new(Empty)
2020 if err := dec(in); err != nil {
2021 return nil, err
2022 }
2023 if interceptor == nil {
2024 return srv.(BBSimServer).StartgRPCServer(ctx, in)
2025 }
2026 info := &grpc.UnaryServerInfo{
2027 Server: srv,
2028 FullMethod: "/bbsim.BBSim/StartgRPCServer",
2029 }
2030 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2031 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
2032 }
2033 return interceptor(ctx, in, info, handler)
2034}
2035
2036func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2037 in := new(Timeout)
2038 if err := dec(in); err != nil {
2039 return nil, err
2040 }
2041 if interceptor == nil {
2042 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
2043 }
2044 info := &grpc.UnaryServerInfo{
2045 Server: srv,
2046 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2047 }
2048 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2049 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2050 }
2051 return interceptor(ctx, in, info, handler)
2052}
2053
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002054func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2055 in := new(ONURequest)
2056 if err := dec(in); err != nil {
2057 return nil, err
2058 }
2059 if interceptor == nil {
2060 return srv.(BBSimServer).GetONU(ctx, in)
2061 }
2062 info := &grpc.UnaryServerInfo{
2063 Server: srv,
2064 FullMethod: "/bbsim.BBSim/GetONU",
2065 }
2066 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2067 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2068 }
2069 return interceptor(ctx, in, info, handler)
2070}
2071
Pragya Aryabd731ec2020-02-11 16:38:17 +05302072func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2073 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002074 if err := dec(in); err != nil {
2075 return nil, err
2076 }
2077 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302078 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002079 }
2080 info := &grpc.UnaryServerInfo{
2081 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302082 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002083 }
2084 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302085 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002086 }
2087 return interceptor(ctx, in, info, handler)
2088}
2089
Matteo Scandolo4a036262020-08-17 15:56:13 -07002090func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2091 in := new(Empty)
2092 if err := dec(in); err != nil {
2093 return nil, err
2094 }
2095 if interceptor == nil {
2096 return srv.(BBSimServer).GetServices(ctx, in)
2097 }
2098 info := &grpc.UnaryServerInfo{
2099 Server: srv,
2100 FullMethod: "/bbsim.BBSim/GetServices",
2101 }
2102 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2103 return srv.(BBSimServer).GetServices(ctx, req.(*Empty))
2104 }
2105 return interceptor(ctx, in, info, handler)
2106}
2107
2108func _BBSim_GetOnuServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2109 in := new(ONURequest)
2110 if err := dec(in); err != nil {
2111 return nil, err
2112 }
2113 if interceptor == nil {
2114 return srv.(BBSimServer).GetOnuServices(ctx, in)
2115 }
2116 info := &grpc.UnaryServerInfo{
2117 Server: srv,
2118 FullMethod: "/bbsim.BBSim/GetOnuServices",
2119 }
2120 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2121 return srv.(BBSimServer).GetOnuServices(ctx, req.(*ONURequest))
2122 }
2123 return interceptor(ctx, in, info, handler)
2124}
2125
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002126func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2127 in := new(ONURequest)
2128 if err := dec(in); err != nil {
2129 return nil, err
2130 }
2131 if interceptor == nil {
2132 return srv.(BBSimServer).ShutdownONU(ctx, in)
2133 }
2134 info := &grpc.UnaryServerInfo{
2135 Server: srv,
2136 FullMethod: "/bbsim.BBSim/ShutdownONU",
2137 }
2138 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2139 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2140 }
2141 return interceptor(ctx, in, info, handler)
2142}
2143
Pragya Aryabd731ec2020-02-11 16:38:17 +05302144func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2145 in := new(Empty)
2146 if err := dec(in); err != nil {
2147 return nil, err
2148 }
2149 if interceptor == nil {
2150 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2151 }
2152 info := &grpc.UnaryServerInfo{
2153 Server: srv,
2154 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2155 }
2156 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2157 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2158 }
2159 return interceptor(ctx, in, info, handler)
2160}
2161
2162func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2163 in := new(PONRequest)
2164 if err := dec(in); err != nil {
2165 return nil, err
2166 }
2167 if interceptor == nil {
2168 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2169 }
2170 info := &grpc.UnaryServerInfo{
2171 Server: srv,
2172 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2173 }
2174 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2175 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2176 }
2177 return interceptor(ctx, in, info, handler)
2178}
2179
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002180func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2181 in := new(ONURequest)
2182 if err := dec(in); err != nil {
2183 return nil, err
2184 }
2185 if interceptor == nil {
2186 return srv.(BBSimServer).PoweronONU(ctx, in)
2187 }
2188 info := &grpc.UnaryServerInfo{
2189 Server: srv,
2190 FullMethod: "/bbsim.BBSim/PoweronONU",
2191 }
2192 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2193 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2194 }
2195 return interceptor(ctx, in, info, handler)
2196}
2197
Pragya Aryabd731ec2020-02-11 16:38:17 +05302198func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2199 in := new(Empty)
2200 if err := dec(in); err != nil {
2201 return nil, err
2202 }
2203 if interceptor == nil {
2204 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2205 }
2206 info := &grpc.UnaryServerInfo{
2207 Server: srv,
2208 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2209 }
2210 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2211 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2212 }
2213 return interceptor(ctx, in, info, handler)
2214}
2215
2216func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2217 in := new(PONRequest)
2218 if err := dec(in); err != nil {
2219 return nil, err
2220 }
2221 if interceptor == nil {
2222 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2223 }
2224 info := &grpc.UnaryServerInfo{
2225 Server: srv,
2226 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2227 }
2228 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2229 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2230 }
2231 return interceptor(ctx, in, info, handler)
2232}
2233
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002234func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2235 in := new(ONURequest)
2236 if err := dec(in); err != nil {
2237 return nil, err
2238 }
2239 if interceptor == nil {
2240 return srv.(BBSimServer).RestartEapol(ctx, in)
2241 }
2242 info := &grpc.UnaryServerInfo{
2243 Server: srv,
2244 FullMethod: "/bbsim.BBSim/RestartEapol",
2245 }
2246 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2247 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
2248 }
2249 return interceptor(ctx, in, info, handler)
2250}
2251
2252func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2253 in := new(ONURequest)
2254 if err := dec(in); err != nil {
2255 return nil, err
2256 }
2257 if interceptor == nil {
2258 return srv.(BBSimServer).RestartDhcp(ctx, in)
2259 }
2260 info := &grpc.UnaryServerInfo{
2261 Server: srv,
2262 FullMethod: "/bbsim.BBSim/RestartDhcp",
2263 }
2264 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2265 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
2266 }
2267 return interceptor(ctx, in, info, handler)
2268}
2269
Anand S Katti86552f92020-03-03 21:56:32 +05302270func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2271 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002272 if err := dec(in); err != nil {
2273 return nil, err
2274 }
2275 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302276 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002277 }
2278 info := &grpc.UnaryServerInfo{
2279 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302280 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002281 }
2282 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302283 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2284 }
2285 return interceptor(ctx, in, info, handler)
2286}
2287
2288func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2289 in := new(OLTAlarmRequest)
2290 if err := dec(in); err != nil {
2291 return nil, err
2292 }
2293 if interceptor == nil {
2294 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2295 }
2296 info := &grpc.UnaryServerInfo{
2297 Server: srv,
2298 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2299 }
2300 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2301 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002302 }
2303 return interceptor(ctx, in, info, handler)
2304}
2305
Pragya Arya8bdb4532020-03-02 17:08:09 +05302306func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2307 in := new(ONURequest)
2308 if err := dec(in); err != nil {
2309 return nil, err
2310 }
2311 if interceptor == nil {
2312 return srv.(BBSimServer).GetFlows(ctx, in)
2313 }
2314 info := &grpc.UnaryServerInfo{
2315 Server: srv,
2316 FullMethod: "/bbsim.BBSim/GetFlows",
2317 }
2318 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2319 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2320 }
2321 return interceptor(ctx, in, info, handler)
2322}
2323
Arjun E K57a7fcb2020-01-30 06:44:45 +00002324func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2325 in := new(IgmpRequest)
2326 if err := dec(in); err != nil {
2327 return nil, err
2328 }
2329 if interceptor == nil {
2330 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2331 }
2332 info := &grpc.UnaryServerInfo{
2333 Server: srv,
2334 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2335 }
2336 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2337 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2338 }
2339 return interceptor(ctx, in, info, handler)
2340}
2341
Anand S Katti09541352020-01-29 15:54:01 +05302342func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2343 in := new(ONURequest)
2344 if err := dec(in); err != nil {
2345 return nil, err
2346 }
2347 if interceptor == nil {
2348 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2349 }
2350 info := &grpc.UnaryServerInfo{
2351 Server: srv,
2352 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2353 }
2354 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2355 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2356 }
2357 return interceptor(ctx, in, info, handler)
2358}
2359
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002360var _BBSim_serviceDesc = grpc.ServiceDesc{
2361 ServiceName: "bbsim.BBSim",
2362 HandlerType: (*BBSimServer)(nil),
2363 Methods: []grpc.MethodDesc{
2364 {
2365 MethodName: "Version",
2366 Handler: _BBSim_Version_Handler,
2367 },
2368 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302369 MethodName: "SetLogLevel",
2370 Handler: _BBSim_SetLogLevel_Handler,
2371 },
2372 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002373 MethodName: "GetOlt",
2374 Handler: _BBSim_GetOlt_Handler,
2375 },
2376 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002377 MethodName: "PoweronOlt",
2378 Handler: _BBSim_PoweronOlt_Handler,
2379 },
2380 {
2381 MethodName: "ShutdownOlt",
2382 Handler: _BBSim_ShutdownOlt_Handler,
2383 },
2384 {
2385 MethodName: "RebootOlt",
2386 Handler: _BBSim_RebootOlt_Handler,
2387 },
2388 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002389 MethodName: "StopgRPCServer",
2390 Handler: _BBSim_StopgRPCServer_Handler,
2391 },
2392 {
2393 MethodName: "StartgRPCServer",
2394 Handler: _BBSim_StartgRPCServer_Handler,
2395 },
2396 {
2397 MethodName: "RestartgRPCServer",
2398 Handler: _BBSim_RestartgRPCServer_Handler,
2399 },
2400 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002401 MethodName: "GetONU",
2402 Handler: _BBSim_GetONU_Handler,
2403 },
2404 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302405 MethodName: "GetONUs",
2406 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002407 },
2408 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002409 MethodName: "GetServices",
2410 Handler: _BBSim_GetServices_Handler,
2411 },
2412 {
2413 MethodName: "GetOnuServices",
2414 Handler: _BBSim_GetOnuServices_Handler,
2415 },
2416 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002417 MethodName: "ShutdownONU",
2418 Handler: _BBSim_ShutdownONU_Handler,
2419 },
2420 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302421 MethodName: "ShutdownAllONUs",
2422 Handler: _BBSim_ShutdownAllONUs_Handler,
2423 },
2424 {
2425 MethodName: "ShutdownONUsOnPON",
2426 Handler: _BBSim_ShutdownONUsOnPON_Handler,
2427 },
2428 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002429 MethodName: "PoweronONU",
2430 Handler: _BBSim_PoweronONU_Handler,
2431 },
2432 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302433 MethodName: "PoweronAllONUs",
2434 Handler: _BBSim_PoweronAllONUs_Handler,
2435 },
2436 {
2437 MethodName: "PoweronONUsOnPON",
2438 Handler: _BBSim_PoweronONUsOnPON_Handler,
2439 },
2440 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002441 MethodName: "RestartEapol",
2442 Handler: _BBSim_RestartEapol_Handler,
2443 },
2444 {
2445 MethodName: "RestartDhcp",
2446 Handler: _BBSim_RestartDhcp_Handler,
2447 },
Scott Baker41724b82020-01-21 19:54:53 -08002448 {
Anand S Katti86552f92020-03-03 21:56:32 +05302449 MethodName: "SetOnuAlarmIndication",
2450 Handler: _BBSim_SetOnuAlarmIndication_Handler,
2451 },
2452 {
2453 MethodName: "SetOltAlarmIndication",
2454 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08002455 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00002456 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05302457 MethodName: "GetFlows",
2458 Handler: _BBSim_GetFlows_Handler,
2459 },
2460 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00002461 MethodName: "ChangeIgmpState",
2462 Handler: _BBSim_ChangeIgmpState_Handler,
2463 },
Anand S Katti09541352020-01-29 15:54:01 +05302464 {
2465 MethodName: "GetOnuTrafficSchedulers",
2466 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
2467 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002468 },
2469 Streams: []grpc.StreamDesc{},
2470 Metadata: "api/bbsim/bbsim.proto",
2471}