blob: 39f8616b84ff3ed9db99933b2f1126e278d13727 [file] [log] [blame]
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: api/bbsim/bbsim.proto
3
4package bbsim
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
Pragya Arya8bdb4532020-03-02 17:08:09 +053010 openolt "github.com/opencord/voltha-protos/v2/go/openolt"
Anand S Katti09541352020-01-29 15:54:01 +053011 tech_profile "github.com/opencord/voltha-protos/v2/go/tech_profile"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070012 grpc "google.golang.org/grpc"
Pragya Aryabd731ec2020-02-11 16:38:17 +053013 codes "google.golang.org/grpc/codes"
14 status "google.golang.org/grpc/status"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070015 math "math"
16)
17
18// Reference imports to suppress errors if they are not otherwise used.
19var _ = proto.Marshal
20var _ = fmt.Errorf
21var _ = math.Inf
22
23// This is a compile-time assertion to ensure that this generated file
24// is compatible with the proto package it is being compiled against.
25// A compilation error at this line likely means your copy of the
26// proto package needs to be updated.
27const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
28
Arjun E K57a7fcb2020-01-30 06:44:45 +000029type SubActionTypes int32
30
31const (
Arjun E Kdd443f02020-02-07 15:24:01 +000032 SubActionTypes_JOIN SubActionTypes = 0
33 SubActionTypes_LEAVE SubActionTypes = 1
34 SubActionTypes_JOINV3 SubActionTypes = 2
Arjun E K57a7fcb2020-01-30 06:44:45 +000035)
36
37var SubActionTypes_name = map[int32]string{
38 0: "JOIN",
39 1: "LEAVE",
Arjun E Kdd443f02020-02-07 15:24:01 +000040 2: "JOINV3",
Arjun E K57a7fcb2020-01-30 06:44:45 +000041}
42
43var SubActionTypes_value = map[string]int32{
Arjun E Kdd443f02020-02-07 15:24:01 +000044 "JOIN": 0,
45 "LEAVE": 1,
46 "JOINV3": 2,
Arjun E K57a7fcb2020-01-30 06:44:45 +000047}
48
49func (x SubActionTypes) String() string {
50 return proto.EnumName(SubActionTypes_name, int32(x))
51}
52
53func (SubActionTypes) EnumDescriptor() ([]byte, []int) {
54 return fileDescriptor_ef7750073d18011b, []int{0}
55}
56
Scott Baker41724b82020-01-21 19:54:53 -080057// These types correspond to the messages permitted in the oneof
58// in AlarmIndication in the openolt protos
59type AlarmType_Types int32
60
61const (
62 AlarmType_LOS AlarmType_Types = 0
63 AlarmType_DYING_GASP AlarmType_Types = 1
64 AlarmType_ONU_ALARM AlarmType_Types = 2
65 AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3
66 AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4
67 AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5
68 AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6
69 AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7
70 AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8
71 AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9
72 AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10
73 AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11
74 AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12
75 // These break out ONU_ALARM, which is a single message, but
76 // includes statuses for these six alarms.
77 AlarmType_ONU_ALARM_LOS AlarmType_Types = 13
78 AlarmType_ONU_ALARM_LOB AlarmType_Types = 14
79 AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15
80 AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16
81 AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17
82 AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18
83)
84
85var AlarmType_Types_name = map[int32]string{
86 0: "LOS",
87 1: "DYING_GASP",
88 2: "ONU_ALARM",
89 3: "ONU_STARTUP_FAILURE",
90 4: "ONU_SIGNAL_DEGRADE",
91 5: "ONU_DRIFT_OF_WINDOW",
92 6: "ONU_LOSS_OF_OMCI_CHANNEL",
93 7: "ONU_SIGNALS_FAILURE",
94 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING",
95 9: "ONU_ACTIVATION_FAILURE",
96 10: "ONU_PROCESSING_ERROR",
97 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE",
98 12: "ONU_ITU_PON_STATS",
99 13: "ONU_ALARM_LOS",
100 14: "ONU_ALARM_LOB",
101 15: "ONU_ALARM_LOPC_MISS",
102 16: "ONU_ALARM_LOPC_MIC_ERROR",
103 17: "ONU_ALARM_LOFI",
104 18: "ONU_ALARM_LOAMI",
105}
106
107var AlarmType_Types_value = map[string]int32{
108 "LOS": 0,
109 "DYING_GASP": 1,
110 "ONU_ALARM": 2,
111 "ONU_STARTUP_FAILURE": 3,
112 "ONU_SIGNAL_DEGRADE": 4,
113 "ONU_DRIFT_OF_WINDOW": 5,
114 "ONU_LOSS_OF_OMCI_CHANNEL": 6,
115 "ONU_SIGNALS_FAILURE": 7,
116 "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8,
117 "ONU_ACTIVATION_FAILURE": 9,
118 "ONU_PROCESSING_ERROR": 10,
119 "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11,
120 "ONU_ITU_PON_STATS": 12,
121 "ONU_ALARM_LOS": 13,
122 "ONU_ALARM_LOB": 14,
123 "ONU_ALARM_LOPC_MISS": 15,
124 "ONU_ALARM_LOPC_MIC_ERROR": 16,
125 "ONU_ALARM_LOFI": 17,
126 "ONU_ALARM_LOAMI": 18,
127}
128
129func (x AlarmType_Types) String() string {
130 return proto.EnumName(AlarmType_Types_name, int32(x))
131}
132
133func (AlarmType_Types) EnumDescriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700134 return fileDescriptor_ef7750073d18011b, []int{10, 0}
Scott Baker41724b82020-01-21 19:54:53 -0800135}
136
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700137type PONPort struct {
138 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
139 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
140 XXX_NoUnkeyedLiteral struct{} `json:"-"`
141 XXX_unrecognized []byte `json:"-"`
142 XXX_sizecache int32 `json:"-"`
143}
144
145func (m *PONPort) Reset() { *m = PONPort{} }
146func (m *PONPort) String() string { return proto.CompactTextString(m) }
147func (*PONPort) ProtoMessage() {}
148func (*PONPort) Descriptor() ([]byte, []int) {
149 return fileDescriptor_ef7750073d18011b, []int{0}
150}
151
152func (m *PONPort) XXX_Unmarshal(b []byte) error {
153 return xxx_messageInfo_PONPort.Unmarshal(m, b)
154}
155func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
156 return xxx_messageInfo_PONPort.Marshal(b, m, deterministic)
157}
158func (m *PONPort) XXX_Merge(src proto.Message) {
159 xxx_messageInfo_PONPort.Merge(m, src)
160}
161func (m *PONPort) XXX_Size() int {
162 return xxx_messageInfo_PONPort.Size(m)
163}
164func (m *PONPort) XXX_DiscardUnknown() {
165 xxx_messageInfo_PONPort.DiscardUnknown(m)
166}
167
168var xxx_messageInfo_PONPort proto.InternalMessageInfo
169
170func (m *PONPort) GetID() int32 {
171 if m != nil {
172 return m.ID
173 }
174 return 0
175}
176
177func (m *PONPort) GetOperState() string {
178 if m != nil {
179 return m.OperState
180 }
181 return ""
182}
183
184type NNIPort struct {
185 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
186 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
187 XXX_NoUnkeyedLiteral struct{} `json:"-"`
188 XXX_unrecognized []byte `json:"-"`
189 XXX_sizecache int32 `json:"-"`
190}
191
192func (m *NNIPort) Reset() { *m = NNIPort{} }
193func (m *NNIPort) String() string { return proto.CompactTextString(m) }
194func (*NNIPort) ProtoMessage() {}
195func (*NNIPort) Descriptor() ([]byte, []int) {
196 return fileDescriptor_ef7750073d18011b, []int{1}
197}
198
199func (m *NNIPort) XXX_Unmarshal(b []byte) error {
200 return xxx_messageInfo_NNIPort.Unmarshal(m, b)
201}
202func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
203 return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic)
204}
205func (m *NNIPort) XXX_Merge(src proto.Message) {
206 xxx_messageInfo_NNIPort.Merge(m, src)
207}
208func (m *NNIPort) XXX_Size() int {
209 return xxx_messageInfo_NNIPort.Size(m)
210}
211func (m *NNIPort) XXX_DiscardUnknown() {
212 xxx_messageInfo_NNIPort.DiscardUnknown(m)
213}
214
215var xxx_messageInfo_NNIPort proto.InternalMessageInfo
216
217func (m *NNIPort) GetID() int32 {
218 if m != nil {
219 return m.ID
220 }
221 return 0
222}
223
224func (m *NNIPort) GetOperState() string {
225 if m != nil {
226 return m.OperState
227 }
228 return ""
229}
230
231type Olt struct {
232 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
233 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
234 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
235 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
rajeshf921f882020-03-06 18:24:28 +0530236 IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700237 NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"`
238 PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"`
239 XXX_NoUnkeyedLiteral struct{} `json:"-"`
240 XXX_unrecognized []byte `json:"-"`
241 XXX_sizecache int32 `json:"-"`
242}
243
244func (m *Olt) Reset() { *m = Olt{} }
245func (m *Olt) String() string { return proto.CompactTextString(m) }
246func (*Olt) ProtoMessage() {}
247func (*Olt) Descriptor() ([]byte, []int) {
248 return fileDescriptor_ef7750073d18011b, []int{2}
249}
250
251func (m *Olt) XXX_Unmarshal(b []byte) error {
252 return xxx_messageInfo_Olt.Unmarshal(m, b)
253}
254func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
255 return xxx_messageInfo_Olt.Marshal(b, m, deterministic)
256}
257func (m *Olt) XXX_Merge(src proto.Message) {
258 xxx_messageInfo_Olt.Merge(m, src)
259}
260func (m *Olt) XXX_Size() int {
261 return xxx_messageInfo_Olt.Size(m)
262}
263func (m *Olt) XXX_DiscardUnknown() {
264 xxx_messageInfo_Olt.DiscardUnknown(m)
265}
266
267var xxx_messageInfo_Olt proto.InternalMessageInfo
268
269func (m *Olt) GetID() int32 {
270 if m != nil {
271 return m.ID
272 }
273 return 0
274}
275
276func (m *Olt) GetSerialNumber() string {
277 if m != nil {
278 return m.SerialNumber
279 }
280 return ""
281}
282
283func (m *Olt) GetOperState() string {
284 if m != nil {
285 return m.OperState
286 }
287 return ""
288}
289
290func (m *Olt) GetInternalState() string {
291 if m != nil {
292 return m.InternalState
293 }
294 return ""
295}
296
rajeshf921f882020-03-06 18:24:28 +0530297func (m *Olt) GetIP() string {
298 if m != nil {
299 return m.IP
300 }
301 return ""
302}
303
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700304func (m *Olt) GetNNIPorts() []*NNIPort {
305 if m != nil {
306 return m.NNIPorts
307 }
308 return nil
309}
310
311func (m *Olt) GetPONPorts() []*PONPort {
312 if m != nil {
313 return m.PONPorts
314 }
315 return nil
316}
317
318type ONU struct {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700319 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
320 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
321 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
322 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
323 PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"`
324 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
325 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
326 Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"`
327 XXX_NoUnkeyedLiteral struct{} `json:"-"`
328 XXX_unrecognized []byte `json:"-"`
329 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700330}
331
332func (m *ONU) Reset() { *m = ONU{} }
333func (m *ONU) String() string { return proto.CompactTextString(m) }
334func (*ONU) ProtoMessage() {}
335func (*ONU) Descriptor() ([]byte, []int) {
336 return fileDescriptor_ef7750073d18011b, []int{3}
337}
338
339func (m *ONU) XXX_Unmarshal(b []byte) error {
340 return xxx_messageInfo_ONU.Unmarshal(m, b)
341}
342func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
343 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
344}
345func (m *ONU) XXX_Merge(src proto.Message) {
346 xxx_messageInfo_ONU.Merge(m, src)
347}
348func (m *ONU) XXX_Size() int {
349 return xxx_messageInfo_ONU.Size(m)
350}
351func (m *ONU) XXX_DiscardUnknown() {
352 xxx_messageInfo_ONU.DiscardUnknown(m)
353}
354
355var xxx_messageInfo_ONU proto.InternalMessageInfo
356
357func (m *ONU) GetID() int32 {
358 if m != nil {
359 return m.ID
360 }
361 return 0
362}
363
364func (m *ONU) GetSerialNumber() string {
365 if m != nil {
366 return m.SerialNumber
367 }
368 return ""
369}
370
371func (m *ONU) GetOperState() string {
372 if m != nil {
373 return m.OperState
374 }
375 return ""
376}
377
378func (m *ONU) GetInternalState() string {
379 if m != nil {
380 return m.InternalState
381 }
382 return ""
383}
384
385func (m *ONU) GetPonPortID() int32 {
386 if m != nil {
387 return m.PonPortID
388 }
389 return 0
390}
391
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700392func (m *ONU) GetHwAddress() string {
393 if m != nil {
394 return m.HwAddress
395 }
396 return ""
397}
398
399func (m *ONU) GetPortNo() int32 {
400 if m != nil {
401 return m.PortNo
402 }
403 return 0
404}
405
Matteo Scandolo4a036262020-08-17 15:56:13 -0700406func (m *ONU) GetServices() []*Service {
407 if m != nil {
408 return m.Services
409 }
410 return nil
411}
412
413type Service struct {
414 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
415 HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
416 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
417 STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"`
418 CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"`
419 NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"`
420 NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"`
421 NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"`
422 GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"`
423 EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"`
424 DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"`
425 XXX_NoUnkeyedLiteral struct{} `json:"-"`
426 XXX_unrecognized []byte `json:"-"`
427 XXX_sizecache int32 `json:"-"`
428}
429
430func (m *Service) Reset() { *m = Service{} }
431func (m *Service) String() string { return proto.CompactTextString(m) }
432func (*Service) ProtoMessage() {}
433func (*Service) Descriptor() ([]byte, []int) {
434 return fileDescriptor_ef7750073d18011b, []int{4}
435}
436
437func (m *Service) XXX_Unmarshal(b []byte) error {
438 return xxx_messageInfo_Service.Unmarshal(m, b)
439}
440func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
441 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
442}
443func (m *Service) XXX_Merge(src proto.Message) {
444 xxx_messageInfo_Service.Merge(m, src)
445}
446func (m *Service) XXX_Size() int {
447 return xxx_messageInfo_Service.Size(m)
448}
449func (m *Service) XXX_DiscardUnknown() {
450 xxx_messageInfo_Service.DiscardUnknown(m)
451}
452
453var xxx_messageInfo_Service proto.InternalMessageInfo
454
455func (m *Service) GetName() string {
456 if m != nil {
457 return m.Name
458 }
459 return ""
460}
461
462func (m *Service) GetHwAddress() string {
463 if m != nil {
464 return m.HwAddress
465 }
466 return ""
467}
468
469func (m *Service) GetOnuSn() string {
470 if m != nil {
471 return m.OnuSn
472 }
473 return ""
474}
475
476func (m *Service) GetSTag() int32 {
477 if m != nil {
478 return m.STag
479 }
480 return 0
481}
482
483func (m *Service) GetCTag() int32 {
484 if m != nil {
485 return m.CTag
486 }
487 return 0
488}
489
490func (m *Service) GetNeedsEapol() bool {
491 if m != nil {
492 return m.NeedsEapol
493 }
494 return false
495}
496
497func (m *Service) GetNeedsDhcp() bool {
498 if m != nil {
499 return m.NeedsDhcp
500 }
501 return false
502}
503
504func (m *Service) GetNeedsIgmp() bool {
505 if m != nil {
506 return m.NeedsIgmp
507 }
508 return false
509}
510
511func (m *Service) GetGemPort() int32 {
512 if m != nil {
513 return m.GemPort
514 }
515 return 0
516}
517
518func (m *Service) GetEapolState() string {
519 if m != nil {
520 return m.EapolState
521 }
522 return ""
523}
524
525func (m *Service) GetDhcpState() string {
526 if m != nil {
527 return m.DhcpState
528 }
529 return ""
530}
531
Anand S Katti09541352020-01-29 15:54:01 +0530532type ONUTrafficSchedulers struct {
533 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
534 XXX_NoUnkeyedLiteral struct{} `json:"-"`
535 XXX_unrecognized []byte `json:"-"`
536 XXX_sizecache int32 `json:"-"`
537}
538
539func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
540func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
541func (*ONUTrafficSchedulers) ProtoMessage() {}
542func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700543 return fileDescriptor_ef7750073d18011b, []int{5}
Anand S Katti09541352020-01-29 15:54:01 +0530544}
545
546func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
547 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
548}
549func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
550 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
551}
552func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
553 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
554}
555func (m *ONUTrafficSchedulers) XXX_Size() int {
556 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
557}
558func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
559 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
560}
561
562var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
563
564func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
565 if m != nil {
566 return m.TraffSchedulers
567 }
568 return nil
569}
570
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700571type ONUs struct {
572 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
573 XXX_NoUnkeyedLiteral struct{} `json:"-"`
574 XXX_unrecognized []byte `json:"-"`
575 XXX_sizecache int32 `json:"-"`
576}
577
578func (m *ONUs) Reset() { *m = ONUs{} }
579func (m *ONUs) String() string { return proto.CompactTextString(m) }
580func (*ONUs) ProtoMessage() {}
581func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700582 return fileDescriptor_ef7750073d18011b, []int{6}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700583}
584
585func (m *ONUs) XXX_Unmarshal(b []byte) error {
586 return xxx_messageInfo_ONUs.Unmarshal(m, b)
587}
588func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
589 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
590}
591func (m *ONUs) XXX_Merge(src proto.Message) {
592 xxx_messageInfo_ONUs.Merge(m, src)
593}
594func (m *ONUs) XXX_Size() int {
595 return xxx_messageInfo_ONUs.Size(m)
596}
597func (m *ONUs) XXX_DiscardUnknown() {
598 xxx_messageInfo_ONUs.DiscardUnknown(m)
599}
600
601var xxx_messageInfo_ONUs proto.InternalMessageInfo
602
603func (m *ONUs) GetItems() []*ONU {
604 if m != nil {
605 return m.Items
606 }
607 return nil
608}
609
Matteo Scandolo4a036262020-08-17 15:56:13 -0700610type Services struct {
611 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
612 XXX_NoUnkeyedLiteral struct{} `json:"-"`
613 XXX_unrecognized []byte `json:"-"`
614 XXX_sizecache int32 `json:"-"`
615}
616
617func (m *Services) Reset() { *m = Services{} }
618func (m *Services) String() string { return proto.CompactTextString(m) }
619func (*Services) ProtoMessage() {}
620func (*Services) Descriptor() ([]byte, []int) {
621 return fileDescriptor_ef7750073d18011b, []int{7}
622}
623
624func (m *Services) XXX_Unmarshal(b []byte) error {
625 return xxx_messageInfo_Services.Unmarshal(m, b)
626}
627func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
628 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
629}
630func (m *Services) XXX_Merge(src proto.Message) {
631 xxx_messageInfo_Services.Merge(m, src)
632}
633func (m *Services) XXX_Size() int {
634 return xxx_messageInfo_Services.Size(m)
635}
636func (m *Services) XXX_DiscardUnknown() {
637 xxx_messageInfo_Services.DiscardUnknown(m)
638}
639
640var xxx_messageInfo_Services proto.InternalMessageInfo
641
642func (m *Services) GetItems() []*Service {
643 if m != nil {
644 return m.Items
645 }
646 return nil
647}
648
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700649type ONURequest struct {
650 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
651 XXX_NoUnkeyedLiteral struct{} `json:"-"`
652 XXX_unrecognized []byte `json:"-"`
653 XXX_sizecache int32 `json:"-"`
654}
655
656func (m *ONURequest) Reset() { *m = ONURequest{} }
657func (m *ONURequest) String() string { return proto.CompactTextString(m) }
658func (*ONURequest) ProtoMessage() {}
659func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700660 return fileDescriptor_ef7750073d18011b, []int{8}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700661}
662
663func (m *ONURequest) XXX_Unmarshal(b []byte) error {
664 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
665}
666func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
667 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
668}
669func (m *ONURequest) XXX_Merge(src proto.Message) {
670 xxx_messageInfo_ONURequest.Merge(m, src)
671}
672func (m *ONURequest) XXX_Size() int {
673 return xxx_messageInfo_ONURequest.Size(m)
674}
675func (m *ONURequest) XXX_DiscardUnknown() {
676 xxx_messageInfo_ONURequest.DiscardUnknown(m)
677}
678
679var xxx_messageInfo_ONURequest proto.InternalMessageInfo
680
681func (m *ONURequest) GetSerialNumber() string {
682 if m != nil {
683 return m.SerialNumber
684 }
685 return ""
686}
687
Pragya Aryabd731ec2020-02-11 16:38:17 +0530688type PONRequest struct {
689 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
690 XXX_NoUnkeyedLiteral struct{} `json:"-"`
691 XXX_unrecognized []byte `json:"-"`
692 XXX_sizecache int32 `json:"-"`
693}
694
695func (m *PONRequest) Reset() { *m = PONRequest{} }
696func (m *PONRequest) String() string { return proto.CompactTextString(m) }
697func (*PONRequest) ProtoMessage() {}
698func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700699 return fileDescriptor_ef7750073d18011b, []int{9}
Pragya Aryabd731ec2020-02-11 16:38:17 +0530700}
701
702func (m *PONRequest) XXX_Unmarshal(b []byte) error {
703 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
704}
705func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
706 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
707}
708func (m *PONRequest) XXX_Merge(src proto.Message) {
709 xxx_messageInfo_PONRequest.Merge(m, src)
710}
711func (m *PONRequest) XXX_Size() int {
712 return xxx_messageInfo_PONRequest.Size(m)
713}
714func (m *PONRequest) XXX_DiscardUnknown() {
715 xxx_messageInfo_PONRequest.DiscardUnknown(m)
716}
717
718var xxx_messageInfo_PONRequest proto.InternalMessageInfo
719
720func (m *PONRequest) GetPonPortId() uint32 {
721 if m != nil {
722 return m.PonPortId
723 }
724 return 0
725}
726
Scott Baker41724b82020-01-21 19:54:53 -0800727type AlarmType struct {
728 XXX_NoUnkeyedLiteral struct{} `json:"-"`
729 XXX_unrecognized []byte `json:"-"`
730 XXX_sizecache int32 `json:"-"`
731}
732
733func (m *AlarmType) Reset() { *m = AlarmType{} }
734func (m *AlarmType) String() string { return proto.CompactTextString(m) }
735func (*AlarmType) ProtoMessage() {}
736func (*AlarmType) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700737 return fileDescriptor_ef7750073d18011b, []int{10}
Scott Baker41724b82020-01-21 19:54:53 -0800738}
739
740func (m *AlarmType) XXX_Unmarshal(b []byte) error {
741 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
742}
743func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
744 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
745}
746func (m *AlarmType) XXX_Merge(src proto.Message) {
747 xxx_messageInfo_AlarmType.Merge(m, src)
748}
749func (m *AlarmType) XXX_Size() int {
750 return xxx_messageInfo_AlarmType.Size(m)
751}
752func (m *AlarmType) XXX_DiscardUnknown() {
753 xxx_messageInfo_AlarmType.DiscardUnknown(m)
754}
755
756var xxx_messageInfo_AlarmType proto.InternalMessageInfo
757
758type AlarmParameter struct {
759 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
760 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
761 XXX_NoUnkeyedLiteral struct{} `json:"-"`
762 XXX_unrecognized []byte `json:"-"`
763 XXX_sizecache int32 `json:"-"`
764}
765
766func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
767func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
768func (*AlarmParameter) ProtoMessage() {}
769func (*AlarmParameter) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700770 return fileDescriptor_ef7750073d18011b, []int{11}
Scott Baker41724b82020-01-21 19:54:53 -0800771}
772
773func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
774 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
775}
776func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
777 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
778}
779func (m *AlarmParameter) XXX_Merge(src proto.Message) {
780 xxx_messageInfo_AlarmParameter.Merge(m, src)
781}
782func (m *AlarmParameter) XXX_Size() int {
783 return xxx_messageInfo_AlarmParameter.Size(m)
784}
785func (m *AlarmParameter) XXX_DiscardUnknown() {
786 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
787}
788
789var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
790
791func (m *AlarmParameter) GetKey() string {
792 if m != nil {
793 return m.Key
794 }
795 return ""
796}
797
798func (m *AlarmParameter) GetValue() string {
799 if m != nil {
800 return m.Value
801 }
802 return ""
803}
804
Anand S Katti86552f92020-03-03 21:56:32 +0530805// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +0530806// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -0800807// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +0530808type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +0530809 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -0800810 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
811 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
812 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
813 XXX_NoUnkeyedLiteral struct{} `json:"-"`
814 XXX_unrecognized []byte `json:"-"`
815 XXX_sizecache int32 `json:"-"`
816}
817
Anand S Katti86552f92020-03-03 21:56:32 +0530818func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
819func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
820func (*ONUAlarmRequest) ProtoMessage() {}
821func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700822 return fileDescriptor_ef7750073d18011b, []int{12}
Scott Baker41724b82020-01-21 19:54:53 -0800823}
824
Anand S Katti86552f92020-03-03 21:56:32 +0530825func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
826 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -0800827}
Anand S Katti86552f92020-03-03 21:56:32 +0530828func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
829 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -0800830}
Anand S Katti86552f92020-03-03 21:56:32 +0530831func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
832 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -0800833}
Anand S Katti86552f92020-03-03 21:56:32 +0530834func (m *ONUAlarmRequest) XXX_Size() int {
835 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -0800836}
Anand S Katti86552f92020-03-03 21:56:32 +0530837func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
838 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -0800839}
840
Anand S Katti86552f92020-03-03 21:56:32 +0530841var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -0800842
Anand S Katti86552f92020-03-03 21:56:32 +0530843func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -0800844 if m != nil {
845 return m.AlarmType
846 }
Pragya Arya694ece02020-02-07 13:03:47 +0530847 return ""
Scott Baker41724b82020-01-21 19:54:53 -0800848}
849
Anand S Katti86552f92020-03-03 21:56:32 +0530850func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -0800851 if m != nil {
852 return m.SerialNumber
853 }
854 return ""
855}
856
Anand S Katti86552f92020-03-03 21:56:32 +0530857func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -0800858 if m != nil {
859 return m.Status
860 }
861 return ""
862}
863
Anand S Katti86552f92020-03-03 21:56:32 +0530864func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -0800865 if m != nil {
866 return m.Parameters
867 }
868 return nil
869}
870
Anand S Katti86552f92020-03-03 21:56:32 +0530871// OLT alarm request
872type OLTAlarmRequest struct {
873 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
874 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
875 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
876 XXX_NoUnkeyedLiteral struct{} `json:"-"`
877 XXX_unrecognized []byte `json:"-"`
878 XXX_sizecache int32 `json:"-"`
879}
880
881func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
882func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
883func (*OLTAlarmRequest) ProtoMessage() {}
884func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700885 return fileDescriptor_ef7750073d18011b, []int{13}
Anand S Katti86552f92020-03-03 21:56:32 +0530886}
887
888func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
889 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
890}
891func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
892 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
893}
894func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
895 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
896}
897func (m *OLTAlarmRequest) XXX_Size() int {
898 return xxx_messageInfo_OLTAlarmRequest.Size(m)
899}
900func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
901 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
902}
903
904var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
905
906func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
907 if m != nil {
908 return m.InterfaceID
909 }
910 return 0
911}
912
913func (m *OLTAlarmRequest) GetInterfaceType() string {
914 if m != nil {
915 return m.InterfaceType
916 }
917 return ""
918}
919
920func (m *OLTAlarmRequest) GetStatus() string {
921 if m != nil {
922 return m.Status
923 }
924 return ""
925}
926
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700927type VersionNumber struct {
928 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
929 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
930 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
931 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
932 XXX_NoUnkeyedLiteral struct{} `json:"-"`
933 XXX_unrecognized []byte `json:"-"`
934 XXX_sizecache int32 `json:"-"`
935}
936
937func (m *VersionNumber) Reset() { *m = VersionNumber{} }
938func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
939func (*VersionNumber) ProtoMessage() {}
940func (*VersionNumber) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700941 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700942}
943
944func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
945 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
946}
947func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
948 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
949}
950func (m *VersionNumber) XXX_Merge(src proto.Message) {
951 xxx_messageInfo_VersionNumber.Merge(m, src)
952}
953func (m *VersionNumber) XXX_Size() int {
954 return xxx_messageInfo_VersionNumber.Size(m)
955}
956func (m *VersionNumber) XXX_DiscardUnknown() {
957 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
958}
959
960var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
961
962func (m *VersionNumber) GetVersion() string {
963 if m != nil {
964 return m.Version
965 }
966 return ""
967}
968
969func (m *VersionNumber) GetBuildTime() string {
970 if m != nil {
971 return m.BuildTime
972 }
973 return ""
974}
975
976func (m *VersionNumber) GetCommitHash() string {
977 if m != nil {
978 return m.CommitHash
979 }
980 return ""
981}
982
983func (m *VersionNumber) GetGitStatus() string {
984 if m != nil {
985 return m.GitStatus
986 }
987 return ""
988}
989
990type LogLevel struct {
991 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
992 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
993 XXX_NoUnkeyedLiteral struct{} `json:"-"`
994 XXX_unrecognized []byte `json:"-"`
995 XXX_sizecache int32 `json:"-"`
996}
997
998func (m *LogLevel) Reset() { *m = LogLevel{} }
999func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1000func (*LogLevel) ProtoMessage() {}
1001func (*LogLevel) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001002 return fileDescriptor_ef7750073d18011b, []int{15}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001003}
1004
1005func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1006 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1007}
1008func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1009 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1010}
1011func (m *LogLevel) XXX_Merge(src proto.Message) {
1012 xxx_messageInfo_LogLevel.Merge(m, src)
1013}
1014func (m *LogLevel) XXX_Size() int {
1015 return xxx_messageInfo_LogLevel.Size(m)
1016}
1017func (m *LogLevel) XXX_DiscardUnknown() {
1018 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1019}
1020
1021var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1022
1023func (m *LogLevel) GetLevel() string {
1024 if m != nil {
1025 return m.Level
1026 }
1027 return ""
1028}
1029
1030func (m *LogLevel) GetCaller() bool {
1031 if m != nil {
1032 return m.Caller
1033 }
1034 return false
1035}
1036
1037type Response struct {
1038 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1039 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1040 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1041 XXX_unrecognized []byte `json:"-"`
1042 XXX_sizecache int32 `json:"-"`
1043}
1044
1045func (m *Response) Reset() { *m = Response{} }
1046func (m *Response) String() string { return proto.CompactTextString(m) }
1047func (*Response) ProtoMessage() {}
1048func (*Response) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001049 return fileDescriptor_ef7750073d18011b, []int{16}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001050}
1051
1052func (m *Response) XXX_Unmarshal(b []byte) error {
1053 return xxx_messageInfo_Response.Unmarshal(m, b)
1054}
1055func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1056 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1057}
1058func (m *Response) XXX_Merge(src proto.Message) {
1059 xxx_messageInfo_Response.Merge(m, src)
1060}
1061func (m *Response) XXX_Size() int {
1062 return xxx_messageInfo_Response.Size(m)
1063}
1064func (m *Response) XXX_DiscardUnknown() {
1065 xxx_messageInfo_Response.DiscardUnknown(m)
1066}
1067
1068var xxx_messageInfo_Response proto.InternalMessageInfo
1069
1070func (m *Response) GetStatusCode() int32 {
1071 if m != nil {
1072 return m.StatusCode
1073 }
1074 return 0
1075}
1076
1077func (m *Response) GetMessage() string {
1078 if m != nil {
1079 return m.Message
1080 }
1081 return ""
1082}
1083
Arjun E K57a7fcb2020-01-30 06:44:45 +00001084type IgmpRequest struct {
1085 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1086 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
1087 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1088 XXX_unrecognized []byte `json:"-"`
1089 XXX_sizecache int32 `json:"-"`
1090}
1091
1092func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1093func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1094func (*IgmpRequest) ProtoMessage() {}
1095func (*IgmpRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001096 return fileDescriptor_ef7750073d18011b, []int{17}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001097}
1098
1099func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1100 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1101}
1102func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1103 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1104}
1105func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1106 xxx_messageInfo_IgmpRequest.Merge(m, src)
1107}
1108func (m *IgmpRequest) XXX_Size() int {
1109 return xxx_messageInfo_IgmpRequest.Size(m)
1110}
1111func (m *IgmpRequest) XXX_DiscardUnknown() {
1112 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1113}
1114
1115var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1116
1117func (m *IgmpRequest) GetOnuReq() *ONURequest {
1118 if m != nil {
1119 return m.OnuReq
1120 }
1121 return nil
1122}
1123
1124func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1125 if m != nil {
1126 return m.SubActionVal
1127 }
1128 return SubActionTypes_JOIN
1129}
1130
Pragya Arya8bdb4532020-03-02 17:08:09 +05301131type Flows struct {
1132 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1133 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1134 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1135 XXX_unrecognized []byte `json:"-"`
1136 XXX_sizecache int32 `json:"-"`
1137}
1138
1139func (m *Flows) Reset() { *m = Flows{} }
1140func (m *Flows) String() string { return proto.CompactTextString(m) }
1141func (*Flows) ProtoMessage() {}
1142func (*Flows) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001143 return fileDescriptor_ef7750073d18011b, []int{18}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301144}
1145
1146func (m *Flows) XXX_Unmarshal(b []byte) error {
1147 return xxx_messageInfo_Flows.Unmarshal(m, b)
1148}
1149func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1150 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1151}
1152func (m *Flows) XXX_Merge(src proto.Message) {
1153 xxx_messageInfo_Flows.Merge(m, src)
1154}
1155func (m *Flows) XXX_Size() int {
1156 return xxx_messageInfo_Flows.Size(m)
1157}
1158func (m *Flows) XXX_DiscardUnknown() {
1159 xxx_messageInfo_Flows.DiscardUnknown(m)
1160}
1161
1162var xxx_messageInfo_Flows proto.InternalMessageInfo
1163
1164func (m *Flows) GetFlowCount() uint32 {
1165 if m != nil {
1166 return m.FlowCount
1167 }
1168 return 0
1169}
1170
1171func (m *Flows) GetFlows() []*openolt.Flow {
1172 if m != nil {
1173 return m.Flows
1174 }
1175 return nil
1176}
1177
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001178type Empty struct {
1179 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1180 XXX_unrecognized []byte `json:"-"`
1181 XXX_sizecache int32 `json:"-"`
1182}
1183
1184func (m *Empty) Reset() { *m = Empty{} }
1185func (m *Empty) String() string { return proto.CompactTextString(m) }
1186func (*Empty) ProtoMessage() {}
1187func (*Empty) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001188 return fileDescriptor_ef7750073d18011b, []int{19}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001189}
1190
1191func (m *Empty) XXX_Unmarshal(b []byte) error {
1192 return xxx_messageInfo_Empty.Unmarshal(m, b)
1193}
1194func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1195 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1196}
1197func (m *Empty) XXX_Merge(src proto.Message) {
1198 xxx_messageInfo_Empty.Merge(m, src)
1199}
1200func (m *Empty) XXX_Size() int {
1201 return xxx_messageInfo_Empty.Size(m)
1202}
1203func (m *Empty) XXX_DiscardUnknown() {
1204 xxx_messageInfo_Empty.DiscardUnknown(m)
1205}
1206
1207var xxx_messageInfo_Empty proto.InternalMessageInfo
1208
1209func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001210 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Scott Baker41724b82020-01-21 19:54:53 -08001211 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001212 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
1213 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1214 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
1215 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001216 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301217 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001218 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001219 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001220 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301221 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001222 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1223 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301224 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1225 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001226 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1227 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1228 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001229 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301230 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001231 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1232}
1233
Matteo Scandolof65e6872020-04-15 15:18:43 -07001234func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001235
1236var fileDescriptor_ef7750073d18011b = []byte{
Matteo Scandolo4a036262020-08-17 15:56:13 -07001237 // 1501 bytes of a gzipped FileDescriptorProto
1238 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcb, 0x6e, 0xdb, 0xc6,
1239 0x1a, 0xd6, 0xc5, 0xba, 0xfd, 0xb2, 0x64, 0x7a, 0x12, 0x3b, 0x84, 0xe3, 0x73, 0x22, 0xf0, 0xe4,
1240 0x1c, 0x38, 0xc1, 0x89, 0xd3, 0xd8, 0xbd, 0x24, 0x4b, 0x5a, 0xa2, 0x15, 0xd6, 0xf2, 0x50, 0x18,
1241 0x4a, 0x0e, 0xb2, 0x22, 0x68, 0x69, 0x6c, 0x13, 0xa0, 0x48, 0x85, 0xa4, 0x6c, 0xe4, 0x01, 0xfa,
1242 0x22, 0xdd, 0xf7, 0x39, 0xba, 0xed, 0x13, 0x74, 0xd7, 0xc7, 0x28, 0x50, 0xcc, 0x70, 0x48, 0x91,
1243 0x96, 0x52, 0xb8, 0xdd, 0x74, 0x63, 0xcc, 0xff, 0xfd, 0xf7, 0x8b, 0xfe, 0x9f, 0x86, 0x1d, 0x7b,
1244 0xee, 0xbc, 0xbe, 0xbc, 0x0c, 0x9d, 0x59, 0xfc, 0xf7, 0x70, 0x1e, 0xf8, 0x91, 0x8f, 0x2a, 0x9c,
1245 0xd8, 0x7b, 0x7a, 0xeb, 0xbb, 0xd1, 0x8d, 0x6d, 0x71, 0x30, 0x7c, 0xed, 0xcf, 0xa9, 0xe7, 0xbb,
1246 0x51, 0x2c, 0xb3, 0xd7, 0xc9, 0x33, 0x23, 0x3a, 0xb9, 0x61, 0xef, 0x2b, 0xc7, 0xa5, 0xb1, 0x84,
1247 0xf2, 0x1d, 0xd4, 0x86, 0x06, 0x1e, 0xfa, 0x41, 0x84, 0xda, 0x50, 0xd2, 0x7b, 0x72, 0xb1, 0x53,
1248 0x3c, 0xa8, 0x90, 0x92, 0xde, 0x43, 0xfb, 0xd0, 0x30, 0xe6, 0x34, 0x30, 0x23, 0x3b, 0xa2, 0x72,
1249 0xa9, 0x53, 0x3c, 0x68, 0x90, 0x25, 0xc0, 0x14, 0x31, 0xd6, 0xff, 0x86, 0xe2, 0x6f, 0x45, 0x28,
1250 0x1b, 0xee, 0xaa, 0x96, 0x02, 0x9b, 0x26, 0x0d, 0x1c, 0xdb, 0xc5, 0x8b, 0xd9, 0x25, 0x0d, 0x84,
1251 0x62, 0x0e, 0xcb, 0x5b, 0x2e, 0xdf, 0xb3, 0x8c, 0x9e, 0x43, 0x4b, 0xf7, 0x22, 0x1a, 0x78, 0xb6,
1252 0x1b, 0x4b, 0x6c, 0x70, 0x89, 0x3c, 0xc8, 0xfd, 0x0e, 0xe5, 0x1a, 0x67, 0x95, 0xf4, 0x21, 0x7a,
1253 0x09, 0x75, 0x91, 0x48, 0x28, 0x57, 0x3a, 0xe5, 0x83, 0xe6, 0x51, 0xfb, 0x30, 0xae, 0xb3, 0x80,
1254 0x49, 0xca, 0x67, 0xb2, 0xa2, 0x5a, 0xa1, 0x5c, 0xcd, 0xc9, 0x0a, 0x98, 0xa4, 0x7c, 0xe5, 0x77,
1255 0x96, 0x27, 0x1e, 0xff, 0x63, 0x79, 0xee, 0x43, 0x63, 0xe8, 0x7b, 0x2c, 0x16, 0xbd, 0x27, 0x57,
1256 0xb8, 0xfb, 0x25, 0xc0, 0xb8, 0xef, 0xef, 0xd4, 0xe9, 0x34, 0xa0, 0x61, 0x28, 0xd7, 0x63, 0x0f,
1257 0x29, 0x80, 0x76, 0xa1, 0xca, 0xe4, 0xb0, 0x2f, 0x37, 0xb8, 0xa2, 0xa0, 0x58, 0xfe, 0x21, 0x0d,
1258 0x6e, 0x9d, 0x09, 0x0d, 0x65, 0xc8, 0xe5, 0x6f, 0xc6, 0x30, 0x49, 0xf9, 0xca, 0x4f, 0x25, 0xa8,
1259 0x09, 0x14, 0x21, 0xd8, 0xc0, 0xf6, 0x8c, 0xf2, 0x2a, 0x34, 0x08, 0x7f, 0xe7, 0x23, 0x28, 0xdd,
1260 0x8f, 0xe0, 0x31, 0x54, 0x0c, 0x6f, 0x61, 0x7a, 0x22, 0xfb, 0x98, 0x60, 0x76, 0xcc, 0x91, 0x7d,
1261 0xcd, 0x13, 0xae, 0x10, 0xfe, 0x66, 0x58, 0x97, 0x61, 0x71, 0x8a, 0xfc, 0x8d, 0xfe, 0x0d, 0x80,
1262 0x29, 0x9d, 0x86, 0x9a, 0x3d, 0xf7, 0x5d, 0xb9, 0xda, 0x29, 0x1e, 0xd4, 0x49, 0x06, 0x61, 0xbe,
1263 0x39, 0xd5, 0xbb, 0x99, 0xcc, 0xf9, 0x28, 0xd4, 0xc9, 0x12, 0x48, 0xb9, 0xfa, 0xf5, 0x6c, 0xce,
1264 0x6b, 0x93, 0x70, 0x19, 0x80, 0x64, 0xa8, 0xf5, 0xe9, 0x8c, 0x15, 0x44, 0x14, 0x27, 0x21, 0x99,
1265 0x57, 0x6e, 0x3e, 0x6e, 0x0a, 0xf0, 0xc0, 0x33, 0x08, 0xb3, 0xcb, 0xec, 0xc7, 0xec, 0x66, 0x9c,
1266 0x71, 0x0a, 0x28, 0x36, 0x3c, 0x36, 0xf0, 0x78, 0x14, 0xd8, 0x57, 0x57, 0xce, 0xc4, 0x9c, 0xdc,
1267 0xd0, 0xe9, 0xc2, 0xa5, 0x41, 0x88, 0x74, 0xd8, 0x8a, 0x18, 0xb8, 0x84, 0x78, 0x19, 0x9b, 0x47,
1268 0xcf, 0x0e, 0x73, 0xbf, 0xe7, 0x15, 0x4d, 0x72, 0x5f, 0x4f, 0x39, 0x80, 0x0d, 0x03, 0x8f, 0x43,
1269 0xd4, 0x81, 0x8a, 0x13, 0xd1, 0x19, 0x33, 0xc4, 0x7a, 0x08, 0xa2, 0x87, 0x06, 0x1e, 0x93, 0x98,
1270 0xa1, 0x7c, 0x05, 0x75, 0xd1, 0xbb, 0x10, 0x3d, 0xcf, 0x4b, 0xdf, 0xef, 0x78, 0xaa, 0x01, 0x4c,
1271 0x9f, 0x7e, 0x5a, 0xd0, 0x30, 0x5a, 0x19, 0xf2, 0xe2, 0xea, 0x90, 0x2b, 0x2f, 0x01, 0x86, 0x06,
1272 0x4e, 0x34, 0x32, 0xe3, 0x3a, 0xe5, 0xe2, 0xad, 0xe5, 0xb8, 0x4e, 0x95, 0x5f, 0xcb, 0xd0, 0x50,
1273 0x5d, 0x3b, 0x98, 0x8d, 0x3e, 0xcf, 0xa9, 0xf2, 0x4b, 0x19, 0x2a, 0xec, 0x11, 0xa2, 0x1a, 0x94,
1274 0x07, 0x86, 0x29, 0x15, 0x50, 0x1b, 0xa0, 0xf7, 0x51, 0xc7, 0x7d, 0xab, 0xaf, 0x9a, 0x43, 0xa9,
1275 0x88, 0x5a, 0xd0, 0x30, 0xf0, 0xd8, 0x52, 0x07, 0x2a, 0x39, 0x97, 0x4a, 0xe8, 0x09, 0x3c, 0x62,
1276 0xa4, 0x39, 0x52, 0xc9, 0x68, 0x3c, 0xb4, 0x4e, 0x55, 0x7d, 0x30, 0x26, 0x9a, 0x54, 0x46, 0xbb,
1277 0x80, 0x38, 0x43, 0xef, 0x63, 0x75, 0x60, 0xf5, 0xb4, 0x3e, 0x51, 0x7b, 0x9a, 0xb4, 0x91, 0x28,
1278 0xf4, 0x88, 0x7e, 0x3a, 0xb2, 0x8c, 0x53, 0xeb, 0x83, 0x8e, 0x7b, 0xc6, 0x07, 0xa9, 0x82, 0xf6,
1279 0x41, 0x66, 0x8c, 0x81, 0x61, 0x9a, 0x0c, 0x37, 0xce, 0xbb, 0xba, 0xd5, 0x7d, 0xaf, 0x62, 0xac,
1280 0x0d, 0xa4, 0x6a, 0xea, 0x87, 0x9b, 0x33, 0x53, 0x3f, 0x35, 0xf4, 0x02, 0xfe, 0xcb, 0x18, 0x23,
1281 0xa2, 0x62, 0xf3, 0x5c, 0x37, 0x4d, 0xdd, 0xc0, 0x96, 0x8e, 0x47, 0x1a, 0x39, 0xd5, 0x88, 0x86,
1282 0xbb, 0x9a, 0xf5, 0x41, 0x25, 0x58, 0xc7, 0x7d, 0xa9, 0x8e, 0xf6, 0x60, 0x97, 0x87, 0xde, 0x1d,
1283 0xe9, 0x17, 0xea, 0x88, 0x09, 0x26, 0x66, 0x1a, 0x48, 0xe6, 0x43, 0x62, 0x0d, 0x89, 0xd1, 0xd5,
1284 0x4c, 0x93, 0xe5, 0xab, 0x11, 0x62, 0x10, 0x09, 0x50, 0x07, 0xf6, 0xb3, 0x71, 0x9d, 0x69, 0x1f,
1285 0x2d, 0xf3, 0x23, 0xee, 0xa6, 0xba, 0x4d, 0xb4, 0x03, 0xdb, 0x4c, 0x42, 0x1f, 0x8d, 0xad, 0xa1,
1286 0x81, 0x59, 0x2d, 0x46, 0xa6, 0xb4, 0x89, 0xb6, 0xa1, 0x95, 0x56, 0x8a, 0xa9, 0x4b, 0xad, 0xfb,
1287 0xd0, 0x89, 0xd4, 0x4e, 0x12, 0x4b, 0xa0, 0x61, 0xd7, 0x62, 0x59, 0x48, 0x5b, 0x49, 0x3d, 0x72,
1288 0x8c, 0xae, 0x88, 0x4a, 0x42, 0x08, 0xda, 0x59, 0xee, 0xa9, 0x2e, 0x6d, 0xa3, 0x47, 0xb0, 0x95,
1289 0xc5, 0xd4, 0x73, 0x5d, 0x42, 0xca, 0x5b, 0x68, 0xf3, 0xfe, 0x0e, 0xed, 0xc0, 0x9e, 0xd1, 0x88,
1290 0x06, 0x48, 0x82, 0xf2, 0x19, 0xfd, 0x2c, 0x26, 0x87, 0x3d, 0xd9, 0x4e, 0xb8, 0xb0, 0xdd, 0x45,
1291 0x72, 0x53, 0x62, 0x42, 0xf9, 0xb1, 0xc8, 0xed, 0x71, 0xed, 0xcc, 0x30, 0xa5, 0xd3, 0x22, 0x2c,
1292 0x2c, 0x81, 0x07, 0x6d, 0xe0, 0x5d, 0xa8, 0xb2, 0x9f, 0xe5, 0x22, 0x14, 0x0b, 0x48, 0x50, 0xe8,
1293 0x1b, 0x80, 0x34, 0xc4, 0x50, 0xde, 0xe0, 0xbf, 0x88, 0x1d, 0xf1, 0x8b, 0xc8, 0x27, 0x40, 0x32,
1294 0x82, 0xca, 0x27, 0xd8, 0x32, 0x06, 0xa3, 0x5c, 0x8c, 0x1d, 0x68, 0xf2, 0x85, 0x7d, 0x65, 0x4f,
1295 0xa8, 0x38, 0x10, 0x2d, 0x92, 0x85, 0xd2, 0x3d, 0xcf, 0x48, 0x9e, 0x49, 0x29, 0xb3, 0xe7, 0x13,
1296 0xf0, 0x4b, 0x91, 0x2a, 0x3f, 0x14, 0xa1, 0x75, 0x41, 0x83, 0xd0, 0xf1, 0x3d, 0x91, 0x93, 0x0c,
1297 0xb5, 0xdb, 0x18, 0x10, 0x35, 0x49, 0x48, 0x56, 0xaf, 0xcb, 0x85, 0xe3, 0x4e, 0x47, 0xce, 0x2c,
1298 0xbd, 0xd8, 0x29, 0xc0, 0xf6, 0xda, 0xc4, 0x9f, 0xcd, 0x9c, 0xe8, 0xbd, 0x1d, 0xde, 0x08, 0x2f,
1299 0x19, 0x84, 0x69, 0x5f, 0x3b, 0x91, 0x08, 0x22, 0xbe, 0x45, 0x4b, 0x40, 0x79, 0x0b, 0xf5, 0x81,
1300 0x7f, 0x3d, 0xa0, 0xb7, 0xd4, 0x65, 0x1d, 0x74, 0xd9, 0x43, 0xf8, 0x8f, 0x09, 0x96, 0xc1, 0xc4,
1301 0x76, 0x5d, 0xd1, 0x89, 0x3a, 0x11, 0x94, 0xa2, 0x41, 0x9d, 0xd0, 0x70, 0xee, 0x7b, 0x21, 0x45,
1302 0xcf, 0xa0, 0x19, 0x72, 0x7b, 0xd6, 0xc4, 0x9f, 0x52, 0x71, 0x4e, 0x21, 0x86, 0xba, 0xfe, 0x94,
1303 0xb2, 0xe4, 0x66, 0x34, 0x0c, 0xed, 0xeb, 0x24, 0x81, 0x84, 0x54, 0x42, 0x68, 0xb2, 0xc5, 0x9d,
1304 0xd4, 0xfd, 0x05, 0x54, 0x0d, 0x6f, 0x41, 0xe8, 0x27, 0xb1, 0x46, 0xb7, 0x33, 0xdb, 0x2f, 0x16,
1305 0x21, 0x42, 0x00, 0xbd, 0x83, 0x4d, 0x73, 0x71, 0xa9, 0x4e, 0x22, 0xc7, 0xf7, 0x2e, 0x6c, 0x97,
1306 0x1b, 0x6e, 0xa7, 0xed, 0x4e, 0x59, 0x7c, 0x15, 0x91, 0x9c, 0xa8, 0x72, 0x06, 0x95, 0x53, 0xd7,
1307 0xbf, 0x0b, 0xd1, 0xbf, 0x00, 0xae, 0x5c, 0xff, 0xce, 0x9a, 0xf8, 0x0b, 0x2f, 0x4a, 0x16, 0x1b,
1308 0x43, 0xba, 0x0c, 0x40, 0xff, 0x81, 0x0a, 0x23, 0xd8, 0x05, 0x64, 0xa3, 0xd4, 0x3a, 0x4c, 0x3e,
1309 0xe0, 0x98, 0x36, 0x89, 0x79, 0x4a, 0x0d, 0x2a, 0xda, 0x6c, 0x1e, 0x7d, 0x7e, 0xf9, 0x06, 0xda,
1310 0x79, 0xaf, 0xa8, 0x0e, 0x1b, 0xdf, 0x1b, 0x3a, 0x96, 0x0a, 0xa8, 0x01, 0x95, 0x81, 0xa6, 0x5e,
1311 0x68, 0x52, 0x11, 0x01, 0x54, 0x19, 0x78, 0x71, 0x2c, 0x95, 0x8e, 0x7e, 0x6e, 0x40, 0xe5, 0xe4,
1312 0xc4, 0x74, 0x66, 0xe8, 0x35, 0xd4, 0xc4, 0x3c, 0xa0, 0x4d, 0x91, 0x02, 0xb7, 0xba, 0xf7, 0x58,
1313 0x50, 0xb9, 0x69, 0x51, 0x0a, 0xe8, 0x0d, 0x34, 0x4d, 0x1a, 0xa5, 0xcd, 0xdb, 0x12, 0x62, 0x09,
1314 0xb0, 0x77, 0x1f, 0x50, 0x0a, 0xe8, 0x39, 0x54, 0xfb, 0x34, 0x62, 0x9f, 0x77, 0x79, 0x17, 0xe9,
1315 0x89, 0x71, 0x23, 0xa5, 0x80, 0x5e, 0x01, 0x0c, 0xfd, 0x3b, 0x1a, 0xf8, 0xde, 0xaa, 0x64, 0x62,
1316 0x34, 0xe9, 0xbc, 0x52, 0x40, 0x87, 0xd0, 0x34, 0x6f, 0x16, 0xd1, 0xd4, 0xbf, 0x7b, 0x98, 0xfc,
1317 0xff, 0xa1, 0x41, 0xe8, 0xa5, 0xef, 0x47, 0x0f, 0x92, 0x7e, 0x11, 0x87, 0x8c, 0xc7, 0x68, 0x75,
1318 0x12, 0xf6, 0x32, 0xa7, 0x51, 0x29, 0xa0, 0xff, 0xb1, 0xd3, 0x1f, 0xf1, 0x13, 0x9a, 0x37, 0xdb,
1319 0x5c, 0x8a, 0x85, 0x71, 0xc0, 0x7d, 0x1a, 0xa5, 0x07, 0x74, 0x7d, 0x08, 0x09, 0x5b, 0x29, 0xa0,
1320 0x6f, 0xa1, 0xcd, 0xec, 0x7a, 0x8b, 0x54, 0x65, 0x4d, 0x28, 0x6b, 0xf4, 0x8e, 0x33, 0x85, 0x59,
1321 0x1f, 0xff, 0x9a, 0x7c, 0x8f, 0x60, 0x2b, 0x51, 0x52, 0x5d, 0x77, 0x4d, 0x32, 0x6b, 0x74, 0xde,
1322 0xc1, 0x76, 0xc6, 0x51, 0x68, 0x78, 0x43, 0x03, 0xa7, 0xee, 0x96, 0x47, 0x7c, 0xbd, 0xbb, 0xb4,
1323 0xd7, 0x0f, 0x0e, 0xf1, 0x0d, 0xb4, 0x85, 0xce, 0x83, 0x23, 0x7c, 0x0b, 0xd2, 0xd2, 0xcd, 0x5f,
1324 0x0a, 0xf0, 0x6b, 0xd8, 0x24, 0x34, 0x8c, 0xec, 0x20, 0x8a, 0xbf, 0x0d, 0x1f, 0x16, 0xe2, 0x31,
1325 0x34, 0x85, 0x16, 0xff, 0x64, 0x7c, 0x98, 0xd2, 0x09, 0xec, 0x98, 0xbc, 0xcf, 0xfc, 0x10, 0xe8,
1326 0xde, 0xd4, 0x99, 0xd8, 0xec, 0xa7, 0x8c, 0x76, 0x97, 0xea, 0xd9, 0x1b, 0xf1, 0x27, 0x36, 0xdc,
1327 0xe8, 0x8b, 0x36, 0xf2, 0x77, 0x66, 0x9d, 0x8d, 0x57, 0x50, 0xef, 0xd3, 0x28, 0xde, 0x4f, 0x6b,
1328 0x22, 0x4f, 0x8a, 0xcd, 0x05, 0x78, 0x6d, 0xb7, 0xba, 0x37, 0xb6, 0x77, 0x4d, 0xd9, 0x1a, 0x8d,
1329 0x3f, 0x65, 0x91, 0x10, 0xc9, 0x2c, 0xd6, 0x75, 0x8e, 0xce, 0xe0, 0x49, 0x3c, 0xd8, 0xab, 0x9f,
1330 0xb5, 0x6b, 0xfc, 0x3e, 0x5d, 0x42, 0x2b, 0xf2, 0x4a, 0xe1, 0xb2, 0xca, 0xff, 0x63, 0x3d, 0xfe,
1331 0x23, 0x00, 0x00, 0xff, 0xff, 0xdb, 0xfb, 0x7c, 0xc5, 0x10, 0x0f, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001332}
1333
1334// Reference imports to suppress errors if they are not otherwise used.
1335var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001336var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001337
1338// This is a compile-time assertion to ensure that this generated file
1339// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001340const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001341
1342// BBSimClient is the client API for BBSim service.
1343//
1344// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1345type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001346 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001347 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001348 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301349 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001350 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001351 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001352 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001353 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001354 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001355 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001356 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001357 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001358 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001359 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001360 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301361 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001362 // Get all the Services
1363 GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error)
1364 // Get all the Services of an ONU by serial number
1365 GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001366 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001367 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001368 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301369 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001370 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301371 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001372 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001373 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001374 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301375 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001376 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301377 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001378 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001379 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001380 // Resatrt DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001381 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001382 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301383 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001384 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301385 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001386 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301387 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001388 // Chnage IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001389 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001390 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301391 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001392}
1393
1394type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04001395 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001396}
1397
Kent Hagerman60d62302020-03-10 17:02:36 -04001398func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001399 return &bBSimClient{cc}
1400}
1401
1402func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1403 out := new(VersionNumber)
1404 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1405 if err != nil {
1406 return nil, err
1407 }
1408 return out, nil
1409}
1410
Pragya Aryabd731ec2020-02-11 16:38:17 +05301411func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1412 out := new(LogLevel)
1413 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1414 if err != nil {
1415 return nil, err
1416 }
1417 return out, nil
1418}
1419
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001420func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1421 out := new(Olt)
1422 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1423 if err != nil {
1424 return nil, err
1425 }
1426 return out, nil
1427}
1428
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001429func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1430 out := new(Response)
1431 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1432 if err != nil {
1433 return nil, err
1434 }
1435 return out, nil
1436}
1437
1438func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1439 out := new(Response)
1440 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1441 if err != nil {
1442 return nil, err
1443 }
1444 return out, nil
1445}
1446
1447func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1448 out := new(Response)
1449 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1450 if err != nil {
1451 return nil, err
1452 }
1453 return out, nil
1454}
1455
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001456func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
1457 out := new(ONU)
1458 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
1459 if err != nil {
1460 return nil, err
1461 }
1462 return out, nil
1463}
1464
Pragya Aryabd731ec2020-02-11 16:38:17 +05301465func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
1466 out := new(ONUs)
1467 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001468 if err != nil {
1469 return nil, err
1470 }
1471 return out, nil
1472}
1473
Matteo Scandolo4a036262020-08-17 15:56:13 -07001474func (c *bBSimClient) GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error) {
1475 out := new(Services)
1476 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
1477 if err != nil {
1478 return nil, err
1479 }
1480 return out, nil
1481}
1482
1483func (c *bBSimClient) GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error) {
1484 out := new(Services)
1485 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuServices", in, out, opts...)
1486 if err != nil {
1487 return nil, err
1488 }
1489 return out, nil
1490}
1491
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001492func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1493 out := new(Response)
1494 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
1495 if err != nil {
1496 return nil, err
1497 }
1498 return out, nil
1499}
1500
Pragya Aryabd731ec2020-02-11 16:38:17 +05301501func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1502 out := new(Response)
1503 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
1504 if err != nil {
1505 return nil, err
1506 }
1507 return out, nil
1508}
1509
1510func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1511 out := new(Response)
1512 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
1513 if err != nil {
1514 return nil, err
1515 }
1516 return out, nil
1517}
1518
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001519func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1520 out := new(Response)
1521 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
1522 if err != nil {
1523 return nil, err
1524 }
1525 return out, nil
1526}
1527
Pragya Aryabd731ec2020-02-11 16:38:17 +05301528func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1529 out := new(Response)
1530 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
1531 if err != nil {
1532 return nil, err
1533 }
1534 return out, nil
1535}
1536
1537func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1538 out := new(Response)
1539 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
1540 if err != nil {
1541 return nil, err
1542 }
1543 return out, nil
1544}
1545
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001546func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1547 out := new(Response)
1548 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
1549 if err != nil {
1550 return nil, err
1551 }
1552 return out, nil
1553}
1554
1555func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1556 out := new(Response)
1557 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
1558 if err != nil {
1559 return nil, err
1560 }
1561 return out, nil
1562}
1563
Anand S Katti86552f92020-03-03 21:56:32 +05301564func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08001565 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05301566 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
1567 if err != nil {
1568 return nil, err
1569 }
1570 return out, nil
1571}
1572
1573func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
1574 out := new(Response)
1575 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08001576 if err != nil {
1577 return nil, err
1578 }
1579 return out, nil
1580}
1581
Pragya Arya8bdb4532020-03-02 17:08:09 +05301582func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
1583 out := new(Flows)
1584 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
1585 if err != nil {
1586 return nil, err
1587 }
1588 return out, nil
1589}
1590
Arjun E K57a7fcb2020-01-30 06:44:45 +00001591func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
1592 out := new(Response)
1593 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
1594 if err != nil {
1595 return nil, err
1596 }
1597 return out, nil
1598}
1599
Anand S Katti09541352020-01-29 15:54:01 +05301600func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
1601 out := new(ONUTrafficSchedulers)
1602 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
1603 if err != nil {
1604 return nil, err
1605 }
1606 return out, nil
1607}
1608
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001609// BBSimServer is the server API for BBSim service.
1610type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001611 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001612 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001613 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301614 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001615 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001616 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001617 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001618 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001619 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001620 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001621 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001622 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001623 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001624 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001625 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301626 GetONUs(context.Context, *Empty) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001627 // Get all the Services
1628 GetServices(context.Context, *Empty) (*Services, error)
1629 // Get all the Services of an ONU by serial number
1630 GetOnuServices(context.Context, *ONURequest) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001631 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001632 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001633 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301634 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001635 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301636 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001637 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001638 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001639 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301640 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001641 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301642 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001643 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001644 RestartEapol(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001645 // Resatrt DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001646 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001647 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301648 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001649 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301650 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001651 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301652 GetFlows(context.Context, *ONURequest) (*Flows, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001653 // Chnage IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001654 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001655 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301656 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001657}
1658
Pragya Aryabd731ec2020-02-11 16:38:17 +05301659// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
1660type UnimplementedBBSimServer struct {
1661}
1662
1663func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
1664 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
1665}
1666func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
1667 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
1668}
1669func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
1670 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
1671}
1672func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
1673 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
1674}
1675func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
1676 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
1677}
1678func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
1679 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
1680}
1681func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
1682 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
1683}
1684func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
1685 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
1686}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001687func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *Empty) (*Services, error) {
1688 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
1689}
1690func (*UnimplementedBBSimServer) GetOnuServices(ctx context.Context, req *ONURequest) (*Services, error) {
1691 return nil, status.Errorf(codes.Unimplemented, "method GetOnuServices not implemented")
1692}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301693func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
1694 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
1695}
1696func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1697 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
1698}
1699func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1700 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
1701}
1702func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
1703 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
1704}
1705func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1706 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
1707}
1708func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1709 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
1710}
1711func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
1712 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
1713}
1714func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
1715 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
1716}
1717func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
1718 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
1719}
1720func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
1721 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
1722}
1723func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
1724 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
1725}
1726func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
1727 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
1728}
1729func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
1730 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
1731}
1732
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001733func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
1734 s.RegisterService(&_BBSim_serviceDesc, srv)
1735}
1736
1737func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1738 in := new(Empty)
1739 if err := dec(in); err != nil {
1740 return nil, err
1741 }
1742 if interceptor == nil {
1743 return srv.(BBSimServer).Version(ctx, in)
1744 }
1745 info := &grpc.UnaryServerInfo{
1746 Server: srv,
1747 FullMethod: "/bbsim.BBSim/Version",
1748 }
1749 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1750 return srv.(BBSimServer).Version(ctx, req.(*Empty))
1751 }
1752 return interceptor(ctx, in, info, handler)
1753}
1754
Pragya Aryabd731ec2020-02-11 16:38:17 +05301755func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1756 in := new(LogLevel)
1757 if err := dec(in); err != nil {
1758 return nil, err
1759 }
1760 if interceptor == nil {
1761 return srv.(BBSimServer).SetLogLevel(ctx, in)
1762 }
1763 info := &grpc.UnaryServerInfo{
1764 Server: srv,
1765 FullMethod: "/bbsim.BBSim/SetLogLevel",
1766 }
1767 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1768 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
1769 }
1770 return interceptor(ctx, in, info, handler)
1771}
1772
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001773func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1774 in := new(Empty)
1775 if err := dec(in); err != nil {
1776 return nil, err
1777 }
1778 if interceptor == nil {
1779 return srv.(BBSimServer).GetOlt(ctx, in)
1780 }
1781 info := &grpc.UnaryServerInfo{
1782 Server: srv,
1783 FullMethod: "/bbsim.BBSim/GetOlt",
1784 }
1785 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1786 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
1787 }
1788 return interceptor(ctx, in, info, handler)
1789}
1790
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001791func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1792 in := new(Empty)
1793 if err := dec(in); err != nil {
1794 return nil, err
1795 }
1796 if interceptor == nil {
1797 return srv.(BBSimServer).PoweronOlt(ctx, in)
1798 }
1799 info := &grpc.UnaryServerInfo{
1800 Server: srv,
1801 FullMethod: "/bbsim.BBSim/PoweronOlt",
1802 }
1803 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1804 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
1805 }
1806 return interceptor(ctx, in, info, handler)
1807}
1808
1809func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1810 in := new(Empty)
1811 if err := dec(in); err != nil {
1812 return nil, err
1813 }
1814 if interceptor == nil {
1815 return srv.(BBSimServer).ShutdownOlt(ctx, in)
1816 }
1817 info := &grpc.UnaryServerInfo{
1818 Server: srv,
1819 FullMethod: "/bbsim.BBSim/ShutdownOlt",
1820 }
1821 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1822 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
1823 }
1824 return interceptor(ctx, in, info, handler)
1825}
1826
1827func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1828 in := new(Empty)
1829 if err := dec(in); err != nil {
1830 return nil, err
1831 }
1832 if interceptor == nil {
1833 return srv.(BBSimServer).RebootOlt(ctx, in)
1834 }
1835 info := &grpc.UnaryServerInfo{
1836 Server: srv,
1837 FullMethod: "/bbsim.BBSim/RebootOlt",
1838 }
1839 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1840 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
1841 }
1842 return interceptor(ctx, in, info, handler)
1843}
1844
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001845func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1846 in := new(ONURequest)
1847 if err := dec(in); err != nil {
1848 return nil, err
1849 }
1850 if interceptor == nil {
1851 return srv.(BBSimServer).GetONU(ctx, in)
1852 }
1853 info := &grpc.UnaryServerInfo{
1854 Server: srv,
1855 FullMethod: "/bbsim.BBSim/GetONU",
1856 }
1857 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1858 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
1859 }
1860 return interceptor(ctx, in, info, handler)
1861}
1862
Pragya Aryabd731ec2020-02-11 16:38:17 +05301863func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1864 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001865 if err := dec(in); err != nil {
1866 return nil, err
1867 }
1868 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301869 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001870 }
1871 info := &grpc.UnaryServerInfo{
1872 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05301873 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001874 }
1875 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301876 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001877 }
1878 return interceptor(ctx, in, info, handler)
1879}
1880
Matteo Scandolo4a036262020-08-17 15:56:13 -07001881func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1882 in := new(Empty)
1883 if err := dec(in); err != nil {
1884 return nil, err
1885 }
1886 if interceptor == nil {
1887 return srv.(BBSimServer).GetServices(ctx, in)
1888 }
1889 info := &grpc.UnaryServerInfo{
1890 Server: srv,
1891 FullMethod: "/bbsim.BBSim/GetServices",
1892 }
1893 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1894 return srv.(BBSimServer).GetServices(ctx, req.(*Empty))
1895 }
1896 return interceptor(ctx, in, info, handler)
1897}
1898
1899func _BBSim_GetOnuServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1900 in := new(ONURequest)
1901 if err := dec(in); err != nil {
1902 return nil, err
1903 }
1904 if interceptor == nil {
1905 return srv.(BBSimServer).GetOnuServices(ctx, in)
1906 }
1907 info := &grpc.UnaryServerInfo{
1908 Server: srv,
1909 FullMethod: "/bbsim.BBSim/GetOnuServices",
1910 }
1911 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1912 return srv.(BBSimServer).GetOnuServices(ctx, req.(*ONURequest))
1913 }
1914 return interceptor(ctx, in, info, handler)
1915}
1916
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001917func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1918 in := new(ONURequest)
1919 if err := dec(in); err != nil {
1920 return nil, err
1921 }
1922 if interceptor == nil {
1923 return srv.(BBSimServer).ShutdownONU(ctx, in)
1924 }
1925 info := &grpc.UnaryServerInfo{
1926 Server: srv,
1927 FullMethod: "/bbsim.BBSim/ShutdownONU",
1928 }
1929 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1930 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
1931 }
1932 return interceptor(ctx, in, info, handler)
1933}
1934
Pragya Aryabd731ec2020-02-11 16:38:17 +05301935func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1936 in := new(Empty)
1937 if err := dec(in); err != nil {
1938 return nil, err
1939 }
1940 if interceptor == nil {
1941 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
1942 }
1943 info := &grpc.UnaryServerInfo{
1944 Server: srv,
1945 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
1946 }
1947 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1948 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
1949 }
1950 return interceptor(ctx, in, info, handler)
1951}
1952
1953func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1954 in := new(PONRequest)
1955 if err := dec(in); err != nil {
1956 return nil, err
1957 }
1958 if interceptor == nil {
1959 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
1960 }
1961 info := &grpc.UnaryServerInfo{
1962 Server: srv,
1963 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
1964 }
1965 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1966 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
1967 }
1968 return interceptor(ctx, in, info, handler)
1969}
1970
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001971func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1972 in := new(ONURequest)
1973 if err := dec(in); err != nil {
1974 return nil, err
1975 }
1976 if interceptor == nil {
1977 return srv.(BBSimServer).PoweronONU(ctx, in)
1978 }
1979 info := &grpc.UnaryServerInfo{
1980 Server: srv,
1981 FullMethod: "/bbsim.BBSim/PoweronONU",
1982 }
1983 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1984 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
1985 }
1986 return interceptor(ctx, in, info, handler)
1987}
1988
Pragya Aryabd731ec2020-02-11 16:38:17 +05301989func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1990 in := new(Empty)
1991 if err := dec(in); err != nil {
1992 return nil, err
1993 }
1994 if interceptor == nil {
1995 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
1996 }
1997 info := &grpc.UnaryServerInfo{
1998 Server: srv,
1999 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2000 }
2001 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2002 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2003 }
2004 return interceptor(ctx, in, info, handler)
2005}
2006
2007func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2008 in := new(PONRequest)
2009 if err := dec(in); err != nil {
2010 return nil, err
2011 }
2012 if interceptor == nil {
2013 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2014 }
2015 info := &grpc.UnaryServerInfo{
2016 Server: srv,
2017 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2018 }
2019 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2020 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2021 }
2022 return interceptor(ctx, in, info, handler)
2023}
2024
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002025func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2026 in := new(ONURequest)
2027 if err := dec(in); err != nil {
2028 return nil, err
2029 }
2030 if interceptor == nil {
2031 return srv.(BBSimServer).RestartEapol(ctx, in)
2032 }
2033 info := &grpc.UnaryServerInfo{
2034 Server: srv,
2035 FullMethod: "/bbsim.BBSim/RestartEapol",
2036 }
2037 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2038 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
2039 }
2040 return interceptor(ctx, in, info, handler)
2041}
2042
2043func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2044 in := new(ONURequest)
2045 if err := dec(in); err != nil {
2046 return nil, err
2047 }
2048 if interceptor == nil {
2049 return srv.(BBSimServer).RestartDhcp(ctx, in)
2050 }
2051 info := &grpc.UnaryServerInfo{
2052 Server: srv,
2053 FullMethod: "/bbsim.BBSim/RestartDhcp",
2054 }
2055 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2056 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
2057 }
2058 return interceptor(ctx, in, info, handler)
2059}
2060
Anand S Katti86552f92020-03-03 21:56:32 +05302061func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2062 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002063 if err := dec(in); err != nil {
2064 return nil, err
2065 }
2066 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302067 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002068 }
2069 info := &grpc.UnaryServerInfo{
2070 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302071 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002072 }
2073 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302074 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2075 }
2076 return interceptor(ctx, in, info, handler)
2077}
2078
2079func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2080 in := new(OLTAlarmRequest)
2081 if err := dec(in); err != nil {
2082 return nil, err
2083 }
2084 if interceptor == nil {
2085 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2086 }
2087 info := &grpc.UnaryServerInfo{
2088 Server: srv,
2089 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2090 }
2091 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2092 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002093 }
2094 return interceptor(ctx, in, info, handler)
2095}
2096
Pragya Arya8bdb4532020-03-02 17:08:09 +05302097func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2098 in := new(ONURequest)
2099 if err := dec(in); err != nil {
2100 return nil, err
2101 }
2102 if interceptor == nil {
2103 return srv.(BBSimServer).GetFlows(ctx, in)
2104 }
2105 info := &grpc.UnaryServerInfo{
2106 Server: srv,
2107 FullMethod: "/bbsim.BBSim/GetFlows",
2108 }
2109 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2110 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2111 }
2112 return interceptor(ctx, in, info, handler)
2113}
2114
Arjun E K57a7fcb2020-01-30 06:44:45 +00002115func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2116 in := new(IgmpRequest)
2117 if err := dec(in); err != nil {
2118 return nil, err
2119 }
2120 if interceptor == nil {
2121 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2122 }
2123 info := &grpc.UnaryServerInfo{
2124 Server: srv,
2125 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2126 }
2127 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2128 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2129 }
2130 return interceptor(ctx, in, info, handler)
2131}
2132
Anand S Katti09541352020-01-29 15:54:01 +05302133func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2134 in := new(ONURequest)
2135 if err := dec(in); err != nil {
2136 return nil, err
2137 }
2138 if interceptor == nil {
2139 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2140 }
2141 info := &grpc.UnaryServerInfo{
2142 Server: srv,
2143 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2144 }
2145 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2146 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2147 }
2148 return interceptor(ctx, in, info, handler)
2149}
2150
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002151var _BBSim_serviceDesc = grpc.ServiceDesc{
2152 ServiceName: "bbsim.BBSim",
2153 HandlerType: (*BBSimServer)(nil),
2154 Methods: []grpc.MethodDesc{
2155 {
2156 MethodName: "Version",
2157 Handler: _BBSim_Version_Handler,
2158 },
2159 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302160 MethodName: "SetLogLevel",
2161 Handler: _BBSim_SetLogLevel_Handler,
2162 },
2163 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002164 MethodName: "GetOlt",
2165 Handler: _BBSim_GetOlt_Handler,
2166 },
2167 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002168 MethodName: "PoweronOlt",
2169 Handler: _BBSim_PoweronOlt_Handler,
2170 },
2171 {
2172 MethodName: "ShutdownOlt",
2173 Handler: _BBSim_ShutdownOlt_Handler,
2174 },
2175 {
2176 MethodName: "RebootOlt",
2177 Handler: _BBSim_RebootOlt_Handler,
2178 },
2179 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002180 MethodName: "GetONU",
2181 Handler: _BBSim_GetONU_Handler,
2182 },
2183 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302184 MethodName: "GetONUs",
2185 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002186 },
2187 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002188 MethodName: "GetServices",
2189 Handler: _BBSim_GetServices_Handler,
2190 },
2191 {
2192 MethodName: "GetOnuServices",
2193 Handler: _BBSim_GetOnuServices_Handler,
2194 },
2195 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002196 MethodName: "ShutdownONU",
2197 Handler: _BBSim_ShutdownONU_Handler,
2198 },
2199 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302200 MethodName: "ShutdownAllONUs",
2201 Handler: _BBSim_ShutdownAllONUs_Handler,
2202 },
2203 {
2204 MethodName: "ShutdownONUsOnPON",
2205 Handler: _BBSim_ShutdownONUsOnPON_Handler,
2206 },
2207 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002208 MethodName: "PoweronONU",
2209 Handler: _BBSim_PoweronONU_Handler,
2210 },
2211 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302212 MethodName: "PoweronAllONUs",
2213 Handler: _BBSim_PoweronAllONUs_Handler,
2214 },
2215 {
2216 MethodName: "PoweronONUsOnPON",
2217 Handler: _BBSim_PoweronONUsOnPON_Handler,
2218 },
2219 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002220 MethodName: "RestartEapol",
2221 Handler: _BBSim_RestartEapol_Handler,
2222 },
2223 {
2224 MethodName: "RestartDhcp",
2225 Handler: _BBSim_RestartDhcp_Handler,
2226 },
Scott Baker41724b82020-01-21 19:54:53 -08002227 {
Anand S Katti86552f92020-03-03 21:56:32 +05302228 MethodName: "SetOnuAlarmIndication",
2229 Handler: _BBSim_SetOnuAlarmIndication_Handler,
2230 },
2231 {
2232 MethodName: "SetOltAlarmIndication",
2233 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08002234 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00002235 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05302236 MethodName: "GetFlows",
2237 Handler: _BBSim_GetFlows_Handler,
2238 },
2239 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00002240 MethodName: "ChangeIgmpState",
2241 Handler: _BBSim_ChangeIgmpState_Handler,
2242 },
Anand S Katti09541352020-01-29 15:54:01 +05302243 {
2244 MethodName: "GetOnuTrafficSchedulers",
2245 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
2246 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002247 },
2248 Streams: []grpc.StreamDesc{},
2249 Metadata: "api/bbsim/bbsim.proto",
2250}