blob: d6e86a0376ddbd1183abb2518e1e5c803cb4d23a [file] [log] [blame]
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: api/bbsim/bbsim.proto
3
4package bbsim
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
Pragya Arya8bdb4532020-03-02 17:08:09 +053010 openolt "github.com/opencord/voltha-protos/v2/go/openolt"
Anand S Katti09541352020-01-29 15:54:01 +053011 tech_profile "github.com/opencord/voltha-protos/v2/go/tech_profile"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070012 grpc "google.golang.org/grpc"
Pragya Aryabd731ec2020-02-11 16:38:17 +053013 codes "google.golang.org/grpc/codes"
14 status "google.golang.org/grpc/status"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070015 math "math"
16)
17
18// Reference imports to suppress errors if they are not otherwise used.
19var _ = proto.Marshal
20var _ = fmt.Errorf
21var _ = math.Inf
22
23// This is a compile-time assertion to ensure that this generated file
24// is compatible with the proto package it is being compiled against.
25// A compilation error at this line likely means your copy of the
26// proto package needs to be updated.
27const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
28
Arjun E K57a7fcb2020-01-30 06:44:45 +000029type SubActionTypes int32
30
31const (
Arjun E Kdd443f02020-02-07 15:24:01 +000032 SubActionTypes_JOIN SubActionTypes = 0
33 SubActionTypes_LEAVE SubActionTypes = 1
34 SubActionTypes_JOINV3 SubActionTypes = 2
Arjun E K57a7fcb2020-01-30 06:44:45 +000035)
36
37var SubActionTypes_name = map[int32]string{
38 0: "JOIN",
39 1: "LEAVE",
Arjun E Kdd443f02020-02-07 15:24:01 +000040 2: "JOINV3",
Arjun E K57a7fcb2020-01-30 06:44:45 +000041}
42
43var SubActionTypes_value = map[string]int32{
Arjun E Kdd443f02020-02-07 15:24:01 +000044 "JOIN": 0,
45 "LEAVE": 1,
46 "JOINV3": 2,
Arjun E K57a7fcb2020-01-30 06:44:45 +000047}
48
49func (x SubActionTypes) String() string {
50 return proto.EnumName(SubActionTypes_name, int32(x))
51}
52
53func (SubActionTypes) EnumDescriptor() ([]byte, []int) {
54 return fileDescriptor_ef7750073d18011b, []int{0}
55}
56
Scott Baker41724b82020-01-21 19:54:53 -080057// These types correspond to the messages permitted in the oneof
58// in AlarmIndication in the openolt protos
59type AlarmType_Types int32
60
61const (
62 AlarmType_LOS AlarmType_Types = 0
63 AlarmType_DYING_GASP AlarmType_Types = 1
64 AlarmType_ONU_ALARM AlarmType_Types = 2
65 AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3
66 AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4
67 AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5
68 AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6
69 AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7
70 AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8
71 AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9
72 AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10
73 AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11
74 AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12
75 // These break out ONU_ALARM, which is a single message, but
76 // includes statuses for these six alarms.
77 AlarmType_ONU_ALARM_LOS AlarmType_Types = 13
78 AlarmType_ONU_ALARM_LOB AlarmType_Types = 14
79 AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15
80 AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16
81 AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17
82 AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18
83)
84
85var AlarmType_Types_name = map[int32]string{
86 0: "LOS",
87 1: "DYING_GASP",
88 2: "ONU_ALARM",
89 3: "ONU_STARTUP_FAILURE",
90 4: "ONU_SIGNAL_DEGRADE",
91 5: "ONU_DRIFT_OF_WINDOW",
92 6: "ONU_LOSS_OF_OMCI_CHANNEL",
93 7: "ONU_SIGNALS_FAILURE",
94 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING",
95 9: "ONU_ACTIVATION_FAILURE",
96 10: "ONU_PROCESSING_ERROR",
97 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE",
98 12: "ONU_ITU_PON_STATS",
99 13: "ONU_ALARM_LOS",
100 14: "ONU_ALARM_LOB",
101 15: "ONU_ALARM_LOPC_MISS",
102 16: "ONU_ALARM_LOPC_MIC_ERROR",
103 17: "ONU_ALARM_LOFI",
104 18: "ONU_ALARM_LOAMI",
105}
106
107var AlarmType_Types_value = map[string]int32{
108 "LOS": 0,
109 "DYING_GASP": 1,
110 "ONU_ALARM": 2,
111 "ONU_STARTUP_FAILURE": 3,
112 "ONU_SIGNAL_DEGRADE": 4,
113 "ONU_DRIFT_OF_WINDOW": 5,
114 "ONU_LOSS_OF_OMCI_CHANNEL": 6,
115 "ONU_SIGNALS_FAILURE": 7,
116 "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8,
117 "ONU_ACTIVATION_FAILURE": 9,
118 "ONU_PROCESSING_ERROR": 10,
119 "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11,
120 "ONU_ITU_PON_STATS": 12,
121 "ONU_ALARM_LOS": 13,
122 "ONU_ALARM_LOB": 14,
123 "ONU_ALARM_LOPC_MISS": 15,
124 "ONU_ALARM_LOPC_MIC_ERROR": 16,
125 "ONU_ALARM_LOFI": 17,
126 "ONU_ALARM_LOAMI": 18,
127}
128
129func (x AlarmType_Types) String() string {
130 return proto.EnumName(AlarmType_Types_name, int32(x))
131}
132
133func (AlarmType_Types) EnumDescriptor() ([]byte, []int) {
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 Scandolo4a036262020-08-17 15:56:13 -0700319 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 XXX_NoUnkeyedLiteral struct{} `json:"-"`
328 XXX_unrecognized []byte `json:"-"`
329 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700330}
331
332func (m *ONU) Reset() { *m = ONU{} }
333func (m *ONU) String() string { return proto.CompactTextString(m) }
334func (*ONU) ProtoMessage() {}
335func (*ONU) Descriptor() ([]byte, []int) {
336 return fileDescriptor_ef7750073d18011b, []int{3}
337}
338
339func (m *ONU) XXX_Unmarshal(b []byte) error {
340 return xxx_messageInfo_ONU.Unmarshal(m, b)
341}
342func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
343 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
344}
345func (m *ONU) XXX_Merge(src proto.Message) {
346 xxx_messageInfo_ONU.Merge(m, src)
347}
348func (m *ONU) XXX_Size() int {
349 return xxx_messageInfo_ONU.Size(m)
350}
351func (m *ONU) XXX_DiscardUnknown() {
352 xxx_messageInfo_ONU.DiscardUnknown(m)
353}
354
355var xxx_messageInfo_ONU proto.InternalMessageInfo
356
357func (m *ONU) GetID() int32 {
358 if m != nil {
359 return m.ID
360 }
361 return 0
362}
363
364func (m *ONU) GetSerialNumber() string {
365 if m != nil {
366 return m.SerialNumber
367 }
368 return ""
369}
370
371func (m *ONU) GetOperState() string {
372 if m != nil {
373 return m.OperState
374 }
375 return ""
376}
377
378func (m *ONU) GetInternalState() string {
379 if m != nil {
380 return m.InternalState
381 }
382 return ""
383}
384
385func (m *ONU) GetPonPortID() int32 {
386 if m != nil {
387 return m.PonPortID
388 }
389 return 0
390}
391
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700392func (m *ONU) GetHwAddress() string {
393 if m != nil {
394 return m.HwAddress
395 }
396 return ""
397}
398
399func (m *ONU) GetPortNo() int32 {
400 if m != nil {
401 return m.PortNo
402 }
403 return 0
404}
405
Matteo Scandolo4a036262020-08-17 15:56:13 -0700406func (m *ONU) GetServices() []*Service {
407 if m != nil {
408 return m.Services
409 }
410 return nil
411}
412
413type Service struct {
414 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
415 HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
416 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
417 STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"`
418 CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"`
419 NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"`
420 NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"`
421 NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"`
422 GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"`
423 EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"`
424 DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"`
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700425 InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
Matteo Scandolo4a036262020-08-17 15:56:13 -0700426 XXX_NoUnkeyedLiteral struct{} `json:"-"`
427 XXX_unrecognized []byte `json:"-"`
428 XXX_sizecache int32 `json:"-"`
429}
430
431func (m *Service) Reset() { *m = Service{} }
432func (m *Service) String() string { return proto.CompactTextString(m) }
433func (*Service) ProtoMessage() {}
434func (*Service) Descriptor() ([]byte, []int) {
435 return fileDescriptor_ef7750073d18011b, []int{4}
436}
437
438func (m *Service) XXX_Unmarshal(b []byte) error {
439 return xxx_messageInfo_Service.Unmarshal(m, b)
440}
441func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
442 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
443}
444func (m *Service) XXX_Merge(src proto.Message) {
445 xxx_messageInfo_Service.Merge(m, src)
446}
447func (m *Service) XXX_Size() int {
448 return xxx_messageInfo_Service.Size(m)
449}
450func (m *Service) XXX_DiscardUnknown() {
451 xxx_messageInfo_Service.DiscardUnknown(m)
452}
453
454var xxx_messageInfo_Service proto.InternalMessageInfo
455
456func (m *Service) GetName() string {
457 if m != nil {
458 return m.Name
459 }
460 return ""
461}
462
463func (m *Service) GetHwAddress() string {
464 if m != nil {
465 return m.HwAddress
466 }
467 return ""
468}
469
470func (m *Service) GetOnuSn() string {
471 if m != nil {
472 return m.OnuSn
473 }
474 return ""
475}
476
477func (m *Service) GetSTag() int32 {
478 if m != nil {
479 return m.STag
480 }
481 return 0
482}
483
484func (m *Service) GetCTag() int32 {
485 if m != nil {
486 return m.CTag
487 }
488 return 0
489}
490
491func (m *Service) GetNeedsEapol() bool {
492 if m != nil {
493 return m.NeedsEapol
494 }
495 return false
496}
497
498func (m *Service) GetNeedsDhcp() bool {
499 if m != nil {
500 return m.NeedsDhcp
501 }
502 return false
503}
504
505func (m *Service) GetNeedsIgmp() bool {
506 if m != nil {
507 return m.NeedsIgmp
508 }
509 return false
510}
511
512func (m *Service) GetGemPort() int32 {
513 if m != nil {
514 return m.GemPort
515 }
516 return 0
517}
518
519func (m *Service) GetEapolState() string {
520 if m != nil {
521 return m.EapolState
522 }
523 return ""
524}
525
526func (m *Service) GetDhcpState() string {
527 if m != nil {
528 return m.DhcpState
529 }
530 return ""
531}
532
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700533func (m *Service) GetInternalState() string {
534 if m != nil {
535 return m.InternalState
536 }
537 return ""
538}
539
Anand S Katti09541352020-01-29 15:54:01 +0530540type ONUTrafficSchedulers struct {
541 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
542 XXX_NoUnkeyedLiteral struct{} `json:"-"`
543 XXX_unrecognized []byte `json:"-"`
544 XXX_sizecache int32 `json:"-"`
545}
546
547func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
548func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
549func (*ONUTrafficSchedulers) ProtoMessage() {}
550func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700551 return fileDescriptor_ef7750073d18011b, []int{5}
Anand S Katti09541352020-01-29 15:54:01 +0530552}
553
554func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
555 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
556}
557func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
558 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
559}
560func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
561 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
562}
563func (m *ONUTrafficSchedulers) XXX_Size() int {
564 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
565}
566func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
567 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
568}
569
570var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
571
572func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
573 if m != nil {
574 return m.TraffSchedulers
575 }
576 return nil
577}
578
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700579type ONUs struct {
580 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
581 XXX_NoUnkeyedLiteral struct{} `json:"-"`
582 XXX_unrecognized []byte `json:"-"`
583 XXX_sizecache int32 `json:"-"`
584}
585
586func (m *ONUs) Reset() { *m = ONUs{} }
587func (m *ONUs) String() string { return proto.CompactTextString(m) }
588func (*ONUs) ProtoMessage() {}
589func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700590 return fileDescriptor_ef7750073d18011b, []int{6}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700591}
592
593func (m *ONUs) XXX_Unmarshal(b []byte) error {
594 return xxx_messageInfo_ONUs.Unmarshal(m, b)
595}
596func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
597 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
598}
599func (m *ONUs) XXX_Merge(src proto.Message) {
600 xxx_messageInfo_ONUs.Merge(m, src)
601}
602func (m *ONUs) XXX_Size() int {
603 return xxx_messageInfo_ONUs.Size(m)
604}
605func (m *ONUs) XXX_DiscardUnknown() {
606 xxx_messageInfo_ONUs.DiscardUnknown(m)
607}
608
609var xxx_messageInfo_ONUs proto.InternalMessageInfo
610
611func (m *ONUs) GetItems() []*ONU {
612 if m != nil {
613 return m.Items
614 }
615 return nil
616}
617
Matteo Scandolo4a036262020-08-17 15:56:13 -0700618type Services struct {
619 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
620 XXX_NoUnkeyedLiteral struct{} `json:"-"`
621 XXX_unrecognized []byte `json:"-"`
622 XXX_sizecache int32 `json:"-"`
623}
624
625func (m *Services) Reset() { *m = Services{} }
626func (m *Services) String() string { return proto.CompactTextString(m) }
627func (*Services) ProtoMessage() {}
628func (*Services) Descriptor() ([]byte, []int) {
629 return fileDescriptor_ef7750073d18011b, []int{7}
630}
631
632func (m *Services) XXX_Unmarshal(b []byte) error {
633 return xxx_messageInfo_Services.Unmarshal(m, b)
634}
635func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
636 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
637}
638func (m *Services) XXX_Merge(src proto.Message) {
639 xxx_messageInfo_Services.Merge(m, src)
640}
641func (m *Services) XXX_Size() int {
642 return xxx_messageInfo_Services.Size(m)
643}
644func (m *Services) XXX_DiscardUnknown() {
645 xxx_messageInfo_Services.DiscardUnknown(m)
646}
647
648var xxx_messageInfo_Services proto.InternalMessageInfo
649
650func (m *Services) GetItems() []*Service {
651 if m != nil {
652 return m.Items
653 }
654 return nil
655}
656
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700657type ONURequest struct {
658 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
659 XXX_NoUnkeyedLiteral struct{} `json:"-"`
660 XXX_unrecognized []byte `json:"-"`
661 XXX_sizecache int32 `json:"-"`
662}
663
664func (m *ONURequest) Reset() { *m = ONURequest{} }
665func (m *ONURequest) String() string { return proto.CompactTextString(m) }
666func (*ONURequest) ProtoMessage() {}
667func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700668 return fileDescriptor_ef7750073d18011b, []int{8}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700669}
670
671func (m *ONURequest) XXX_Unmarshal(b []byte) error {
672 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
673}
674func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
675 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
676}
677func (m *ONURequest) XXX_Merge(src proto.Message) {
678 xxx_messageInfo_ONURequest.Merge(m, src)
679}
680func (m *ONURequest) XXX_Size() int {
681 return xxx_messageInfo_ONURequest.Size(m)
682}
683func (m *ONURequest) XXX_DiscardUnknown() {
684 xxx_messageInfo_ONURequest.DiscardUnknown(m)
685}
686
687var xxx_messageInfo_ONURequest proto.InternalMessageInfo
688
689func (m *ONURequest) GetSerialNumber() string {
690 if m != nil {
691 return m.SerialNumber
692 }
693 return ""
694}
695
Pragya Aryabd731ec2020-02-11 16:38:17 +0530696type PONRequest struct {
697 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
698 XXX_NoUnkeyedLiteral struct{} `json:"-"`
699 XXX_unrecognized []byte `json:"-"`
700 XXX_sizecache int32 `json:"-"`
701}
702
703func (m *PONRequest) Reset() { *m = PONRequest{} }
704func (m *PONRequest) String() string { return proto.CompactTextString(m) }
705func (*PONRequest) ProtoMessage() {}
706func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700707 return fileDescriptor_ef7750073d18011b, []int{9}
Pragya Aryabd731ec2020-02-11 16:38:17 +0530708}
709
710func (m *PONRequest) XXX_Unmarshal(b []byte) error {
711 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
712}
713func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
714 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
715}
716func (m *PONRequest) XXX_Merge(src proto.Message) {
717 xxx_messageInfo_PONRequest.Merge(m, src)
718}
719func (m *PONRequest) XXX_Size() int {
720 return xxx_messageInfo_PONRequest.Size(m)
721}
722func (m *PONRequest) XXX_DiscardUnknown() {
723 xxx_messageInfo_PONRequest.DiscardUnknown(m)
724}
725
726var xxx_messageInfo_PONRequest proto.InternalMessageInfo
727
728func (m *PONRequest) GetPonPortId() uint32 {
729 if m != nil {
730 return m.PonPortId
731 }
732 return 0
733}
734
Scott Baker41724b82020-01-21 19:54:53 -0800735type AlarmType struct {
736 XXX_NoUnkeyedLiteral struct{} `json:"-"`
737 XXX_unrecognized []byte `json:"-"`
738 XXX_sizecache int32 `json:"-"`
739}
740
741func (m *AlarmType) Reset() { *m = AlarmType{} }
742func (m *AlarmType) String() string { return proto.CompactTextString(m) }
743func (*AlarmType) ProtoMessage() {}
744func (*AlarmType) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700745 return fileDescriptor_ef7750073d18011b, []int{10}
Scott Baker41724b82020-01-21 19:54:53 -0800746}
747
748func (m *AlarmType) XXX_Unmarshal(b []byte) error {
749 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
750}
751func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
752 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
753}
754func (m *AlarmType) XXX_Merge(src proto.Message) {
755 xxx_messageInfo_AlarmType.Merge(m, src)
756}
757func (m *AlarmType) XXX_Size() int {
758 return xxx_messageInfo_AlarmType.Size(m)
759}
760func (m *AlarmType) XXX_DiscardUnknown() {
761 xxx_messageInfo_AlarmType.DiscardUnknown(m)
762}
763
764var xxx_messageInfo_AlarmType proto.InternalMessageInfo
765
766type AlarmParameter struct {
767 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
768 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
769 XXX_NoUnkeyedLiteral struct{} `json:"-"`
770 XXX_unrecognized []byte `json:"-"`
771 XXX_sizecache int32 `json:"-"`
772}
773
774func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
775func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
776func (*AlarmParameter) ProtoMessage() {}
777func (*AlarmParameter) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700778 return fileDescriptor_ef7750073d18011b, []int{11}
Scott Baker41724b82020-01-21 19:54:53 -0800779}
780
781func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
782 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
783}
784func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
785 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
786}
787func (m *AlarmParameter) XXX_Merge(src proto.Message) {
788 xxx_messageInfo_AlarmParameter.Merge(m, src)
789}
790func (m *AlarmParameter) XXX_Size() int {
791 return xxx_messageInfo_AlarmParameter.Size(m)
792}
793func (m *AlarmParameter) XXX_DiscardUnknown() {
794 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
795}
796
797var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
798
799func (m *AlarmParameter) GetKey() string {
800 if m != nil {
801 return m.Key
802 }
803 return ""
804}
805
806func (m *AlarmParameter) GetValue() string {
807 if m != nil {
808 return m.Value
809 }
810 return ""
811}
812
Anand S Katti86552f92020-03-03 21:56:32 +0530813// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +0530814// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -0800815// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +0530816type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +0530817 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -0800818 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
819 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
820 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
821 XXX_NoUnkeyedLiteral struct{} `json:"-"`
822 XXX_unrecognized []byte `json:"-"`
823 XXX_sizecache int32 `json:"-"`
824}
825
Anand S Katti86552f92020-03-03 21:56:32 +0530826func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
827func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
828func (*ONUAlarmRequest) ProtoMessage() {}
829func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700830 return fileDescriptor_ef7750073d18011b, []int{12}
Scott Baker41724b82020-01-21 19:54:53 -0800831}
832
Anand S Katti86552f92020-03-03 21:56:32 +0530833func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
834 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -0800835}
Anand S Katti86552f92020-03-03 21:56:32 +0530836func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
837 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -0800838}
Anand S Katti86552f92020-03-03 21:56:32 +0530839func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
840 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -0800841}
Anand S Katti86552f92020-03-03 21:56:32 +0530842func (m *ONUAlarmRequest) XXX_Size() int {
843 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -0800844}
Anand S Katti86552f92020-03-03 21:56:32 +0530845func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
846 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -0800847}
848
Anand S Katti86552f92020-03-03 21:56:32 +0530849var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -0800850
Anand S Katti86552f92020-03-03 21:56:32 +0530851func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -0800852 if m != nil {
853 return m.AlarmType
854 }
Pragya Arya694ece02020-02-07 13:03:47 +0530855 return ""
Scott Baker41724b82020-01-21 19:54:53 -0800856}
857
Anand S Katti86552f92020-03-03 21:56:32 +0530858func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -0800859 if m != nil {
860 return m.SerialNumber
861 }
862 return ""
863}
864
Anand S Katti86552f92020-03-03 21:56:32 +0530865func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -0800866 if m != nil {
867 return m.Status
868 }
869 return ""
870}
871
Anand S Katti86552f92020-03-03 21:56:32 +0530872func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -0800873 if m != nil {
874 return m.Parameters
875 }
876 return nil
877}
878
Anand S Katti86552f92020-03-03 21:56:32 +0530879// OLT alarm request
880type OLTAlarmRequest struct {
881 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
882 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
883 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
884 XXX_NoUnkeyedLiteral struct{} `json:"-"`
885 XXX_unrecognized []byte `json:"-"`
886 XXX_sizecache int32 `json:"-"`
887}
888
889func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
890func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
891func (*OLTAlarmRequest) ProtoMessage() {}
892func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700893 return fileDescriptor_ef7750073d18011b, []int{13}
Anand S Katti86552f92020-03-03 21:56:32 +0530894}
895
896func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
897 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
898}
899func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
900 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
901}
902func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
903 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
904}
905func (m *OLTAlarmRequest) XXX_Size() int {
906 return xxx_messageInfo_OLTAlarmRequest.Size(m)
907}
908func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
909 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
910}
911
912var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
913
914func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
915 if m != nil {
916 return m.InterfaceID
917 }
918 return 0
919}
920
921func (m *OLTAlarmRequest) GetInterfaceType() string {
922 if m != nil {
923 return m.InterfaceType
924 }
925 return ""
926}
927
928func (m *OLTAlarmRequest) GetStatus() string {
929 if m != nil {
930 return m.Status
931 }
932 return ""
933}
934
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700935type VersionNumber struct {
936 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
937 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
938 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
939 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
940 XXX_NoUnkeyedLiteral struct{} `json:"-"`
941 XXX_unrecognized []byte `json:"-"`
942 XXX_sizecache int32 `json:"-"`
943}
944
945func (m *VersionNumber) Reset() { *m = VersionNumber{} }
946func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
947func (*VersionNumber) ProtoMessage() {}
948func (*VersionNumber) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700949 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700950}
951
952func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
953 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
954}
955func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
956 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
957}
958func (m *VersionNumber) XXX_Merge(src proto.Message) {
959 xxx_messageInfo_VersionNumber.Merge(m, src)
960}
961func (m *VersionNumber) XXX_Size() int {
962 return xxx_messageInfo_VersionNumber.Size(m)
963}
964func (m *VersionNumber) XXX_DiscardUnknown() {
965 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
966}
967
968var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
969
970func (m *VersionNumber) GetVersion() string {
971 if m != nil {
972 return m.Version
973 }
974 return ""
975}
976
977func (m *VersionNumber) GetBuildTime() string {
978 if m != nil {
979 return m.BuildTime
980 }
981 return ""
982}
983
984func (m *VersionNumber) GetCommitHash() string {
985 if m != nil {
986 return m.CommitHash
987 }
988 return ""
989}
990
991func (m *VersionNumber) GetGitStatus() string {
992 if m != nil {
993 return m.GitStatus
994 }
995 return ""
996}
997
998type LogLevel struct {
999 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
1000 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
1001 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1002 XXX_unrecognized []byte `json:"-"`
1003 XXX_sizecache int32 `json:"-"`
1004}
1005
1006func (m *LogLevel) Reset() { *m = LogLevel{} }
1007func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1008func (*LogLevel) ProtoMessage() {}
1009func (*LogLevel) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001010 return fileDescriptor_ef7750073d18011b, []int{15}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001011}
1012
1013func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1014 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1015}
1016func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1017 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1018}
1019func (m *LogLevel) XXX_Merge(src proto.Message) {
1020 xxx_messageInfo_LogLevel.Merge(m, src)
1021}
1022func (m *LogLevel) XXX_Size() int {
1023 return xxx_messageInfo_LogLevel.Size(m)
1024}
1025func (m *LogLevel) XXX_DiscardUnknown() {
1026 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1027}
1028
1029var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1030
1031func (m *LogLevel) GetLevel() string {
1032 if m != nil {
1033 return m.Level
1034 }
1035 return ""
1036}
1037
1038func (m *LogLevel) GetCaller() bool {
1039 if m != nil {
1040 return m.Caller
1041 }
1042 return false
1043}
1044
1045type Response struct {
1046 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1047 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1048 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1049 XXX_unrecognized []byte `json:"-"`
1050 XXX_sizecache int32 `json:"-"`
1051}
1052
1053func (m *Response) Reset() { *m = Response{} }
1054func (m *Response) String() string { return proto.CompactTextString(m) }
1055func (*Response) ProtoMessage() {}
1056func (*Response) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001057 return fileDescriptor_ef7750073d18011b, []int{16}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001058}
1059
1060func (m *Response) XXX_Unmarshal(b []byte) error {
1061 return xxx_messageInfo_Response.Unmarshal(m, b)
1062}
1063func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1064 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1065}
1066func (m *Response) XXX_Merge(src proto.Message) {
1067 xxx_messageInfo_Response.Merge(m, src)
1068}
1069func (m *Response) XXX_Size() int {
1070 return xxx_messageInfo_Response.Size(m)
1071}
1072func (m *Response) XXX_DiscardUnknown() {
1073 xxx_messageInfo_Response.DiscardUnknown(m)
1074}
1075
1076var xxx_messageInfo_Response proto.InternalMessageInfo
1077
1078func (m *Response) GetStatusCode() int32 {
1079 if m != nil {
1080 return m.StatusCode
1081 }
1082 return 0
1083}
1084
1085func (m *Response) GetMessage() string {
1086 if m != nil {
1087 return m.Message
1088 }
1089 return ""
1090}
1091
Arjun E K57a7fcb2020-01-30 06:44:45 +00001092type IgmpRequest struct {
1093 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1094 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
1095 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1096 XXX_unrecognized []byte `json:"-"`
1097 XXX_sizecache int32 `json:"-"`
1098}
1099
1100func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1101func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1102func (*IgmpRequest) ProtoMessage() {}
1103func (*IgmpRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001104 return fileDescriptor_ef7750073d18011b, []int{17}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001105}
1106
1107func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1108 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1109}
1110func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1111 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1112}
1113func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1114 xxx_messageInfo_IgmpRequest.Merge(m, src)
1115}
1116func (m *IgmpRequest) XXX_Size() int {
1117 return xxx_messageInfo_IgmpRequest.Size(m)
1118}
1119func (m *IgmpRequest) XXX_DiscardUnknown() {
1120 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1121}
1122
1123var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1124
1125func (m *IgmpRequest) GetOnuReq() *ONURequest {
1126 if m != nil {
1127 return m.OnuReq
1128 }
1129 return nil
1130}
1131
1132func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1133 if m != nil {
1134 return m.SubActionVal
1135 }
1136 return SubActionTypes_JOIN
1137}
1138
Pragya Arya8bdb4532020-03-02 17:08:09 +05301139type Flows struct {
1140 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1141 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1142 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1143 XXX_unrecognized []byte `json:"-"`
1144 XXX_sizecache int32 `json:"-"`
1145}
1146
1147func (m *Flows) Reset() { *m = Flows{} }
1148func (m *Flows) String() string { return proto.CompactTextString(m) }
1149func (*Flows) ProtoMessage() {}
1150func (*Flows) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001151 return fileDescriptor_ef7750073d18011b, []int{18}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301152}
1153
1154func (m *Flows) XXX_Unmarshal(b []byte) error {
1155 return xxx_messageInfo_Flows.Unmarshal(m, b)
1156}
1157func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1158 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1159}
1160func (m *Flows) XXX_Merge(src proto.Message) {
1161 xxx_messageInfo_Flows.Merge(m, src)
1162}
1163func (m *Flows) XXX_Size() int {
1164 return xxx_messageInfo_Flows.Size(m)
1165}
1166func (m *Flows) XXX_DiscardUnknown() {
1167 xxx_messageInfo_Flows.DiscardUnknown(m)
1168}
1169
1170var xxx_messageInfo_Flows proto.InternalMessageInfo
1171
1172func (m *Flows) GetFlowCount() uint32 {
1173 if m != nil {
1174 return m.FlowCount
1175 }
1176 return 0
1177}
1178
1179func (m *Flows) GetFlows() []*openolt.Flow {
1180 if m != nil {
1181 return m.Flows
1182 }
1183 return nil
1184}
1185
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001186type Empty struct {
1187 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1188 XXX_unrecognized []byte `json:"-"`
1189 XXX_sizecache int32 `json:"-"`
1190}
1191
1192func (m *Empty) Reset() { *m = Empty{} }
1193func (m *Empty) String() string { return proto.CompactTextString(m) }
1194func (*Empty) ProtoMessage() {}
1195func (*Empty) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001196 return fileDescriptor_ef7750073d18011b, []int{19}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001197}
1198
1199func (m *Empty) XXX_Unmarshal(b []byte) error {
1200 return xxx_messageInfo_Empty.Unmarshal(m, b)
1201}
1202func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1203 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1204}
1205func (m *Empty) XXX_Merge(src proto.Message) {
1206 xxx_messageInfo_Empty.Merge(m, src)
1207}
1208func (m *Empty) XXX_Size() int {
1209 return xxx_messageInfo_Empty.Size(m)
1210}
1211func (m *Empty) XXX_DiscardUnknown() {
1212 xxx_messageInfo_Empty.DiscardUnknown(m)
1213}
1214
1215var xxx_messageInfo_Empty proto.InternalMessageInfo
1216
1217func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001218 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Scott Baker41724b82020-01-21 19:54:53 -08001219 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001220 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
1221 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1222 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
1223 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001224 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301225 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001226 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001227 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001228 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301229 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001230 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1231 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301232 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1233 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001234 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1235 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1236 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001237 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301238 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001239 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1240}
1241
Matteo Scandolof65e6872020-04-15 15:18:43 -07001242func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001243
1244var fileDescriptor_ef7750073d18011b = []byte{
Matteo Scandolo75ed5b92020-09-03 09:03:16 -07001245 // 1508 bytes of a gzipped FileDescriptorProto
1246 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcd, 0x6e, 0xdb, 0xc6,
1247 0x16, 0xd6, 0x8f, 0xf5, 0x77, 0x64, 0xc9, 0xf4, 0x24, 0x76, 0x08, 0xc7, 0xf7, 0x46, 0xe0, 0xcd,
1248 0xbd, 0x70, 0x82, 0x1b, 0xa7, 0xb1, 0xfb, 0x93, 0x2c, 0x69, 0x89, 0x56, 0x58, 0xcb, 0x43, 0x61,
1249 0x28, 0x39, 0xc8, 0x8a, 0xa0, 0xa5, 0xb1, 0x4d, 0x80, 0x22, 0x15, 0x92, 0xb2, 0x91, 0x07, 0xe8,
1250 0x8b, 0xf4, 0x65, 0xba, 0x2d, 0xd0, 0x7d, 0x77, 0x7d, 0x8c, 0x02, 0xc5, 0x0c, 0x87, 0x14, 0x69,
1251 0x29, 0x85, 0xdb, 0x4d, 0x37, 0x02, 0xcf, 0x77, 0xfe, 0xcf, 0x99, 0x39, 0x67, 0x04, 0x3b, 0xf6,
1252 0xdc, 0x79, 0x7d, 0x79, 0x19, 0x3a, 0xb3, 0xf8, 0xf7, 0x70, 0x1e, 0xf8, 0x91, 0x8f, 0x2a, 0x9c,
Matteo Scandolo4a036262020-08-17 15:56:13 -07001253 0xd8, 0x7b, 0x7a, 0xeb, 0xbb, 0xd1, 0x8d, 0x6d, 0x71, 0x30, 0x7c, 0xed, 0xcf, 0xa9, 0xe7, 0xbb,
Matteo Scandolo75ed5b92020-09-03 09:03:16 -07001254 0x51, 0x2c, 0xb3, 0xd7, 0xc9, 0x33, 0x23, 0x3a, 0xb9, 0x61, 0xdf, 0x57, 0x8e, 0x4b, 0x63, 0x09,
1255 0xe5, 0x3b, 0xa8, 0x0d, 0x0d, 0x3c, 0xf4, 0x83, 0x08, 0xb5, 0xa1, 0xa4, 0xf7, 0xe4, 0x62, 0xa7,
1256 0x78, 0x50, 0x21, 0x25, 0xbd, 0x87, 0xf6, 0xa1, 0x61, 0xcc, 0x69, 0x60, 0x46, 0x76, 0x44, 0xe5,
1257 0x52, 0xa7, 0x78, 0xd0, 0x20, 0x4b, 0x80, 0x29, 0x62, 0xac, 0xff, 0x0d, 0xc5, 0xdf, 0x8a, 0x50,
1258 0x36, 0xdc, 0x55, 0x2d, 0x05, 0x36, 0x4d, 0x1a, 0x38, 0xb6, 0x8b, 0x17, 0xb3, 0x4b, 0x1a, 0x08,
1259 0xc5, 0x1c, 0x96, 0xb7, 0x5c, 0xbe, 0x67, 0x19, 0x3d, 0x87, 0x96, 0xee, 0x45, 0x34, 0xf0, 0x6c,
1260 0x37, 0x96, 0xd8, 0xe0, 0x12, 0x79, 0x90, 0xfb, 0x1d, 0xca, 0x35, 0xce, 0x2a, 0xe9, 0x43, 0xf4,
1261 0x12, 0xea, 0x22, 0x91, 0x50, 0xae, 0x74, 0xca, 0x07, 0xcd, 0xa3, 0xf6, 0x61, 0x5c, 0x67, 0x01,
1262 0x93, 0x94, 0xcf, 0x64, 0x45, 0xb5, 0x42, 0xb9, 0x9a, 0x93, 0x15, 0x30, 0x49, 0xf9, 0xca, 0xef,
1263 0x2c, 0x4f, 0x3c, 0xfe, 0xc7, 0xf2, 0xdc, 0x87, 0xc6, 0xd0, 0xf7, 0x58, 0x2c, 0x7a, 0x4f, 0xae,
1264 0x70, 0xf7, 0x4b, 0x80, 0x71, 0xdf, 0xdf, 0xa9, 0xd3, 0x69, 0x40, 0xc3, 0x50, 0xae, 0xc7, 0x1e,
1265 0x52, 0x00, 0xed, 0x42, 0x95, 0xc9, 0x61, 0x5f, 0x6e, 0x70, 0x45, 0x41, 0xb1, 0xfc, 0x43, 0x1a,
1266 0xdc, 0x3a, 0x13, 0x1a, 0xca, 0x90, 0xcb, 0xdf, 0x8c, 0x61, 0x92, 0xf2, 0x95, 0x5f, 0x4a, 0x50,
1267 0x13, 0x28, 0x42, 0xb0, 0x81, 0xed, 0x19, 0xe5, 0x55, 0x68, 0x10, 0xfe, 0x9d, 0x8f, 0xa0, 0x74,
1268 0x3f, 0x82, 0xc7, 0x50, 0x31, 0xbc, 0x85, 0xe9, 0x89, 0xec, 0x63, 0x82, 0xd9, 0x31, 0x47, 0xf6,
1269 0x35, 0x4f, 0xb8, 0x42, 0xf8, 0x37, 0xc3, 0xba, 0x0c, 0x8b, 0x53, 0xe4, 0xdf, 0xe8, 0xdf, 0x00,
1270 0x98, 0xd2, 0x69, 0xa8, 0xd9, 0x73, 0xdf, 0x95, 0xab, 0x9d, 0xe2, 0x41, 0x9d, 0x64, 0x10, 0xe6,
1271 0x9b, 0x53, 0xbd, 0x9b, 0xc9, 0x9c, 0x1f, 0x85, 0x3a, 0x59, 0x02, 0x29, 0x57, 0xbf, 0x9e, 0xcd,
1272 0x79, 0x6d, 0x12, 0x2e, 0x03, 0x90, 0x0c, 0xb5, 0x3e, 0x9d, 0xb1, 0x82, 0x88, 0xe2, 0x24, 0x24,
1273 0xf3, 0xca, 0xcd, 0xc7, 0x4d, 0x01, 0x1e, 0x78, 0x06, 0x61, 0x76, 0x99, 0xfd, 0x98, 0xdd, 0x8c,
1274 0x33, 0x4e, 0x81, 0xd5, 0xae, 0x6e, 0xae, 0xe9, 0xaa, 0x62, 0xc3, 0x63, 0x03, 0x8f, 0x47, 0x81,
1275 0x7d, 0x75, 0xe5, 0x4c, 0xcc, 0xc9, 0x0d, 0x9d, 0x2e, 0x5c, 0x1a, 0x84, 0x48, 0x87, 0xad, 0x88,
1276 0x81, 0x4b, 0x88, 0x17, 0xbb, 0x79, 0xf4, 0xec, 0x30, 0x77, 0xeb, 0x57, 0x34, 0xc9, 0x7d, 0x3d,
1277 0xe5, 0x00, 0x36, 0x0c, 0x3c, 0x0e, 0x51, 0x07, 0x2a, 0x4e, 0x44, 0x67, 0xcc, 0x10, 0xeb, 0x34,
1278 0x88, 0x4e, 0x1b, 0x78, 0x4c, 0x62, 0x86, 0xf2, 0x15, 0xd4, 0x45, 0x87, 0x43, 0xf4, 0x3c, 0x2f,
1279 0x7d, 0xff, 0x5c, 0xa4, 0x1a, 0xc0, 0xf4, 0xe9, 0xa7, 0x05, 0x0d, 0xa3, 0x95, 0xab, 0x50, 0x5c,
1280 0xbd, 0x0a, 0xca, 0x4b, 0x80, 0xa1, 0x81, 0x13, 0x8d, 0xcc, 0xa1, 0x9e, 0x72, 0xf1, 0xd6, 0xf2,
1281 0x50, 0x4f, 0x95, 0x5f, 0xcb, 0xd0, 0x50, 0x5d, 0x3b, 0x98, 0x8d, 0x3e, 0xcf, 0xa9, 0xf2, 0x73,
1282 0x19, 0x2a, 0xec, 0x23, 0x44, 0x35, 0x28, 0x0f, 0x0c, 0x53, 0x2a, 0xa0, 0x36, 0x40, 0xef, 0xa3,
1283 0x8e, 0xfb, 0x56, 0x5f, 0x35, 0x87, 0x52, 0x11, 0xb5, 0xa0, 0x61, 0xe0, 0xb1, 0xa5, 0x0e, 0x54,
1284 0x72, 0x2e, 0x95, 0xd0, 0x13, 0x78, 0xc4, 0x48, 0x73, 0xa4, 0x92, 0xd1, 0x78, 0x68, 0x9d, 0xaa,
1285 0xfa, 0x60, 0x4c, 0x34, 0xa9, 0x8c, 0x76, 0x01, 0x71, 0x86, 0xde, 0xc7, 0xea, 0xc0, 0xea, 0x69,
1286 0x7d, 0xa2, 0xf6, 0x34, 0x69, 0x23, 0x51, 0xe8, 0x11, 0xfd, 0x74, 0x64, 0x19, 0xa7, 0xd6, 0x07,
1287 0x1d, 0xf7, 0x8c, 0x0f, 0x52, 0x05, 0xed, 0x83, 0xcc, 0x18, 0x03, 0xc3, 0x34, 0x19, 0x6e, 0x9c,
1288 0x77, 0x75, 0xab, 0xfb, 0x5e, 0xc5, 0x58, 0x1b, 0x48, 0xd5, 0xd4, 0x0f, 0x37, 0x67, 0xa6, 0x7e,
1289 0x6a, 0xe8, 0x05, 0xfc, 0x97, 0x31, 0x46, 0x44, 0xc5, 0xe6, 0xb9, 0x6e, 0x9a, 0xba, 0x81, 0x2d,
1290 0x1d, 0x8f, 0x34, 0x72, 0xaa, 0x11, 0x0d, 0x77, 0x35, 0xeb, 0x83, 0x4a, 0xb0, 0x8e, 0xfb, 0x52,
1291 0x1d, 0xed, 0xc1, 0x2e, 0x0f, 0xbd, 0x3b, 0xd2, 0x2f, 0xd4, 0x11, 0x13, 0x4c, 0xcc, 0x34, 0x90,
1292 0xcc, 0x0f, 0x89, 0x35, 0x24, 0x46, 0x57, 0x33, 0x4d, 0x96, 0xaf, 0x46, 0x88, 0x41, 0x24, 0x40,
1293 0x1d, 0xd8, 0xcf, 0xc6, 0x75, 0xa6, 0x7d, 0xb4, 0xcc, 0x8f, 0xb8, 0x9b, 0xea, 0x36, 0xd1, 0x0e,
1294 0x6c, 0x33, 0x09, 0x7d, 0x34, 0xb6, 0x86, 0x06, 0x66, 0xb5, 0x18, 0x99, 0xd2, 0x26, 0xda, 0x86,
1295 0x56, 0x5a, 0x29, 0xa6, 0x2e, 0xb5, 0xee, 0x43, 0x27, 0x52, 0x3b, 0x49, 0x2c, 0x81, 0x86, 0x5d,
1296 0x8b, 0x65, 0x21, 0x6d, 0x25, 0xf5, 0xc8, 0x31, 0xba, 0x22, 0x2a, 0x09, 0x21, 0x68, 0x67, 0xb9,
1297 0xa7, 0xba, 0xb4, 0x8d, 0x1e, 0xc1, 0x56, 0x16, 0x53, 0xcf, 0x75, 0x09, 0x29, 0x6f, 0xa1, 0xcd,
1298 0xfb, 0x3b, 0xb4, 0x03, 0x7b, 0x46, 0x23, 0x1a, 0x20, 0x09, 0xca, 0x67, 0xf4, 0xb3, 0x38, 0x39,
1299 0xec, 0x93, 0x4d, 0x8e, 0x0b, 0xdb, 0x5d, 0x24, 0x9b, 0x27, 0x26, 0x94, 0x1f, 0x8b, 0xdc, 0x1e,
1300 0xd7, 0xce, 0x1c, 0xa6, 0xf4, 0xb4, 0x08, 0x0b, 0x4b, 0xe0, 0x41, 0x73, 0x7a, 0x17, 0xaa, 0xec,
1301 0x5a, 0x2e, 0x42, 0x31, 0xa6, 0x04, 0x85, 0xbe, 0x01, 0x48, 0x43, 0x0c, 0xe5, 0x0d, 0x7e, 0x23,
1302 0x76, 0xc4, 0x8d, 0xc8, 0x27, 0x40, 0x32, 0x82, 0xca, 0x27, 0xd8, 0x32, 0x06, 0xa3, 0x5c, 0x8c,
1303 0x1d, 0x68, 0xf2, 0x01, 0x70, 0x65, 0x4f, 0xa8, 0x58, 0x23, 0x2d, 0x92, 0x85, 0xd2, 0xb9, 0xc1,
1304 0x48, 0x9e, 0x49, 0x29, 0x33, 0x37, 0x12, 0xf0, 0x4b, 0x91, 0x2a, 0x3f, 0x14, 0xa1, 0x75, 0x41,
1305 0x83, 0xd0, 0xf1, 0x3d, 0x91, 0x93, 0x0c, 0xb5, 0xdb, 0x18, 0x10, 0x35, 0x49, 0x48, 0x56, 0xaf,
1306 0xcb, 0x85, 0xe3, 0x4e, 0x47, 0xce, 0x2c, 0xdd, 0xeb, 0x29, 0xc0, 0xa6, 0xdf, 0xc4, 0x9f, 0xcd,
1307 0x9c, 0xe8, 0xbd, 0x1d, 0xde, 0x08, 0x2f, 0x19, 0x84, 0x69, 0x5f, 0x3b, 0x91, 0x08, 0x22, 0xde,
1308 0x58, 0x4b, 0x40, 0x79, 0x0b, 0xf5, 0x81, 0x7f, 0x3d, 0xa0, 0xb7, 0xd4, 0x65, 0x1d, 0x74, 0xd9,
1309 0x87, 0xf0, 0x1f, 0x13, 0x2c, 0x83, 0x89, 0xed, 0xba, 0xa2, 0x13, 0x75, 0x22, 0x28, 0x45, 0x83,
1310 0x3a, 0xa1, 0xe1, 0xdc, 0xf7, 0x42, 0x8a, 0x9e, 0x41, 0x33, 0xe4, 0xf6, 0xac, 0x89, 0x3f, 0xa5,
1311 0x62, 0xe9, 0x42, 0x0c, 0x75, 0xfd, 0x29, 0x65, 0xc9, 0xcd, 0x68, 0x18, 0xda, 0xd7, 0x49, 0x02,
1312 0x09, 0xa9, 0x84, 0xd0, 0x64, 0xe3, 0x3d, 0xa9, 0xfb, 0x0b, 0xa8, 0x1a, 0xde, 0x82, 0xd0, 0x4f,
1313 0x62, 0x8c, 0x6e, 0x67, 0xa6, 0x5f, 0x2c, 0x42, 0x84, 0x00, 0x7a, 0x07, 0x9b, 0xe6, 0xe2, 0x52,
1314 0x9d, 0x44, 0x8e, 0xef, 0x5d, 0xd8, 0x2e, 0x37, 0xdc, 0x4e, 0xdb, 0x9d, 0xb2, 0xf8, 0x28, 0x22,
1315 0x39, 0x51, 0xe5, 0x0c, 0x2a, 0xa7, 0xae, 0x7f, 0x17, 0xa2, 0x7f, 0x01, 0x5c, 0xb9, 0xfe, 0x9d,
1316 0x35, 0xf1, 0x17, 0x5e, 0x94, 0x0c, 0x36, 0x86, 0x74, 0x19, 0x80, 0xfe, 0x03, 0x15, 0x46, 0xb0,
1317 0x3d, 0xc9, 0x8e, 0x52, 0xeb, 0x30, 0x79, 0xe6, 0x31, 0x6d, 0x12, 0xf3, 0x94, 0x1a, 0x54, 0xb4,
1318 0xd9, 0x3c, 0xfa, 0xfc, 0xf2, 0x0d, 0xb4, 0xf3, 0x5e, 0x51, 0x1d, 0x36, 0xbe, 0x37, 0x74, 0x2c,
1319 0x15, 0x50, 0x03, 0x2a, 0x03, 0x4d, 0xbd, 0xd0, 0xa4, 0x22, 0x02, 0xa8, 0x32, 0xf0, 0xe2, 0x58,
1320 0x2a, 0x1d, 0xfd, 0xd4, 0x80, 0xca, 0xc9, 0x89, 0xe9, 0xcc, 0xd0, 0x6b, 0xa8, 0x89, 0xf3, 0x80,
1321 0x36, 0x45, 0x0a, 0xdc, 0xea, 0xde, 0x63, 0x41, 0xe5, 0x4e, 0x8b, 0x52, 0x40, 0x6f, 0xa0, 0x69,
1322 0xd2, 0x28, 0x6d, 0xde, 0x96, 0x10, 0x4b, 0x80, 0xbd, 0xfb, 0x80, 0x52, 0x40, 0xcf, 0xa1, 0xda,
1323 0xa7, 0x11, 0x7b, 0x04, 0xe6, 0x5d, 0xa4, 0x2b, 0xc6, 0x8d, 0x94, 0x02, 0x7a, 0x05, 0x30, 0xf4,
1324 0xef, 0x68, 0xe0, 0x7b, 0xab, 0x92, 0x89, 0xd1, 0xa4, 0xf3, 0x4a, 0x01, 0x1d, 0x42, 0xd3, 0xbc,
1325 0x59, 0x44, 0x53, 0xff, 0xee, 0x61, 0xf2, 0xff, 0x87, 0x06, 0xa1, 0x97, 0xbe, 0x1f, 0x3d, 0x48,
1326 0xfa, 0x45, 0x1c, 0x32, 0x1e, 0xa3, 0xd5, 0x93, 0xb0, 0x97, 0x59, 0x8d, 0x4a, 0x01, 0xfd, 0x8f,
1327 0x3d, 0x10, 0x22, 0xbe, 0x42, 0xf3, 0x66, 0x9b, 0x4b, 0xb1, 0x30, 0x0e, 0xb8, 0x4f, 0xa3, 0x74,
1328 0x81, 0xae, 0x0f, 0x21, 0x61, 0x2b, 0x05, 0xf4, 0x2d, 0xb4, 0x99, 0x5d, 0x6f, 0x91, 0xaa, 0xac,
1329 0x09, 0x65, 0x8d, 0xde, 0x71, 0xa6, 0x30, 0xeb, 0xe3, 0x5f, 0x93, 0xef, 0x11, 0x6c, 0x25, 0x4a,
1330 0xaa, 0xeb, 0xae, 0x49, 0x66, 0x8d, 0xce, 0x3b, 0xd8, 0xce, 0x38, 0x0a, 0x0d, 0x6f, 0x68, 0xe0,
1331 0xd4, 0xdd, 0x72, 0x89, 0xaf, 0x77, 0x97, 0xf6, 0xfa, 0xc1, 0x21, 0xbe, 0x81, 0xb6, 0xd0, 0x79,
1332 0x70, 0x84, 0x6f, 0x41, 0x5a, 0xba, 0xf9, 0x4b, 0x01, 0x7e, 0x0d, 0x9b, 0x84, 0x86, 0x91, 0x1d,
1333 0x44, 0xf1, 0x0b, 0xf2, 0x61, 0x21, 0x1e, 0x43, 0x53, 0x68, 0xf1, 0x87, 0xe5, 0xc3, 0x94, 0x4e,
1334 0x60, 0xc7, 0xe4, 0x7d, 0xe6, 0x8b, 0x40, 0xf7, 0xa6, 0xce, 0xc4, 0x66, 0x57, 0x19, 0xed, 0x2e,
1335 0xd5, 0xb3, 0x3b, 0xe2, 0x4f, 0x6c, 0xb8, 0xd1, 0x17, 0x6d, 0xe4, 0xf7, 0xcc, 0x3a, 0x1b, 0xaf,
1336 0xa0, 0xde, 0xa7, 0x51, 0x3c, 0x9f, 0xd6, 0x44, 0x9e, 0x14, 0x9b, 0x0b, 0xf0, 0xda, 0x6e, 0x75,
1337 0x6f, 0x6c, 0xef, 0x9a, 0xb2, 0x31, 0x1a, 0x3f, 0x69, 0x91, 0x10, 0xc9, 0x0c, 0xd6, 0x75, 0x8e,
1338 0xce, 0xe0, 0x49, 0x7c, 0xb0, 0x57, 0x9f, 0xb5, 0x6b, 0xfc, 0x3e, 0x5d, 0x42, 0x2b, 0xf2, 0x4a,
1339 0xe1, 0xb2, 0xca, 0xff, 0xd7, 0x1e, 0xff, 0x11, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x5c, 0x3f, 0xfa,
1340 0x36, 0x0f, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001341}
1342
1343// Reference imports to suppress errors if they are not otherwise used.
1344var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001345var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001346
1347// This is a compile-time assertion to ensure that this generated file
1348// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001349const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001350
1351// BBSimClient is the client API for BBSim service.
1352//
1353// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1354type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001355 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001356 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001357 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301358 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001359 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001360 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001361 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001362 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001363 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001364 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001365 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001366 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001367 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001368 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001369 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301370 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001371 // Get all the Services
1372 GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error)
1373 // Get all the Services of an ONU by serial number
1374 GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001375 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001376 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001377 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301378 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001379 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301380 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001381 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001382 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001383 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301384 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001385 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301386 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001387 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001388 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001389 // Resatrt DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001390 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001391 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301392 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001393 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301394 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001395 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301396 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001397 // Chnage IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001398 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001399 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301400 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001401}
1402
1403type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04001404 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001405}
1406
Kent Hagerman60d62302020-03-10 17:02:36 -04001407func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001408 return &bBSimClient{cc}
1409}
1410
1411func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1412 out := new(VersionNumber)
1413 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1414 if err != nil {
1415 return nil, err
1416 }
1417 return out, nil
1418}
1419
Pragya Aryabd731ec2020-02-11 16:38:17 +05301420func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1421 out := new(LogLevel)
1422 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1423 if err != nil {
1424 return nil, err
1425 }
1426 return out, nil
1427}
1428
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001429func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1430 out := new(Olt)
1431 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1432 if err != nil {
1433 return nil, err
1434 }
1435 return out, nil
1436}
1437
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001438func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1439 out := new(Response)
1440 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1441 if err != nil {
1442 return nil, err
1443 }
1444 return out, nil
1445}
1446
1447func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1448 out := new(Response)
1449 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1450 if err != nil {
1451 return nil, err
1452 }
1453 return out, nil
1454}
1455
1456func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1457 out := new(Response)
1458 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1459 if err != nil {
1460 return nil, err
1461 }
1462 return out, nil
1463}
1464
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001465func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
1466 out := new(ONU)
1467 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
1468 if err != nil {
1469 return nil, err
1470 }
1471 return out, nil
1472}
1473
Pragya Aryabd731ec2020-02-11 16:38:17 +05301474func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
1475 out := new(ONUs)
1476 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001477 if err != nil {
1478 return nil, err
1479 }
1480 return out, nil
1481}
1482
Matteo Scandolo4a036262020-08-17 15:56:13 -07001483func (c *bBSimClient) GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error) {
1484 out := new(Services)
1485 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
1486 if err != nil {
1487 return nil, err
1488 }
1489 return out, nil
1490}
1491
1492func (c *bBSimClient) GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error) {
1493 out := new(Services)
1494 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuServices", in, out, opts...)
1495 if err != nil {
1496 return nil, err
1497 }
1498 return out, nil
1499}
1500
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001501func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1502 out := new(Response)
1503 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
1504 if err != nil {
1505 return nil, err
1506 }
1507 return out, nil
1508}
1509
Pragya Aryabd731ec2020-02-11 16:38:17 +05301510func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1511 out := new(Response)
1512 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
1513 if err != nil {
1514 return nil, err
1515 }
1516 return out, nil
1517}
1518
1519func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1520 out := new(Response)
1521 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
1522 if err != nil {
1523 return nil, err
1524 }
1525 return out, nil
1526}
1527
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001528func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1529 out := new(Response)
1530 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
1531 if err != nil {
1532 return nil, err
1533 }
1534 return out, nil
1535}
1536
Pragya Aryabd731ec2020-02-11 16:38:17 +05301537func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1538 out := new(Response)
1539 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
1540 if err != nil {
1541 return nil, err
1542 }
1543 return out, nil
1544}
1545
1546func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1547 out := new(Response)
1548 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
1549 if err != nil {
1550 return nil, err
1551 }
1552 return out, nil
1553}
1554
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001555func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1556 out := new(Response)
1557 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
1558 if err != nil {
1559 return nil, err
1560 }
1561 return out, nil
1562}
1563
1564func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1565 out := new(Response)
1566 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
1567 if err != nil {
1568 return nil, err
1569 }
1570 return out, nil
1571}
1572
Anand S Katti86552f92020-03-03 21:56:32 +05301573func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08001574 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05301575 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
1576 if err != nil {
1577 return nil, err
1578 }
1579 return out, nil
1580}
1581
1582func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
1583 out := new(Response)
1584 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08001585 if err != nil {
1586 return nil, err
1587 }
1588 return out, nil
1589}
1590
Pragya Arya8bdb4532020-03-02 17:08:09 +05301591func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
1592 out := new(Flows)
1593 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
1594 if err != nil {
1595 return nil, err
1596 }
1597 return out, nil
1598}
1599
Arjun E K57a7fcb2020-01-30 06:44:45 +00001600func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
1601 out := new(Response)
1602 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
1603 if err != nil {
1604 return nil, err
1605 }
1606 return out, nil
1607}
1608
Anand S Katti09541352020-01-29 15:54:01 +05301609func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
1610 out := new(ONUTrafficSchedulers)
1611 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
1612 if err != nil {
1613 return nil, err
1614 }
1615 return out, nil
1616}
1617
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001618// BBSimServer is the server API for BBSim service.
1619type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001620 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001621 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001622 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301623 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001624 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001625 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001626 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001627 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001628 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001629 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001630 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001631 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001632 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001633 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001634 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301635 GetONUs(context.Context, *Empty) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001636 // Get all the Services
1637 GetServices(context.Context, *Empty) (*Services, error)
1638 // Get all the Services of an ONU by serial number
1639 GetOnuServices(context.Context, *ONURequest) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001640 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001641 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001642 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301643 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001644 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301645 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001646 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001647 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001648 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301649 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001650 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301651 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001652 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001653 RestartEapol(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001654 // Resatrt DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001655 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001656 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301657 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001658 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301659 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001660 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301661 GetFlows(context.Context, *ONURequest) (*Flows, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001662 // Chnage IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001663 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001664 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301665 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001666}
1667
Pragya Aryabd731ec2020-02-11 16:38:17 +05301668// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
1669type UnimplementedBBSimServer struct {
1670}
1671
1672func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
1673 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
1674}
1675func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
1676 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
1677}
1678func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
1679 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
1680}
1681func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
1682 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
1683}
1684func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
1685 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
1686}
1687func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
1688 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
1689}
1690func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
1691 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
1692}
1693func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
1694 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
1695}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001696func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *Empty) (*Services, error) {
1697 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
1698}
1699func (*UnimplementedBBSimServer) GetOnuServices(ctx context.Context, req *ONURequest) (*Services, error) {
1700 return nil, status.Errorf(codes.Unimplemented, "method GetOnuServices not implemented")
1701}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301702func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
1703 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
1704}
1705func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1706 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
1707}
1708func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1709 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
1710}
1711func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
1712 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
1713}
1714func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1715 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
1716}
1717func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1718 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
1719}
1720func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
1721 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
1722}
1723func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
1724 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
1725}
1726func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
1727 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
1728}
1729func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
1730 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
1731}
1732func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
1733 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
1734}
1735func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
1736 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
1737}
1738func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
1739 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
1740}
1741
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001742func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
1743 s.RegisterService(&_BBSim_serviceDesc, srv)
1744}
1745
1746func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1747 in := new(Empty)
1748 if err := dec(in); err != nil {
1749 return nil, err
1750 }
1751 if interceptor == nil {
1752 return srv.(BBSimServer).Version(ctx, in)
1753 }
1754 info := &grpc.UnaryServerInfo{
1755 Server: srv,
1756 FullMethod: "/bbsim.BBSim/Version",
1757 }
1758 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1759 return srv.(BBSimServer).Version(ctx, req.(*Empty))
1760 }
1761 return interceptor(ctx, in, info, handler)
1762}
1763
Pragya Aryabd731ec2020-02-11 16:38:17 +05301764func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1765 in := new(LogLevel)
1766 if err := dec(in); err != nil {
1767 return nil, err
1768 }
1769 if interceptor == nil {
1770 return srv.(BBSimServer).SetLogLevel(ctx, in)
1771 }
1772 info := &grpc.UnaryServerInfo{
1773 Server: srv,
1774 FullMethod: "/bbsim.BBSim/SetLogLevel",
1775 }
1776 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1777 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
1778 }
1779 return interceptor(ctx, in, info, handler)
1780}
1781
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001782func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1783 in := new(Empty)
1784 if err := dec(in); err != nil {
1785 return nil, err
1786 }
1787 if interceptor == nil {
1788 return srv.(BBSimServer).GetOlt(ctx, in)
1789 }
1790 info := &grpc.UnaryServerInfo{
1791 Server: srv,
1792 FullMethod: "/bbsim.BBSim/GetOlt",
1793 }
1794 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1795 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
1796 }
1797 return interceptor(ctx, in, info, handler)
1798}
1799
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001800func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1801 in := new(Empty)
1802 if err := dec(in); err != nil {
1803 return nil, err
1804 }
1805 if interceptor == nil {
1806 return srv.(BBSimServer).PoweronOlt(ctx, in)
1807 }
1808 info := &grpc.UnaryServerInfo{
1809 Server: srv,
1810 FullMethod: "/bbsim.BBSim/PoweronOlt",
1811 }
1812 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1813 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
1814 }
1815 return interceptor(ctx, in, info, handler)
1816}
1817
1818func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1819 in := new(Empty)
1820 if err := dec(in); err != nil {
1821 return nil, err
1822 }
1823 if interceptor == nil {
1824 return srv.(BBSimServer).ShutdownOlt(ctx, in)
1825 }
1826 info := &grpc.UnaryServerInfo{
1827 Server: srv,
1828 FullMethod: "/bbsim.BBSim/ShutdownOlt",
1829 }
1830 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1831 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
1832 }
1833 return interceptor(ctx, in, info, handler)
1834}
1835
1836func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1837 in := new(Empty)
1838 if err := dec(in); err != nil {
1839 return nil, err
1840 }
1841 if interceptor == nil {
1842 return srv.(BBSimServer).RebootOlt(ctx, in)
1843 }
1844 info := &grpc.UnaryServerInfo{
1845 Server: srv,
1846 FullMethod: "/bbsim.BBSim/RebootOlt",
1847 }
1848 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1849 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
1850 }
1851 return interceptor(ctx, in, info, handler)
1852}
1853
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001854func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1855 in := new(ONURequest)
1856 if err := dec(in); err != nil {
1857 return nil, err
1858 }
1859 if interceptor == nil {
1860 return srv.(BBSimServer).GetONU(ctx, in)
1861 }
1862 info := &grpc.UnaryServerInfo{
1863 Server: srv,
1864 FullMethod: "/bbsim.BBSim/GetONU",
1865 }
1866 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1867 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
1868 }
1869 return interceptor(ctx, in, info, handler)
1870}
1871
Pragya Aryabd731ec2020-02-11 16:38:17 +05301872func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1873 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001874 if err := dec(in); err != nil {
1875 return nil, err
1876 }
1877 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301878 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001879 }
1880 info := &grpc.UnaryServerInfo{
1881 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05301882 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001883 }
1884 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301885 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001886 }
1887 return interceptor(ctx, in, info, handler)
1888}
1889
Matteo Scandolo4a036262020-08-17 15:56:13 -07001890func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1891 in := new(Empty)
1892 if err := dec(in); err != nil {
1893 return nil, err
1894 }
1895 if interceptor == nil {
1896 return srv.(BBSimServer).GetServices(ctx, in)
1897 }
1898 info := &grpc.UnaryServerInfo{
1899 Server: srv,
1900 FullMethod: "/bbsim.BBSim/GetServices",
1901 }
1902 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1903 return srv.(BBSimServer).GetServices(ctx, req.(*Empty))
1904 }
1905 return interceptor(ctx, in, info, handler)
1906}
1907
1908func _BBSim_GetOnuServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1909 in := new(ONURequest)
1910 if err := dec(in); err != nil {
1911 return nil, err
1912 }
1913 if interceptor == nil {
1914 return srv.(BBSimServer).GetOnuServices(ctx, in)
1915 }
1916 info := &grpc.UnaryServerInfo{
1917 Server: srv,
1918 FullMethod: "/bbsim.BBSim/GetOnuServices",
1919 }
1920 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1921 return srv.(BBSimServer).GetOnuServices(ctx, req.(*ONURequest))
1922 }
1923 return interceptor(ctx, in, info, handler)
1924}
1925
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001926func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1927 in := new(ONURequest)
1928 if err := dec(in); err != nil {
1929 return nil, err
1930 }
1931 if interceptor == nil {
1932 return srv.(BBSimServer).ShutdownONU(ctx, in)
1933 }
1934 info := &grpc.UnaryServerInfo{
1935 Server: srv,
1936 FullMethod: "/bbsim.BBSim/ShutdownONU",
1937 }
1938 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1939 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
1940 }
1941 return interceptor(ctx, in, info, handler)
1942}
1943
Pragya Aryabd731ec2020-02-11 16:38:17 +05301944func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1945 in := new(Empty)
1946 if err := dec(in); err != nil {
1947 return nil, err
1948 }
1949 if interceptor == nil {
1950 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
1951 }
1952 info := &grpc.UnaryServerInfo{
1953 Server: srv,
1954 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
1955 }
1956 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1957 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
1958 }
1959 return interceptor(ctx, in, info, handler)
1960}
1961
1962func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1963 in := new(PONRequest)
1964 if err := dec(in); err != nil {
1965 return nil, err
1966 }
1967 if interceptor == nil {
1968 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
1969 }
1970 info := &grpc.UnaryServerInfo{
1971 Server: srv,
1972 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
1973 }
1974 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1975 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
1976 }
1977 return interceptor(ctx, in, info, handler)
1978}
1979
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001980func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1981 in := new(ONURequest)
1982 if err := dec(in); err != nil {
1983 return nil, err
1984 }
1985 if interceptor == nil {
1986 return srv.(BBSimServer).PoweronONU(ctx, in)
1987 }
1988 info := &grpc.UnaryServerInfo{
1989 Server: srv,
1990 FullMethod: "/bbsim.BBSim/PoweronONU",
1991 }
1992 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1993 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
1994 }
1995 return interceptor(ctx, in, info, handler)
1996}
1997
Pragya Aryabd731ec2020-02-11 16:38:17 +05301998func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1999 in := new(Empty)
2000 if err := dec(in); err != nil {
2001 return nil, err
2002 }
2003 if interceptor == nil {
2004 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2005 }
2006 info := &grpc.UnaryServerInfo{
2007 Server: srv,
2008 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2009 }
2010 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2011 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2012 }
2013 return interceptor(ctx, in, info, handler)
2014}
2015
2016func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2017 in := new(PONRequest)
2018 if err := dec(in); err != nil {
2019 return nil, err
2020 }
2021 if interceptor == nil {
2022 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2023 }
2024 info := &grpc.UnaryServerInfo{
2025 Server: srv,
2026 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2027 }
2028 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2029 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2030 }
2031 return interceptor(ctx, in, info, handler)
2032}
2033
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002034func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2035 in := new(ONURequest)
2036 if err := dec(in); err != nil {
2037 return nil, err
2038 }
2039 if interceptor == nil {
2040 return srv.(BBSimServer).RestartEapol(ctx, in)
2041 }
2042 info := &grpc.UnaryServerInfo{
2043 Server: srv,
2044 FullMethod: "/bbsim.BBSim/RestartEapol",
2045 }
2046 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2047 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
2048 }
2049 return interceptor(ctx, in, info, handler)
2050}
2051
2052func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2053 in := new(ONURequest)
2054 if err := dec(in); err != nil {
2055 return nil, err
2056 }
2057 if interceptor == nil {
2058 return srv.(BBSimServer).RestartDhcp(ctx, in)
2059 }
2060 info := &grpc.UnaryServerInfo{
2061 Server: srv,
2062 FullMethod: "/bbsim.BBSim/RestartDhcp",
2063 }
2064 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2065 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
2066 }
2067 return interceptor(ctx, in, info, handler)
2068}
2069
Anand S Katti86552f92020-03-03 21:56:32 +05302070func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2071 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002072 if err := dec(in); err != nil {
2073 return nil, err
2074 }
2075 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302076 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002077 }
2078 info := &grpc.UnaryServerInfo{
2079 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302080 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002081 }
2082 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302083 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2084 }
2085 return interceptor(ctx, in, info, handler)
2086}
2087
2088func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2089 in := new(OLTAlarmRequest)
2090 if err := dec(in); err != nil {
2091 return nil, err
2092 }
2093 if interceptor == nil {
2094 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2095 }
2096 info := &grpc.UnaryServerInfo{
2097 Server: srv,
2098 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2099 }
2100 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2101 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002102 }
2103 return interceptor(ctx, in, info, handler)
2104}
2105
Pragya Arya8bdb4532020-03-02 17:08:09 +05302106func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2107 in := new(ONURequest)
2108 if err := dec(in); err != nil {
2109 return nil, err
2110 }
2111 if interceptor == nil {
2112 return srv.(BBSimServer).GetFlows(ctx, in)
2113 }
2114 info := &grpc.UnaryServerInfo{
2115 Server: srv,
2116 FullMethod: "/bbsim.BBSim/GetFlows",
2117 }
2118 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2119 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2120 }
2121 return interceptor(ctx, in, info, handler)
2122}
2123
Arjun E K57a7fcb2020-01-30 06:44:45 +00002124func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2125 in := new(IgmpRequest)
2126 if err := dec(in); err != nil {
2127 return nil, err
2128 }
2129 if interceptor == nil {
2130 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2131 }
2132 info := &grpc.UnaryServerInfo{
2133 Server: srv,
2134 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2135 }
2136 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2137 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2138 }
2139 return interceptor(ctx, in, info, handler)
2140}
2141
Anand S Katti09541352020-01-29 15:54:01 +05302142func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2143 in := new(ONURequest)
2144 if err := dec(in); err != nil {
2145 return nil, err
2146 }
2147 if interceptor == nil {
2148 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2149 }
2150 info := &grpc.UnaryServerInfo{
2151 Server: srv,
2152 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2153 }
2154 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2155 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2156 }
2157 return interceptor(ctx, in, info, handler)
2158}
2159
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002160var _BBSim_serviceDesc = grpc.ServiceDesc{
2161 ServiceName: "bbsim.BBSim",
2162 HandlerType: (*BBSimServer)(nil),
2163 Methods: []grpc.MethodDesc{
2164 {
2165 MethodName: "Version",
2166 Handler: _BBSim_Version_Handler,
2167 },
2168 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302169 MethodName: "SetLogLevel",
2170 Handler: _BBSim_SetLogLevel_Handler,
2171 },
2172 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002173 MethodName: "GetOlt",
2174 Handler: _BBSim_GetOlt_Handler,
2175 },
2176 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002177 MethodName: "PoweronOlt",
2178 Handler: _BBSim_PoweronOlt_Handler,
2179 },
2180 {
2181 MethodName: "ShutdownOlt",
2182 Handler: _BBSim_ShutdownOlt_Handler,
2183 },
2184 {
2185 MethodName: "RebootOlt",
2186 Handler: _BBSim_RebootOlt_Handler,
2187 },
2188 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002189 MethodName: "GetONU",
2190 Handler: _BBSim_GetONU_Handler,
2191 },
2192 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302193 MethodName: "GetONUs",
2194 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002195 },
2196 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002197 MethodName: "GetServices",
2198 Handler: _BBSim_GetServices_Handler,
2199 },
2200 {
2201 MethodName: "GetOnuServices",
2202 Handler: _BBSim_GetOnuServices_Handler,
2203 },
2204 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002205 MethodName: "ShutdownONU",
2206 Handler: _BBSim_ShutdownONU_Handler,
2207 },
2208 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302209 MethodName: "ShutdownAllONUs",
2210 Handler: _BBSim_ShutdownAllONUs_Handler,
2211 },
2212 {
2213 MethodName: "ShutdownONUsOnPON",
2214 Handler: _BBSim_ShutdownONUsOnPON_Handler,
2215 },
2216 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002217 MethodName: "PoweronONU",
2218 Handler: _BBSim_PoweronONU_Handler,
2219 },
2220 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302221 MethodName: "PoweronAllONUs",
2222 Handler: _BBSim_PoweronAllONUs_Handler,
2223 },
2224 {
2225 MethodName: "PoweronONUsOnPON",
2226 Handler: _BBSim_PoweronONUsOnPON_Handler,
2227 },
2228 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002229 MethodName: "RestartEapol",
2230 Handler: _BBSim_RestartEapol_Handler,
2231 },
2232 {
2233 MethodName: "RestartDhcp",
2234 Handler: _BBSim_RestartDhcp_Handler,
2235 },
Scott Baker41724b82020-01-21 19:54:53 -08002236 {
Anand S Katti86552f92020-03-03 21:56:32 +05302237 MethodName: "SetOnuAlarmIndication",
2238 Handler: _BBSim_SetOnuAlarmIndication_Handler,
2239 },
2240 {
2241 MethodName: "SetOltAlarmIndication",
2242 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08002243 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00002244 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05302245 MethodName: "GetFlows",
2246 Handler: _BBSim_GetFlows_Handler,
2247 },
2248 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00002249 MethodName: "ChangeIgmpState",
2250 Handler: _BBSim_ChangeIgmpState_Handler,
2251 },
Anand S Katti09541352020-01-29 15:54:01 +05302252 {
2253 MethodName: "GetOnuTrafficSchedulers",
2254 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
2255 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002256 },
2257 Streams: []grpc.StreamDesc{},
2258 Metadata: "api/bbsim/bbsim.proto",
2259}