blob: e9b3f5676f3e8cb920fc3e3352bfdde0813b3abf [file] [log] [blame]
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: api/bbsim/bbsim.proto
3
4package bbsim
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
Matteo Scandolo4f4ac792020-10-01 16:33:21 -070010 openolt "github.com/opencord/voltha-protos/v4/go/openolt"
11 tech_profile "github.com/opencord/voltha-protos/v4/go/tech_profile"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070012 grpc "google.golang.org/grpc"
Pragya Aryabd731ec2020-02-11 16:38:17 +053013 codes "google.golang.org/grpc/codes"
14 status "google.golang.org/grpc/status"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070015 math "math"
16)
17
18// Reference imports to suppress errors if they are not otherwise used.
19var _ = proto.Marshal
20var _ = fmt.Errorf
21var _ = math.Inf
22
23// This is a compile-time assertion to ensure that this generated file
24// is compatible with the proto package it is being compiled against.
25// A compilation error at this line likely means your copy of the
26// proto package needs to be updated.
27const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
28
Arjun E K57a7fcb2020-01-30 06:44:45 +000029type SubActionTypes int32
30
31const (
Arjun E Kdd443f02020-02-07 15:24:01 +000032 SubActionTypes_JOIN SubActionTypes = 0
33 SubActionTypes_LEAVE SubActionTypes = 1
34 SubActionTypes_JOINV3 SubActionTypes = 2
Arjun E K57a7fcb2020-01-30 06:44:45 +000035)
36
37var SubActionTypes_name = map[int32]string{
38 0: "JOIN",
39 1: "LEAVE",
Arjun E Kdd443f02020-02-07 15:24:01 +000040 2: "JOINV3",
Arjun E K57a7fcb2020-01-30 06:44:45 +000041}
42
43var SubActionTypes_value = map[string]int32{
Arjun E Kdd443f02020-02-07 15:24:01 +000044 "JOIN": 0,
45 "LEAVE": 1,
46 "JOINV3": 2,
Arjun E K57a7fcb2020-01-30 06:44:45 +000047}
48
49func (x SubActionTypes) String() string {
50 return proto.EnumName(SubActionTypes_name, int32(x))
51}
52
53func (SubActionTypes) EnumDescriptor() ([]byte, []int) {
54 return fileDescriptor_ef7750073d18011b, []int{0}
55}
56
Scott Baker41724b82020-01-21 19:54:53 -080057// These types correspond to the messages permitted in the oneof
58// in AlarmIndication in the openolt protos
59type AlarmType_Types int32
60
61const (
62 AlarmType_LOS AlarmType_Types = 0
63 AlarmType_DYING_GASP AlarmType_Types = 1
64 AlarmType_ONU_ALARM AlarmType_Types = 2
65 AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3
66 AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4
67 AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5
68 AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6
69 AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7
70 AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8
71 AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9
72 AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10
73 AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11
74 AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12
75 // These break out ONU_ALARM, which is a single message, but
76 // includes statuses for these six alarms.
77 AlarmType_ONU_ALARM_LOS AlarmType_Types = 13
78 AlarmType_ONU_ALARM_LOB AlarmType_Types = 14
79 AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15
80 AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16
81 AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17
82 AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18
83)
84
85var AlarmType_Types_name = map[int32]string{
86 0: "LOS",
87 1: "DYING_GASP",
88 2: "ONU_ALARM",
89 3: "ONU_STARTUP_FAILURE",
90 4: "ONU_SIGNAL_DEGRADE",
91 5: "ONU_DRIFT_OF_WINDOW",
92 6: "ONU_LOSS_OF_OMCI_CHANNEL",
93 7: "ONU_SIGNALS_FAILURE",
94 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING",
95 9: "ONU_ACTIVATION_FAILURE",
96 10: "ONU_PROCESSING_ERROR",
97 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE",
98 12: "ONU_ITU_PON_STATS",
99 13: "ONU_ALARM_LOS",
100 14: "ONU_ALARM_LOB",
101 15: "ONU_ALARM_LOPC_MISS",
102 16: "ONU_ALARM_LOPC_MIC_ERROR",
103 17: "ONU_ALARM_LOFI",
104 18: "ONU_ALARM_LOAMI",
105}
106
107var AlarmType_Types_value = map[string]int32{
108 "LOS": 0,
109 "DYING_GASP": 1,
110 "ONU_ALARM": 2,
111 "ONU_STARTUP_FAILURE": 3,
112 "ONU_SIGNAL_DEGRADE": 4,
113 "ONU_DRIFT_OF_WINDOW": 5,
114 "ONU_LOSS_OF_OMCI_CHANNEL": 6,
115 "ONU_SIGNALS_FAILURE": 7,
116 "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8,
117 "ONU_ACTIVATION_FAILURE": 9,
118 "ONU_PROCESSING_ERROR": 10,
119 "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11,
120 "ONU_ITU_PON_STATS": 12,
121 "ONU_ALARM_LOS": 13,
122 "ONU_ALARM_LOB": 14,
123 "ONU_ALARM_LOPC_MISS": 15,
124 "ONU_ALARM_LOPC_MIC_ERROR": 16,
125 "ONU_ALARM_LOFI": 17,
126 "ONU_ALARM_LOAMI": 18,
127}
128
129func (x AlarmType_Types) String() string {
130 return proto.EnumName(AlarmType_Types_name, int32(x))
131}
132
133func (AlarmType_Types) EnumDescriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700134 return fileDescriptor_ef7750073d18011b, []int{10, 0}
Scott Baker41724b82020-01-21 19:54:53 -0800135}
136
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700137type PONPort struct {
138 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
139 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
140 XXX_NoUnkeyedLiteral struct{} `json:"-"`
141 XXX_unrecognized []byte `json:"-"`
142 XXX_sizecache int32 `json:"-"`
143}
144
145func (m *PONPort) Reset() { *m = PONPort{} }
146func (m *PONPort) String() string { return proto.CompactTextString(m) }
147func (*PONPort) ProtoMessage() {}
148func (*PONPort) Descriptor() ([]byte, []int) {
149 return fileDescriptor_ef7750073d18011b, []int{0}
150}
151
152func (m *PONPort) XXX_Unmarshal(b []byte) error {
153 return xxx_messageInfo_PONPort.Unmarshal(m, b)
154}
155func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
156 return xxx_messageInfo_PONPort.Marshal(b, m, deterministic)
157}
158func (m *PONPort) XXX_Merge(src proto.Message) {
159 xxx_messageInfo_PONPort.Merge(m, src)
160}
161func (m *PONPort) XXX_Size() int {
162 return xxx_messageInfo_PONPort.Size(m)
163}
164func (m *PONPort) XXX_DiscardUnknown() {
165 xxx_messageInfo_PONPort.DiscardUnknown(m)
166}
167
168var xxx_messageInfo_PONPort proto.InternalMessageInfo
169
170func (m *PONPort) GetID() int32 {
171 if m != nil {
172 return m.ID
173 }
174 return 0
175}
176
177func (m *PONPort) GetOperState() string {
178 if m != nil {
179 return m.OperState
180 }
181 return ""
182}
183
184type NNIPort struct {
185 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
186 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
187 XXX_NoUnkeyedLiteral struct{} `json:"-"`
188 XXX_unrecognized []byte `json:"-"`
189 XXX_sizecache int32 `json:"-"`
190}
191
192func (m *NNIPort) Reset() { *m = NNIPort{} }
193func (m *NNIPort) String() string { return proto.CompactTextString(m) }
194func (*NNIPort) ProtoMessage() {}
195func (*NNIPort) Descriptor() ([]byte, []int) {
196 return fileDescriptor_ef7750073d18011b, []int{1}
197}
198
199func (m *NNIPort) XXX_Unmarshal(b []byte) error {
200 return xxx_messageInfo_NNIPort.Unmarshal(m, b)
201}
202func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
203 return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic)
204}
205func (m *NNIPort) XXX_Merge(src proto.Message) {
206 xxx_messageInfo_NNIPort.Merge(m, src)
207}
208func (m *NNIPort) XXX_Size() int {
209 return xxx_messageInfo_NNIPort.Size(m)
210}
211func (m *NNIPort) XXX_DiscardUnknown() {
212 xxx_messageInfo_NNIPort.DiscardUnknown(m)
213}
214
215var xxx_messageInfo_NNIPort proto.InternalMessageInfo
216
217func (m *NNIPort) GetID() int32 {
218 if m != nil {
219 return m.ID
220 }
221 return 0
222}
223
224func (m *NNIPort) GetOperState() string {
225 if m != nil {
226 return m.OperState
227 }
228 return ""
229}
230
231type Olt struct {
232 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
233 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
234 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
235 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
rajeshf921f882020-03-06 18:24:28 +0530236 IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700237 NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"`
238 PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"`
239 XXX_NoUnkeyedLiteral struct{} `json:"-"`
240 XXX_unrecognized []byte `json:"-"`
241 XXX_sizecache int32 `json:"-"`
242}
243
244func (m *Olt) Reset() { *m = Olt{} }
245func (m *Olt) String() string { return proto.CompactTextString(m) }
246func (*Olt) ProtoMessage() {}
247func (*Olt) Descriptor() ([]byte, []int) {
248 return fileDescriptor_ef7750073d18011b, []int{2}
249}
250
251func (m *Olt) XXX_Unmarshal(b []byte) error {
252 return xxx_messageInfo_Olt.Unmarshal(m, b)
253}
254func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
255 return xxx_messageInfo_Olt.Marshal(b, m, deterministic)
256}
257func (m *Olt) XXX_Merge(src proto.Message) {
258 xxx_messageInfo_Olt.Merge(m, src)
259}
260func (m *Olt) XXX_Size() int {
261 return xxx_messageInfo_Olt.Size(m)
262}
263func (m *Olt) XXX_DiscardUnknown() {
264 xxx_messageInfo_Olt.DiscardUnknown(m)
265}
266
267var xxx_messageInfo_Olt proto.InternalMessageInfo
268
269func (m *Olt) GetID() int32 {
270 if m != nil {
271 return m.ID
272 }
273 return 0
274}
275
276func (m *Olt) GetSerialNumber() string {
277 if m != nil {
278 return m.SerialNumber
279 }
280 return ""
281}
282
283func (m *Olt) GetOperState() string {
284 if m != nil {
285 return m.OperState
286 }
287 return ""
288}
289
290func (m *Olt) GetInternalState() string {
291 if m != nil {
292 return m.InternalState
293 }
294 return ""
295}
296
rajeshf921f882020-03-06 18:24:28 +0530297func (m *Olt) GetIP() string {
298 if m != nil {
299 return m.IP
300 }
301 return ""
302}
303
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700304func (m *Olt) GetNNIPorts() []*NNIPort {
305 if m != nil {
306 return m.NNIPorts
307 }
308 return nil
309}
310
311func (m *Olt) GetPONPorts() []*PONPort {
312 if m != nil {
313 return m.PONPorts
314 }
315 return nil
316}
317
318type ONU struct {
Matteo 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 Scandolo618a6582020-09-09 12:21:29 -0700426 IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"`
Matteo Scandolo4a036262020-08-17 15:56:13 -0700427 XXX_NoUnkeyedLiteral struct{} `json:"-"`
428 XXX_unrecognized []byte `json:"-"`
429 XXX_sizecache int32 `json:"-"`
430}
431
432func (m *Service) Reset() { *m = Service{} }
433func (m *Service) String() string { return proto.CompactTextString(m) }
434func (*Service) ProtoMessage() {}
435func (*Service) Descriptor() ([]byte, []int) {
436 return fileDescriptor_ef7750073d18011b, []int{4}
437}
438
439func (m *Service) XXX_Unmarshal(b []byte) error {
440 return xxx_messageInfo_Service.Unmarshal(m, b)
441}
442func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
443 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
444}
445func (m *Service) XXX_Merge(src proto.Message) {
446 xxx_messageInfo_Service.Merge(m, src)
447}
448func (m *Service) XXX_Size() int {
449 return xxx_messageInfo_Service.Size(m)
450}
451func (m *Service) XXX_DiscardUnknown() {
452 xxx_messageInfo_Service.DiscardUnknown(m)
453}
454
455var xxx_messageInfo_Service proto.InternalMessageInfo
456
457func (m *Service) GetName() string {
458 if m != nil {
459 return m.Name
460 }
461 return ""
462}
463
464func (m *Service) GetHwAddress() string {
465 if m != nil {
466 return m.HwAddress
467 }
468 return ""
469}
470
471func (m *Service) GetOnuSn() string {
472 if m != nil {
473 return m.OnuSn
474 }
475 return ""
476}
477
478func (m *Service) GetSTag() int32 {
479 if m != nil {
480 return m.STag
481 }
482 return 0
483}
484
485func (m *Service) GetCTag() int32 {
486 if m != nil {
487 return m.CTag
488 }
489 return 0
490}
491
492func (m *Service) GetNeedsEapol() bool {
493 if m != nil {
494 return m.NeedsEapol
495 }
496 return false
497}
498
499func (m *Service) GetNeedsDhcp() bool {
500 if m != nil {
501 return m.NeedsDhcp
502 }
503 return false
504}
505
506func (m *Service) GetNeedsIgmp() bool {
507 if m != nil {
508 return m.NeedsIgmp
509 }
510 return false
511}
512
513func (m *Service) GetGemPort() int32 {
514 if m != nil {
515 return m.GemPort
516 }
517 return 0
518}
519
520func (m *Service) GetEapolState() string {
521 if m != nil {
522 return m.EapolState
523 }
524 return ""
525}
526
527func (m *Service) GetDhcpState() string {
528 if m != nil {
529 return m.DhcpState
530 }
531 return ""
532}
533
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700534func (m *Service) GetInternalState() string {
535 if m != nil {
536 return m.InternalState
537 }
538 return ""
539}
540
Matteo Scandolo618a6582020-09-09 12:21:29 -0700541func (m *Service) GetIGMPState() string {
542 if m != nil {
543 return m.IGMPState
544 }
545 return ""
546}
547
Anand S Katti09541352020-01-29 15:54:01 +0530548type ONUTrafficSchedulers struct {
549 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
550 XXX_NoUnkeyedLiteral struct{} `json:"-"`
551 XXX_unrecognized []byte `json:"-"`
552 XXX_sizecache int32 `json:"-"`
553}
554
555func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
556func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
557func (*ONUTrafficSchedulers) ProtoMessage() {}
558func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700559 return fileDescriptor_ef7750073d18011b, []int{5}
Anand S Katti09541352020-01-29 15:54:01 +0530560}
561
562func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
563 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
564}
565func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
566 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
567}
568func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
569 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
570}
571func (m *ONUTrafficSchedulers) XXX_Size() int {
572 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
573}
574func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
575 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
576}
577
578var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
579
580func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
581 if m != nil {
582 return m.TraffSchedulers
583 }
584 return nil
585}
586
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700587type ONUs struct {
588 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
589 XXX_NoUnkeyedLiteral struct{} `json:"-"`
590 XXX_unrecognized []byte `json:"-"`
591 XXX_sizecache int32 `json:"-"`
592}
593
594func (m *ONUs) Reset() { *m = ONUs{} }
595func (m *ONUs) String() string { return proto.CompactTextString(m) }
596func (*ONUs) ProtoMessage() {}
597func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700598 return fileDescriptor_ef7750073d18011b, []int{6}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700599}
600
601func (m *ONUs) XXX_Unmarshal(b []byte) error {
602 return xxx_messageInfo_ONUs.Unmarshal(m, b)
603}
604func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
605 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
606}
607func (m *ONUs) XXX_Merge(src proto.Message) {
608 xxx_messageInfo_ONUs.Merge(m, src)
609}
610func (m *ONUs) XXX_Size() int {
611 return xxx_messageInfo_ONUs.Size(m)
612}
613func (m *ONUs) XXX_DiscardUnknown() {
614 xxx_messageInfo_ONUs.DiscardUnknown(m)
615}
616
617var xxx_messageInfo_ONUs proto.InternalMessageInfo
618
619func (m *ONUs) GetItems() []*ONU {
620 if m != nil {
621 return m.Items
622 }
623 return nil
624}
625
Matteo Scandolo4a036262020-08-17 15:56:13 -0700626type Services struct {
627 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
628 XXX_NoUnkeyedLiteral struct{} `json:"-"`
629 XXX_unrecognized []byte `json:"-"`
630 XXX_sizecache int32 `json:"-"`
631}
632
633func (m *Services) Reset() { *m = Services{} }
634func (m *Services) String() string { return proto.CompactTextString(m) }
635func (*Services) ProtoMessage() {}
636func (*Services) Descriptor() ([]byte, []int) {
637 return fileDescriptor_ef7750073d18011b, []int{7}
638}
639
640func (m *Services) XXX_Unmarshal(b []byte) error {
641 return xxx_messageInfo_Services.Unmarshal(m, b)
642}
643func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
644 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
645}
646func (m *Services) XXX_Merge(src proto.Message) {
647 xxx_messageInfo_Services.Merge(m, src)
648}
649func (m *Services) XXX_Size() int {
650 return xxx_messageInfo_Services.Size(m)
651}
652func (m *Services) XXX_DiscardUnknown() {
653 xxx_messageInfo_Services.DiscardUnknown(m)
654}
655
656var xxx_messageInfo_Services proto.InternalMessageInfo
657
658func (m *Services) GetItems() []*Service {
659 if m != nil {
660 return m.Items
661 }
662 return nil
663}
664
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700665type ONURequest struct {
666 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
667 XXX_NoUnkeyedLiteral struct{} `json:"-"`
668 XXX_unrecognized []byte `json:"-"`
669 XXX_sizecache int32 `json:"-"`
670}
671
672func (m *ONURequest) Reset() { *m = ONURequest{} }
673func (m *ONURequest) String() string { return proto.CompactTextString(m) }
674func (*ONURequest) ProtoMessage() {}
675func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700676 return fileDescriptor_ef7750073d18011b, []int{8}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700677}
678
679func (m *ONURequest) XXX_Unmarshal(b []byte) error {
680 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
681}
682func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
683 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
684}
685func (m *ONURequest) XXX_Merge(src proto.Message) {
686 xxx_messageInfo_ONURequest.Merge(m, src)
687}
688func (m *ONURequest) XXX_Size() int {
689 return xxx_messageInfo_ONURequest.Size(m)
690}
691func (m *ONURequest) XXX_DiscardUnknown() {
692 xxx_messageInfo_ONURequest.DiscardUnknown(m)
693}
694
695var xxx_messageInfo_ONURequest proto.InternalMessageInfo
696
697func (m *ONURequest) GetSerialNumber() string {
698 if m != nil {
699 return m.SerialNumber
700 }
701 return ""
702}
703
Pragya Aryabd731ec2020-02-11 16:38:17 +0530704type PONRequest struct {
705 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
706 XXX_NoUnkeyedLiteral struct{} `json:"-"`
707 XXX_unrecognized []byte `json:"-"`
708 XXX_sizecache int32 `json:"-"`
709}
710
711func (m *PONRequest) Reset() { *m = PONRequest{} }
712func (m *PONRequest) String() string { return proto.CompactTextString(m) }
713func (*PONRequest) ProtoMessage() {}
714func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700715 return fileDescriptor_ef7750073d18011b, []int{9}
Pragya Aryabd731ec2020-02-11 16:38:17 +0530716}
717
718func (m *PONRequest) XXX_Unmarshal(b []byte) error {
719 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
720}
721func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
722 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
723}
724func (m *PONRequest) XXX_Merge(src proto.Message) {
725 xxx_messageInfo_PONRequest.Merge(m, src)
726}
727func (m *PONRequest) XXX_Size() int {
728 return xxx_messageInfo_PONRequest.Size(m)
729}
730func (m *PONRequest) XXX_DiscardUnknown() {
731 xxx_messageInfo_PONRequest.DiscardUnknown(m)
732}
733
734var xxx_messageInfo_PONRequest proto.InternalMessageInfo
735
736func (m *PONRequest) GetPonPortId() uint32 {
737 if m != nil {
738 return m.PonPortId
739 }
740 return 0
741}
742
Scott Baker41724b82020-01-21 19:54:53 -0800743type AlarmType struct {
744 XXX_NoUnkeyedLiteral struct{} `json:"-"`
745 XXX_unrecognized []byte `json:"-"`
746 XXX_sizecache int32 `json:"-"`
747}
748
749func (m *AlarmType) Reset() { *m = AlarmType{} }
750func (m *AlarmType) String() string { return proto.CompactTextString(m) }
751func (*AlarmType) ProtoMessage() {}
752func (*AlarmType) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700753 return fileDescriptor_ef7750073d18011b, []int{10}
Scott Baker41724b82020-01-21 19:54:53 -0800754}
755
756func (m *AlarmType) XXX_Unmarshal(b []byte) error {
757 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
758}
759func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
760 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
761}
762func (m *AlarmType) XXX_Merge(src proto.Message) {
763 xxx_messageInfo_AlarmType.Merge(m, src)
764}
765func (m *AlarmType) XXX_Size() int {
766 return xxx_messageInfo_AlarmType.Size(m)
767}
768func (m *AlarmType) XXX_DiscardUnknown() {
769 xxx_messageInfo_AlarmType.DiscardUnknown(m)
770}
771
772var xxx_messageInfo_AlarmType proto.InternalMessageInfo
773
774type AlarmParameter struct {
775 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
776 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
777 XXX_NoUnkeyedLiteral struct{} `json:"-"`
778 XXX_unrecognized []byte `json:"-"`
779 XXX_sizecache int32 `json:"-"`
780}
781
782func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
783func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
784func (*AlarmParameter) ProtoMessage() {}
785func (*AlarmParameter) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700786 return fileDescriptor_ef7750073d18011b, []int{11}
Scott Baker41724b82020-01-21 19:54:53 -0800787}
788
789func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
790 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
791}
792func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
793 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
794}
795func (m *AlarmParameter) XXX_Merge(src proto.Message) {
796 xxx_messageInfo_AlarmParameter.Merge(m, src)
797}
798func (m *AlarmParameter) XXX_Size() int {
799 return xxx_messageInfo_AlarmParameter.Size(m)
800}
801func (m *AlarmParameter) XXX_DiscardUnknown() {
802 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
803}
804
805var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
806
807func (m *AlarmParameter) GetKey() string {
808 if m != nil {
809 return m.Key
810 }
811 return ""
812}
813
814func (m *AlarmParameter) GetValue() string {
815 if m != nil {
816 return m.Value
817 }
818 return ""
819}
820
Anand S Katti86552f92020-03-03 21:56:32 +0530821// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +0530822// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -0800823// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +0530824type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +0530825 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -0800826 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
827 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
828 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
829 XXX_NoUnkeyedLiteral struct{} `json:"-"`
830 XXX_unrecognized []byte `json:"-"`
831 XXX_sizecache int32 `json:"-"`
832}
833
Anand S Katti86552f92020-03-03 21:56:32 +0530834func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
835func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
836func (*ONUAlarmRequest) ProtoMessage() {}
837func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700838 return fileDescriptor_ef7750073d18011b, []int{12}
Scott Baker41724b82020-01-21 19:54:53 -0800839}
840
Anand S Katti86552f92020-03-03 21:56:32 +0530841func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
842 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -0800843}
Anand S Katti86552f92020-03-03 21:56:32 +0530844func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
845 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -0800846}
Anand S Katti86552f92020-03-03 21:56:32 +0530847func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
848 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -0800849}
Anand S Katti86552f92020-03-03 21:56:32 +0530850func (m *ONUAlarmRequest) XXX_Size() int {
851 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -0800852}
Anand S Katti86552f92020-03-03 21:56:32 +0530853func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
854 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -0800855}
856
Anand S Katti86552f92020-03-03 21:56:32 +0530857var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -0800858
Anand S Katti86552f92020-03-03 21:56:32 +0530859func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -0800860 if m != nil {
861 return m.AlarmType
862 }
Pragya Arya694ece02020-02-07 13:03:47 +0530863 return ""
Scott Baker41724b82020-01-21 19:54:53 -0800864}
865
Anand S Katti86552f92020-03-03 21:56:32 +0530866func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -0800867 if m != nil {
868 return m.SerialNumber
869 }
870 return ""
871}
872
Anand S Katti86552f92020-03-03 21:56:32 +0530873func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -0800874 if m != nil {
875 return m.Status
876 }
877 return ""
878}
879
Anand S Katti86552f92020-03-03 21:56:32 +0530880func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -0800881 if m != nil {
882 return m.Parameters
883 }
884 return nil
885}
886
Anand S Katti86552f92020-03-03 21:56:32 +0530887// OLT alarm request
888type OLTAlarmRequest struct {
889 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
890 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
891 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
892 XXX_NoUnkeyedLiteral struct{} `json:"-"`
893 XXX_unrecognized []byte `json:"-"`
894 XXX_sizecache int32 `json:"-"`
895}
896
897func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
898func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
899func (*OLTAlarmRequest) ProtoMessage() {}
900func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700901 return fileDescriptor_ef7750073d18011b, []int{13}
Anand S Katti86552f92020-03-03 21:56:32 +0530902}
903
904func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
905 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
906}
907func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
908 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
909}
910func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
911 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
912}
913func (m *OLTAlarmRequest) XXX_Size() int {
914 return xxx_messageInfo_OLTAlarmRequest.Size(m)
915}
916func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
917 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
918}
919
920var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
921
922func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
923 if m != nil {
924 return m.InterfaceID
925 }
926 return 0
927}
928
929func (m *OLTAlarmRequest) GetInterfaceType() string {
930 if m != nil {
931 return m.InterfaceType
932 }
933 return ""
934}
935
936func (m *OLTAlarmRequest) GetStatus() string {
937 if m != nil {
938 return m.Status
939 }
940 return ""
941}
942
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700943type VersionNumber struct {
944 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
945 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
946 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
947 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
948 XXX_NoUnkeyedLiteral struct{} `json:"-"`
949 XXX_unrecognized []byte `json:"-"`
950 XXX_sizecache int32 `json:"-"`
951}
952
953func (m *VersionNumber) Reset() { *m = VersionNumber{} }
954func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
955func (*VersionNumber) ProtoMessage() {}
956func (*VersionNumber) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700957 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700958}
959
960func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
961 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
962}
963func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
964 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
965}
966func (m *VersionNumber) XXX_Merge(src proto.Message) {
967 xxx_messageInfo_VersionNumber.Merge(m, src)
968}
969func (m *VersionNumber) XXX_Size() int {
970 return xxx_messageInfo_VersionNumber.Size(m)
971}
972func (m *VersionNumber) XXX_DiscardUnknown() {
973 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
974}
975
976var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
977
978func (m *VersionNumber) GetVersion() string {
979 if m != nil {
980 return m.Version
981 }
982 return ""
983}
984
985func (m *VersionNumber) GetBuildTime() string {
986 if m != nil {
987 return m.BuildTime
988 }
989 return ""
990}
991
992func (m *VersionNumber) GetCommitHash() string {
993 if m != nil {
994 return m.CommitHash
995 }
996 return ""
997}
998
999func (m *VersionNumber) GetGitStatus() string {
1000 if m != nil {
1001 return m.GitStatus
1002 }
1003 return ""
1004}
1005
1006type LogLevel struct {
1007 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
1008 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
1009 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1010 XXX_unrecognized []byte `json:"-"`
1011 XXX_sizecache int32 `json:"-"`
1012}
1013
1014func (m *LogLevel) Reset() { *m = LogLevel{} }
1015func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1016func (*LogLevel) ProtoMessage() {}
1017func (*LogLevel) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001018 return fileDescriptor_ef7750073d18011b, []int{15}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001019}
1020
1021func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1022 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1023}
1024func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1025 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1026}
1027func (m *LogLevel) XXX_Merge(src proto.Message) {
1028 xxx_messageInfo_LogLevel.Merge(m, src)
1029}
1030func (m *LogLevel) XXX_Size() int {
1031 return xxx_messageInfo_LogLevel.Size(m)
1032}
1033func (m *LogLevel) XXX_DiscardUnknown() {
1034 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1035}
1036
1037var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1038
1039func (m *LogLevel) GetLevel() string {
1040 if m != nil {
1041 return m.Level
1042 }
1043 return ""
1044}
1045
1046func (m *LogLevel) GetCaller() bool {
1047 if m != nil {
1048 return m.Caller
1049 }
1050 return false
1051}
1052
1053type Response struct {
1054 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1055 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1056 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1057 XXX_unrecognized []byte `json:"-"`
1058 XXX_sizecache int32 `json:"-"`
1059}
1060
1061func (m *Response) Reset() { *m = Response{} }
1062func (m *Response) String() string { return proto.CompactTextString(m) }
1063func (*Response) ProtoMessage() {}
1064func (*Response) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001065 return fileDescriptor_ef7750073d18011b, []int{16}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001066}
1067
1068func (m *Response) XXX_Unmarshal(b []byte) error {
1069 return xxx_messageInfo_Response.Unmarshal(m, b)
1070}
1071func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1072 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1073}
1074func (m *Response) XXX_Merge(src proto.Message) {
1075 xxx_messageInfo_Response.Merge(m, src)
1076}
1077func (m *Response) XXX_Size() int {
1078 return xxx_messageInfo_Response.Size(m)
1079}
1080func (m *Response) XXX_DiscardUnknown() {
1081 xxx_messageInfo_Response.DiscardUnknown(m)
1082}
1083
1084var xxx_messageInfo_Response proto.InternalMessageInfo
1085
1086func (m *Response) GetStatusCode() int32 {
1087 if m != nil {
1088 return m.StatusCode
1089 }
1090 return 0
1091}
1092
1093func (m *Response) GetMessage() string {
1094 if m != nil {
1095 return m.Message
1096 }
1097 return ""
1098}
1099
Arjun E K57a7fcb2020-01-30 06:44:45 +00001100type IgmpRequest struct {
1101 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1102 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001103 GroupAddress string `protobuf:"bytes,3,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"`
Arjun E K57a7fcb2020-01-30 06:44:45 +00001104 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1105 XXX_unrecognized []byte `json:"-"`
1106 XXX_sizecache int32 `json:"-"`
1107}
1108
1109func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1110func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1111func (*IgmpRequest) ProtoMessage() {}
1112func (*IgmpRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001113 return fileDescriptor_ef7750073d18011b, []int{17}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001114}
1115
1116func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1117 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1118}
1119func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1120 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1121}
1122func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1123 xxx_messageInfo_IgmpRequest.Merge(m, src)
1124}
1125func (m *IgmpRequest) XXX_Size() int {
1126 return xxx_messageInfo_IgmpRequest.Size(m)
1127}
1128func (m *IgmpRequest) XXX_DiscardUnknown() {
1129 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1130}
1131
1132var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1133
1134func (m *IgmpRequest) GetOnuReq() *ONURequest {
1135 if m != nil {
1136 return m.OnuReq
1137 }
1138 return nil
1139}
1140
1141func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1142 if m != nil {
1143 return m.SubActionVal
1144 }
1145 return SubActionTypes_JOIN
1146}
1147
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001148func (m *IgmpRequest) GetGroupAddress() string {
1149 if m != nil {
1150 return m.GroupAddress
1151 }
1152 return ""
1153}
1154
Pragya Arya8bdb4532020-03-02 17:08:09 +05301155type Flows struct {
1156 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1157 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1158 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1159 XXX_unrecognized []byte `json:"-"`
1160 XXX_sizecache int32 `json:"-"`
1161}
1162
1163func (m *Flows) Reset() { *m = Flows{} }
1164func (m *Flows) String() string { return proto.CompactTextString(m) }
1165func (*Flows) ProtoMessage() {}
1166func (*Flows) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001167 return fileDescriptor_ef7750073d18011b, []int{18}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301168}
1169
1170func (m *Flows) XXX_Unmarshal(b []byte) error {
1171 return xxx_messageInfo_Flows.Unmarshal(m, b)
1172}
1173func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1174 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1175}
1176func (m *Flows) XXX_Merge(src proto.Message) {
1177 xxx_messageInfo_Flows.Merge(m, src)
1178}
1179func (m *Flows) XXX_Size() int {
1180 return xxx_messageInfo_Flows.Size(m)
1181}
1182func (m *Flows) XXX_DiscardUnknown() {
1183 xxx_messageInfo_Flows.DiscardUnknown(m)
1184}
1185
1186var xxx_messageInfo_Flows proto.InternalMessageInfo
1187
1188func (m *Flows) GetFlowCount() uint32 {
1189 if m != nil {
1190 return m.FlowCount
1191 }
1192 return 0
1193}
1194
1195func (m *Flows) GetFlows() []*openolt.Flow {
1196 if m != nil {
1197 return m.Flows
1198 }
1199 return nil
1200}
1201
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001202type Timeout struct {
1203 Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
1204 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1205 XXX_unrecognized []byte `json:"-"`
1206 XXX_sizecache int32 `json:"-"`
1207}
1208
1209func (m *Timeout) Reset() { *m = Timeout{} }
1210func (m *Timeout) String() string { return proto.CompactTextString(m) }
1211func (*Timeout) ProtoMessage() {}
1212func (*Timeout) Descriptor() ([]byte, []int) {
1213 return fileDescriptor_ef7750073d18011b, []int{19}
1214}
1215
1216func (m *Timeout) XXX_Unmarshal(b []byte) error {
1217 return xxx_messageInfo_Timeout.Unmarshal(m, b)
1218}
1219func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1220 return xxx_messageInfo_Timeout.Marshal(b, m, deterministic)
1221}
1222func (m *Timeout) XXX_Merge(src proto.Message) {
1223 xxx_messageInfo_Timeout.Merge(m, src)
1224}
1225func (m *Timeout) XXX_Size() int {
1226 return xxx_messageInfo_Timeout.Size(m)
1227}
1228func (m *Timeout) XXX_DiscardUnknown() {
1229 xxx_messageInfo_Timeout.DiscardUnknown(m)
1230}
1231
1232var xxx_messageInfo_Timeout proto.InternalMessageInfo
1233
1234func (m *Timeout) GetDelay() uint32 {
1235 if m != nil {
1236 return m.Delay
1237 }
1238 return 0
1239}
1240
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001241type Empty struct {
1242 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1243 XXX_unrecognized []byte `json:"-"`
1244 XXX_sizecache int32 `json:"-"`
1245}
1246
1247func (m *Empty) Reset() { *m = Empty{} }
1248func (m *Empty) String() string { return proto.CompactTextString(m) }
1249func (*Empty) ProtoMessage() {}
1250func (*Empty) Descriptor() ([]byte, []int) {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001251 return fileDescriptor_ef7750073d18011b, []int{20}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001252}
1253
1254func (m *Empty) XXX_Unmarshal(b []byte) error {
1255 return xxx_messageInfo_Empty.Unmarshal(m, b)
1256}
1257func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1258 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1259}
1260func (m *Empty) XXX_Merge(src proto.Message) {
1261 xxx_messageInfo_Empty.Merge(m, src)
1262}
1263func (m *Empty) XXX_Size() int {
1264 return xxx_messageInfo_Empty.Size(m)
1265}
1266func (m *Empty) XXX_DiscardUnknown() {
1267 xxx_messageInfo_Empty.DiscardUnknown(m)
1268}
1269
1270var xxx_messageInfo_Empty proto.InternalMessageInfo
1271
1272func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001273 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Scott Baker41724b82020-01-21 19:54:53 -08001274 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001275 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
1276 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1277 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
1278 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001279 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301280 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001281 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001282 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001283 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301284 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001285 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1286 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301287 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1288 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001289 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1290 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1291 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001292 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301293 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001294 proto.RegisterType((*Timeout)(nil), "bbsim.Timeout")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001295 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1296}
1297
Matteo Scandolof65e6872020-04-15 15:18:43 -07001298func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001299
1300var fileDescriptor_ef7750073d18011b = []byte{
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001301 // 1579 bytes of a gzipped FileDescriptorProto
1302 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcb, 0x6e, 0xdb, 0x46,
1303 0x17, 0xd6, 0xc5, 0xba, 0x1d, 0x59, 0x32, 0x3d, 0x89, 0x1d, 0xc1, 0xf1, 0xff, 0x47, 0xe0, 0x9f,
1304 0xbf, 0x70, 0x82, 0xc6, 0x69, 0xec, 0x5e, 0x92, 0x25, 0x2d, 0xd1, 0x0a, 0x6b, 0x99, 0x24, 0x86,
1305 0x92, 0x83, 0xac, 0x08, 0x5a, 0x1a, 0xdb, 0x02, 0x28, 0x52, 0x21, 0x29, 0x1b, 0x7e, 0x80, 0x3e,
1306 0x43, 0xf7, 0x7d, 0xa2, 0x3e, 0x41, 0x77, 0xed, 0xbe, 0x0f, 0x50, 0xa0, 0x98, 0x0b, 0x29, 0xd2,
1307 0x92, 0x5b, 0xa7, 0x9b, 0x6e, 0x84, 0x39, 0xdf, 0xb9, 0x9f, 0x39, 0x3c, 0x67, 0x04, 0x5b, 0xce,
1308 0x6c, 0xf2, 0xfa, 0xfc, 0x3c, 0x9c, 0x4c, 0xf9, 0xef, 0xfe, 0x2c, 0xf0, 0x23, 0x1f, 0x95, 0x18,
1309 0xb1, 0xf3, 0xf4, 0xda, 0x77, 0xa3, 0x2b, 0xc7, 0x66, 0x60, 0xf8, 0xda, 0x9f, 0x11, 0xcf, 0x77,
1310 0x23, 0x2e, 0xb3, 0xd3, 0xce, 0x32, 0x23, 0x32, 0xba, 0xa2, 0xe7, 0x8b, 0x89, 0x4b, 0xb8, 0x84,
1311 0xfc, 0x1d, 0x54, 0x4c, 0x43, 0x37, 0xfd, 0x20, 0x42, 0x4d, 0x28, 0x68, 0xdd, 0x56, 0xbe, 0x9d,
1312 0xdf, 0x2b, 0xe1, 0x82, 0xd6, 0x45, 0xbb, 0x50, 0x33, 0x66, 0x24, 0xb0, 0x22, 0x27, 0x22, 0xad,
1313 0x42, 0x3b, 0xbf, 0x57, 0xc3, 0x0b, 0x80, 0x2a, 0xea, 0xba, 0xf6, 0x0f, 0x14, 0x7f, 0xcd, 0x43,
1314 0xd1, 0x70, 0x97, 0xb5, 0x64, 0x58, 0xb7, 0x48, 0x30, 0x71, 0x5c, 0x7d, 0x3e, 0x3d, 0x27, 0x81,
1315 0x50, 0xcc, 0x60, 0x59, 0xcb, 0xc5, 0x3b, 0x96, 0xd1, 0x73, 0x68, 0x68, 0x5e, 0x44, 0x02, 0xcf,
1316 0x71, 0xb9, 0xc4, 0x1a, 0x93, 0xc8, 0x82, 0xcc, 0xaf, 0xd9, 0xaa, 0x30, 0x56, 0x41, 0x33, 0xd1,
1317 0x4b, 0xa8, 0x8a, 0x44, 0xc2, 0x56, 0xa9, 0x5d, 0xdc, 0xab, 0x1f, 0x34, 0xf7, 0x79, 0x9d, 0x05,
1318 0x8c, 0x13, 0x3e, 0x95, 0x15, 0xd5, 0x0a, 0x5b, 0xe5, 0x8c, 0xac, 0x80, 0x71, 0xc2, 0x97, 0xff,
1319 0xa0, 0x79, 0xea, 0xc3, 0x7f, 0x2d, 0xcf, 0x5d, 0xa8, 0x99, 0xbe, 0x47, 0x63, 0xd1, 0xba, 0xad,
1320 0x12, 0x73, 0xbf, 0x00, 0x28, 0xf7, 0xfd, 0x8d, 0x32, 0x1e, 0x07, 0x24, 0x0c, 0x5b, 0x55, 0xee,
1321 0x21, 0x01, 0xd0, 0x36, 0x94, 0xa9, 0x9c, 0xee, 0xb7, 0x6a, 0x4c, 0x51, 0x50, 0x34, 0xff, 0x90,
1322 0x04, 0xd7, 0x93, 0x11, 0x09, 0x5b, 0x90, 0xc9, 0xdf, 0xe2, 0x30, 0x4e, 0xf8, 0xf2, 0xef, 0x05,
1323 0xa8, 0x08, 0x14, 0x21, 0x58, 0xd3, 0x9d, 0x29, 0x61, 0x55, 0xa8, 0x61, 0x76, 0xce, 0x46, 0x50,
1324 0xb8, 0x1b, 0xc1, 0x63, 0x28, 0x19, 0xde, 0xdc, 0xf2, 0x44, 0xf6, 0x9c, 0xa0, 0x76, 0xac, 0x81,
1325 0x73, 0xc9, 0x12, 0x2e, 0x61, 0x76, 0xa6, 0x58, 0x87, 0x62, 0x3c, 0x45, 0x76, 0x46, 0xff, 0x05,
1326 0xd0, 0x09, 0x19, 0x87, 0xaa, 0x33, 0xf3, 0xdd, 0x56, 0xb9, 0x9d, 0xdf, 0xab, 0xe2, 0x14, 0x42,
1327 0x7d, 0x33, 0xaa, 0x7b, 0x35, 0x9a, 0xb1, 0x56, 0xa8, 0xe2, 0x05, 0x90, 0x70, 0xb5, 0xcb, 0xe9,
1328 0x8c, 0xd5, 0x26, 0xe6, 0x52, 0x00, 0xb5, 0xa0, 0xd2, 0x23, 0x53, 0x5a, 0x10, 0x51, 0x9c, 0x98,
1329 0xa4, 0x5e, 0x99, 0x79, 0x7e, 0x29, 0xc0, 0x02, 0x4f, 0x21, 0xd4, 0x2e, 0xb5, 0xcf, 0xd9, 0x75,
1330 0x9e, 0x71, 0x02, 0x2c, 0xdf, 0xea, 0xfa, 0x3d, 0xb7, 0xaa, 0xf5, 0x4e, 0x4d, 0x2e, 0xd1, 0xe0,
1331 0x36, 0x12, 0x40, 0x76, 0xe0, 0xb1, 0xa1, 0x0f, 0x07, 0x81, 0x73, 0x71, 0x31, 0x19, 0x59, 0xa3,
1332 0x2b, 0x32, 0x9e, 0xbb, 0x24, 0x08, 0x91, 0x06, 0x1b, 0x11, 0x05, 0x17, 0x10, 0xbb, 0x8a, 0xfa,
1333 0xc1, 0xb3, 0xfd, 0xcc, 0x4c, 0x58, 0xd2, 0xc4, 0x77, 0xf5, 0xe4, 0x3d, 0x58, 0x33, 0xf4, 0x61,
1334 0x88, 0xda, 0x50, 0x9a, 0x44, 0x64, 0x4a, 0x0d, 0xd1, 0x3e, 0x00, 0xd1, 0x07, 0x86, 0x3e, 0xc4,
1335 0x9c, 0x21, 0x7f, 0x05, 0x55, 0x71, 0xff, 0x21, 0x7a, 0x9e, 0x95, 0xbe, 0xdb, 0x35, 0x89, 0x06,
1336 0x50, 0x7d, 0xf2, 0x69, 0x4e, 0xc2, 0x68, 0xe9, 0x43, 0xc9, 0x2f, 0x7f, 0x28, 0xf2, 0x4b, 0x00,
1337 0xd3, 0xd0, 0x63, 0x8d, 0x54, 0xcb, 0x8f, 0x99, 0x78, 0x63, 0xd1, 0xf2, 0x63, 0xf9, 0x97, 0x22,
1338 0xd4, 0x14, 0xd7, 0x09, 0xa6, 0x83, 0xdb, 0x19, 0x91, 0x7f, 0x2e, 0x42, 0x89, 0x1e, 0x42, 0x54,
1339 0x81, 0x62, 0xdf, 0xb0, 0xa4, 0x1c, 0x6a, 0x02, 0x74, 0x3f, 0x6a, 0x7a, 0xcf, 0xee, 0x29, 0x96,
1340 0x29, 0xe5, 0x51, 0x03, 0x6a, 0x86, 0x3e, 0xb4, 0x95, 0xbe, 0x82, 0x4f, 0xa5, 0x02, 0x7a, 0x02,
1341 0x8f, 0x28, 0x69, 0x0d, 0x14, 0x3c, 0x18, 0x9a, 0xf6, 0xb1, 0xa2, 0xf5, 0x87, 0x58, 0x95, 0x8a,
1342 0x68, 0x1b, 0x10, 0x63, 0x68, 0x3d, 0x5d, 0xe9, 0xdb, 0x5d, 0xb5, 0x87, 0x95, 0xae, 0x2a, 0xad,
1343 0xc5, 0x0a, 0x5d, 0xac, 0x1d, 0x0f, 0x6c, 0xe3, 0xd8, 0xfe, 0xa0, 0xe9, 0x5d, 0xe3, 0x83, 0x54,
1344 0x42, 0xbb, 0xd0, 0xa2, 0x8c, 0xbe, 0x61, 0x59, 0x14, 0x37, 0x4e, 0x3b, 0x9a, 0xdd, 0x79, 0xaf,
1345 0xe8, 0xba, 0xda, 0x97, 0xca, 0x89, 0x1f, 0x66, 0xce, 0x4a, 0xfc, 0x54, 0xd0, 0x0b, 0xf8, 0x3f,
1346 0x65, 0x0c, 0xb0, 0xa2, 0x5b, 0xa7, 0x9a, 0x65, 0x69, 0x86, 0x6e, 0x6b, 0xfa, 0x40, 0xc5, 0xc7,
1347 0x2a, 0x56, 0xf5, 0x8e, 0x6a, 0x7f, 0x50, 0xb0, 0xae, 0xe9, 0x3d, 0xa9, 0x8a, 0x76, 0x60, 0x9b,
1348 0x85, 0xde, 0x19, 0x68, 0x67, 0xca, 0x80, 0x0a, 0xc6, 0x66, 0x6a, 0xa8, 0xc5, 0x9a, 0xc4, 0x36,
1349 0xb1, 0xd1, 0x51, 0x2d, 0x8b, 0xe6, 0xab, 0x62, 0x6c, 0x60, 0x09, 0x50, 0x1b, 0x76, 0xd3, 0x71,
1350 0x9d, 0xa8, 0x1f, 0x6d, 0xeb, 0xa3, 0xde, 0x49, 0x74, 0xeb, 0x68, 0x0b, 0x36, 0xa9, 0x84, 0x36,
1351 0x18, 0xda, 0xa6, 0xa1, 0xd3, 0x5a, 0x0c, 0x2c, 0x69, 0x1d, 0x6d, 0x42, 0x23, 0xa9, 0x14, 0x55,
1352 0x97, 0x1a, 0x77, 0xa1, 0x23, 0xa9, 0x19, 0x27, 0x16, 0x43, 0x66, 0xc7, 0xa6, 0x59, 0x48, 0x1b,
1353 0x71, 0x3d, 0x32, 0x8c, 0x8e, 0x88, 0x4a, 0x42, 0x08, 0x9a, 0x69, 0xee, 0xb1, 0x26, 0x6d, 0xa2,
1354 0x47, 0xb0, 0x91, 0xc6, 0x94, 0x53, 0x4d, 0x42, 0xf2, 0x5b, 0x68, 0xb2, 0xfb, 0x35, 0x9d, 0xc0,
1355 0x99, 0x92, 0x88, 0x04, 0x48, 0x82, 0xe2, 0x09, 0xb9, 0x15, 0x9d, 0x43, 0x8f, 0x74, 0xae, 0x9c,
1356 0x39, 0xee, 0x3c, 0xde, 0x4b, 0x9c, 0x90, 0x7f, 0xca, 0x33, 0x7b, 0x4c, 0x3b, 0xd5, 0x4c, 0x49,
1357 0xb7, 0x08, 0x0b, 0x0b, 0xe0, 0x41, 0x53, 0x7c, 0x1b, 0xca, 0xf4, 0xb3, 0x9c, 0x87, 0x62, 0x88,
1358 0x09, 0x0a, 0x7d, 0x03, 0x90, 0x84, 0x18, 0xb6, 0xd6, 0xd8, 0x17, 0xb1, 0x25, 0xbe, 0x88, 0x6c,
1359 0x02, 0x38, 0x25, 0x28, 0x7f, 0x82, 0x0d, 0xa3, 0x3f, 0xc8, 0xc4, 0xd8, 0x86, 0x3a, 0x1b, 0x0f,
1360 0x17, 0xce, 0x88, 0x88, 0x25, 0xd3, 0xc0, 0x69, 0x28, 0x99, 0x2a, 0x94, 0x64, 0x99, 0x14, 0x52,
1361 0x53, 0x25, 0x06, 0xef, 0x8b, 0x54, 0xfe, 0x21, 0x0f, 0x8d, 0x33, 0x12, 0x84, 0x13, 0xdf, 0x13,
1362 0x39, 0xb5, 0xa0, 0x72, 0xcd, 0x01, 0x51, 0x93, 0x98, 0xa4, 0xf5, 0x3a, 0x9f, 0x4f, 0xdc, 0xf1,
1363 0x60, 0x32, 0x4d, 0xb6, 0x7e, 0x02, 0xd0, 0xd9, 0x38, 0xf2, 0xa7, 0xd3, 0x49, 0xf4, 0xde, 0x09,
1364 0xaf, 0x84, 0x97, 0x14, 0x42, 0xb5, 0x2f, 0x27, 0x91, 0x08, 0x82, 0xef, 0xb3, 0x05, 0x20, 0xbf,
1365 0x85, 0x6a, 0xdf, 0xbf, 0xec, 0x93, 0x6b, 0xe2, 0xd2, 0x1b, 0x74, 0xe9, 0x41, 0xf8, 0xe7, 0x04,
1366 0xcd, 0x60, 0xe4, 0xb8, 0xae, 0xb8, 0x89, 0x2a, 0x16, 0x94, 0xac, 0x42, 0x15, 0x93, 0x70, 0xe6,
1367 0x7b, 0x21, 0x41, 0xcf, 0xa0, 0x1e, 0x32, 0x7b, 0xf6, 0xc8, 0x1f, 0x13, 0xb1, 0x92, 0x81, 0x43,
1368 0x1d, 0x7f, 0x4c, 0x68, 0x72, 0x53, 0x12, 0x86, 0xce, 0x65, 0x9c, 0x40, 0x4c, 0xca, 0x3f, 0xe6,
1369 0xa1, 0x4e, 0xa7, 0x7f, 0x5c, 0xf8, 0x17, 0x50, 0x36, 0xbc, 0x39, 0x26, 0x9f, 0xc4, 0x1c, 0xdd,
1370 0x4c, 0x8d, 0x3f, 0x2e, 0x82, 0x85, 0x00, 0x7a, 0x07, 0xeb, 0xd6, 0xfc, 0x5c, 0x19, 0x45, 0x13,
1371 0xdf, 0x3b, 0x73, 0x5c, 0x66, 0xb9, 0x99, 0xdc, 0x77, 0xc2, 0x62, 0xb3, 0x08, 0x67, 0x44, 0x69,
1372 0x93, 0xf5, 0x02, 0x7f, 0x3e, 0x8b, 0xb7, 0x24, 0x2f, 0x5b, 0x06, 0x93, 0x4f, 0xa0, 0x74, 0xec,
1373 0xfa, 0x37, 0x21, 0xfa, 0x0f, 0xc0, 0x85, 0xeb, 0xdf, 0xd8, 0x23, 0x7f, 0xee, 0x45, 0xf1, 0xf4,
1374 0xa3, 0x48, 0x87, 0x02, 0xe8, 0x7f, 0x50, 0xa2, 0x04, 0x5d, 0xb5, 0xb4, 0xdf, 0x1a, 0xfb, 0xf1,
1375 0x4b, 0x91, 0x6a, 0x63, 0xce, 0x93, 0x9f, 0x41, 0x85, 0xde, 0x96, 0x3f, 0x8f, 0x68, 0x99, 0xc7,
1376 0xc4, 0x75, 0x6e, 0x85, 0x25, 0x4e, 0xc8, 0x15, 0x28, 0xa9, 0xd3, 0x59, 0x74, 0xfb, 0xf2, 0x0d,
1377 0x34, 0xb3, 0xa1, 0xa3, 0x2a, 0xac, 0x7d, 0x6f, 0x68, 0xba, 0x94, 0x43, 0x35, 0x28, 0xf5, 0x55,
1378 0xe5, 0x4c, 0x95, 0xf2, 0x08, 0xa0, 0x4c, 0xc1, 0xb3, 0x43, 0xa9, 0x70, 0xf0, 0x1b, 0x40, 0xe9,
1379 0xe8, 0xc8, 0x9a, 0x4c, 0xd1, 0x6b, 0xa8, 0x88, 0xae, 0x42, 0xeb, 0xa2, 0x0e, 0xcc, 0xea, 0xce,
1380 0x63, 0x41, 0x65, 0x7a, 0x4e, 0xce, 0xa1, 0x37, 0x50, 0xb7, 0x48, 0x94, 0xb4, 0xc0, 0x86, 0x10,
1381 0x8b, 0x81, 0x9d, 0xbb, 0x80, 0x9c, 0x43, 0xcf, 0xa1, 0xdc, 0x23, 0x11, 0x7d, 0x68, 0x66, 0x5d,
1382 0x24, 0x8b, 0xca, 0x8d, 0xe4, 0x1c, 0x7a, 0x05, 0x60, 0xfa, 0x37, 0x24, 0xf0, 0xbd, 0x65, 0xc9,
1383 0xd8, 0x68, 0xdc, 0x3f, 0x72, 0x0e, 0xed, 0x43, 0xdd, 0xba, 0x9a, 0x47, 0x63, 0xff, 0xe6, 0x61,
1384 0xf2, 0x5f, 0x42, 0x0d, 0x93, 0x73, 0xdf, 0x8f, 0x1e, 0x24, 0x4d, 0x6b, 0x1a, 0xf9, 0xb3, 0x4b,
1385 0x6c, 0x76, 0xe8, 0x62, 0x24, 0xc1, 0xdf, 0xab, 0x1c, 0xc0, 0x86, 0x15, 0x39, 0x41, 0xf4, 0x39,
1386 0x3a, 0xdf, 0xc2, 0x26, 0x26, 0xe1, 0x1d, 0xad, 0x78, 0x23, 0x8b, 0xeb, 0x5f, 0xa5, 0xf7, 0x82,
1387 0x57, 0x54, 0x1f, 0xa2, 0xe5, 0x6e, 0xdf, 0x49, 0xed, 0x7f, 0x39, 0x87, 0xbe, 0xa0, 0x6f, 0xa4,
1388 0x88, 0xbd, 0x13, 0xb2, 0xe1, 0xd4, 0x17, 0x62, 0x21, 0xaf, 0x67, 0x8f, 0x44, 0xc9, 0x2b, 0x61,
1389 0x75, 0xe8, 0x31, 0x9b, 0x85, 0xde, 0xa4, 0x76, 0xbd, 0x79, 0xa2, 0xb2, 0x22, 0x94, 0x15, 0x7a,
1390 0x87, 0xa9, 0x7b, 0x5b, 0x1d, 0xff, 0x3d, 0xb5, 0x15, 0x4a, 0x8a, 0xeb, 0xae, 0x48, 0x66, 0x85,
1391 0xce, 0x3b, 0xd8, 0x4c, 0x39, 0x0a, 0x0d, 0xcf, 0x34, 0xf4, 0xc4, 0xdd, 0xe2, 0xa5, 0xb2, 0xda,
1392 0x5d, 0xd2, 0x8a, 0x0f, 0x0e, 0xf1, 0x0d, 0x34, 0x85, 0xce, 0x83, 0x23, 0x7c, 0x0b, 0xd2, 0xc2,
1393 0xcd, 0x67, 0x05, 0xf8, 0x35, 0xac, 0x8b, 0xbe, 0xe1, 0x8f, 0xe8, 0x87, 0x85, 0x78, 0x08, 0x75,
1394 0xa1, 0xc5, 0xde, 0xd6, 0x0f, 0x53, 0x3a, 0x82, 0x2d, 0x8b, 0xdd, 0x33, 0xdb, 0x76, 0x9a, 0x37,
1395 0x9e, 0x8c, 0x1c, 0x3a, 0x69, 0xd0, 0xf6, 0x42, 0x3d, 0xbd, 0x08, 0xff, 0xc2, 0x86, 0x1b, 0xdd,
1396 0x6b, 0x23, 0xbb, 0x4c, 0x57, 0xd9, 0x78, 0x05, 0xd5, 0x1e, 0x89, 0xf8, 0x7c, 0x5d, 0x11, 0x79,
1397 0x5c, 0x6c, 0x26, 0xc0, 0x6a, 0xbb, 0xd1, 0xb9, 0x72, 0xbc, 0x4b, 0x42, 0x57, 0x05, 0x7f, 0xaf,
1398 0x23, 0x21, 0x92, 0x5a, 0x1e, 0xab, 0x1c, 0x9d, 0xc0, 0x13, 0xde, 0xd8, 0xcb, 0x6f, 0xf7, 0x15,
1399 0x7e, 0x9f, 0x2e, 0xa0, 0x25, 0x79, 0x39, 0x77, 0x5e, 0x66, 0x7f, 0xed, 0x0f, 0xff, 0x0c, 0x00,
1400 0x00, 0xff, 0xff, 0x96, 0xa7, 0x23, 0x49, 0x39, 0x10, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001401}
1402
1403// Reference imports to suppress errors if they are not otherwise used.
1404var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001405var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001406
1407// This is a compile-time assertion to ensure that this generated file
1408// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001409const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001410
1411// BBSimClient is the client API for BBSim service.
1412//
1413// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1414type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001415 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001416 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001417 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301418 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001419 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001420 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001421 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001422 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001423 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001424 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001425 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001426 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001427 // Closes the Openolt gRPC server
1428 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1429 // Start the Openolt gRPC server
1430 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05301431 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001432 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001433 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001434 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001435 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301436 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001437 // Get all the Services
1438 GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error)
1439 // Get all the Services of an ONU by serial number
1440 GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001441 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001442 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001443 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301444 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001445 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301446 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001447 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001448 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001449 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301450 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001451 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301452 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001453 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001454 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001455 // Restart DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001456 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001457 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301458 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001459 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301460 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001461 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301462 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001463 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001464 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001465 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301466 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001467}
1468
1469type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04001470 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001471}
1472
Kent Hagerman60d62302020-03-10 17:02:36 -04001473func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001474 return &bBSimClient{cc}
1475}
1476
1477func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1478 out := new(VersionNumber)
1479 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1480 if err != nil {
1481 return nil, err
1482 }
1483 return out, nil
1484}
1485
Pragya Aryabd731ec2020-02-11 16:38:17 +05301486func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1487 out := new(LogLevel)
1488 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1489 if err != nil {
1490 return nil, err
1491 }
1492 return out, nil
1493}
1494
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001495func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1496 out := new(Olt)
1497 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1498 if err != nil {
1499 return nil, err
1500 }
1501 return out, nil
1502}
1503
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001504func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1505 out := new(Response)
1506 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1507 if err != nil {
1508 return nil, err
1509 }
1510 return out, nil
1511}
1512
1513func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1514 out := new(Response)
1515 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1516 if err != nil {
1517 return nil, err
1518 }
1519 return out, nil
1520}
1521
1522func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1523 out := new(Response)
1524 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1525 if err != nil {
1526 return nil, err
1527 }
1528 return out, nil
1529}
1530
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001531func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1532 out := new(Response)
1533 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
1534 if err != nil {
1535 return nil, err
1536 }
1537 return out, nil
1538}
1539
1540func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1541 out := new(Response)
1542 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
1543 if err != nil {
1544 return nil, err
1545 }
1546 return out, nil
1547}
1548
1549func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
1550 out := new(Response)
1551 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
1552 if err != nil {
1553 return nil, err
1554 }
1555 return out, nil
1556}
1557
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001558func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
1559 out := new(ONU)
1560 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
1561 if err != nil {
1562 return nil, err
1563 }
1564 return out, nil
1565}
1566
Pragya Aryabd731ec2020-02-11 16:38:17 +05301567func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
1568 out := new(ONUs)
1569 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001570 if err != nil {
1571 return nil, err
1572 }
1573 return out, nil
1574}
1575
Matteo Scandolo4a036262020-08-17 15:56:13 -07001576func (c *bBSimClient) GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error) {
1577 out := new(Services)
1578 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
1579 if err != nil {
1580 return nil, err
1581 }
1582 return out, nil
1583}
1584
1585func (c *bBSimClient) GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error) {
1586 out := new(Services)
1587 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuServices", in, out, opts...)
1588 if err != nil {
1589 return nil, err
1590 }
1591 return out, nil
1592}
1593
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001594func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1595 out := new(Response)
1596 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
1597 if err != nil {
1598 return nil, err
1599 }
1600 return out, nil
1601}
1602
Pragya Aryabd731ec2020-02-11 16:38:17 +05301603func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1604 out := new(Response)
1605 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
1606 if err != nil {
1607 return nil, err
1608 }
1609 return out, nil
1610}
1611
1612func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1613 out := new(Response)
1614 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
1615 if err != nil {
1616 return nil, err
1617 }
1618 return out, nil
1619}
1620
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001621func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1622 out := new(Response)
1623 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
1624 if err != nil {
1625 return nil, err
1626 }
1627 return out, nil
1628}
1629
Pragya Aryabd731ec2020-02-11 16:38:17 +05301630func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1631 out := new(Response)
1632 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
1633 if err != nil {
1634 return nil, err
1635 }
1636 return out, nil
1637}
1638
1639func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1640 out := new(Response)
1641 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
1642 if err != nil {
1643 return nil, err
1644 }
1645 return out, nil
1646}
1647
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001648func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1649 out := new(Response)
1650 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
1651 if err != nil {
1652 return nil, err
1653 }
1654 return out, nil
1655}
1656
1657func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1658 out := new(Response)
1659 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
1660 if err != nil {
1661 return nil, err
1662 }
1663 return out, nil
1664}
1665
Anand S Katti86552f92020-03-03 21:56:32 +05301666func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08001667 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05301668 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
1669 if err != nil {
1670 return nil, err
1671 }
1672 return out, nil
1673}
1674
1675func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
1676 out := new(Response)
1677 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08001678 if err != nil {
1679 return nil, err
1680 }
1681 return out, nil
1682}
1683
Pragya Arya8bdb4532020-03-02 17:08:09 +05301684func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
1685 out := new(Flows)
1686 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
1687 if err != nil {
1688 return nil, err
1689 }
1690 return out, nil
1691}
1692
Arjun E K57a7fcb2020-01-30 06:44:45 +00001693func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
1694 out := new(Response)
1695 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
1696 if err != nil {
1697 return nil, err
1698 }
1699 return out, nil
1700}
1701
Anand S Katti09541352020-01-29 15:54:01 +05301702func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
1703 out := new(ONUTrafficSchedulers)
1704 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
1705 if err != nil {
1706 return nil, err
1707 }
1708 return out, nil
1709}
1710
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001711// BBSimServer is the server API for BBSim service.
1712type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001713 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001714 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001715 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301716 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001717 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001718 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001719 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001720 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001721 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001722 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001723 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001724 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001725 // Closes the Openolt gRPC server
1726 StopgRPCServer(context.Context, *Empty) (*Response, error)
1727 // Start the Openolt gRPC server
1728 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05301729 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001730 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001731 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001732 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001733 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301734 GetONUs(context.Context, *Empty) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001735 // Get all the Services
1736 GetServices(context.Context, *Empty) (*Services, error)
1737 // Get all the Services of an ONU by serial number
1738 GetOnuServices(context.Context, *ONURequest) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001739 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001740 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001741 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301742 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001743 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301744 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001745 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001746 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001747 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301748 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001749 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301750 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001751 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001752 RestartEapol(context.Context, *ONURequest) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001753 // Restart DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001754 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001755 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301756 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001757 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301758 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001759 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301760 GetFlows(context.Context, *ONURequest) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001761 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001762 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001763 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301764 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001765}
1766
Pragya Aryabd731ec2020-02-11 16:38:17 +05301767// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
1768type UnimplementedBBSimServer struct {
1769}
1770
1771func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
1772 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
1773}
1774func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
1775 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
1776}
1777func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
1778 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
1779}
1780func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
1781 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
1782}
1783func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
1784 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
1785}
1786func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
1787 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
1788}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001789func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
1790 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
1791}
1792func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
1793 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
1794}
1795func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
1796 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
1797}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301798func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
1799 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
1800}
1801func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
1802 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
1803}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001804func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *Empty) (*Services, error) {
1805 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
1806}
1807func (*UnimplementedBBSimServer) GetOnuServices(ctx context.Context, req *ONURequest) (*Services, error) {
1808 return nil, status.Errorf(codes.Unimplemented, "method GetOnuServices not implemented")
1809}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301810func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
1811 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
1812}
1813func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1814 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
1815}
1816func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1817 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
1818}
1819func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
1820 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
1821}
1822func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1823 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
1824}
1825func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1826 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
1827}
1828func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
1829 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
1830}
1831func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
1832 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
1833}
1834func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
1835 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
1836}
1837func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
1838 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
1839}
1840func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
1841 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
1842}
1843func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
1844 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
1845}
1846func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
1847 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
1848}
1849
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001850func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
1851 s.RegisterService(&_BBSim_serviceDesc, srv)
1852}
1853
1854func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1855 in := new(Empty)
1856 if err := dec(in); err != nil {
1857 return nil, err
1858 }
1859 if interceptor == nil {
1860 return srv.(BBSimServer).Version(ctx, in)
1861 }
1862 info := &grpc.UnaryServerInfo{
1863 Server: srv,
1864 FullMethod: "/bbsim.BBSim/Version",
1865 }
1866 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1867 return srv.(BBSimServer).Version(ctx, req.(*Empty))
1868 }
1869 return interceptor(ctx, in, info, handler)
1870}
1871
Pragya Aryabd731ec2020-02-11 16:38:17 +05301872func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1873 in := new(LogLevel)
1874 if err := dec(in); err != nil {
1875 return nil, err
1876 }
1877 if interceptor == nil {
1878 return srv.(BBSimServer).SetLogLevel(ctx, in)
1879 }
1880 info := &grpc.UnaryServerInfo{
1881 Server: srv,
1882 FullMethod: "/bbsim.BBSim/SetLogLevel",
1883 }
1884 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1885 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
1886 }
1887 return interceptor(ctx, in, info, handler)
1888}
1889
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001890func _BBSim_GetOlt_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).GetOlt(ctx, in)
1897 }
1898 info := &grpc.UnaryServerInfo{
1899 Server: srv,
1900 FullMethod: "/bbsim.BBSim/GetOlt",
1901 }
1902 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1903 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
1904 }
1905 return interceptor(ctx, in, info, handler)
1906}
1907
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001908func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1909 in := new(Empty)
1910 if err := dec(in); err != nil {
1911 return nil, err
1912 }
1913 if interceptor == nil {
1914 return srv.(BBSimServer).PoweronOlt(ctx, in)
1915 }
1916 info := &grpc.UnaryServerInfo{
1917 Server: srv,
1918 FullMethod: "/bbsim.BBSim/PoweronOlt",
1919 }
1920 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1921 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
1922 }
1923 return interceptor(ctx, in, info, handler)
1924}
1925
1926func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1927 in := new(Empty)
1928 if err := dec(in); err != nil {
1929 return nil, err
1930 }
1931 if interceptor == nil {
1932 return srv.(BBSimServer).ShutdownOlt(ctx, in)
1933 }
1934 info := &grpc.UnaryServerInfo{
1935 Server: srv,
1936 FullMethod: "/bbsim.BBSim/ShutdownOlt",
1937 }
1938 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1939 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
1940 }
1941 return interceptor(ctx, in, info, handler)
1942}
1943
1944func _BBSim_RebootOlt_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).RebootOlt(ctx, in)
1951 }
1952 info := &grpc.UnaryServerInfo{
1953 Server: srv,
1954 FullMethod: "/bbsim.BBSim/RebootOlt",
1955 }
1956 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1957 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
1958 }
1959 return interceptor(ctx, in, info, handler)
1960}
1961
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001962func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1963 in := new(Empty)
1964 if err := dec(in); err != nil {
1965 return nil, err
1966 }
1967 if interceptor == nil {
1968 return srv.(BBSimServer).StopgRPCServer(ctx, in)
1969 }
1970 info := &grpc.UnaryServerInfo{
1971 Server: srv,
1972 FullMethod: "/bbsim.BBSim/StopgRPCServer",
1973 }
1974 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1975 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
1976 }
1977 return interceptor(ctx, in, info, handler)
1978}
1979
1980func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1981 in := new(Empty)
1982 if err := dec(in); err != nil {
1983 return nil, err
1984 }
1985 if interceptor == nil {
1986 return srv.(BBSimServer).StartgRPCServer(ctx, in)
1987 }
1988 info := &grpc.UnaryServerInfo{
1989 Server: srv,
1990 FullMethod: "/bbsim.BBSim/StartgRPCServer",
1991 }
1992 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1993 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
1994 }
1995 return interceptor(ctx, in, info, handler)
1996}
1997
1998func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1999 in := new(Timeout)
2000 if err := dec(in); err != nil {
2001 return nil, err
2002 }
2003 if interceptor == nil {
2004 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
2005 }
2006 info := &grpc.UnaryServerInfo{
2007 Server: srv,
2008 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2009 }
2010 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2011 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2012 }
2013 return interceptor(ctx, in, info, handler)
2014}
2015
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002016func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2017 in := new(ONURequest)
2018 if err := dec(in); err != nil {
2019 return nil, err
2020 }
2021 if interceptor == nil {
2022 return srv.(BBSimServer).GetONU(ctx, in)
2023 }
2024 info := &grpc.UnaryServerInfo{
2025 Server: srv,
2026 FullMethod: "/bbsim.BBSim/GetONU",
2027 }
2028 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2029 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2030 }
2031 return interceptor(ctx, in, info, handler)
2032}
2033
Pragya Aryabd731ec2020-02-11 16:38:17 +05302034func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2035 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002036 if err := dec(in); err != nil {
2037 return nil, err
2038 }
2039 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302040 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002041 }
2042 info := &grpc.UnaryServerInfo{
2043 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302044 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002045 }
2046 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302047 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002048 }
2049 return interceptor(ctx, in, info, handler)
2050}
2051
Matteo Scandolo4a036262020-08-17 15:56:13 -07002052func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2053 in := new(Empty)
2054 if err := dec(in); err != nil {
2055 return nil, err
2056 }
2057 if interceptor == nil {
2058 return srv.(BBSimServer).GetServices(ctx, in)
2059 }
2060 info := &grpc.UnaryServerInfo{
2061 Server: srv,
2062 FullMethod: "/bbsim.BBSim/GetServices",
2063 }
2064 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2065 return srv.(BBSimServer).GetServices(ctx, req.(*Empty))
2066 }
2067 return interceptor(ctx, in, info, handler)
2068}
2069
2070func _BBSim_GetOnuServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2071 in := new(ONURequest)
2072 if err := dec(in); err != nil {
2073 return nil, err
2074 }
2075 if interceptor == nil {
2076 return srv.(BBSimServer).GetOnuServices(ctx, in)
2077 }
2078 info := &grpc.UnaryServerInfo{
2079 Server: srv,
2080 FullMethod: "/bbsim.BBSim/GetOnuServices",
2081 }
2082 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2083 return srv.(BBSimServer).GetOnuServices(ctx, req.(*ONURequest))
2084 }
2085 return interceptor(ctx, in, info, handler)
2086}
2087
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002088func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2089 in := new(ONURequest)
2090 if err := dec(in); err != nil {
2091 return nil, err
2092 }
2093 if interceptor == nil {
2094 return srv.(BBSimServer).ShutdownONU(ctx, in)
2095 }
2096 info := &grpc.UnaryServerInfo{
2097 Server: srv,
2098 FullMethod: "/bbsim.BBSim/ShutdownONU",
2099 }
2100 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2101 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2102 }
2103 return interceptor(ctx, in, info, handler)
2104}
2105
Pragya Aryabd731ec2020-02-11 16:38:17 +05302106func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2107 in := new(Empty)
2108 if err := dec(in); err != nil {
2109 return nil, err
2110 }
2111 if interceptor == nil {
2112 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2113 }
2114 info := &grpc.UnaryServerInfo{
2115 Server: srv,
2116 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2117 }
2118 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2119 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2120 }
2121 return interceptor(ctx, in, info, handler)
2122}
2123
2124func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2125 in := new(PONRequest)
2126 if err := dec(in); err != nil {
2127 return nil, err
2128 }
2129 if interceptor == nil {
2130 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2131 }
2132 info := &grpc.UnaryServerInfo{
2133 Server: srv,
2134 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2135 }
2136 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2137 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2138 }
2139 return interceptor(ctx, in, info, handler)
2140}
2141
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002142func _BBSim_PoweronONU_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).PoweronONU(ctx, in)
2149 }
2150 info := &grpc.UnaryServerInfo{
2151 Server: srv,
2152 FullMethod: "/bbsim.BBSim/PoweronONU",
2153 }
2154 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2155 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2156 }
2157 return interceptor(ctx, in, info, handler)
2158}
2159
Pragya Aryabd731ec2020-02-11 16:38:17 +05302160func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2161 in := new(Empty)
2162 if err := dec(in); err != nil {
2163 return nil, err
2164 }
2165 if interceptor == nil {
2166 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2167 }
2168 info := &grpc.UnaryServerInfo{
2169 Server: srv,
2170 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2171 }
2172 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2173 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2174 }
2175 return interceptor(ctx, in, info, handler)
2176}
2177
2178func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2179 in := new(PONRequest)
2180 if err := dec(in); err != nil {
2181 return nil, err
2182 }
2183 if interceptor == nil {
2184 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2185 }
2186 info := &grpc.UnaryServerInfo{
2187 Server: srv,
2188 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2189 }
2190 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2191 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2192 }
2193 return interceptor(ctx, in, info, handler)
2194}
2195
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002196func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2197 in := new(ONURequest)
2198 if err := dec(in); err != nil {
2199 return nil, err
2200 }
2201 if interceptor == nil {
2202 return srv.(BBSimServer).RestartEapol(ctx, in)
2203 }
2204 info := &grpc.UnaryServerInfo{
2205 Server: srv,
2206 FullMethod: "/bbsim.BBSim/RestartEapol",
2207 }
2208 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2209 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
2210 }
2211 return interceptor(ctx, in, info, handler)
2212}
2213
2214func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2215 in := new(ONURequest)
2216 if err := dec(in); err != nil {
2217 return nil, err
2218 }
2219 if interceptor == nil {
2220 return srv.(BBSimServer).RestartDhcp(ctx, in)
2221 }
2222 info := &grpc.UnaryServerInfo{
2223 Server: srv,
2224 FullMethod: "/bbsim.BBSim/RestartDhcp",
2225 }
2226 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2227 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
2228 }
2229 return interceptor(ctx, in, info, handler)
2230}
2231
Anand S Katti86552f92020-03-03 21:56:32 +05302232func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2233 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002234 if err := dec(in); err != nil {
2235 return nil, err
2236 }
2237 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302238 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002239 }
2240 info := &grpc.UnaryServerInfo{
2241 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302242 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002243 }
2244 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302245 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2246 }
2247 return interceptor(ctx, in, info, handler)
2248}
2249
2250func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2251 in := new(OLTAlarmRequest)
2252 if err := dec(in); err != nil {
2253 return nil, err
2254 }
2255 if interceptor == nil {
2256 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2257 }
2258 info := &grpc.UnaryServerInfo{
2259 Server: srv,
2260 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2261 }
2262 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2263 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002264 }
2265 return interceptor(ctx, in, info, handler)
2266}
2267
Pragya Arya8bdb4532020-03-02 17:08:09 +05302268func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2269 in := new(ONURequest)
2270 if err := dec(in); err != nil {
2271 return nil, err
2272 }
2273 if interceptor == nil {
2274 return srv.(BBSimServer).GetFlows(ctx, in)
2275 }
2276 info := &grpc.UnaryServerInfo{
2277 Server: srv,
2278 FullMethod: "/bbsim.BBSim/GetFlows",
2279 }
2280 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2281 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2282 }
2283 return interceptor(ctx, in, info, handler)
2284}
2285
Arjun E K57a7fcb2020-01-30 06:44:45 +00002286func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2287 in := new(IgmpRequest)
2288 if err := dec(in); err != nil {
2289 return nil, err
2290 }
2291 if interceptor == nil {
2292 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2293 }
2294 info := &grpc.UnaryServerInfo{
2295 Server: srv,
2296 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2297 }
2298 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2299 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2300 }
2301 return interceptor(ctx, in, info, handler)
2302}
2303
Anand S Katti09541352020-01-29 15:54:01 +05302304func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2305 in := new(ONURequest)
2306 if err := dec(in); err != nil {
2307 return nil, err
2308 }
2309 if interceptor == nil {
2310 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2311 }
2312 info := &grpc.UnaryServerInfo{
2313 Server: srv,
2314 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2315 }
2316 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2317 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2318 }
2319 return interceptor(ctx, in, info, handler)
2320}
2321
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002322var _BBSim_serviceDesc = grpc.ServiceDesc{
2323 ServiceName: "bbsim.BBSim",
2324 HandlerType: (*BBSimServer)(nil),
2325 Methods: []grpc.MethodDesc{
2326 {
2327 MethodName: "Version",
2328 Handler: _BBSim_Version_Handler,
2329 },
2330 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302331 MethodName: "SetLogLevel",
2332 Handler: _BBSim_SetLogLevel_Handler,
2333 },
2334 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002335 MethodName: "GetOlt",
2336 Handler: _BBSim_GetOlt_Handler,
2337 },
2338 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002339 MethodName: "PoweronOlt",
2340 Handler: _BBSim_PoweronOlt_Handler,
2341 },
2342 {
2343 MethodName: "ShutdownOlt",
2344 Handler: _BBSim_ShutdownOlt_Handler,
2345 },
2346 {
2347 MethodName: "RebootOlt",
2348 Handler: _BBSim_RebootOlt_Handler,
2349 },
2350 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002351 MethodName: "StopgRPCServer",
2352 Handler: _BBSim_StopgRPCServer_Handler,
2353 },
2354 {
2355 MethodName: "StartgRPCServer",
2356 Handler: _BBSim_StartgRPCServer_Handler,
2357 },
2358 {
2359 MethodName: "RestartgRPCServer",
2360 Handler: _BBSim_RestartgRPCServer_Handler,
2361 },
2362 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002363 MethodName: "GetONU",
2364 Handler: _BBSim_GetONU_Handler,
2365 },
2366 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302367 MethodName: "GetONUs",
2368 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002369 },
2370 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002371 MethodName: "GetServices",
2372 Handler: _BBSim_GetServices_Handler,
2373 },
2374 {
2375 MethodName: "GetOnuServices",
2376 Handler: _BBSim_GetOnuServices_Handler,
2377 },
2378 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002379 MethodName: "ShutdownONU",
2380 Handler: _BBSim_ShutdownONU_Handler,
2381 },
2382 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302383 MethodName: "ShutdownAllONUs",
2384 Handler: _BBSim_ShutdownAllONUs_Handler,
2385 },
2386 {
2387 MethodName: "ShutdownONUsOnPON",
2388 Handler: _BBSim_ShutdownONUsOnPON_Handler,
2389 },
2390 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002391 MethodName: "PoweronONU",
2392 Handler: _BBSim_PoweronONU_Handler,
2393 },
2394 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302395 MethodName: "PoweronAllONUs",
2396 Handler: _BBSim_PoweronAllONUs_Handler,
2397 },
2398 {
2399 MethodName: "PoweronONUsOnPON",
2400 Handler: _BBSim_PoweronONUsOnPON_Handler,
2401 },
2402 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002403 MethodName: "RestartEapol",
2404 Handler: _BBSim_RestartEapol_Handler,
2405 },
2406 {
2407 MethodName: "RestartDhcp",
2408 Handler: _BBSim_RestartDhcp_Handler,
2409 },
Scott Baker41724b82020-01-21 19:54:53 -08002410 {
Anand S Katti86552f92020-03-03 21:56:32 +05302411 MethodName: "SetOnuAlarmIndication",
2412 Handler: _BBSim_SetOnuAlarmIndication_Handler,
2413 },
2414 {
2415 MethodName: "SetOltAlarmIndication",
2416 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08002417 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00002418 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05302419 MethodName: "GetFlows",
2420 Handler: _BBSim_GetFlows_Handler,
2421 },
2422 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00002423 MethodName: "ChangeIgmpState",
2424 Handler: _BBSim_ChangeIgmpState_Handler,
2425 },
Anand S Katti09541352020-01-29 15:54:01 +05302426 {
2427 MethodName: "GetOnuTrafficSchedulers",
2428 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
2429 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002430 },
2431 Streams: []grpc.StreamDesc{},
2432 Metadata: "api/bbsim/bbsim.proto",
2433}