blob: 4da2e87390060114c5476c64ac8394acc0d8e511 [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) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530134 return fileDescriptor_ef7750073d18011b, []int{8, 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 {
319 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 STag int32 `protobuf:"varint,6,opt,name=STag,proto3" json:"STag,omitempty"`
325 CTag int32 `protobuf:"varint,7,opt,name=CTag,proto3" json:"CTag,omitempty"`
326 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
327 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
328 XXX_NoUnkeyedLiteral struct{} `json:"-"`
329 XXX_unrecognized []byte `json:"-"`
330 XXX_sizecache int32 `json:"-"`
331}
332
333func (m *ONU) Reset() { *m = ONU{} }
334func (m *ONU) String() string { return proto.CompactTextString(m) }
335func (*ONU) ProtoMessage() {}
336func (*ONU) Descriptor() ([]byte, []int) {
337 return fileDescriptor_ef7750073d18011b, []int{3}
338}
339
340func (m *ONU) XXX_Unmarshal(b []byte) error {
341 return xxx_messageInfo_ONU.Unmarshal(m, b)
342}
343func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
344 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
345}
346func (m *ONU) XXX_Merge(src proto.Message) {
347 xxx_messageInfo_ONU.Merge(m, src)
348}
349func (m *ONU) XXX_Size() int {
350 return xxx_messageInfo_ONU.Size(m)
351}
352func (m *ONU) XXX_DiscardUnknown() {
353 xxx_messageInfo_ONU.DiscardUnknown(m)
354}
355
356var xxx_messageInfo_ONU proto.InternalMessageInfo
357
358func (m *ONU) GetID() int32 {
359 if m != nil {
360 return m.ID
361 }
362 return 0
363}
364
365func (m *ONU) GetSerialNumber() string {
366 if m != nil {
367 return m.SerialNumber
368 }
369 return ""
370}
371
372func (m *ONU) GetOperState() string {
373 if m != nil {
374 return m.OperState
375 }
376 return ""
377}
378
379func (m *ONU) GetInternalState() string {
380 if m != nil {
381 return m.InternalState
382 }
383 return ""
384}
385
386func (m *ONU) GetPonPortID() int32 {
387 if m != nil {
388 return m.PonPortID
389 }
390 return 0
391}
392
393func (m *ONU) GetSTag() int32 {
394 if m != nil {
395 return m.STag
396 }
397 return 0
398}
399
400func (m *ONU) GetCTag() int32 {
401 if m != nil {
402 return m.CTag
403 }
404 return 0
405}
406
407func (m *ONU) GetHwAddress() string {
408 if m != nil {
409 return m.HwAddress
410 }
411 return ""
412}
413
414func (m *ONU) GetPortNo() int32 {
415 if m != nil {
416 return m.PortNo
417 }
418 return 0
419}
420
Anand S Katti09541352020-01-29 15:54:01 +0530421type ONUTrafficSchedulers struct {
422 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
423 XXX_NoUnkeyedLiteral struct{} `json:"-"`
424 XXX_unrecognized []byte `json:"-"`
425 XXX_sizecache int32 `json:"-"`
426}
427
428func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
429func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
430func (*ONUTrafficSchedulers) ProtoMessage() {}
431func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
432 return fileDescriptor_ef7750073d18011b, []int{4}
433}
434
435func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
436 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
437}
438func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
439 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
440}
441func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
442 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
443}
444func (m *ONUTrafficSchedulers) XXX_Size() int {
445 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
446}
447func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
448 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
449}
450
451var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
452
453func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
454 if m != nil {
455 return m.TraffSchedulers
456 }
457 return nil
458}
459
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700460type ONUs struct {
461 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
462 XXX_NoUnkeyedLiteral struct{} `json:"-"`
463 XXX_unrecognized []byte `json:"-"`
464 XXX_sizecache int32 `json:"-"`
465}
466
467func (m *ONUs) Reset() { *m = ONUs{} }
468func (m *ONUs) String() string { return proto.CompactTextString(m) }
469func (*ONUs) ProtoMessage() {}
470func (*ONUs) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530471 return fileDescriptor_ef7750073d18011b, []int{5}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700472}
473
474func (m *ONUs) XXX_Unmarshal(b []byte) error {
475 return xxx_messageInfo_ONUs.Unmarshal(m, b)
476}
477func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
478 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
479}
480func (m *ONUs) XXX_Merge(src proto.Message) {
481 xxx_messageInfo_ONUs.Merge(m, src)
482}
483func (m *ONUs) XXX_Size() int {
484 return xxx_messageInfo_ONUs.Size(m)
485}
486func (m *ONUs) XXX_DiscardUnknown() {
487 xxx_messageInfo_ONUs.DiscardUnknown(m)
488}
489
490var xxx_messageInfo_ONUs proto.InternalMessageInfo
491
492func (m *ONUs) GetItems() []*ONU {
493 if m != nil {
494 return m.Items
495 }
496 return nil
497}
498
499type ONURequest struct {
500 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
501 XXX_NoUnkeyedLiteral struct{} `json:"-"`
502 XXX_unrecognized []byte `json:"-"`
503 XXX_sizecache int32 `json:"-"`
504}
505
506func (m *ONURequest) Reset() { *m = ONURequest{} }
507func (m *ONURequest) String() string { return proto.CompactTextString(m) }
508func (*ONURequest) ProtoMessage() {}
509func (*ONURequest) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530510 return fileDescriptor_ef7750073d18011b, []int{6}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700511}
512
513func (m *ONURequest) XXX_Unmarshal(b []byte) error {
514 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
515}
516func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
517 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
518}
519func (m *ONURequest) XXX_Merge(src proto.Message) {
520 xxx_messageInfo_ONURequest.Merge(m, src)
521}
522func (m *ONURequest) XXX_Size() int {
523 return xxx_messageInfo_ONURequest.Size(m)
524}
525func (m *ONURequest) XXX_DiscardUnknown() {
526 xxx_messageInfo_ONURequest.DiscardUnknown(m)
527}
528
529var xxx_messageInfo_ONURequest proto.InternalMessageInfo
530
531func (m *ONURequest) GetSerialNumber() string {
532 if m != nil {
533 return m.SerialNumber
534 }
535 return ""
536}
537
Pragya Aryabd731ec2020-02-11 16:38:17 +0530538type PONRequest struct {
539 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
540 XXX_NoUnkeyedLiteral struct{} `json:"-"`
541 XXX_unrecognized []byte `json:"-"`
542 XXX_sizecache int32 `json:"-"`
543}
544
545func (m *PONRequest) Reset() { *m = PONRequest{} }
546func (m *PONRequest) String() string { return proto.CompactTextString(m) }
547func (*PONRequest) ProtoMessage() {}
548func (*PONRequest) Descriptor() ([]byte, []int) {
549 return fileDescriptor_ef7750073d18011b, []int{7}
550}
551
552func (m *PONRequest) XXX_Unmarshal(b []byte) error {
553 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
554}
555func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
556 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
557}
558func (m *PONRequest) XXX_Merge(src proto.Message) {
559 xxx_messageInfo_PONRequest.Merge(m, src)
560}
561func (m *PONRequest) XXX_Size() int {
562 return xxx_messageInfo_PONRequest.Size(m)
563}
564func (m *PONRequest) XXX_DiscardUnknown() {
565 xxx_messageInfo_PONRequest.DiscardUnknown(m)
566}
567
568var xxx_messageInfo_PONRequest proto.InternalMessageInfo
569
570func (m *PONRequest) GetPonPortId() uint32 {
571 if m != nil {
572 return m.PonPortId
573 }
574 return 0
575}
576
Scott Baker41724b82020-01-21 19:54:53 -0800577type AlarmType struct {
578 XXX_NoUnkeyedLiteral struct{} `json:"-"`
579 XXX_unrecognized []byte `json:"-"`
580 XXX_sizecache int32 `json:"-"`
581}
582
583func (m *AlarmType) Reset() { *m = AlarmType{} }
584func (m *AlarmType) String() string { return proto.CompactTextString(m) }
585func (*AlarmType) ProtoMessage() {}
586func (*AlarmType) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530587 return fileDescriptor_ef7750073d18011b, []int{8}
Scott Baker41724b82020-01-21 19:54:53 -0800588}
589
590func (m *AlarmType) XXX_Unmarshal(b []byte) error {
591 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
592}
593func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
594 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
595}
596func (m *AlarmType) XXX_Merge(src proto.Message) {
597 xxx_messageInfo_AlarmType.Merge(m, src)
598}
599func (m *AlarmType) XXX_Size() int {
600 return xxx_messageInfo_AlarmType.Size(m)
601}
602func (m *AlarmType) XXX_DiscardUnknown() {
603 xxx_messageInfo_AlarmType.DiscardUnknown(m)
604}
605
606var xxx_messageInfo_AlarmType proto.InternalMessageInfo
607
608type AlarmParameter struct {
609 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
610 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
611 XXX_NoUnkeyedLiteral struct{} `json:"-"`
612 XXX_unrecognized []byte `json:"-"`
613 XXX_sizecache int32 `json:"-"`
614}
615
616func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
617func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
618func (*AlarmParameter) ProtoMessage() {}
619func (*AlarmParameter) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530620 return fileDescriptor_ef7750073d18011b, []int{9}
Scott Baker41724b82020-01-21 19:54:53 -0800621}
622
623func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
624 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
625}
626func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
627 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
628}
629func (m *AlarmParameter) XXX_Merge(src proto.Message) {
630 xxx_messageInfo_AlarmParameter.Merge(m, src)
631}
632func (m *AlarmParameter) XXX_Size() int {
633 return xxx_messageInfo_AlarmParameter.Size(m)
634}
635func (m *AlarmParameter) XXX_DiscardUnknown() {
636 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
637}
638
639var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
640
641func (m *AlarmParameter) GetKey() string {
642 if m != nil {
643 return m.Key
644 }
645 return ""
646}
647
648func (m *AlarmParameter) GetValue() string {
649 if m != nil {
650 return m.Value
651 }
652 return ""
653}
654
Anand S Katti86552f92020-03-03 21:56:32 +0530655// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +0530656// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -0800657// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +0530658type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +0530659 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -0800660 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
661 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
662 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
663 XXX_NoUnkeyedLiteral struct{} `json:"-"`
664 XXX_unrecognized []byte `json:"-"`
665 XXX_sizecache int32 `json:"-"`
666}
667
Anand S Katti86552f92020-03-03 21:56:32 +0530668func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
669func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
670func (*ONUAlarmRequest) ProtoMessage() {}
671func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530672 return fileDescriptor_ef7750073d18011b, []int{10}
Scott Baker41724b82020-01-21 19:54:53 -0800673}
674
Anand S Katti86552f92020-03-03 21:56:32 +0530675func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
676 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -0800677}
Anand S Katti86552f92020-03-03 21:56:32 +0530678func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
679 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -0800680}
Anand S Katti86552f92020-03-03 21:56:32 +0530681func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
682 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -0800683}
Anand S Katti86552f92020-03-03 21:56:32 +0530684func (m *ONUAlarmRequest) XXX_Size() int {
685 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -0800686}
Anand S Katti86552f92020-03-03 21:56:32 +0530687func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
688 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -0800689}
690
Anand S Katti86552f92020-03-03 21:56:32 +0530691var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -0800692
Anand S Katti86552f92020-03-03 21:56:32 +0530693func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -0800694 if m != nil {
695 return m.AlarmType
696 }
Pragya Arya694ece02020-02-07 13:03:47 +0530697 return ""
Scott Baker41724b82020-01-21 19:54:53 -0800698}
699
Anand S Katti86552f92020-03-03 21:56:32 +0530700func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -0800701 if m != nil {
702 return m.SerialNumber
703 }
704 return ""
705}
706
Anand S Katti86552f92020-03-03 21:56:32 +0530707func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -0800708 if m != nil {
709 return m.Status
710 }
711 return ""
712}
713
Anand S Katti86552f92020-03-03 21:56:32 +0530714func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -0800715 if m != nil {
716 return m.Parameters
717 }
718 return nil
719}
720
Anand S Katti86552f92020-03-03 21:56:32 +0530721// OLT alarm request
722type OLTAlarmRequest struct {
723 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
724 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
725 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
726 XXX_NoUnkeyedLiteral struct{} `json:"-"`
727 XXX_unrecognized []byte `json:"-"`
728 XXX_sizecache int32 `json:"-"`
729}
730
731func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
732func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
733func (*OLTAlarmRequest) ProtoMessage() {}
734func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530735 return fileDescriptor_ef7750073d18011b, []int{11}
Anand S Katti86552f92020-03-03 21:56:32 +0530736}
737
738func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
739 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
740}
741func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
742 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
743}
744func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
745 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
746}
747func (m *OLTAlarmRequest) XXX_Size() int {
748 return xxx_messageInfo_OLTAlarmRequest.Size(m)
749}
750func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
751 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
752}
753
754var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
755
756func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
757 if m != nil {
758 return m.InterfaceID
759 }
760 return 0
761}
762
763func (m *OLTAlarmRequest) GetInterfaceType() string {
764 if m != nil {
765 return m.InterfaceType
766 }
767 return ""
768}
769
770func (m *OLTAlarmRequest) GetStatus() string {
771 if m != nil {
772 return m.Status
773 }
774 return ""
775}
776
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700777type VersionNumber struct {
778 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
779 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
780 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
781 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
782 XXX_NoUnkeyedLiteral struct{} `json:"-"`
783 XXX_unrecognized []byte `json:"-"`
784 XXX_sizecache int32 `json:"-"`
785}
786
787func (m *VersionNumber) Reset() { *m = VersionNumber{} }
788func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
789func (*VersionNumber) ProtoMessage() {}
790func (*VersionNumber) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530791 return fileDescriptor_ef7750073d18011b, []int{12}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700792}
793
794func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
795 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
796}
797func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
798 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
799}
800func (m *VersionNumber) XXX_Merge(src proto.Message) {
801 xxx_messageInfo_VersionNumber.Merge(m, src)
802}
803func (m *VersionNumber) XXX_Size() int {
804 return xxx_messageInfo_VersionNumber.Size(m)
805}
806func (m *VersionNumber) XXX_DiscardUnknown() {
807 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
808}
809
810var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
811
812func (m *VersionNumber) GetVersion() string {
813 if m != nil {
814 return m.Version
815 }
816 return ""
817}
818
819func (m *VersionNumber) GetBuildTime() string {
820 if m != nil {
821 return m.BuildTime
822 }
823 return ""
824}
825
826func (m *VersionNumber) GetCommitHash() string {
827 if m != nil {
828 return m.CommitHash
829 }
830 return ""
831}
832
833func (m *VersionNumber) GetGitStatus() string {
834 if m != nil {
835 return m.GitStatus
836 }
837 return ""
838}
839
840type LogLevel struct {
841 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
842 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
843 XXX_NoUnkeyedLiteral struct{} `json:"-"`
844 XXX_unrecognized []byte `json:"-"`
845 XXX_sizecache int32 `json:"-"`
846}
847
848func (m *LogLevel) Reset() { *m = LogLevel{} }
849func (m *LogLevel) String() string { return proto.CompactTextString(m) }
850func (*LogLevel) ProtoMessage() {}
851func (*LogLevel) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530852 return fileDescriptor_ef7750073d18011b, []int{13}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700853}
854
855func (m *LogLevel) XXX_Unmarshal(b []byte) error {
856 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
857}
858func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
859 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
860}
861func (m *LogLevel) XXX_Merge(src proto.Message) {
862 xxx_messageInfo_LogLevel.Merge(m, src)
863}
864func (m *LogLevel) XXX_Size() int {
865 return xxx_messageInfo_LogLevel.Size(m)
866}
867func (m *LogLevel) XXX_DiscardUnknown() {
868 xxx_messageInfo_LogLevel.DiscardUnknown(m)
869}
870
871var xxx_messageInfo_LogLevel proto.InternalMessageInfo
872
873func (m *LogLevel) GetLevel() string {
874 if m != nil {
875 return m.Level
876 }
877 return ""
878}
879
880func (m *LogLevel) GetCaller() bool {
881 if m != nil {
882 return m.Caller
883 }
884 return false
885}
886
887type Response struct {
888 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
889 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
890 XXX_NoUnkeyedLiteral struct{} `json:"-"`
891 XXX_unrecognized []byte `json:"-"`
892 XXX_sizecache int32 `json:"-"`
893}
894
895func (m *Response) Reset() { *m = Response{} }
896func (m *Response) String() string { return proto.CompactTextString(m) }
897func (*Response) ProtoMessage() {}
898func (*Response) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530899 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700900}
901
902func (m *Response) XXX_Unmarshal(b []byte) error {
903 return xxx_messageInfo_Response.Unmarshal(m, b)
904}
905func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
906 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
907}
908func (m *Response) XXX_Merge(src proto.Message) {
909 xxx_messageInfo_Response.Merge(m, src)
910}
911func (m *Response) XXX_Size() int {
912 return xxx_messageInfo_Response.Size(m)
913}
914func (m *Response) XXX_DiscardUnknown() {
915 xxx_messageInfo_Response.DiscardUnknown(m)
916}
917
918var xxx_messageInfo_Response proto.InternalMessageInfo
919
920func (m *Response) GetStatusCode() int32 {
921 if m != nil {
922 return m.StatusCode
923 }
924 return 0
925}
926
927func (m *Response) GetMessage() string {
928 if m != nil {
929 return m.Message
930 }
931 return ""
932}
933
Arjun E K57a7fcb2020-01-30 06:44:45 +0000934type IgmpRequest struct {
935 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
936 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
937 XXX_NoUnkeyedLiteral struct{} `json:"-"`
938 XXX_unrecognized []byte `json:"-"`
939 XXX_sizecache int32 `json:"-"`
940}
941
942func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
943func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
944func (*IgmpRequest) ProtoMessage() {}
945func (*IgmpRequest) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530946 return fileDescriptor_ef7750073d18011b, []int{15}
Arjun E K57a7fcb2020-01-30 06:44:45 +0000947}
948
949func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
950 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
951}
952func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
953 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
954}
955func (m *IgmpRequest) XXX_Merge(src proto.Message) {
956 xxx_messageInfo_IgmpRequest.Merge(m, src)
957}
958func (m *IgmpRequest) XXX_Size() int {
959 return xxx_messageInfo_IgmpRequest.Size(m)
960}
961func (m *IgmpRequest) XXX_DiscardUnknown() {
962 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
963}
964
965var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
966
967func (m *IgmpRequest) GetOnuReq() *ONURequest {
968 if m != nil {
969 return m.OnuReq
970 }
971 return nil
972}
973
974func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
975 if m != nil {
976 return m.SubActionVal
977 }
978 return SubActionTypes_JOIN
979}
980
Pragya Arya8bdb4532020-03-02 17:08:09 +0530981type Flows struct {
982 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
983 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
984 XXX_NoUnkeyedLiteral struct{} `json:"-"`
985 XXX_unrecognized []byte `json:"-"`
986 XXX_sizecache int32 `json:"-"`
987}
988
989func (m *Flows) Reset() { *m = Flows{} }
990func (m *Flows) String() string { return proto.CompactTextString(m) }
991func (*Flows) ProtoMessage() {}
992func (*Flows) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +0530993 return fileDescriptor_ef7750073d18011b, []int{16}
Pragya Arya8bdb4532020-03-02 17:08:09 +0530994}
995
996func (m *Flows) XXX_Unmarshal(b []byte) error {
997 return xxx_messageInfo_Flows.Unmarshal(m, b)
998}
999func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1000 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1001}
1002func (m *Flows) XXX_Merge(src proto.Message) {
1003 xxx_messageInfo_Flows.Merge(m, src)
1004}
1005func (m *Flows) XXX_Size() int {
1006 return xxx_messageInfo_Flows.Size(m)
1007}
1008func (m *Flows) XXX_DiscardUnknown() {
1009 xxx_messageInfo_Flows.DiscardUnknown(m)
1010}
1011
1012var xxx_messageInfo_Flows proto.InternalMessageInfo
1013
1014func (m *Flows) GetFlowCount() uint32 {
1015 if m != nil {
1016 return m.FlowCount
1017 }
1018 return 0
1019}
1020
1021func (m *Flows) GetFlows() []*openolt.Flow {
1022 if m != nil {
1023 return m.Flows
1024 }
1025 return nil
1026}
1027
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001028type Empty struct {
1029 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1030 XXX_unrecognized []byte `json:"-"`
1031 XXX_sizecache int32 `json:"-"`
1032}
1033
1034func (m *Empty) Reset() { *m = Empty{} }
1035func (m *Empty) String() string { return proto.CompactTextString(m) }
1036func (*Empty) ProtoMessage() {}
1037func (*Empty) Descriptor() ([]byte, []int) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301038 return fileDescriptor_ef7750073d18011b, []int{17}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001039}
1040
1041func (m *Empty) XXX_Unmarshal(b []byte) error {
1042 return xxx_messageInfo_Empty.Unmarshal(m, b)
1043}
1044func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1045 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1046}
1047func (m *Empty) XXX_Merge(src proto.Message) {
1048 xxx_messageInfo_Empty.Merge(m, src)
1049}
1050func (m *Empty) XXX_Size() int {
1051 return xxx_messageInfo_Empty.Size(m)
1052}
1053func (m *Empty) XXX_DiscardUnknown() {
1054 xxx_messageInfo_Empty.DiscardUnknown(m)
1055}
1056
1057var xxx_messageInfo_Empty proto.InternalMessageInfo
1058
1059func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001060 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Scott Baker41724b82020-01-21 19:54:53 -08001061 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001062 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
1063 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1064 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
1065 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Anand S Katti09541352020-01-29 15:54:01 +05301066 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001067 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
1068 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301069 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001070 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1071 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301072 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1073 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001074 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1075 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1076 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001077 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301078 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001079 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1080}
1081
1082func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
1083
1084var fileDescriptor_ef7750073d18011b = []byte{
Pragya Aryabd731ec2020-02-11 16:38:17 +05301085 // 1353 bytes of a gzipped FileDescriptorProto
1086 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xdd, 0x72, 0x9b, 0xd6,
1087 0x16, 0xd6, 0x8f, 0xf5, 0xb7, 0x64, 0xc9, 0x78, 0x27, 0x76, 0x18, 0xc7, 0xe7, 0xc4, 0xc3, 0xc9,
1088 0x39, 0xe3, 0x64, 0x4e, 0x9c, 0xc6, 0x6e, 0xa7, 0xc9, 0x25, 0x96, 0xb0, 0x42, 0x2d, 0x03, 0xb3,
1089 0x41, 0xce, 0xe4, 0x8a, 0xc1, 0xd2, 0xb6, 0xc5, 0x0c, 0x02, 0x05, 0x50, 0x3c, 0x79, 0x80, 0xbe,
1090 0x48, 0x9f, 0xa8, 0x4f, 0xd0, 0x5e, 0xf5, 0x21, 0x7a, 0xd7, 0xd9, 0x9b, 0x0d, 0x02, 0x4b, 0xe9,
1091 0xa8, 0xbd, 0xe9, 0x8d, 0x66, 0xaf, 0x6f, 0x7d, 0xeb, 0x7f, 0xb3, 0x40, 0xb0, 0xe7, 0xcc, 0xdd,
1092 0xd7, 0x37, 0x37, 0x91, 0x3b, 0x4b, 0x7e, 0x4f, 0xe6, 0x61, 0x10, 0x07, 0xa8, 0xc6, 0x84, 0x83,
1093 0xa7, 0x9f, 0x03, 0x2f, 0x9e, 0x3a, 0x36, 0x03, 0xa3, 0xd7, 0xc1, 0x9c, 0xf8, 0x81, 0x17, 0x27,
1094 0x9c, 0x83, 0xa3, 0xa2, 0x32, 0x26, 0xe3, 0x29, 0x3d, 0xdf, 0xba, 0x1e, 0x49, 0x18, 0xd2, 0xf7,
1095 0xd0, 0x30, 0x74, 0xcd, 0x08, 0xc2, 0x18, 0x75, 0xa1, 0xa2, 0xf6, 0xc5, 0xf2, 0x51, 0xf9, 0xb8,
1096 0x86, 0x2b, 0x6a, 0x1f, 0x1d, 0x42, 0x4b, 0x9f, 0x93, 0xd0, 0x8c, 0x9d, 0x98, 0x88, 0x95, 0xa3,
1097 0xf2, 0x71, 0x0b, 0x2f, 0x01, 0x6a, 0xa8, 0x69, 0xea, 0xdf, 0x30, 0xfc, 0xad, 0x0c, 0x55, 0xdd,
1098 0x5b, 0xb5, 0x92, 0x60, 0xdb, 0x24, 0xa1, 0xeb, 0x78, 0xda, 0x62, 0x76, 0x43, 0x42, 0x6e, 0x58,
1099 0xc0, 0x8a, 0x9e, 0xab, 0x0f, 0x3c, 0xa3, 0xe7, 0xd0, 0x51, 0xfd, 0x98, 0x84, 0xbe, 0xe3, 0x25,
1100 0x8c, 0x2d, 0xc6, 0x28, 0x82, 0x2c, 0xae, 0x21, 0x36, 0x98, 0xaa, 0xa2, 0x1a, 0xe8, 0x25, 0x34,
1101 0x79, 0x21, 0x91, 0x58, 0x3b, 0xaa, 0x1e, 0xb7, 0x4f, 0xbb, 0x27, 0x49, 0x9f, 0x39, 0x8c, 0x33,
1102 0x3d, 0xe5, 0xf2, 0x6e, 0x45, 0x62, 0xbd, 0xc0, 0xe5, 0x30, 0xce, 0xf4, 0xd2, 0xef, 0xb4, 0x4e,
1103 0x6d, 0xf4, 0x8f, 0xd5, 0x79, 0x08, 0x2d, 0x23, 0xf0, 0x69, 0x2e, 0x6a, 0x5f, 0xac, 0xb1, 0xf0,
1104 0x4b, 0x00, 0x21, 0xd8, 0x32, 0x2d, 0xe7, 0x4e, 0xac, 0x33, 0x05, 0x3b, 0x53, 0xac, 0x47, 0xb1,
1105 0x46, 0x82, 0xd1, 0x33, 0xf5, 0xf2, 0xfe, 0x5e, 0x9e, 0x4c, 0x42, 0x12, 0x45, 0x62, 0x33, 0xc9,
1106 0x24, 0x03, 0xd0, 0x3e, 0xd4, 0xa9, 0x3f, 0x2d, 0x10, 0x5b, 0xcc, 0x86, 0x4b, 0x92, 0x03, 0x8f,
1107 0x75, 0x6d, 0x64, 0x85, 0xce, 0xed, 0xad, 0x3b, 0x36, 0xc7, 0x53, 0x32, 0x59, 0x78, 0x24, 0x8c,
1108 0x90, 0x0a, 0x3b, 0x31, 0x05, 0x97, 0x10, 0x6b, 0x4c, 0xfb, 0xf4, 0xd9, 0x49, 0xe1, 0x6e, 0xae,
1109 0x58, 0xe2, 0x87, 0x76, 0xd2, 0x31, 0x6c, 0xe9, 0xda, 0x28, 0x42, 0x47, 0x50, 0x73, 0x63, 0x32,
1110 0xa3, 0x8e, 0xe8, 0x3c, 0x80, 0xcf, 0x43, 0xd7, 0x46, 0x38, 0x51, 0x48, 0xdf, 0x00, 0x50, 0x89,
1111 0x7c, 0x5a, 0x90, 0x28, 0x5e, 0x69, 0x7f, 0x79, 0xb5, 0xfd, 0xd2, 0x4b, 0x00, 0x43, 0xd7, 0x52,
1112 0x8b, 0x5c, 0x23, 0x27, 0x8c, 0xde, 0x59, 0x36, 0x72, 0x22, 0xfd, 0x52, 0x85, 0x96, 0xec, 0x39,
1113 0xe1, 0xcc, 0xfa, 0x32, 0x27, 0xd2, 0xcf, 0x55, 0xa8, 0xd1, 0x43, 0x84, 0x1a, 0x50, 0x1d, 0xea,
1114 0xa6, 0x50, 0x42, 0x5d, 0x80, 0xfe, 0x47, 0x55, 0x1b, 0xd8, 0x03, 0xd9, 0x34, 0x84, 0x32, 0xea,
1115 0x40, 0x4b, 0xd7, 0x46, 0xb6, 0x3c, 0x94, 0xf1, 0x95, 0x50, 0x41, 0x4f, 0xe0, 0x11, 0x15, 0x4d,
1116 0x4b, 0xc6, 0xd6, 0xc8, 0xb0, 0x2f, 0x64, 0x75, 0x38, 0xc2, 0x8a, 0x50, 0x45, 0xfb, 0x80, 0x98,
1117 0x42, 0x1d, 0x68, 0xf2, 0xd0, 0xee, 0x2b, 0x03, 0x2c, 0xf7, 0x15, 0x61, 0x2b, 0x35, 0xe8, 0x63,
1118 0xf5, 0xc2, 0xb2, 0xf5, 0x0b, 0xfb, 0x83, 0xaa, 0xf5, 0xf5, 0x0f, 0x42, 0x0d, 0x1d, 0x82, 0x48,
1119 0x15, 0x43, 0xdd, 0x34, 0x29, 0xae, 0x5f, 0xf5, 0x54, 0xbb, 0xf7, 0x5e, 0xd6, 0x34, 0x65, 0x28,
1120 0xd4, 0xb3, 0x38, 0xcc, 0x9d, 0x99, 0xc5, 0x69, 0xa0, 0x17, 0xf0, 0x5f, 0xaa, 0xb0, 0xb0, 0xac,
1121 0x99, 0x57, 0xaa, 0x69, 0xaa, 0xba, 0x66, 0xab, 0x9a, 0xa5, 0xe0, 0x0b, 0x05, 0x2b, 0x5a, 0x4f,
1122 0xb1, 0x3f, 0xc8, 0x58, 0x53, 0xb5, 0x81, 0xd0, 0x44, 0x07, 0xb0, 0xcf, 0x52, 0xef, 0x59, 0xea,
1123 0xb5, 0x6c, 0x51, 0x62, 0xea, 0xa6, 0x85, 0x44, 0x36, 0x72, 0xdb, 0xc0, 0x7a, 0x4f, 0x31, 0x4d,
1124 0x5a, 0xaf, 0x82, 0xb1, 0x8e, 0x05, 0x40, 0x47, 0x70, 0x98, 0xcf, 0xeb, 0x52, 0xf9, 0x68, 0x9b,
1125 0x1f, 0xb5, 0x5e, 0x66, 0xdb, 0x46, 0x7b, 0xb0, 0x4b, 0x19, 0xaa, 0x35, 0xb2, 0x0d, 0x5d, 0xa3,
1126 0xbd, 0xb0, 0x4c, 0x61, 0x1b, 0xed, 0x42, 0x27, 0xeb, 0x14, 0x35, 0x17, 0x3a, 0x0f, 0xa1, 0x73,
1127 0xa1, 0x9b, 0x16, 0x96, 0x42, 0x46, 0xcf, 0xa6, 0x55, 0x08, 0x3b, 0x69, 0x3f, 0x0a, 0x8a, 0x1e,
1128 0xcf, 0x4a, 0x40, 0x08, 0xba, 0x79, 0xed, 0x85, 0x2a, 0xec, 0xa2, 0x47, 0xb0, 0x93, 0xc7, 0xe4,
1129 0x2b, 0x55, 0x40, 0xd2, 0x5b, 0xe8, 0xb2, 0xf9, 0x1a, 0x4e, 0xe8, 0xcc, 0x48, 0x4c, 0x42, 0x24,
1130 0x40, 0xf5, 0x92, 0x7c, 0xe1, 0x37, 0x87, 0x1e, 0xd1, 0x63, 0xa8, 0x5d, 0x3b, 0xde, 0x22, 0xdd,
1131 0x76, 0x89, 0x20, 0xfd, 0x54, 0x66, 0xfe, 0x98, 0x75, 0xee, 0x32, 0x65, 0xb7, 0x85, 0x7b, 0x58,
1132 0x02, 0x1b, 0xed, 0x86, 0x7d, 0xa8, 0xd3, 0x07, 0x7c, 0x11, 0xf1, 0xc5, 0xc0, 0x25, 0xf4, 0x1d,
1133 0x40, 0x96, 0x62, 0x24, 0x6e, 0xb1, 0xa7, 0x61, 0x8f, 0x3f, 0x0d, 0xc5, 0x02, 0x70, 0x8e, 0x28,
1134 0x7d, 0x82, 0x1d, 0x7d, 0x68, 0x15, 0x72, 0x3c, 0x82, 0x36, 0x5b, 0x25, 0xb7, 0xce, 0x98, 0xf0,
1135 0xd5, 0xd5, 0xc1, 0x79, 0x28, 0xdb, 0x40, 0x54, 0x64, 0x95, 0x54, 0x72, 0x1b, 0x28, 0x05, 0xbf,
1136 0x96, 0xa9, 0xf4, 0x63, 0x19, 0x3a, 0xd7, 0x24, 0x8c, 0xdc, 0xc0, 0xe7, 0x35, 0x89, 0xd0, 0xf8,
1137 0x9c, 0x00, 0xbc, 0x27, 0xa9, 0x48, 0xfb, 0x75, 0xb3, 0x70, 0xbd, 0x89, 0xe5, 0xce, 0xb2, 0x77,
1138 0x49, 0x06, 0xa0, 0x7f, 0x03, 0x8c, 0x83, 0xd9, 0xcc, 0x8d, 0xdf, 0x3b, 0xd1, 0x94, 0x47, 0xc9,
1139 0x21, 0xd4, 0xfa, 0xce, 0x8d, 0x79, 0x12, 0xc9, 0x96, 0x5c, 0x02, 0xd2, 0x5b, 0x68, 0x0e, 0x83,
1140 0xbb, 0x21, 0xf9, 0x4c, 0x3c, 0x3a, 0x41, 0x8f, 0x1e, 0x78, 0xfc, 0x44, 0xa0, 0x15, 0x8c, 0x1d,
1141 0xcf, 0xe3, 0x93, 0x68, 0x62, 0x2e, 0x49, 0x0a, 0x34, 0x31, 0x89, 0xe6, 0x81, 0x1f, 0x11, 0xf4,
1142 0x0c, 0xda, 0x11, 0xf3, 0x67, 0x8f, 0x83, 0x09, 0xe1, 0x8b, 0x1e, 0x12, 0xa8, 0x17, 0x4c, 0x08,
1143 0x2d, 0x6e, 0x46, 0xa2, 0xc8, 0xb9, 0x4b, 0x0b, 0x48, 0x45, 0x29, 0x82, 0xb6, 0x7a, 0x37, 0x9b,
1144 0xa7, 0x7d, 0x7f, 0x01, 0x75, 0xdd, 0x5f, 0x60, 0xf2, 0x89, 0x2f, 0xc5, 0xdd, 0xdc, 0x2e, 0x4b,
1145 0x28, 0x98, 0x13, 0xd0, 0x3b, 0xd8, 0x36, 0x17, 0x37, 0xf2, 0x38, 0x76, 0x03, 0xff, 0xda, 0xf1,
1146 0x98, 0xe3, 0x6e, 0x36, 0xee, 0x4c, 0xc5, 0x56, 0x11, 0x2e, 0x50, 0xa5, 0x4b, 0xa8, 0x5d, 0x78,
1147 0xc1, 0x7d, 0x84, 0xfe, 0x05, 0x70, 0xeb, 0x05, 0xf7, 0xf6, 0x38, 0x58, 0xf8, 0x71, 0xba, 0xd8,
1148 0x28, 0xd2, 0xa3, 0x00, 0xfa, 0x0f, 0xd4, 0xa8, 0x10, 0x89, 0x15, 0x76, 0x95, 0x3a, 0x27, 0xe9,
1149 0xa7, 0x05, 0xb5, 0xc6, 0x89, 0x4e, 0x6a, 0x40, 0x4d, 0x99, 0xcd, 0xe3, 0x2f, 0x2f, 0xdf, 0x40,
1150 0xb7, 0x18, 0x15, 0x35, 0x61, 0xeb, 0x07, 0x5d, 0xd5, 0x84, 0x12, 0x6a, 0x41, 0x6d, 0xa8, 0xc8,
1151 0xd7, 0x8a, 0x50, 0x46, 0x00, 0x75, 0x0a, 0x5e, 0x9f, 0x09, 0x95, 0xd3, 0x5f, 0x9b, 0x50, 0x3b,
1152 0x3f, 0x37, 0xdd, 0x19, 0x7a, 0x0d, 0x0d, 0x7e, 0x1f, 0xd0, 0x36, 0x2f, 0x81, 0x79, 0x3d, 0x78,
1153 0xcc, 0xa5, 0xc2, 0x6d, 0x91, 0x4a, 0xe8, 0x0d, 0xb4, 0x4d, 0x12, 0x67, 0xc3, 0xdb, 0xe1, 0xb4,
1154 0x14, 0x38, 0x78, 0x08, 0x48, 0x25, 0xf4, 0x1c, 0xea, 0x03, 0x12, 0xd3, 0x0f, 0x8f, 0x62, 0x88,
1155 0xec, 0x85, 0xe1, 0xc5, 0x52, 0x09, 0xbd, 0x02, 0x30, 0x82, 0x7b, 0x12, 0x06, 0xfe, 0x2a, 0x33,
1156 0x75, 0x9a, 0x4e, 0x5e, 0x2a, 0xa1, 0x13, 0x68, 0x9b, 0xd3, 0x45, 0x3c, 0x09, 0xee, 0x37, 0xe3,
1157 0xff, 0x1f, 0x5a, 0x98, 0xdc, 0x04, 0x41, 0xbc, 0x11, 0xfb, 0x45, 0x92, 0xb2, 0x36, 0x42, 0xab,
1158 0x37, 0xe1, 0x20, 0xf7, 0xa2, 0x93, 0x4a, 0xe8, 0x7f, 0xd0, 0x48, 0xa8, 0xd1, 0x03, 0xb7, 0xed,
1159 0x25, 0x2d, 0x92, 0x4a, 0xe8, 0x2c, 0x97, 0xf0, 0x7a, 0xbf, 0x6b, 0xf2, 0x38, 0x85, 0x9d, 0xd4,
1160 0x48, 0xf6, 0xbc, 0x35, 0x41, 0xd6, 0xd8, 0xbc, 0x83, 0xdd, 0x5c, 0xa0, 0x48, 0xf7, 0x0d, 0x5d,
1161 0xcb, 0xc2, 0x2d, 0x5f, 0xae, 0xeb, 0xc3, 0x65, 0x33, 0xd8, 0x38, 0xc5, 0x37, 0xd0, 0xe5, 0x36,
1162 0x1b, 0x67, 0xf8, 0x16, 0x84, 0x65, 0x98, 0xbf, 0x94, 0xe0, 0xb7, 0xb0, 0x8d, 0x49, 0x14, 0x3b,
1163 0x61, 0xac, 0x38, 0xf3, 0xc0, 0xdb, 0x30, 0xc5, 0x33, 0x68, 0x73, 0xab, 0xfe, 0x74, 0x3c, 0xdf,
1164 0xd0, 0xe8, 0x1c, 0xf6, 0x4c, 0x12, 0xeb, 0xfe, 0x82, 0x2d, 0x68, 0xd5, 0x9f, 0xb8, 0x63, 0x87,
1165 0x3e, 0x62, 0x68, 0x7f, 0x69, 0x9e, 0xdf, 0xdd, 0x7f, 0xe2, 0xc3, 0x8b, 0xbf, 0xea, 0xa3, 0xb8,
1166 0xff, 0xd7, 0xf9, 0x78, 0x05, 0xcd, 0x01, 0x89, 0x93, 0xbd, 0xb1, 0x26, 0xf3, 0xb4, 0xd9, 0x8c,
1167 0xc0, 0x7a, 0xbb, 0xd3, 0x9b, 0x3a, 0xfe, 0x1d, 0xa1, 0xeb, 0x2d, 0xf9, 0x1c, 0x45, 0x9c, 0x92,
1168 0x5b, 0x78, 0xeb, 0x02, 0x5d, 0xc2, 0x93, 0x01, 0x2b, 0x78, 0xf5, 0xe3, 0x71, 0x4d, 0xdc, 0xa7,
1169 0x4b, 0x68, 0x85, 0x2f, 0x95, 0x6e, 0xea, 0xec, 0x3f, 0xce, 0xd9, 0x1f, 0x01, 0x00, 0x00, 0xff,
1170 0xff, 0x42, 0x70, 0xbe, 0x17, 0x42, 0x0d, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001171}
1172
1173// Reference imports to suppress errors if they are not otherwise used.
1174var _ context.Context
Pragya Aryabd731ec2020-02-11 16:38:17 +05301175var _ grpc.ClientConnInterface
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001176
1177// This is a compile-time assertion to ensure that this generated file
1178// is compatible with the grpc package it is being compiled against.
Pragya Aryabd731ec2020-02-11 16:38:17 +05301179const _ = grpc.SupportPackageIsVersion6
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001180
1181// BBSimClient is the client API for BBSim service.
1182//
1183// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1184type BBSimClient interface {
1185 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301186 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001187 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001188 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1189 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1190 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001191 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301192 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001193 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301194 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1195 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001196 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301197 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1198 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001199 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
1200 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Anand S Katti86552f92020-03-03 21:56:32 +05301201 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
1202 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Pragya Arya8bdb4532020-03-02 17:08:09 +05301203 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Arjun E K57a7fcb2020-01-30 06:44:45 +00001204 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Anand S Katti09541352020-01-29 15:54:01 +05301205 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001206}
1207
1208type bBSimClient struct {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301209 cc grpc.ClientConnInterface
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001210}
1211
Pragya Aryabd731ec2020-02-11 16:38:17 +05301212func NewBBSimClient(cc grpc.ClientConnInterface) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001213 return &bBSimClient{cc}
1214}
1215
1216func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1217 out := new(VersionNumber)
1218 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1219 if err != nil {
1220 return nil, err
1221 }
1222 return out, nil
1223}
1224
Pragya Aryabd731ec2020-02-11 16:38:17 +05301225func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1226 out := new(LogLevel)
1227 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1228 if err != nil {
1229 return nil, err
1230 }
1231 return out, nil
1232}
1233
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001234func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1235 out := new(Olt)
1236 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1237 if err != nil {
1238 return nil, err
1239 }
1240 return out, nil
1241}
1242
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001243func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1244 out := new(Response)
1245 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1246 if err != nil {
1247 return nil, err
1248 }
1249 return out, nil
1250}
1251
1252func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1253 out := new(Response)
1254 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1255 if err != nil {
1256 return nil, err
1257 }
1258 return out, nil
1259}
1260
1261func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1262 out := new(Response)
1263 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1264 if err != nil {
1265 return nil, err
1266 }
1267 return out, nil
1268}
1269
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001270func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
1271 out := new(ONU)
1272 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
1273 if err != nil {
1274 return nil, err
1275 }
1276 return out, nil
1277}
1278
Pragya Aryabd731ec2020-02-11 16:38:17 +05301279func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
1280 out := new(ONUs)
1281 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001282 if err != nil {
1283 return nil, err
1284 }
1285 return out, nil
1286}
1287
1288func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1289 out := new(Response)
1290 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
1291 if err != nil {
1292 return nil, err
1293 }
1294 return out, nil
1295}
1296
Pragya Aryabd731ec2020-02-11 16:38:17 +05301297func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1298 out := new(Response)
1299 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
1300 if err != nil {
1301 return nil, err
1302 }
1303 return out, nil
1304}
1305
1306func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1307 out := new(Response)
1308 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
1309 if err != nil {
1310 return nil, err
1311 }
1312 return out, nil
1313}
1314
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001315func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1316 out := new(Response)
1317 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
1318 if err != nil {
1319 return nil, err
1320 }
1321 return out, nil
1322}
1323
Pragya Aryabd731ec2020-02-11 16:38:17 +05301324func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1325 out := new(Response)
1326 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
1327 if err != nil {
1328 return nil, err
1329 }
1330 return out, nil
1331}
1332
1333func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1334 out := new(Response)
1335 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
1336 if err != nil {
1337 return nil, err
1338 }
1339 return out, nil
1340}
1341
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001342func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1343 out := new(Response)
1344 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
1345 if err != nil {
1346 return nil, err
1347 }
1348 return out, nil
1349}
1350
1351func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1352 out := new(Response)
1353 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
1354 if err != nil {
1355 return nil, err
1356 }
1357 return out, nil
1358}
1359
Anand S Katti86552f92020-03-03 21:56:32 +05301360func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08001361 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05301362 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
1363 if err != nil {
1364 return nil, err
1365 }
1366 return out, nil
1367}
1368
1369func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
1370 out := new(Response)
1371 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08001372 if err != nil {
1373 return nil, err
1374 }
1375 return out, nil
1376}
1377
Pragya Arya8bdb4532020-03-02 17:08:09 +05301378func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
1379 out := new(Flows)
1380 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
1381 if err != nil {
1382 return nil, err
1383 }
1384 return out, nil
1385}
1386
Arjun E K57a7fcb2020-01-30 06:44:45 +00001387func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
1388 out := new(Response)
1389 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
1390 if err != nil {
1391 return nil, err
1392 }
1393 return out, nil
1394}
1395
Anand S Katti09541352020-01-29 15:54:01 +05301396func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
1397 out := new(ONUTrafficSchedulers)
1398 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
1399 if err != nil {
1400 return nil, err
1401 }
1402 return out, nil
1403}
1404
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001405// BBSimServer is the server API for BBSim service.
1406type BBSimServer interface {
1407 Version(context.Context, *Empty) (*VersionNumber, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301408 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001409 GetOlt(context.Context, *Empty) (*Olt, error)
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001410 PoweronOlt(context.Context, *Empty) (*Response, error)
1411 ShutdownOlt(context.Context, *Empty) (*Response, error)
1412 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001413 GetONU(context.Context, *ONURequest) (*ONU, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301414 GetONUs(context.Context, *Empty) (*ONUs, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001415 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301416 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
1417 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001418 PoweronONU(context.Context, *ONURequest) (*Response, error)
Pragya Aryabd731ec2020-02-11 16:38:17 +05301419 PoweronAllONUs(context.Context, *Empty) (*Response, error)
1420 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001421 RestartEapol(context.Context, *ONURequest) (*Response, error)
1422 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Anand S Katti86552f92020-03-03 21:56:32 +05301423 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
1424 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Pragya Arya8bdb4532020-03-02 17:08:09 +05301425 GetFlows(context.Context, *ONURequest) (*Flows, error)
Arjun E K57a7fcb2020-01-30 06:44:45 +00001426 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Anand S Katti09541352020-01-29 15:54:01 +05301427 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001428}
1429
Pragya Aryabd731ec2020-02-11 16:38:17 +05301430// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
1431type UnimplementedBBSimServer struct {
1432}
1433
1434func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
1435 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
1436}
1437func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
1438 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
1439}
1440func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
1441 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
1442}
1443func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
1444 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
1445}
1446func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
1447 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
1448}
1449func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
1450 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
1451}
1452func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
1453 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
1454}
1455func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
1456 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
1457}
1458func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
1459 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
1460}
1461func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1462 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
1463}
1464func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1465 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
1466}
1467func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
1468 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
1469}
1470func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1471 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
1472}
1473func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1474 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
1475}
1476func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
1477 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
1478}
1479func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
1480 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
1481}
1482func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
1483 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
1484}
1485func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
1486 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
1487}
1488func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
1489 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
1490}
1491func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
1492 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
1493}
1494func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
1495 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
1496}
1497
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001498func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
1499 s.RegisterService(&_BBSim_serviceDesc, srv)
1500}
1501
1502func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1503 in := new(Empty)
1504 if err := dec(in); err != nil {
1505 return nil, err
1506 }
1507 if interceptor == nil {
1508 return srv.(BBSimServer).Version(ctx, in)
1509 }
1510 info := &grpc.UnaryServerInfo{
1511 Server: srv,
1512 FullMethod: "/bbsim.BBSim/Version",
1513 }
1514 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1515 return srv.(BBSimServer).Version(ctx, req.(*Empty))
1516 }
1517 return interceptor(ctx, in, info, handler)
1518}
1519
Pragya Aryabd731ec2020-02-11 16:38:17 +05301520func _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
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001538func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1539 in := new(Empty)
1540 if err := dec(in); err != nil {
1541 return nil, err
1542 }
1543 if interceptor == nil {
1544 return srv.(BBSimServer).GetOlt(ctx, in)
1545 }
1546 info := &grpc.UnaryServerInfo{
1547 Server: srv,
1548 FullMethod: "/bbsim.BBSim/GetOlt",
1549 }
1550 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1551 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
1552 }
1553 return interceptor(ctx, in, info, handler)
1554}
1555
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001556func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1557 in := new(Empty)
1558 if err := dec(in); err != nil {
1559 return nil, err
1560 }
1561 if interceptor == nil {
1562 return srv.(BBSimServer).PoweronOlt(ctx, in)
1563 }
1564 info := &grpc.UnaryServerInfo{
1565 Server: srv,
1566 FullMethod: "/bbsim.BBSim/PoweronOlt",
1567 }
1568 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1569 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
1570 }
1571 return interceptor(ctx, in, info, handler)
1572}
1573
1574func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1575 in := new(Empty)
1576 if err := dec(in); err != nil {
1577 return nil, err
1578 }
1579 if interceptor == nil {
1580 return srv.(BBSimServer).ShutdownOlt(ctx, in)
1581 }
1582 info := &grpc.UnaryServerInfo{
1583 Server: srv,
1584 FullMethod: "/bbsim.BBSim/ShutdownOlt",
1585 }
1586 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1587 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
1588 }
1589 return interceptor(ctx, in, info, handler)
1590}
1591
1592func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1593 in := new(Empty)
1594 if err := dec(in); err != nil {
1595 return nil, err
1596 }
1597 if interceptor == nil {
1598 return srv.(BBSimServer).RebootOlt(ctx, in)
1599 }
1600 info := &grpc.UnaryServerInfo{
1601 Server: srv,
1602 FullMethod: "/bbsim.BBSim/RebootOlt",
1603 }
1604 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1605 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
1606 }
1607 return interceptor(ctx, in, info, handler)
1608}
1609
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001610func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1611 in := new(ONURequest)
1612 if err := dec(in); err != nil {
1613 return nil, err
1614 }
1615 if interceptor == nil {
1616 return srv.(BBSimServer).GetONU(ctx, in)
1617 }
1618 info := &grpc.UnaryServerInfo{
1619 Server: srv,
1620 FullMethod: "/bbsim.BBSim/GetONU",
1621 }
1622 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1623 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
1624 }
1625 return interceptor(ctx, in, info, handler)
1626}
1627
Pragya Aryabd731ec2020-02-11 16:38:17 +05301628func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1629 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001630 if err := dec(in); err != nil {
1631 return nil, err
1632 }
1633 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301634 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001635 }
1636 info := &grpc.UnaryServerInfo{
1637 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05301638 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001639 }
1640 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301641 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001642 }
1643 return interceptor(ctx, in, info, handler)
1644}
1645
1646func _BBSim_ShutdownONU_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).ShutdownONU(ctx, in)
1653 }
1654 info := &grpc.UnaryServerInfo{
1655 Server: srv,
1656 FullMethod: "/bbsim.BBSim/ShutdownONU",
1657 }
1658 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1659 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
1660 }
1661 return interceptor(ctx, in, info, handler)
1662}
1663
Pragya Aryabd731ec2020-02-11 16:38:17 +05301664func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1665 in := new(Empty)
1666 if err := dec(in); err != nil {
1667 return nil, err
1668 }
1669 if interceptor == nil {
1670 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
1671 }
1672 info := &grpc.UnaryServerInfo{
1673 Server: srv,
1674 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
1675 }
1676 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1677 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
1678 }
1679 return interceptor(ctx, in, info, handler)
1680}
1681
1682func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1683 in := new(PONRequest)
1684 if err := dec(in); err != nil {
1685 return nil, err
1686 }
1687 if interceptor == nil {
1688 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
1689 }
1690 info := &grpc.UnaryServerInfo{
1691 Server: srv,
1692 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
1693 }
1694 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1695 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
1696 }
1697 return interceptor(ctx, in, info, handler)
1698}
1699
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001700func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1701 in := new(ONURequest)
1702 if err := dec(in); err != nil {
1703 return nil, err
1704 }
1705 if interceptor == nil {
1706 return srv.(BBSimServer).PoweronONU(ctx, in)
1707 }
1708 info := &grpc.UnaryServerInfo{
1709 Server: srv,
1710 FullMethod: "/bbsim.BBSim/PoweronONU",
1711 }
1712 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1713 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
1714 }
1715 return interceptor(ctx, in, info, handler)
1716}
1717
Pragya Aryabd731ec2020-02-11 16:38:17 +05301718func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1719 in := new(Empty)
1720 if err := dec(in); err != nil {
1721 return nil, err
1722 }
1723 if interceptor == nil {
1724 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
1725 }
1726 info := &grpc.UnaryServerInfo{
1727 Server: srv,
1728 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
1729 }
1730 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1731 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
1732 }
1733 return interceptor(ctx, in, info, handler)
1734}
1735
1736func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1737 in := new(PONRequest)
1738 if err := dec(in); err != nil {
1739 return nil, err
1740 }
1741 if interceptor == nil {
1742 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
1743 }
1744 info := &grpc.UnaryServerInfo{
1745 Server: srv,
1746 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
1747 }
1748 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1749 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
1750 }
1751 return interceptor(ctx, in, info, handler)
1752}
1753
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001754func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1755 in := new(ONURequest)
1756 if err := dec(in); err != nil {
1757 return nil, err
1758 }
1759 if interceptor == nil {
1760 return srv.(BBSimServer).RestartEapol(ctx, in)
1761 }
1762 info := &grpc.UnaryServerInfo{
1763 Server: srv,
1764 FullMethod: "/bbsim.BBSim/RestartEapol",
1765 }
1766 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1767 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
1768 }
1769 return interceptor(ctx, in, info, handler)
1770}
1771
1772func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1773 in := new(ONURequest)
1774 if err := dec(in); err != nil {
1775 return nil, err
1776 }
1777 if interceptor == nil {
1778 return srv.(BBSimServer).RestartDhcp(ctx, in)
1779 }
1780 info := &grpc.UnaryServerInfo{
1781 Server: srv,
1782 FullMethod: "/bbsim.BBSim/RestartDhcp",
1783 }
1784 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1785 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
1786 }
1787 return interceptor(ctx, in, info, handler)
1788}
1789
Anand S Katti86552f92020-03-03 21:56:32 +05301790func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1791 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08001792 if err := dec(in); err != nil {
1793 return nil, err
1794 }
1795 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05301796 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08001797 }
1798 info := &grpc.UnaryServerInfo{
1799 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05301800 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08001801 }
1802 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05301803 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
1804 }
1805 return interceptor(ctx, in, info, handler)
1806}
1807
1808func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1809 in := new(OLTAlarmRequest)
1810 if err := dec(in); err != nil {
1811 return nil, err
1812 }
1813 if interceptor == nil {
1814 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
1815 }
1816 info := &grpc.UnaryServerInfo{
1817 Server: srv,
1818 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
1819 }
1820 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1821 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08001822 }
1823 return interceptor(ctx, in, info, handler)
1824}
1825
Pragya Arya8bdb4532020-03-02 17:08:09 +05301826func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1827 in := new(ONURequest)
1828 if err := dec(in); err != nil {
1829 return nil, err
1830 }
1831 if interceptor == nil {
1832 return srv.(BBSimServer).GetFlows(ctx, in)
1833 }
1834 info := &grpc.UnaryServerInfo{
1835 Server: srv,
1836 FullMethod: "/bbsim.BBSim/GetFlows",
1837 }
1838 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1839 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
1840 }
1841 return interceptor(ctx, in, info, handler)
1842}
1843
Arjun E K57a7fcb2020-01-30 06:44:45 +00001844func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1845 in := new(IgmpRequest)
1846 if err := dec(in); err != nil {
1847 return nil, err
1848 }
1849 if interceptor == nil {
1850 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
1851 }
1852 info := &grpc.UnaryServerInfo{
1853 Server: srv,
1854 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
1855 }
1856 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1857 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
1858 }
1859 return interceptor(ctx, in, info, handler)
1860}
1861
Anand S Katti09541352020-01-29 15:54:01 +05301862func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1863 in := new(ONURequest)
1864 if err := dec(in); err != nil {
1865 return nil, err
1866 }
1867 if interceptor == nil {
1868 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
1869 }
1870 info := &grpc.UnaryServerInfo{
1871 Server: srv,
1872 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
1873 }
1874 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1875 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
1876 }
1877 return interceptor(ctx, in, info, handler)
1878}
1879
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001880var _BBSim_serviceDesc = grpc.ServiceDesc{
1881 ServiceName: "bbsim.BBSim",
1882 HandlerType: (*BBSimServer)(nil),
1883 Methods: []grpc.MethodDesc{
1884 {
1885 MethodName: "Version",
1886 Handler: _BBSim_Version_Handler,
1887 },
1888 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301889 MethodName: "SetLogLevel",
1890 Handler: _BBSim_SetLogLevel_Handler,
1891 },
1892 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001893 MethodName: "GetOlt",
1894 Handler: _BBSim_GetOlt_Handler,
1895 },
1896 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001897 MethodName: "PoweronOlt",
1898 Handler: _BBSim_PoweronOlt_Handler,
1899 },
1900 {
1901 MethodName: "ShutdownOlt",
1902 Handler: _BBSim_ShutdownOlt_Handler,
1903 },
1904 {
1905 MethodName: "RebootOlt",
1906 Handler: _BBSim_RebootOlt_Handler,
1907 },
1908 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001909 MethodName: "GetONU",
1910 Handler: _BBSim_GetONU_Handler,
1911 },
1912 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301913 MethodName: "GetONUs",
1914 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001915 },
1916 {
1917 MethodName: "ShutdownONU",
1918 Handler: _BBSim_ShutdownONU_Handler,
1919 },
1920 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301921 MethodName: "ShutdownAllONUs",
1922 Handler: _BBSim_ShutdownAllONUs_Handler,
1923 },
1924 {
1925 MethodName: "ShutdownONUsOnPON",
1926 Handler: _BBSim_ShutdownONUsOnPON_Handler,
1927 },
1928 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001929 MethodName: "PoweronONU",
1930 Handler: _BBSim_PoweronONU_Handler,
1931 },
1932 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301933 MethodName: "PoweronAllONUs",
1934 Handler: _BBSim_PoweronAllONUs_Handler,
1935 },
1936 {
1937 MethodName: "PoweronONUsOnPON",
1938 Handler: _BBSim_PoweronONUsOnPON_Handler,
1939 },
1940 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001941 MethodName: "RestartEapol",
1942 Handler: _BBSim_RestartEapol_Handler,
1943 },
1944 {
1945 MethodName: "RestartDhcp",
1946 Handler: _BBSim_RestartDhcp_Handler,
1947 },
Scott Baker41724b82020-01-21 19:54:53 -08001948 {
Anand S Katti86552f92020-03-03 21:56:32 +05301949 MethodName: "SetOnuAlarmIndication",
1950 Handler: _BBSim_SetOnuAlarmIndication_Handler,
1951 },
1952 {
1953 MethodName: "SetOltAlarmIndication",
1954 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08001955 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00001956 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05301957 MethodName: "GetFlows",
1958 Handler: _BBSim_GetFlows_Handler,
1959 },
1960 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001961 MethodName: "ChangeIgmpState",
1962 Handler: _BBSim_ChangeIgmpState_Handler,
1963 },
Anand S Katti09541352020-01-29 15:54:01 +05301964 {
1965 MethodName: "GetOnuTrafficSchedulers",
1966 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
1967 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001968 },
1969 Streams: []grpc.StreamDesc{},
1970 Metadata: "api/bbsim/bbsim.proto",
1971}