blob: 1a36b63f3f11b67e0d21dff94f9b45cdcd538dc5 [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 Arya1cbefa42020-01-13 12:15:29 +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) {
Anand S Katti09541352020-01-29 15:54:01 +0530134 return fileDescriptor_ef7750073d18011b, []int{7, 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"`
236 NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"`
237 PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"`
238 XXX_NoUnkeyedLiteral struct{} `json:"-"`
239 XXX_unrecognized []byte `json:"-"`
240 XXX_sizecache int32 `json:"-"`
241}
242
243func (m *Olt) Reset() { *m = Olt{} }
244func (m *Olt) String() string { return proto.CompactTextString(m) }
245func (*Olt) ProtoMessage() {}
246func (*Olt) Descriptor() ([]byte, []int) {
247 return fileDescriptor_ef7750073d18011b, []int{2}
248}
249
250func (m *Olt) XXX_Unmarshal(b []byte) error {
251 return xxx_messageInfo_Olt.Unmarshal(m, b)
252}
253func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
254 return xxx_messageInfo_Olt.Marshal(b, m, deterministic)
255}
256func (m *Olt) XXX_Merge(src proto.Message) {
257 xxx_messageInfo_Olt.Merge(m, src)
258}
259func (m *Olt) XXX_Size() int {
260 return xxx_messageInfo_Olt.Size(m)
261}
262func (m *Olt) XXX_DiscardUnknown() {
263 xxx_messageInfo_Olt.DiscardUnknown(m)
264}
265
266var xxx_messageInfo_Olt proto.InternalMessageInfo
267
268func (m *Olt) GetID() int32 {
269 if m != nil {
270 return m.ID
271 }
272 return 0
273}
274
275func (m *Olt) GetSerialNumber() string {
276 if m != nil {
277 return m.SerialNumber
278 }
279 return ""
280}
281
282func (m *Olt) GetOperState() string {
283 if m != nil {
284 return m.OperState
285 }
286 return ""
287}
288
289func (m *Olt) GetInternalState() string {
290 if m != nil {
291 return m.InternalState
292 }
293 return ""
294}
295
296func (m *Olt) GetNNIPorts() []*NNIPort {
297 if m != nil {
298 return m.NNIPorts
299 }
300 return nil
301}
302
303func (m *Olt) GetPONPorts() []*PONPort {
304 if m != nil {
305 return m.PONPorts
306 }
307 return nil
308}
309
310type ONU struct {
311 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
312 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
313 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
314 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
315 PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"`
316 STag int32 `protobuf:"varint,6,opt,name=STag,proto3" json:"STag,omitempty"`
317 CTag int32 `protobuf:"varint,7,opt,name=CTag,proto3" json:"CTag,omitempty"`
318 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
319 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
320 XXX_NoUnkeyedLiteral struct{} `json:"-"`
321 XXX_unrecognized []byte `json:"-"`
322 XXX_sizecache int32 `json:"-"`
323}
324
325func (m *ONU) Reset() { *m = ONU{} }
326func (m *ONU) String() string { return proto.CompactTextString(m) }
327func (*ONU) ProtoMessage() {}
328func (*ONU) Descriptor() ([]byte, []int) {
329 return fileDescriptor_ef7750073d18011b, []int{3}
330}
331
332func (m *ONU) XXX_Unmarshal(b []byte) error {
333 return xxx_messageInfo_ONU.Unmarshal(m, b)
334}
335func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
336 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
337}
338func (m *ONU) XXX_Merge(src proto.Message) {
339 xxx_messageInfo_ONU.Merge(m, src)
340}
341func (m *ONU) XXX_Size() int {
342 return xxx_messageInfo_ONU.Size(m)
343}
344func (m *ONU) XXX_DiscardUnknown() {
345 xxx_messageInfo_ONU.DiscardUnknown(m)
346}
347
348var xxx_messageInfo_ONU proto.InternalMessageInfo
349
350func (m *ONU) GetID() int32 {
351 if m != nil {
352 return m.ID
353 }
354 return 0
355}
356
357func (m *ONU) GetSerialNumber() string {
358 if m != nil {
359 return m.SerialNumber
360 }
361 return ""
362}
363
364func (m *ONU) GetOperState() string {
365 if m != nil {
366 return m.OperState
367 }
368 return ""
369}
370
371func (m *ONU) GetInternalState() string {
372 if m != nil {
373 return m.InternalState
374 }
375 return ""
376}
377
378func (m *ONU) GetPonPortID() int32 {
379 if m != nil {
380 return m.PonPortID
381 }
382 return 0
383}
384
385func (m *ONU) GetSTag() int32 {
386 if m != nil {
387 return m.STag
388 }
389 return 0
390}
391
392func (m *ONU) GetCTag() int32 {
393 if m != nil {
394 return m.CTag
395 }
396 return 0
397}
398
399func (m *ONU) GetHwAddress() string {
400 if m != nil {
401 return m.HwAddress
402 }
403 return ""
404}
405
406func (m *ONU) GetPortNo() int32 {
407 if m != nil {
408 return m.PortNo
409 }
410 return 0
411}
412
Anand S Katti09541352020-01-29 15:54:01 +0530413type ONUTrafficSchedulers struct {
414 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
415 XXX_NoUnkeyedLiteral struct{} `json:"-"`
416 XXX_unrecognized []byte `json:"-"`
417 XXX_sizecache int32 `json:"-"`
418}
419
420func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
421func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
422func (*ONUTrafficSchedulers) ProtoMessage() {}
423func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
424 return fileDescriptor_ef7750073d18011b, []int{4}
425}
426
427func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
428 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
429}
430func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
431 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
432}
433func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
434 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
435}
436func (m *ONUTrafficSchedulers) XXX_Size() int {
437 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
438}
439func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
440 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
441}
442
443var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
444
445func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
446 if m != nil {
447 return m.TraffSchedulers
448 }
449 return nil
450}
451
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700452type ONUs struct {
453 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
454 XXX_NoUnkeyedLiteral struct{} `json:"-"`
455 XXX_unrecognized []byte `json:"-"`
456 XXX_sizecache int32 `json:"-"`
457}
458
459func (m *ONUs) Reset() { *m = ONUs{} }
460func (m *ONUs) String() string { return proto.CompactTextString(m) }
461func (*ONUs) ProtoMessage() {}
462func (*ONUs) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530463 return fileDescriptor_ef7750073d18011b, []int{5}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700464}
465
466func (m *ONUs) XXX_Unmarshal(b []byte) error {
467 return xxx_messageInfo_ONUs.Unmarshal(m, b)
468}
469func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
470 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
471}
472func (m *ONUs) XXX_Merge(src proto.Message) {
473 xxx_messageInfo_ONUs.Merge(m, src)
474}
475func (m *ONUs) XXX_Size() int {
476 return xxx_messageInfo_ONUs.Size(m)
477}
478func (m *ONUs) XXX_DiscardUnknown() {
479 xxx_messageInfo_ONUs.DiscardUnknown(m)
480}
481
482var xxx_messageInfo_ONUs proto.InternalMessageInfo
483
484func (m *ONUs) GetItems() []*ONU {
485 if m != nil {
486 return m.Items
487 }
488 return nil
489}
490
491type ONURequest struct {
492 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
493 XXX_NoUnkeyedLiteral struct{} `json:"-"`
494 XXX_unrecognized []byte `json:"-"`
495 XXX_sizecache int32 `json:"-"`
496}
497
498func (m *ONURequest) Reset() { *m = ONURequest{} }
499func (m *ONURequest) String() string { return proto.CompactTextString(m) }
500func (*ONURequest) ProtoMessage() {}
501func (*ONURequest) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530502 return fileDescriptor_ef7750073d18011b, []int{6}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700503}
504
505func (m *ONURequest) XXX_Unmarshal(b []byte) error {
506 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
507}
508func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
509 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
510}
511func (m *ONURequest) XXX_Merge(src proto.Message) {
512 xxx_messageInfo_ONURequest.Merge(m, src)
513}
514func (m *ONURequest) XXX_Size() int {
515 return xxx_messageInfo_ONURequest.Size(m)
516}
517func (m *ONURequest) XXX_DiscardUnknown() {
518 xxx_messageInfo_ONURequest.DiscardUnknown(m)
519}
520
521var xxx_messageInfo_ONURequest proto.InternalMessageInfo
522
523func (m *ONURequest) GetSerialNumber() string {
524 if m != nil {
525 return m.SerialNumber
526 }
527 return ""
528}
529
Scott Baker41724b82020-01-21 19:54:53 -0800530type AlarmType struct {
531 XXX_NoUnkeyedLiteral struct{} `json:"-"`
532 XXX_unrecognized []byte `json:"-"`
533 XXX_sizecache int32 `json:"-"`
534}
535
536func (m *AlarmType) Reset() { *m = AlarmType{} }
537func (m *AlarmType) String() string { return proto.CompactTextString(m) }
538func (*AlarmType) ProtoMessage() {}
539func (*AlarmType) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530540 return fileDescriptor_ef7750073d18011b, []int{7}
Scott Baker41724b82020-01-21 19:54:53 -0800541}
542
543func (m *AlarmType) XXX_Unmarshal(b []byte) error {
544 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
545}
546func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
547 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
548}
549func (m *AlarmType) XXX_Merge(src proto.Message) {
550 xxx_messageInfo_AlarmType.Merge(m, src)
551}
552func (m *AlarmType) XXX_Size() int {
553 return xxx_messageInfo_AlarmType.Size(m)
554}
555func (m *AlarmType) XXX_DiscardUnknown() {
556 xxx_messageInfo_AlarmType.DiscardUnknown(m)
557}
558
559var xxx_messageInfo_AlarmType proto.InternalMessageInfo
560
561type AlarmParameter struct {
562 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
563 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
564 XXX_NoUnkeyedLiteral struct{} `json:"-"`
565 XXX_unrecognized []byte `json:"-"`
566 XXX_sizecache int32 `json:"-"`
567}
568
569func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
570func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
571func (*AlarmParameter) ProtoMessage() {}
572func (*AlarmParameter) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530573 return fileDescriptor_ef7750073d18011b, []int{8}
Scott Baker41724b82020-01-21 19:54:53 -0800574}
575
576func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
577 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
578}
579func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
580 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
581}
582func (m *AlarmParameter) XXX_Merge(src proto.Message) {
583 xxx_messageInfo_AlarmParameter.Merge(m, src)
584}
585func (m *AlarmParameter) XXX_Size() int {
586 return xxx_messageInfo_AlarmParameter.Size(m)
587}
588func (m *AlarmParameter) XXX_DiscardUnknown() {
589 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
590}
591
592var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
593
594func (m *AlarmParameter) GetKey() string {
595 if m != nil {
596 return m.Key
597 }
598 return ""
599}
600
601func (m *AlarmParameter) GetValue() string {
602 if m != nil {
603 return m.Value
604 }
605 return ""
606}
607
Anand S Katti86552f92020-03-03 21:56:32 +0530608// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +0530609// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -0800610// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +0530611type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +0530612 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -0800613 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
614 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
615 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
616 XXX_NoUnkeyedLiteral struct{} `json:"-"`
617 XXX_unrecognized []byte `json:"-"`
618 XXX_sizecache int32 `json:"-"`
619}
620
Anand S Katti86552f92020-03-03 21:56:32 +0530621func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
622func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
623func (*ONUAlarmRequest) ProtoMessage() {}
624func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530625 return fileDescriptor_ef7750073d18011b, []int{9}
Scott Baker41724b82020-01-21 19:54:53 -0800626}
627
Anand S Katti86552f92020-03-03 21:56:32 +0530628func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
629 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -0800630}
Anand S Katti86552f92020-03-03 21:56:32 +0530631func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
632 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -0800633}
Anand S Katti86552f92020-03-03 21:56:32 +0530634func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
635 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -0800636}
Anand S Katti86552f92020-03-03 21:56:32 +0530637func (m *ONUAlarmRequest) XXX_Size() int {
638 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -0800639}
Anand S Katti86552f92020-03-03 21:56:32 +0530640func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
641 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -0800642}
643
Anand S Katti86552f92020-03-03 21:56:32 +0530644var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -0800645
Anand S Katti86552f92020-03-03 21:56:32 +0530646func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -0800647 if m != nil {
648 return m.AlarmType
649 }
Pragya Arya694ece02020-02-07 13:03:47 +0530650 return ""
Scott Baker41724b82020-01-21 19:54:53 -0800651}
652
Anand S Katti86552f92020-03-03 21:56:32 +0530653func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -0800654 if m != nil {
655 return m.SerialNumber
656 }
657 return ""
658}
659
Anand S Katti86552f92020-03-03 21:56:32 +0530660func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -0800661 if m != nil {
662 return m.Status
663 }
664 return ""
665}
666
Anand S Katti86552f92020-03-03 21:56:32 +0530667func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -0800668 if m != nil {
669 return m.Parameters
670 }
671 return nil
672}
673
Anand S Katti86552f92020-03-03 21:56:32 +0530674// OLT alarm request
675type OLTAlarmRequest struct {
676 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
677 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
678 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
679 XXX_NoUnkeyedLiteral struct{} `json:"-"`
680 XXX_unrecognized []byte `json:"-"`
681 XXX_sizecache int32 `json:"-"`
682}
683
684func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
685func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
686func (*OLTAlarmRequest) ProtoMessage() {}
687func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
688 return fileDescriptor_ef7750073d18011b, []int{10}
689}
690
691func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
692 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
693}
694func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
695 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
696}
697func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
698 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
699}
700func (m *OLTAlarmRequest) XXX_Size() int {
701 return xxx_messageInfo_OLTAlarmRequest.Size(m)
702}
703func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
704 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
705}
706
707var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
708
709func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
710 if m != nil {
711 return m.InterfaceID
712 }
713 return 0
714}
715
716func (m *OLTAlarmRequest) GetInterfaceType() string {
717 if m != nil {
718 return m.InterfaceType
719 }
720 return ""
721}
722
723func (m *OLTAlarmRequest) GetStatus() string {
724 if m != nil {
725 return m.Status
726 }
727 return ""
728}
729
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700730type VersionNumber struct {
731 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
732 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
733 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
734 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
735 XXX_NoUnkeyedLiteral struct{} `json:"-"`
736 XXX_unrecognized []byte `json:"-"`
737 XXX_sizecache int32 `json:"-"`
738}
739
740func (m *VersionNumber) Reset() { *m = VersionNumber{} }
741func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
742func (*VersionNumber) ProtoMessage() {}
743func (*VersionNumber) Descriptor() ([]byte, []int) {
Anand S Katti86552f92020-03-03 21:56:32 +0530744 return fileDescriptor_ef7750073d18011b, []int{11}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700745}
746
747func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
748 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
749}
750func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
751 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
752}
753func (m *VersionNumber) XXX_Merge(src proto.Message) {
754 xxx_messageInfo_VersionNumber.Merge(m, src)
755}
756func (m *VersionNumber) XXX_Size() int {
757 return xxx_messageInfo_VersionNumber.Size(m)
758}
759func (m *VersionNumber) XXX_DiscardUnknown() {
760 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
761}
762
763var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
764
765func (m *VersionNumber) GetVersion() string {
766 if m != nil {
767 return m.Version
768 }
769 return ""
770}
771
772func (m *VersionNumber) GetBuildTime() string {
773 if m != nil {
774 return m.BuildTime
775 }
776 return ""
777}
778
779func (m *VersionNumber) GetCommitHash() string {
780 if m != nil {
781 return m.CommitHash
782 }
783 return ""
784}
785
786func (m *VersionNumber) GetGitStatus() string {
787 if m != nil {
788 return m.GitStatus
789 }
790 return ""
791}
792
793type LogLevel struct {
794 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
795 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
796 XXX_NoUnkeyedLiteral struct{} `json:"-"`
797 XXX_unrecognized []byte `json:"-"`
798 XXX_sizecache int32 `json:"-"`
799}
800
801func (m *LogLevel) Reset() { *m = LogLevel{} }
802func (m *LogLevel) String() string { return proto.CompactTextString(m) }
803func (*LogLevel) ProtoMessage() {}
804func (*LogLevel) Descriptor() ([]byte, []int) {
Anand S Katti86552f92020-03-03 21:56:32 +0530805 return fileDescriptor_ef7750073d18011b, []int{12}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700806}
807
808func (m *LogLevel) XXX_Unmarshal(b []byte) error {
809 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
810}
811func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
812 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
813}
814func (m *LogLevel) XXX_Merge(src proto.Message) {
815 xxx_messageInfo_LogLevel.Merge(m, src)
816}
817func (m *LogLevel) XXX_Size() int {
818 return xxx_messageInfo_LogLevel.Size(m)
819}
820func (m *LogLevel) XXX_DiscardUnknown() {
821 xxx_messageInfo_LogLevel.DiscardUnknown(m)
822}
823
824var xxx_messageInfo_LogLevel proto.InternalMessageInfo
825
826func (m *LogLevel) GetLevel() string {
827 if m != nil {
828 return m.Level
829 }
830 return ""
831}
832
833func (m *LogLevel) GetCaller() bool {
834 if m != nil {
835 return m.Caller
836 }
837 return false
838}
839
840type Response struct {
841 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
842 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
843 XXX_NoUnkeyedLiteral struct{} `json:"-"`
844 XXX_unrecognized []byte `json:"-"`
845 XXX_sizecache int32 `json:"-"`
846}
847
848func (m *Response) Reset() { *m = Response{} }
849func (m *Response) String() string { return proto.CompactTextString(m) }
850func (*Response) ProtoMessage() {}
851func (*Response) Descriptor() ([]byte, []int) {
Anand S Katti86552f92020-03-03 21:56:32 +0530852 return fileDescriptor_ef7750073d18011b, []int{13}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700853}
854
855func (m *Response) XXX_Unmarshal(b []byte) error {
856 return xxx_messageInfo_Response.Unmarshal(m, b)
857}
858func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
859 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
860}
861func (m *Response) XXX_Merge(src proto.Message) {
862 xxx_messageInfo_Response.Merge(m, src)
863}
864func (m *Response) XXX_Size() int {
865 return xxx_messageInfo_Response.Size(m)
866}
867func (m *Response) XXX_DiscardUnknown() {
868 xxx_messageInfo_Response.DiscardUnknown(m)
869}
870
871var xxx_messageInfo_Response proto.InternalMessageInfo
872
873func (m *Response) GetStatusCode() int32 {
874 if m != nil {
875 return m.StatusCode
876 }
877 return 0
878}
879
880func (m *Response) GetMessage() string {
881 if m != nil {
882 return m.Message
883 }
884 return ""
885}
886
Arjun E K57a7fcb2020-01-30 06:44:45 +0000887type IgmpRequest struct {
888 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
889 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
890 XXX_NoUnkeyedLiteral struct{} `json:"-"`
891 XXX_unrecognized []byte `json:"-"`
892 XXX_sizecache int32 `json:"-"`
893}
894
895func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
896func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
897func (*IgmpRequest) ProtoMessage() {}
898func (*IgmpRequest) Descriptor() ([]byte, []int) {
Anand S Katti86552f92020-03-03 21:56:32 +0530899 return fileDescriptor_ef7750073d18011b, []int{14}
Arjun E K57a7fcb2020-01-30 06:44:45 +0000900}
901
902func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
903 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
904}
905func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
906 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
907}
908func (m *IgmpRequest) XXX_Merge(src proto.Message) {
909 xxx_messageInfo_IgmpRequest.Merge(m, src)
910}
911func (m *IgmpRequest) XXX_Size() int {
912 return xxx_messageInfo_IgmpRequest.Size(m)
913}
914func (m *IgmpRequest) XXX_DiscardUnknown() {
915 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
916}
917
918var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
919
920func (m *IgmpRequest) GetOnuReq() *ONURequest {
921 if m != nil {
922 return m.OnuReq
923 }
924 return nil
925}
926
927func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
928 if m != nil {
929 return m.SubActionVal
930 }
931 return SubActionTypes_JOIN
932}
933
Pragya Arya8bdb4532020-03-02 17:08:09 +0530934type Flows struct {
935 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
936 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
937 XXX_NoUnkeyedLiteral struct{} `json:"-"`
938 XXX_unrecognized []byte `json:"-"`
939 XXX_sizecache int32 `json:"-"`
940}
941
942func (m *Flows) Reset() { *m = Flows{} }
943func (m *Flows) String() string { return proto.CompactTextString(m) }
944func (*Flows) ProtoMessage() {}
945func (*Flows) Descriptor() ([]byte, []int) {
946 return fileDescriptor_ef7750073d18011b, []int{15}
947}
948
949func (m *Flows) XXX_Unmarshal(b []byte) error {
950 return xxx_messageInfo_Flows.Unmarshal(m, b)
951}
952func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
953 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
954}
955func (m *Flows) XXX_Merge(src proto.Message) {
956 xxx_messageInfo_Flows.Merge(m, src)
957}
958func (m *Flows) XXX_Size() int {
959 return xxx_messageInfo_Flows.Size(m)
960}
961func (m *Flows) XXX_DiscardUnknown() {
962 xxx_messageInfo_Flows.DiscardUnknown(m)
963}
964
965var xxx_messageInfo_Flows proto.InternalMessageInfo
966
967func (m *Flows) GetFlowCount() uint32 {
968 if m != nil {
969 return m.FlowCount
970 }
971 return 0
972}
973
974func (m *Flows) GetFlows() []*openolt.Flow {
975 if m != nil {
976 return m.Flows
977 }
978 return nil
979}
980
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700981type Empty struct {
982 XXX_NoUnkeyedLiteral struct{} `json:"-"`
983 XXX_unrecognized []byte `json:"-"`
984 XXX_sizecache int32 `json:"-"`
985}
986
987func (m *Empty) Reset() { *m = Empty{} }
988func (m *Empty) String() string { return proto.CompactTextString(m) }
989func (*Empty) ProtoMessage() {}
990func (*Empty) Descriptor() ([]byte, []int) {
Pragya Arya8bdb4532020-03-02 17:08:09 +0530991 return fileDescriptor_ef7750073d18011b, []int{16}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700992}
993
994func (m *Empty) XXX_Unmarshal(b []byte) error {
995 return xxx_messageInfo_Empty.Unmarshal(m, b)
996}
997func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
998 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
999}
1000func (m *Empty) XXX_Merge(src proto.Message) {
1001 xxx_messageInfo_Empty.Merge(m, src)
1002}
1003func (m *Empty) XXX_Size() int {
1004 return xxx_messageInfo_Empty.Size(m)
1005}
1006func (m *Empty) XXX_DiscardUnknown() {
1007 xxx_messageInfo_Empty.DiscardUnknown(m)
1008}
1009
1010var xxx_messageInfo_Empty proto.InternalMessageInfo
1011
1012func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001013 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Scott Baker41724b82020-01-21 19:54:53 -08001014 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001015 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
1016 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1017 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
1018 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Anand S Katti09541352020-01-29 15:54:01 +05301019 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001020 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
1021 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Scott Baker41724b82020-01-21 19:54:53 -08001022 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1023 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301024 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1025 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001026 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1027 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1028 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001029 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301030 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001031 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1032}
1033
1034func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
1035
1036var fileDescriptor_ef7750073d18011b = []byte{
Pragya Arya8bdb4532020-03-02 17:08:09 +05301037 // 1290 bytes of a gzipped FileDescriptorProto
1038 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x4d, 0x6f, 0xdb, 0x46,
1039 0x13, 0xd6, 0x87, 0xf5, 0x35, 0xb2, 0x64, 0x7a, 0x13, 0x3b, 0x82, 0xe3, 0xf7, 0x8d, 0xc0, 0xa6,
1040 0x85, 0x13, 0x34, 0x4e, 0x63, 0xb7, 0x68, 0x7a, 0xa4, 0x25, 0x5a, 0x61, 0x2d, 0x93, 0xc2, 0x92,
1041 0x72, 0x90, 0x13, 0x41, 0x49, 0x6b, 0x8b, 0x00, 0x45, 0x2a, 0xe4, 0x2a, 0x46, 0xce, 0x45, 0xff,
1042 0x48, 0x7f, 0x51, 0x2f, 0xbd, 0xf6, 0x7f, 0xf4, 0x56, 0xec, 0x72, 0x49, 0x91, 0x96, 0x53, 0x18,
1043 0xbd, 0xf4, 0x22, 0xec, 0x3c, 0xf3, 0xcc, 0xec, 0x7c, 0x71, 0xb4, 0xb0, 0xe7, 0x2c, 0xdd, 0xd7,
1044 0x93, 0x49, 0xe4, 0x2e, 0xe2, 0xdf, 0xe3, 0x65, 0x18, 0xd0, 0x00, 0x55, 0xb8, 0x70, 0xf0, 0xf4,
1045 0x53, 0xe0, 0xd1, 0xb9, 0x63, 0x73, 0x30, 0x7a, 0x1d, 0x2c, 0x89, 0x1f, 0x78, 0x34, 0xe6, 0x1c,
1046 0x74, 0xf3, 0x4a, 0x4a, 0xa6, 0x73, 0x76, 0xbe, 0x76, 0x3d, 0x12, 0x33, 0xe4, 0x1f, 0xa1, 0x36,
1047 0x32, 0xf4, 0x51, 0x10, 0x52, 0xd4, 0x86, 0x92, 0xd6, 0xef, 0x14, 0xbb, 0xc5, 0xa3, 0x0a, 0x2e,
1048 0x69, 0x7d, 0x74, 0x08, 0x0d, 0x63, 0x49, 0x42, 0x93, 0x3a, 0x94, 0x74, 0x4a, 0xdd, 0xe2, 0x51,
1049 0x03, 0xaf, 0x01, 0x66, 0xa8, 0xeb, 0xda, 0xbf, 0x30, 0xfc, 0xa3, 0x08, 0x65, 0xc3, 0xdb, 0xb4,
1050 0x92, 0x61, 0xdb, 0x24, 0xa1, 0xeb, 0x78, 0xfa, 0x6a, 0x31, 0x21, 0xa1, 0x30, 0xcc, 0x61, 0x79,
1051 0xcf, 0xe5, 0x3b, 0x9e, 0xd1, 0x73, 0x68, 0x69, 0x3e, 0x25, 0xa1, 0xef, 0x78, 0x31, 0x63, 0x8b,
1052 0x33, 0xf2, 0x20, 0x7a, 0x09, 0x75, 0x11, 0x78, 0xd4, 0xa9, 0x74, 0xcb, 0x47, 0xcd, 0x93, 0xf6,
1053 0x71, 0x5c, 0x57, 0x01, 0xe3, 0x54, 0xcf, 0xb8, 0xa2, 0x3a, 0x51, 0xa7, 0x9a, 0xe3, 0x0a, 0x18,
1054 0xa7, 0x7a, 0xf9, 0x2f, 0x96, 0x97, 0x3e, 0xfe, 0xcf, 0xf2, 0x3a, 0x84, 0xc6, 0x28, 0xf0, 0x59,
1055 0x2c, 0x5a, 0xbf, 0x53, 0xe1, 0xd7, 0xaf, 0x01, 0x84, 0x60, 0xcb, 0xb4, 0x9c, 0x9b, 0x4e, 0x95,
1056 0x2b, 0xf8, 0x99, 0x61, 0x3d, 0x86, 0xd5, 0x62, 0x8c, 0x9d, 0x99, 0x97, 0x77, 0xb7, 0xca, 0x6c,
1057 0x16, 0x92, 0x28, 0xea, 0xd4, 0xe3, 0x48, 0x52, 0x00, 0xed, 0x43, 0x95, 0xf9, 0xd3, 0x83, 0x4e,
1058 0x83, 0xdb, 0x08, 0x49, 0x76, 0xe0, 0xb1, 0xa1, 0x8f, 0xad, 0xd0, 0xb9, 0xbe, 0x76, 0xa7, 0xe6,
1059 0x74, 0x4e, 0x66, 0x2b, 0x8f, 0x84, 0x11, 0xd2, 0x60, 0x87, 0x32, 0x70, 0x0d, 0xf1, 0xc2, 0x34,
1060 0x4f, 0x9e, 0x1d, 0xe7, 0x66, 0x71, 0xc3, 0x12, 0xdf, 0xb5, 0x93, 0x8f, 0x60, 0xcb, 0xd0, 0xc7,
1061 0x11, 0xea, 0x42, 0xc5, 0xa5, 0x64, 0xc1, 0x1c, 0xb1, 0x7e, 0x80, 0xe8, 0x87, 0xa1, 0x8f, 0x71,
1062 0xac, 0x90, 0xbf, 0x03, 0x60, 0x12, 0xf9, 0xb8, 0x22, 0x11, 0xdd, 0x28, 0x7f, 0x71, 0xb3, 0xfc,
1063 0xf2, 0x9f, 0x65, 0x68, 0x28, 0x9e, 0x13, 0x2e, 0xac, 0xcf, 0x4b, 0x22, 0xff, 0x5e, 0x86, 0x0a,
1064 0x3b, 0x44, 0xa8, 0x06, 0xe5, 0xa1, 0x61, 0x4a, 0x05, 0xd4, 0x06, 0xe8, 0x7f, 0xd0, 0xf4, 0x81,
1065 0x3d, 0x50, 0xcc, 0x91, 0x54, 0x44, 0x2d, 0x68, 0x18, 0xfa, 0xd8, 0x56, 0x86, 0x0a, 0xbe, 0x94,
1066 0x4a, 0xe8, 0x09, 0x3c, 0x62, 0xa2, 0x69, 0x29, 0xd8, 0x1a, 0x8f, 0xec, 0x73, 0x45, 0x1b, 0x8e,
1067 0xb1, 0x2a, 0x95, 0xd1, 0x3e, 0x20, 0xae, 0xd0, 0x06, 0xba, 0x32, 0xb4, 0xfb, 0xea, 0x00, 0x2b,
1068 0x7d, 0x55, 0xda, 0x4a, 0x0c, 0xfa, 0x58, 0x3b, 0xb7, 0x6c, 0xe3, 0xdc, 0x7e, 0xaf, 0xe9, 0x7d,
1069 0xe3, 0xbd, 0x54, 0x41, 0x87, 0xd0, 0x61, 0x8a, 0xa1, 0x61, 0x9a, 0x0c, 0x37, 0x2e, 0x7b, 0x9a,
1070 0xdd, 0x7b, 0xa7, 0xe8, 0xba, 0x3a, 0x94, 0xaa, 0xe9, 0x3d, 0xdc, 0x9d, 0x99, 0xde, 0x53, 0x43,
1071 0x2f, 0xe0, 0x6b, 0xa6, 0xb0, 0xb0, 0xa2, 0x9b, 0x97, 0x9a, 0x69, 0x6a, 0x86, 0x6e, 0x6b, 0xba,
1072 0xa5, 0xe2, 0x73, 0x15, 0xab, 0x7a, 0x4f, 0xb5, 0xdf, 0x2b, 0x58, 0xd7, 0xf4, 0x81, 0x54, 0x47,
1073 0x07, 0xb0, 0xcf, 0x43, 0xef, 0x59, 0xda, 0x95, 0x62, 0x31, 0x62, 0xe2, 0xa6, 0x81, 0x3a, 0xbc,
1074 0x8d, 0xf6, 0x08, 0x1b, 0x3d, 0xd5, 0x34, 0x59, 0xbe, 0x2a, 0xc6, 0x06, 0x96, 0x00, 0x75, 0xe1,
1075 0x30, 0x1b, 0xd7, 0x85, 0xfa, 0xc1, 0x36, 0x3f, 0xe8, 0xbd, 0xd4, 0xb6, 0x89, 0xf6, 0x60, 0x97,
1076 0x31, 0x34, 0x6b, 0x6c, 0x8f, 0x0c, 0x9d, 0xd5, 0xc2, 0x32, 0xa5, 0x6d, 0xb4, 0x0b, 0xad, 0xb4,
1077 0x52, 0xcc, 0x5c, 0x6a, 0xdd, 0x85, 0xce, 0xa4, 0x76, 0x92, 0x58, 0x02, 0x8d, 0x7a, 0x36, 0xcb,
1078 0x42, 0xda, 0x49, 0xea, 0x91, 0x53, 0xf4, 0x44, 0x54, 0x12, 0x42, 0xd0, 0xce, 0x6a, 0xcf, 0x35,
1079 0x69, 0x17, 0x3d, 0x82, 0x9d, 0x2c, 0xa6, 0x5c, 0x6a, 0x12, 0x92, 0xdf, 0x42, 0x9b, 0xf7, 0x77,
1080 0xe4, 0x84, 0xce, 0x82, 0x50, 0x12, 0x22, 0x09, 0xca, 0x17, 0xe4, 0xb3, 0x98, 0x06, 0x76, 0x44,
1081 0x8f, 0xa1, 0x72, 0xe5, 0x78, 0xab, 0x64, 0x63, 0xc5, 0x82, 0xfc, 0x5b, 0x91, 0xfb, 0xe3, 0xd6,
1082 0xc9, 0x48, 0x1d, 0x66, 0xa6, 0x45, 0x78, 0x58, 0x03, 0x0f, 0xfa, 0xde, 0xf7, 0xa1, 0xca, 0x3e,
1083 0xda, 0x55, 0x24, 0x3e, 0x76, 0x21, 0xa1, 0x1f, 0x00, 0xd2, 0x10, 0xa3, 0xce, 0x16, 0x9f, 0xf0,
1084 0x3d, 0x31, 0xe1, 0xf9, 0x04, 0x70, 0x86, 0x28, 0x7f, 0x84, 0x1d, 0x63, 0x68, 0xe5, 0x62, 0xec,
1085 0x42, 0x93, 0xaf, 0x87, 0x6b, 0x67, 0x4a, 0xc4, 0x3a, 0x6a, 0xe1, 0x2c, 0x94, 0x6e, 0x15, 0x26,
1086 0xf2, 0x4c, 0x4a, 0x99, 0xad, 0x92, 0x80, 0x5f, 0x8a, 0x54, 0xfe, 0xb5, 0x08, 0xad, 0x2b, 0x12,
1087 0x46, 0x6e, 0xe0, 0x8b, 0x9c, 0x3a, 0x50, 0xfb, 0x14, 0x03, 0xa2, 0x26, 0x89, 0xc8, 0xea, 0x35,
1088 0x59, 0xb9, 0xde, 0xcc, 0x72, 0x17, 0xe9, 0xff, 0x41, 0x0a, 0xa0, 0xff, 0x03, 0x4c, 0x83, 0xc5,
1089 0xc2, 0xa5, 0xef, 0x9c, 0x68, 0x2e, 0x6e, 0xc9, 0x20, 0xcc, 0xfa, 0xc6, 0xa5, 0x22, 0x88, 0x78,
1090 0xf3, 0xad, 0x01, 0xf9, 0x2d, 0xd4, 0x87, 0xc1, 0xcd, 0x90, 0x7c, 0x22, 0x1e, 0xeb, 0xa0, 0xc7,
1091 0x0e, 0xe2, 0xfe, 0x58, 0x60, 0x19, 0x4c, 0x1d, 0xcf, 0x13, 0x9d, 0xa8, 0x63, 0x21, 0xc9, 0x2a,
1092 0xd4, 0x31, 0x89, 0x96, 0x81, 0x1f, 0x11, 0xf4, 0x0c, 0x9a, 0x11, 0xf7, 0x67, 0x4f, 0x83, 0x19,
1093 0x11, 0xcb, 0x1b, 0x62, 0xa8, 0x17, 0xcc, 0x08, 0x4b, 0x6e, 0x41, 0xa2, 0xc8, 0xb9, 0x49, 0x12,
1094 0x48, 0x44, 0x39, 0x82, 0xa6, 0x76, 0xb3, 0x58, 0x26, 0x75, 0x7f, 0x01, 0x55, 0xc3, 0x5f, 0x61,
1095 0xf2, 0x51, 0x2c, 0xba, 0xdd, 0xcc, 0x7e, 0x8a, 0x29, 0x58, 0x10, 0xd0, 0x4f, 0xb0, 0x6d, 0xae,
1096 0x26, 0xca, 0x94, 0xba, 0x81, 0x7f, 0xe5, 0x78, 0xdc, 0x71, 0x3b, 0x6d, 0x77, 0xaa, 0xe2, 0xab,
1097 0x08, 0xe7, 0xa8, 0xf2, 0x05, 0x54, 0xce, 0xbd, 0xe0, 0x36, 0x42, 0xff, 0x03, 0xb8, 0xf6, 0x82,
1098 0x5b, 0x7b, 0x1a, 0xac, 0x7c, 0x2a, 0xba, 0xdc, 0x60, 0x48, 0x8f, 0x01, 0xe8, 0x2b, 0xa8, 0x30,
1099 0x21, 0xea, 0x94, 0xf8, 0x28, 0xb5, 0x8e, 0x93, 0xe7, 0x01, 0xb3, 0xc6, 0xb1, 0x4e, 0xae, 0x41,
1100 0x45, 0x5d, 0x2c, 0xe9, 0xe7, 0x97, 0x6f, 0xa0, 0x9d, 0xbf, 0x15, 0xd5, 0x61, 0xeb, 0x67, 0x43,
1101 0xd3, 0xa5, 0x02, 0x6a, 0x40, 0x65, 0xa8, 0x2a, 0x57, 0xaa, 0x54, 0x44, 0x00, 0x55, 0x06, 0x5e,
1102 0x9d, 0x4a, 0xa5, 0x93, 0x5f, 0x6a, 0x50, 0x39, 0x3b, 0x33, 0xdd, 0x05, 0x7a, 0x0d, 0x35, 0x31,
1103 0x0f, 0x68, 0x5b, 0xa4, 0xc0, 0xbd, 0x1e, 0x3c, 0x16, 0x52, 0x6e, 0x5a, 0xe4, 0x02, 0x7a, 0x0e,
1104 0xd5, 0x01, 0xa1, 0xec, 0x25, 0x90, 0xe7, 0xa7, 0x1b, 0xdd, 0xa3, 0x72, 0x01, 0xbd, 0x02, 0x18,
1105 0x05, 0xb7, 0x24, 0x0c, 0xfc, 0x4d, 0xe6, 0x8e, 0x90, 0x92, 0x36, 0xca, 0x05, 0x74, 0x0c, 0x4d,
1106 0x73, 0xbe, 0xa2, 0xb3, 0xe0, 0xf6, 0x61, 0xfc, 0x6f, 0xa1, 0x81, 0xc9, 0x24, 0x08, 0xe8, 0x83,
1107 0xd8, 0xdf, 0x40, 0x8d, 0x85, 0xcc, 0xfe, 0x86, 0xf2, 0xdc, 0xe6, 0xba, 0xcb, 0x91, 0x5c, 0x60,
1108 0x43, 0x10, 0xf3, 0xd0, 0x66, 0xfb, 0x0f, 0x32, 0xff, 0x58, 0x72, 0x01, 0xbd, 0x81, 0xa6, 0x49,
1109 0x68, 0x3a, 0xc2, 0xc9, 0xa5, 0x09, 0x70, 0x70, 0x17, 0x90, 0x0b, 0xe8, 0x34, 0x93, 0xe3, 0xfd,
1110 0x57, 0xdc, 0x13, 0xfa, 0xc9, 0xba, 0x8e, 0x0f, 0xb6, 0xf9, 0x1e, 0xb6, 0x31, 0x89, 0xa8, 0x13,
1111 0x52, 0xd5, 0x59, 0x06, 0xde, 0x03, 0xad, 0x4e, 0xa1, 0x29, 0xac, 0xfa, 0xf3, 0xe9, 0xf2, 0x81,
1112 0x46, 0x67, 0xb0, 0x67, 0x12, 0x6a, 0xf8, 0x2b, 0xbe, 0xc4, 0x34, 0x7f, 0xe6, 0x4e, 0x1d, 0x36,
1113 0x86, 0x68, 0x7f, 0x6d, 0x9e, 0xdd, 0x6f, 0xff, 0xe0, 0xc3, 0xa3, 0x5f, 0xf4, 0x91, 0xdf, 0x91,
1114 0xf7, 0xf9, 0x78, 0x05, 0xf5, 0x01, 0xa1, 0xf1, 0xb7, 0x75, 0x4f, 0xe4, 0x49, 0xd7, 0x39, 0x41,
1115 0x2e, 0xa0, 0xb7, 0xb0, 0xd3, 0x9b, 0x3b, 0xfe, 0x0d, 0x61, 0x2b, 0x20, 0x7e, 0x86, 0x21, 0x41,
1116 0xc9, 0x2c, 0x85, 0xfb, 0x2e, 0xba, 0x80, 0x27, 0x03, 0x9e, 0xf0, 0xe6, 0xa3, 0xe9, 0x9e, 0x7b,
1117 0x9f, 0xae, 0xa1, 0x0d, 0xbe, 0x5c, 0x98, 0x54, 0xf9, 0x5b, 0xfe, 0xf4, 0xef, 0x00, 0x00, 0x00,
1118 0xff, 0xff, 0x54, 0xe5, 0xac, 0xa2, 0x2a, 0x0c, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001119}
1120
1121// Reference imports to suppress errors if they are not otherwise used.
1122var _ context.Context
Anand S Katti09541352020-01-29 15:54:01 +05301123var _ grpc.ClientConnInterface
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001124
1125// This is a compile-time assertion to ensure that this generated file
1126// is compatible with the grpc package it is being compiled against.
Anand S Katti09541352020-01-29 15:54:01 +05301127const _ = grpc.SupportPackageIsVersion6
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001128
1129// BBSimClient is the client API for BBSim service.
1130//
1131// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1132type BBSimClient interface {
1133 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
1134 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001135 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1136 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1137 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001138 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
1139 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
1140 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
1141 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
1142 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
1143 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
1144 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Anand S Katti86552f92020-03-03 21:56:32 +05301145 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
1146 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Pragya Arya8bdb4532020-03-02 17:08:09 +05301147 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Arjun E K57a7fcb2020-01-30 06:44:45 +00001148 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Anand S Katti09541352020-01-29 15:54:01 +05301149 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001150}
1151
1152type bBSimClient struct {
Anand S Katti09541352020-01-29 15:54:01 +05301153 cc grpc.ClientConnInterface
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001154}
1155
Anand S Katti09541352020-01-29 15:54:01 +05301156func NewBBSimClient(cc grpc.ClientConnInterface) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001157 return &bBSimClient{cc}
1158}
1159
1160func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1161 out := new(VersionNumber)
1162 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1163 if err != nil {
1164 return nil, err
1165 }
1166 return out, nil
1167}
1168
1169func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1170 out := new(Olt)
1171 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1172 if err != nil {
1173 return nil, err
1174 }
1175 return out, nil
1176}
1177
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001178func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1179 out := new(Response)
1180 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1181 if err != nil {
1182 return nil, err
1183 }
1184 return out, nil
1185}
1186
1187func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1188 out := new(Response)
1189 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1190 if err != nil {
1191 return nil, err
1192 }
1193 return out, nil
1194}
1195
1196func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1197 out := new(Response)
1198 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1199 if err != nil {
1200 return nil, err
1201 }
1202 return out, nil
1203}
1204
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001205func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
1206 out := new(ONUs)
1207 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
1208 if err != nil {
1209 return nil, err
1210 }
1211 return out, nil
1212}
1213
1214func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
1215 out := new(ONU)
1216 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
1217 if err != nil {
1218 return nil, err
1219 }
1220 return out, nil
1221}
1222
1223func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1224 out := new(LogLevel)
1225 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1226 if err != nil {
1227 return nil, err
1228 }
1229 return out, nil
1230}
1231
1232func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1233 out := new(Response)
1234 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
1235 if err != nil {
1236 return nil, err
1237 }
1238 return out, nil
1239}
1240
1241func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1242 out := new(Response)
1243 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
1244 if err != nil {
1245 return nil, err
1246 }
1247 return out, nil
1248}
1249
1250func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1251 out := new(Response)
1252 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
1253 if err != nil {
1254 return nil, err
1255 }
1256 return out, nil
1257}
1258
1259func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1260 out := new(Response)
1261 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
1262 if err != nil {
1263 return nil, err
1264 }
1265 return out, nil
1266}
1267
Anand S Katti86552f92020-03-03 21:56:32 +05301268func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08001269 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05301270 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
1271 if err != nil {
1272 return nil, err
1273 }
1274 return out, nil
1275}
1276
1277func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
1278 out := new(Response)
1279 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08001280 if err != nil {
1281 return nil, err
1282 }
1283 return out, nil
1284}
1285
Pragya Arya8bdb4532020-03-02 17:08:09 +05301286func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
1287 out := new(Flows)
1288 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
1289 if err != nil {
1290 return nil, err
1291 }
1292 return out, nil
1293}
1294
Arjun E K57a7fcb2020-01-30 06:44:45 +00001295func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
1296 out := new(Response)
1297 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
1298 if err != nil {
1299 return nil, err
1300 }
1301 return out, nil
1302}
1303
Anand S Katti09541352020-01-29 15:54:01 +05301304func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
1305 out := new(ONUTrafficSchedulers)
1306 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
1307 if err != nil {
1308 return nil, err
1309 }
1310 return out, nil
1311}
1312
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001313// BBSimServer is the server API for BBSim service.
1314type BBSimServer interface {
1315 Version(context.Context, *Empty) (*VersionNumber, error)
1316 GetOlt(context.Context, *Empty) (*Olt, error)
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001317 PoweronOlt(context.Context, *Empty) (*Response, error)
1318 ShutdownOlt(context.Context, *Empty) (*Response, error)
1319 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001320 GetONUs(context.Context, *Empty) (*ONUs, error)
1321 GetONU(context.Context, *ONURequest) (*ONU, error)
1322 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
1323 ShutdownONU(context.Context, *ONURequest) (*Response, error)
1324 PoweronONU(context.Context, *ONURequest) (*Response, error)
1325 RestartEapol(context.Context, *ONURequest) (*Response, error)
1326 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Anand S Katti86552f92020-03-03 21:56:32 +05301327 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
1328 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Pragya Arya8bdb4532020-03-02 17:08:09 +05301329 GetFlows(context.Context, *ONURequest) (*Flows, error)
Arjun E K57a7fcb2020-01-30 06:44:45 +00001330 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Anand S Katti09541352020-01-29 15:54:01 +05301331 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001332}
1333
Pragya Arya1cbefa42020-01-13 12:15:29 +05301334// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
1335type UnimplementedBBSimServer struct {
1336}
1337
1338func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
1339 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
1340}
1341func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
1342 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
1343}
1344func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
1345 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
1346}
1347func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
1348 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
1349}
1350func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
1351 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
1352}
1353func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
1354 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
1355}
1356func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
1357 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
1358}
1359func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
1360 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
1361}
1362func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
1363 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
1364}
1365func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
1366 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
1367}
1368func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
1369 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
1370}
1371func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
1372 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
1373}
Anand S Katti86552f92020-03-03 21:56:32 +05301374func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
1375 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
1376}
1377func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
1378 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
Pragya Arya1cbefa42020-01-13 12:15:29 +05301379}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301380func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
1381 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
1382}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001383func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
1384 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
1385}
Anand S Katti09541352020-01-29 15:54:01 +05301386func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
1387 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
1388}
Pragya Arya1cbefa42020-01-13 12:15:29 +05301389
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001390func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
1391 s.RegisterService(&_BBSim_serviceDesc, srv)
1392}
1393
1394func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1395 in := new(Empty)
1396 if err := dec(in); err != nil {
1397 return nil, err
1398 }
1399 if interceptor == nil {
1400 return srv.(BBSimServer).Version(ctx, in)
1401 }
1402 info := &grpc.UnaryServerInfo{
1403 Server: srv,
1404 FullMethod: "/bbsim.BBSim/Version",
1405 }
1406 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1407 return srv.(BBSimServer).Version(ctx, req.(*Empty))
1408 }
1409 return interceptor(ctx, in, info, handler)
1410}
1411
1412func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1413 in := new(Empty)
1414 if err := dec(in); err != nil {
1415 return nil, err
1416 }
1417 if interceptor == nil {
1418 return srv.(BBSimServer).GetOlt(ctx, in)
1419 }
1420 info := &grpc.UnaryServerInfo{
1421 Server: srv,
1422 FullMethod: "/bbsim.BBSim/GetOlt",
1423 }
1424 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1425 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
1426 }
1427 return interceptor(ctx, in, info, handler)
1428}
1429
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001430func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1431 in := new(Empty)
1432 if err := dec(in); err != nil {
1433 return nil, err
1434 }
1435 if interceptor == nil {
1436 return srv.(BBSimServer).PoweronOlt(ctx, in)
1437 }
1438 info := &grpc.UnaryServerInfo{
1439 Server: srv,
1440 FullMethod: "/bbsim.BBSim/PoweronOlt",
1441 }
1442 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1443 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
1444 }
1445 return interceptor(ctx, in, info, handler)
1446}
1447
1448func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1449 in := new(Empty)
1450 if err := dec(in); err != nil {
1451 return nil, err
1452 }
1453 if interceptor == nil {
1454 return srv.(BBSimServer).ShutdownOlt(ctx, in)
1455 }
1456 info := &grpc.UnaryServerInfo{
1457 Server: srv,
1458 FullMethod: "/bbsim.BBSim/ShutdownOlt",
1459 }
1460 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1461 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
1462 }
1463 return interceptor(ctx, in, info, handler)
1464}
1465
1466func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1467 in := new(Empty)
1468 if err := dec(in); err != nil {
1469 return nil, err
1470 }
1471 if interceptor == nil {
1472 return srv.(BBSimServer).RebootOlt(ctx, in)
1473 }
1474 info := &grpc.UnaryServerInfo{
1475 Server: srv,
1476 FullMethod: "/bbsim.BBSim/RebootOlt",
1477 }
1478 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1479 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
1480 }
1481 return interceptor(ctx, in, info, handler)
1482}
1483
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001484func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1485 in := new(Empty)
1486 if err := dec(in); err != nil {
1487 return nil, err
1488 }
1489 if interceptor == nil {
1490 return srv.(BBSimServer).GetONUs(ctx, in)
1491 }
1492 info := &grpc.UnaryServerInfo{
1493 Server: srv,
1494 FullMethod: "/bbsim.BBSim/GetONUs",
1495 }
1496 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1497 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
1498 }
1499 return interceptor(ctx, in, info, handler)
1500}
1501
1502func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1503 in := new(ONURequest)
1504 if err := dec(in); err != nil {
1505 return nil, err
1506 }
1507 if interceptor == nil {
1508 return srv.(BBSimServer).GetONU(ctx, in)
1509 }
1510 info := &grpc.UnaryServerInfo{
1511 Server: srv,
1512 FullMethod: "/bbsim.BBSim/GetONU",
1513 }
1514 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1515 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
1516 }
1517 return interceptor(ctx, in, info, handler)
1518}
1519
1520func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1521 in := new(LogLevel)
1522 if err := dec(in); err != nil {
1523 return nil, err
1524 }
1525 if interceptor == nil {
1526 return srv.(BBSimServer).SetLogLevel(ctx, in)
1527 }
1528 info := &grpc.UnaryServerInfo{
1529 Server: srv,
1530 FullMethod: "/bbsim.BBSim/SetLogLevel",
1531 }
1532 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1533 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
1534 }
1535 return interceptor(ctx, in, info, handler)
1536}
1537
1538func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1539 in := new(ONURequest)
1540 if err := dec(in); err != nil {
1541 return nil, err
1542 }
1543 if interceptor == nil {
1544 return srv.(BBSimServer).ShutdownONU(ctx, in)
1545 }
1546 info := &grpc.UnaryServerInfo{
1547 Server: srv,
1548 FullMethod: "/bbsim.BBSim/ShutdownONU",
1549 }
1550 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1551 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
1552 }
1553 return interceptor(ctx, in, info, handler)
1554}
1555
1556func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1557 in := new(ONURequest)
1558 if err := dec(in); err != nil {
1559 return nil, err
1560 }
1561 if interceptor == nil {
1562 return srv.(BBSimServer).PoweronONU(ctx, in)
1563 }
1564 info := &grpc.UnaryServerInfo{
1565 Server: srv,
1566 FullMethod: "/bbsim.BBSim/PoweronONU",
1567 }
1568 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1569 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
1570 }
1571 return interceptor(ctx, in, info, handler)
1572}
1573
1574func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1575 in := new(ONURequest)
1576 if err := dec(in); err != nil {
1577 return nil, err
1578 }
1579 if interceptor == nil {
1580 return srv.(BBSimServer).RestartEapol(ctx, in)
1581 }
1582 info := &grpc.UnaryServerInfo{
1583 Server: srv,
1584 FullMethod: "/bbsim.BBSim/RestartEapol",
1585 }
1586 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1587 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
1588 }
1589 return interceptor(ctx, in, info, handler)
1590}
1591
1592func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1593 in := new(ONURequest)
1594 if err := dec(in); err != nil {
1595 return nil, err
1596 }
1597 if interceptor == nil {
1598 return srv.(BBSimServer).RestartDhcp(ctx, in)
1599 }
1600 info := &grpc.UnaryServerInfo{
1601 Server: srv,
1602 FullMethod: "/bbsim.BBSim/RestartDhcp",
1603 }
1604 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1605 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
1606 }
1607 return interceptor(ctx, in, info, handler)
1608}
1609
Anand S Katti86552f92020-03-03 21:56:32 +05301610func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1611 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08001612 if err := dec(in); err != nil {
1613 return nil, err
1614 }
1615 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05301616 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08001617 }
1618 info := &grpc.UnaryServerInfo{
1619 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05301620 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08001621 }
1622 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05301623 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
1624 }
1625 return interceptor(ctx, in, info, handler)
1626}
1627
1628func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1629 in := new(OLTAlarmRequest)
1630 if err := dec(in); err != nil {
1631 return nil, err
1632 }
1633 if interceptor == nil {
1634 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
1635 }
1636 info := &grpc.UnaryServerInfo{
1637 Server: srv,
1638 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
1639 }
1640 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1641 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08001642 }
1643 return interceptor(ctx, in, info, handler)
1644}
1645
Pragya Arya8bdb4532020-03-02 17:08:09 +05301646func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1647 in := new(ONURequest)
1648 if err := dec(in); err != nil {
1649 return nil, err
1650 }
1651 if interceptor == nil {
1652 return srv.(BBSimServer).GetFlows(ctx, in)
1653 }
1654 info := &grpc.UnaryServerInfo{
1655 Server: srv,
1656 FullMethod: "/bbsim.BBSim/GetFlows",
1657 }
1658 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1659 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
1660 }
1661 return interceptor(ctx, in, info, handler)
1662}
1663
Arjun E K57a7fcb2020-01-30 06:44:45 +00001664func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1665 in := new(IgmpRequest)
1666 if err := dec(in); err != nil {
1667 return nil, err
1668 }
1669 if interceptor == nil {
1670 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
1671 }
1672 info := &grpc.UnaryServerInfo{
1673 Server: srv,
1674 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
1675 }
1676 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1677 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
1678 }
1679 return interceptor(ctx, in, info, handler)
1680}
1681
Anand S Katti09541352020-01-29 15:54:01 +05301682func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1683 in := new(ONURequest)
1684 if err := dec(in); err != nil {
1685 return nil, err
1686 }
1687 if interceptor == nil {
1688 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
1689 }
1690 info := &grpc.UnaryServerInfo{
1691 Server: srv,
1692 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
1693 }
1694 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1695 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
1696 }
1697 return interceptor(ctx, in, info, handler)
1698}
1699
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001700var _BBSim_serviceDesc = grpc.ServiceDesc{
1701 ServiceName: "bbsim.BBSim",
1702 HandlerType: (*BBSimServer)(nil),
1703 Methods: []grpc.MethodDesc{
1704 {
1705 MethodName: "Version",
1706 Handler: _BBSim_Version_Handler,
1707 },
1708 {
1709 MethodName: "GetOlt",
1710 Handler: _BBSim_GetOlt_Handler,
1711 },
1712 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001713 MethodName: "PoweronOlt",
1714 Handler: _BBSim_PoweronOlt_Handler,
1715 },
1716 {
1717 MethodName: "ShutdownOlt",
1718 Handler: _BBSim_ShutdownOlt_Handler,
1719 },
1720 {
1721 MethodName: "RebootOlt",
1722 Handler: _BBSim_RebootOlt_Handler,
1723 },
1724 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001725 MethodName: "GetONUs",
1726 Handler: _BBSim_GetONUs_Handler,
1727 },
1728 {
1729 MethodName: "GetONU",
1730 Handler: _BBSim_GetONU_Handler,
1731 },
1732 {
1733 MethodName: "SetLogLevel",
1734 Handler: _BBSim_SetLogLevel_Handler,
1735 },
1736 {
1737 MethodName: "ShutdownONU",
1738 Handler: _BBSim_ShutdownONU_Handler,
1739 },
1740 {
1741 MethodName: "PoweronONU",
1742 Handler: _BBSim_PoweronONU_Handler,
1743 },
1744 {
1745 MethodName: "RestartEapol",
1746 Handler: _BBSim_RestartEapol_Handler,
1747 },
1748 {
1749 MethodName: "RestartDhcp",
1750 Handler: _BBSim_RestartDhcp_Handler,
1751 },
Scott Baker41724b82020-01-21 19:54:53 -08001752 {
Anand S Katti86552f92020-03-03 21:56:32 +05301753 MethodName: "SetOnuAlarmIndication",
1754 Handler: _BBSim_SetOnuAlarmIndication_Handler,
1755 },
1756 {
1757 MethodName: "SetOltAlarmIndication",
1758 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08001759 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00001760 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05301761 MethodName: "GetFlows",
1762 Handler: _BBSim_GetFlows_Handler,
1763 },
1764 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001765 MethodName: "ChangeIgmpState",
1766 Handler: _BBSim_ChangeIgmpState_Handler,
1767 },
Anand S Katti09541352020-01-29 15:54:01 +05301768 {
1769 MethodName: "GetOnuTrafficSchedulers",
1770 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
1771 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001772 },
1773 Streams: []grpc.StreamDesc{},
1774 Metadata: "api/bbsim/bbsim.proto",
1775}