blob: a4b6f11512138872d42aa336eef7d63cb91b1d13 [file] [log] [blame]
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: api/bbsim/bbsim.proto
3
4package bbsim
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
Matteo Scandolo4f4ac792020-10-01 16:33:21 -070010 openolt "github.com/opencord/voltha-protos/v4/go/openolt"
11 tech_profile "github.com/opencord/voltha-protos/v4/go/tech_profile"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070012 grpc "google.golang.org/grpc"
Pragya Aryabd731ec2020-02-11 16:38:17 +053013 codes "google.golang.org/grpc/codes"
14 status "google.golang.org/grpc/status"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070015 math "math"
16)
17
18// Reference imports to suppress errors if they are not otherwise used.
19var _ = proto.Marshal
20var _ = fmt.Errorf
21var _ = math.Inf
22
23// This is a compile-time assertion to ensure that this generated file
24// is compatible with the proto package it is being compiled against.
25// A compilation error at this line likely means your copy of the
26// proto package needs to be updated.
27const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
28
Arjun E K57a7fcb2020-01-30 06:44:45 +000029type SubActionTypes int32
30
31const (
Arjun E Kdd443f02020-02-07 15:24:01 +000032 SubActionTypes_JOIN SubActionTypes = 0
33 SubActionTypes_LEAVE SubActionTypes = 1
34 SubActionTypes_JOINV3 SubActionTypes = 2
Arjun E K57a7fcb2020-01-30 06:44:45 +000035)
36
37var SubActionTypes_name = map[int32]string{
38 0: "JOIN",
39 1: "LEAVE",
Arjun E Kdd443f02020-02-07 15:24:01 +000040 2: "JOINV3",
Arjun E K57a7fcb2020-01-30 06:44:45 +000041}
42
43var SubActionTypes_value = map[string]int32{
Arjun E Kdd443f02020-02-07 15:24:01 +000044 "JOIN": 0,
45 "LEAVE": 1,
46 "JOINV3": 2,
Arjun E K57a7fcb2020-01-30 06:44:45 +000047}
48
49func (x SubActionTypes) String() string {
50 return proto.EnumName(SubActionTypes_name, int32(x))
51}
52
53func (SubActionTypes) EnumDescriptor() ([]byte, []int) {
54 return fileDescriptor_ef7750073d18011b, []int{0}
55}
56
Scott Baker41724b82020-01-21 19:54:53 -080057// These types correspond to the messages permitted in the oneof
58// in AlarmIndication in the openolt protos
59type AlarmType_Types int32
60
61const (
62 AlarmType_LOS AlarmType_Types = 0
63 AlarmType_DYING_GASP AlarmType_Types = 1
64 AlarmType_ONU_ALARM AlarmType_Types = 2
65 AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3
66 AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4
67 AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5
68 AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6
69 AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7
70 AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8
71 AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9
72 AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10
73 AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11
74 AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12
75 // These break out ONU_ALARM, which is a single message, but
76 // includes statuses for these six alarms.
77 AlarmType_ONU_ALARM_LOS AlarmType_Types = 13
78 AlarmType_ONU_ALARM_LOB AlarmType_Types = 14
79 AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15
80 AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16
81 AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17
82 AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18
83)
84
85var AlarmType_Types_name = map[int32]string{
86 0: "LOS",
87 1: "DYING_GASP",
88 2: "ONU_ALARM",
89 3: "ONU_STARTUP_FAILURE",
90 4: "ONU_SIGNAL_DEGRADE",
91 5: "ONU_DRIFT_OF_WINDOW",
92 6: "ONU_LOSS_OF_OMCI_CHANNEL",
93 7: "ONU_SIGNALS_FAILURE",
94 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING",
95 9: "ONU_ACTIVATION_FAILURE",
96 10: "ONU_PROCESSING_ERROR",
97 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE",
98 12: "ONU_ITU_PON_STATS",
99 13: "ONU_ALARM_LOS",
100 14: "ONU_ALARM_LOB",
101 15: "ONU_ALARM_LOPC_MISS",
102 16: "ONU_ALARM_LOPC_MIC_ERROR",
103 17: "ONU_ALARM_LOFI",
104 18: "ONU_ALARM_LOAMI",
105}
106
107var AlarmType_Types_value = map[string]int32{
108 "LOS": 0,
109 "DYING_GASP": 1,
110 "ONU_ALARM": 2,
111 "ONU_STARTUP_FAILURE": 3,
112 "ONU_SIGNAL_DEGRADE": 4,
113 "ONU_DRIFT_OF_WINDOW": 5,
114 "ONU_LOSS_OF_OMCI_CHANNEL": 6,
115 "ONU_SIGNALS_FAILURE": 7,
116 "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8,
117 "ONU_ACTIVATION_FAILURE": 9,
118 "ONU_PROCESSING_ERROR": 10,
119 "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11,
120 "ONU_ITU_PON_STATS": 12,
121 "ONU_ALARM_LOS": 13,
122 "ONU_ALARM_LOB": 14,
123 "ONU_ALARM_LOPC_MISS": 15,
124 "ONU_ALARM_LOPC_MIC_ERROR": 16,
125 "ONU_ALARM_LOFI": 17,
126 "ONU_ALARM_LOAMI": 18,
127}
128
129func (x AlarmType_Types) String() string {
130 return proto.EnumName(AlarmType_Types_name, int32(x))
131}
132
133func (AlarmType_Types) EnumDescriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700134 return fileDescriptor_ef7750073d18011b, []int{10, 0}
Scott Baker41724b82020-01-21 19:54:53 -0800135}
136
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700137type PONPort struct {
138 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
139 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
140 XXX_NoUnkeyedLiteral struct{} `json:"-"`
141 XXX_unrecognized []byte `json:"-"`
142 XXX_sizecache int32 `json:"-"`
143}
144
145func (m *PONPort) Reset() { *m = PONPort{} }
146func (m *PONPort) String() string { return proto.CompactTextString(m) }
147func (*PONPort) ProtoMessage() {}
148func (*PONPort) Descriptor() ([]byte, []int) {
149 return fileDescriptor_ef7750073d18011b, []int{0}
150}
151
152func (m *PONPort) XXX_Unmarshal(b []byte) error {
153 return xxx_messageInfo_PONPort.Unmarshal(m, b)
154}
155func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
156 return xxx_messageInfo_PONPort.Marshal(b, m, deterministic)
157}
158func (m *PONPort) XXX_Merge(src proto.Message) {
159 xxx_messageInfo_PONPort.Merge(m, src)
160}
161func (m *PONPort) XXX_Size() int {
162 return xxx_messageInfo_PONPort.Size(m)
163}
164func (m *PONPort) XXX_DiscardUnknown() {
165 xxx_messageInfo_PONPort.DiscardUnknown(m)
166}
167
168var xxx_messageInfo_PONPort proto.InternalMessageInfo
169
170func (m *PONPort) GetID() int32 {
171 if m != nil {
172 return m.ID
173 }
174 return 0
175}
176
177func (m *PONPort) GetOperState() string {
178 if m != nil {
179 return m.OperState
180 }
181 return ""
182}
183
184type NNIPort struct {
185 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
186 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
187 XXX_NoUnkeyedLiteral struct{} `json:"-"`
188 XXX_unrecognized []byte `json:"-"`
189 XXX_sizecache int32 `json:"-"`
190}
191
192func (m *NNIPort) Reset() { *m = NNIPort{} }
193func (m *NNIPort) String() string { return proto.CompactTextString(m) }
194func (*NNIPort) ProtoMessage() {}
195func (*NNIPort) Descriptor() ([]byte, []int) {
196 return fileDescriptor_ef7750073d18011b, []int{1}
197}
198
199func (m *NNIPort) XXX_Unmarshal(b []byte) error {
200 return xxx_messageInfo_NNIPort.Unmarshal(m, b)
201}
202func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
203 return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic)
204}
205func (m *NNIPort) XXX_Merge(src proto.Message) {
206 xxx_messageInfo_NNIPort.Merge(m, src)
207}
208func (m *NNIPort) XXX_Size() int {
209 return xxx_messageInfo_NNIPort.Size(m)
210}
211func (m *NNIPort) XXX_DiscardUnknown() {
212 xxx_messageInfo_NNIPort.DiscardUnknown(m)
213}
214
215var xxx_messageInfo_NNIPort proto.InternalMessageInfo
216
217func (m *NNIPort) GetID() int32 {
218 if m != nil {
219 return m.ID
220 }
221 return 0
222}
223
224func (m *NNIPort) GetOperState() string {
225 if m != nil {
226 return m.OperState
227 }
228 return ""
229}
230
231type Olt struct {
232 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
233 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
234 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
235 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
rajeshf921f882020-03-06 18:24:28 +0530236 IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700237 NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"`
238 PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"`
239 XXX_NoUnkeyedLiteral struct{} `json:"-"`
240 XXX_unrecognized []byte `json:"-"`
241 XXX_sizecache int32 `json:"-"`
242}
243
244func (m *Olt) Reset() { *m = Olt{} }
245func (m *Olt) String() string { return proto.CompactTextString(m) }
246func (*Olt) ProtoMessage() {}
247func (*Olt) Descriptor() ([]byte, []int) {
248 return fileDescriptor_ef7750073d18011b, []int{2}
249}
250
251func (m *Olt) XXX_Unmarshal(b []byte) error {
252 return xxx_messageInfo_Olt.Unmarshal(m, b)
253}
254func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
255 return xxx_messageInfo_Olt.Marshal(b, m, deterministic)
256}
257func (m *Olt) XXX_Merge(src proto.Message) {
258 xxx_messageInfo_Olt.Merge(m, src)
259}
260func (m *Olt) XXX_Size() int {
261 return xxx_messageInfo_Olt.Size(m)
262}
263func (m *Olt) XXX_DiscardUnknown() {
264 xxx_messageInfo_Olt.DiscardUnknown(m)
265}
266
267var xxx_messageInfo_Olt proto.InternalMessageInfo
268
269func (m *Olt) GetID() int32 {
270 if m != nil {
271 return m.ID
272 }
273 return 0
274}
275
276func (m *Olt) GetSerialNumber() string {
277 if m != nil {
278 return m.SerialNumber
279 }
280 return ""
281}
282
283func (m *Olt) GetOperState() string {
284 if m != nil {
285 return m.OperState
286 }
287 return ""
288}
289
290func (m *Olt) GetInternalState() string {
291 if m != nil {
292 return m.InternalState
293 }
294 return ""
295}
296
rajeshf921f882020-03-06 18:24:28 +0530297func (m *Olt) GetIP() string {
298 if m != nil {
299 return m.IP
300 }
301 return ""
302}
303
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700304func (m *Olt) GetNNIPorts() []*NNIPort {
305 if m != nil {
306 return m.NNIPorts
307 }
308 return nil
309}
310
311func (m *Olt) GetPONPorts() []*PONPort {
312 if m != nil {
313 return m.PONPorts
314 }
315 return nil
316}
317
318type ONU struct {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700319 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
320 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
321 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
322 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
323 PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"`
324 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
325 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
326 Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"`
327 XXX_NoUnkeyedLiteral struct{} `json:"-"`
328 XXX_unrecognized []byte `json:"-"`
329 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700330}
331
332func (m *ONU) Reset() { *m = ONU{} }
333func (m *ONU) String() string { return proto.CompactTextString(m) }
334func (*ONU) ProtoMessage() {}
335func (*ONU) Descriptor() ([]byte, []int) {
336 return fileDescriptor_ef7750073d18011b, []int{3}
337}
338
339func (m *ONU) XXX_Unmarshal(b []byte) error {
340 return xxx_messageInfo_ONU.Unmarshal(m, b)
341}
342func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
343 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
344}
345func (m *ONU) XXX_Merge(src proto.Message) {
346 xxx_messageInfo_ONU.Merge(m, src)
347}
348func (m *ONU) XXX_Size() int {
349 return xxx_messageInfo_ONU.Size(m)
350}
351func (m *ONU) XXX_DiscardUnknown() {
352 xxx_messageInfo_ONU.DiscardUnknown(m)
353}
354
355var xxx_messageInfo_ONU proto.InternalMessageInfo
356
357func (m *ONU) GetID() int32 {
358 if m != nil {
359 return m.ID
360 }
361 return 0
362}
363
364func (m *ONU) GetSerialNumber() string {
365 if m != nil {
366 return m.SerialNumber
367 }
368 return ""
369}
370
371func (m *ONU) GetOperState() string {
372 if m != nil {
373 return m.OperState
374 }
375 return ""
376}
377
378func (m *ONU) GetInternalState() string {
379 if m != nil {
380 return m.InternalState
381 }
382 return ""
383}
384
385func (m *ONU) GetPonPortID() int32 {
386 if m != nil {
387 return m.PonPortID
388 }
389 return 0
390}
391
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700392func (m *ONU) GetHwAddress() string {
393 if m != nil {
394 return m.HwAddress
395 }
396 return ""
397}
398
399func (m *ONU) GetPortNo() int32 {
400 if m != nil {
401 return m.PortNo
402 }
403 return 0
404}
405
Matteo Scandolo4a036262020-08-17 15:56:13 -0700406func (m *ONU) GetServices() []*Service {
407 if m != nil {
408 return m.Services
409 }
410 return nil
411}
412
413type Service struct {
414 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
415 HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
416 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
417 STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"`
418 CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"`
419 NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"`
420 NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"`
421 NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"`
422 GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"`
423 EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"`
424 DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"`
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700425 InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
Matteo Scandolo618a6582020-09-09 12:21:29 -0700426 IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"`
Matteo Scandolo4a036262020-08-17 15:56:13 -0700427 XXX_NoUnkeyedLiteral struct{} `json:"-"`
428 XXX_unrecognized []byte `json:"-"`
429 XXX_sizecache int32 `json:"-"`
430}
431
432func (m *Service) Reset() { *m = Service{} }
433func (m *Service) String() string { return proto.CompactTextString(m) }
434func (*Service) ProtoMessage() {}
435func (*Service) Descriptor() ([]byte, []int) {
436 return fileDescriptor_ef7750073d18011b, []int{4}
437}
438
439func (m *Service) XXX_Unmarshal(b []byte) error {
440 return xxx_messageInfo_Service.Unmarshal(m, b)
441}
442func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
443 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
444}
445func (m *Service) XXX_Merge(src proto.Message) {
446 xxx_messageInfo_Service.Merge(m, src)
447}
448func (m *Service) XXX_Size() int {
449 return xxx_messageInfo_Service.Size(m)
450}
451func (m *Service) XXX_DiscardUnknown() {
452 xxx_messageInfo_Service.DiscardUnknown(m)
453}
454
455var xxx_messageInfo_Service proto.InternalMessageInfo
456
457func (m *Service) GetName() string {
458 if m != nil {
459 return m.Name
460 }
461 return ""
462}
463
464func (m *Service) GetHwAddress() string {
465 if m != nil {
466 return m.HwAddress
467 }
468 return ""
469}
470
471func (m *Service) GetOnuSn() string {
472 if m != nil {
473 return m.OnuSn
474 }
475 return ""
476}
477
478func (m *Service) GetSTag() int32 {
479 if m != nil {
480 return m.STag
481 }
482 return 0
483}
484
485func (m *Service) GetCTag() int32 {
486 if m != nil {
487 return m.CTag
488 }
489 return 0
490}
491
492func (m *Service) GetNeedsEapol() bool {
493 if m != nil {
494 return m.NeedsEapol
495 }
496 return false
497}
498
499func (m *Service) GetNeedsDhcp() bool {
500 if m != nil {
501 return m.NeedsDhcp
502 }
503 return false
504}
505
506func (m *Service) GetNeedsIgmp() bool {
507 if m != nil {
508 return m.NeedsIgmp
509 }
510 return false
511}
512
513func (m *Service) GetGemPort() int32 {
514 if m != nil {
515 return m.GemPort
516 }
517 return 0
518}
519
520func (m *Service) GetEapolState() string {
521 if m != nil {
522 return m.EapolState
523 }
524 return ""
525}
526
527func (m *Service) GetDhcpState() string {
528 if m != nil {
529 return m.DhcpState
530 }
531 return ""
532}
533
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700534func (m *Service) GetInternalState() string {
535 if m != nil {
536 return m.InternalState
537 }
538 return ""
539}
540
Matteo Scandolo618a6582020-09-09 12:21:29 -0700541func (m *Service) GetIGMPState() string {
542 if m != nil {
543 return m.IGMPState
544 }
545 return ""
546}
547
Anand S Katti09541352020-01-29 15:54:01 +0530548type ONUTrafficSchedulers struct {
549 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
550 XXX_NoUnkeyedLiteral struct{} `json:"-"`
551 XXX_unrecognized []byte `json:"-"`
552 XXX_sizecache int32 `json:"-"`
553}
554
555func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
556func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
557func (*ONUTrafficSchedulers) ProtoMessage() {}
558func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700559 return fileDescriptor_ef7750073d18011b, []int{5}
Anand S Katti09541352020-01-29 15:54:01 +0530560}
561
562func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
563 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
564}
565func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
566 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
567}
568func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
569 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
570}
571func (m *ONUTrafficSchedulers) XXX_Size() int {
572 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
573}
574func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
575 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
576}
577
578var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
579
580func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
581 if m != nil {
582 return m.TraffSchedulers
583 }
584 return nil
585}
586
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700587type ONUs struct {
588 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
589 XXX_NoUnkeyedLiteral struct{} `json:"-"`
590 XXX_unrecognized []byte `json:"-"`
591 XXX_sizecache int32 `json:"-"`
592}
593
594func (m *ONUs) Reset() { *m = ONUs{} }
595func (m *ONUs) String() string { return proto.CompactTextString(m) }
596func (*ONUs) ProtoMessage() {}
597func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700598 return fileDescriptor_ef7750073d18011b, []int{6}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700599}
600
601func (m *ONUs) XXX_Unmarshal(b []byte) error {
602 return xxx_messageInfo_ONUs.Unmarshal(m, b)
603}
604func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
605 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
606}
607func (m *ONUs) XXX_Merge(src proto.Message) {
608 xxx_messageInfo_ONUs.Merge(m, src)
609}
610func (m *ONUs) XXX_Size() int {
611 return xxx_messageInfo_ONUs.Size(m)
612}
613func (m *ONUs) XXX_DiscardUnknown() {
614 xxx_messageInfo_ONUs.DiscardUnknown(m)
615}
616
617var xxx_messageInfo_ONUs proto.InternalMessageInfo
618
619func (m *ONUs) GetItems() []*ONU {
620 if m != nil {
621 return m.Items
622 }
623 return nil
624}
625
Matteo Scandolo4a036262020-08-17 15:56:13 -0700626type Services struct {
627 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
628 XXX_NoUnkeyedLiteral struct{} `json:"-"`
629 XXX_unrecognized []byte `json:"-"`
630 XXX_sizecache int32 `json:"-"`
631}
632
633func (m *Services) Reset() { *m = Services{} }
634func (m *Services) String() string { return proto.CompactTextString(m) }
635func (*Services) ProtoMessage() {}
636func (*Services) Descriptor() ([]byte, []int) {
637 return fileDescriptor_ef7750073d18011b, []int{7}
638}
639
640func (m *Services) XXX_Unmarshal(b []byte) error {
641 return xxx_messageInfo_Services.Unmarshal(m, b)
642}
643func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
644 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
645}
646func (m *Services) XXX_Merge(src proto.Message) {
647 xxx_messageInfo_Services.Merge(m, src)
648}
649func (m *Services) XXX_Size() int {
650 return xxx_messageInfo_Services.Size(m)
651}
652func (m *Services) XXX_DiscardUnknown() {
653 xxx_messageInfo_Services.DiscardUnknown(m)
654}
655
656var xxx_messageInfo_Services proto.InternalMessageInfo
657
658func (m *Services) GetItems() []*Service {
659 if m != nil {
660 return m.Items
661 }
662 return nil
663}
664
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700665type ONURequest struct {
666 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
667 XXX_NoUnkeyedLiteral struct{} `json:"-"`
668 XXX_unrecognized []byte `json:"-"`
669 XXX_sizecache int32 `json:"-"`
670}
671
672func (m *ONURequest) Reset() { *m = ONURequest{} }
673func (m *ONURequest) String() string { return proto.CompactTextString(m) }
674func (*ONURequest) ProtoMessage() {}
675func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700676 return fileDescriptor_ef7750073d18011b, []int{8}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700677}
678
679func (m *ONURequest) XXX_Unmarshal(b []byte) error {
680 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
681}
682func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
683 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
684}
685func (m *ONURequest) XXX_Merge(src proto.Message) {
686 xxx_messageInfo_ONURequest.Merge(m, src)
687}
688func (m *ONURequest) XXX_Size() int {
689 return xxx_messageInfo_ONURequest.Size(m)
690}
691func (m *ONURequest) XXX_DiscardUnknown() {
692 xxx_messageInfo_ONURequest.DiscardUnknown(m)
693}
694
695var xxx_messageInfo_ONURequest proto.InternalMessageInfo
696
697func (m *ONURequest) GetSerialNumber() string {
698 if m != nil {
699 return m.SerialNumber
700 }
701 return ""
702}
703
Pragya Aryabd731ec2020-02-11 16:38:17 +0530704type PONRequest struct {
705 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
706 XXX_NoUnkeyedLiteral struct{} `json:"-"`
707 XXX_unrecognized []byte `json:"-"`
708 XXX_sizecache int32 `json:"-"`
709}
710
711func (m *PONRequest) Reset() { *m = PONRequest{} }
712func (m *PONRequest) String() string { return proto.CompactTextString(m) }
713func (*PONRequest) ProtoMessage() {}
714func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700715 return fileDescriptor_ef7750073d18011b, []int{9}
Pragya Aryabd731ec2020-02-11 16:38:17 +0530716}
717
718func (m *PONRequest) XXX_Unmarshal(b []byte) error {
719 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
720}
721func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
722 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
723}
724func (m *PONRequest) XXX_Merge(src proto.Message) {
725 xxx_messageInfo_PONRequest.Merge(m, src)
726}
727func (m *PONRequest) XXX_Size() int {
728 return xxx_messageInfo_PONRequest.Size(m)
729}
730func (m *PONRequest) XXX_DiscardUnknown() {
731 xxx_messageInfo_PONRequest.DiscardUnknown(m)
732}
733
734var xxx_messageInfo_PONRequest proto.InternalMessageInfo
735
736func (m *PONRequest) GetPonPortId() uint32 {
737 if m != nil {
738 return m.PonPortId
739 }
740 return 0
741}
742
Scott Baker41724b82020-01-21 19:54:53 -0800743type AlarmType struct {
744 XXX_NoUnkeyedLiteral struct{} `json:"-"`
745 XXX_unrecognized []byte `json:"-"`
746 XXX_sizecache int32 `json:"-"`
747}
748
749func (m *AlarmType) Reset() { *m = AlarmType{} }
750func (m *AlarmType) String() string { return proto.CompactTextString(m) }
751func (*AlarmType) ProtoMessage() {}
752func (*AlarmType) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700753 return fileDescriptor_ef7750073d18011b, []int{10}
Scott Baker41724b82020-01-21 19:54:53 -0800754}
755
756func (m *AlarmType) XXX_Unmarshal(b []byte) error {
757 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
758}
759func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
760 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
761}
762func (m *AlarmType) XXX_Merge(src proto.Message) {
763 xxx_messageInfo_AlarmType.Merge(m, src)
764}
765func (m *AlarmType) XXX_Size() int {
766 return xxx_messageInfo_AlarmType.Size(m)
767}
768func (m *AlarmType) XXX_DiscardUnknown() {
769 xxx_messageInfo_AlarmType.DiscardUnknown(m)
770}
771
772var xxx_messageInfo_AlarmType proto.InternalMessageInfo
773
774type AlarmParameter struct {
775 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
776 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
777 XXX_NoUnkeyedLiteral struct{} `json:"-"`
778 XXX_unrecognized []byte `json:"-"`
779 XXX_sizecache int32 `json:"-"`
780}
781
782func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
783func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
784func (*AlarmParameter) ProtoMessage() {}
785func (*AlarmParameter) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700786 return fileDescriptor_ef7750073d18011b, []int{11}
Scott Baker41724b82020-01-21 19:54:53 -0800787}
788
789func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
790 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
791}
792func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
793 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
794}
795func (m *AlarmParameter) XXX_Merge(src proto.Message) {
796 xxx_messageInfo_AlarmParameter.Merge(m, src)
797}
798func (m *AlarmParameter) XXX_Size() int {
799 return xxx_messageInfo_AlarmParameter.Size(m)
800}
801func (m *AlarmParameter) XXX_DiscardUnknown() {
802 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
803}
804
805var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
806
807func (m *AlarmParameter) GetKey() string {
808 if m != nil {
809 return m.Key
810 }
811 return ""
812}
813
814func (m *AlarmParameter) GetValue() string {
815 if m != nil {
816 return m.Value
817 }
818 return ""
819}
820
Anand S Katti86552f92020-03-03 21:56:32 +0530821// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +0530822// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -0800823// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +0530824type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +0530825 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -0800826 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
827 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
828 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
829 XXX_NoUnkeyedLiteral struct{} `json:"-"`
830 XXX_unrecognized []byte `json:"-"`
831 XXX_sizecache int32 `json:"-"`
832}
833
Anand S Katti86552f92020-03-03 21:56:32 +0530834func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
835func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
836func (*ONUAlarmRequest) ProtoMessage() {}
837func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700838 return fileDescriptor_ef7750073d18011b, []int{12}
Scott Baker41724b82020-01-21 19:54:53 -0800839}
840
Anand S Katti86552f92020-03-03 21:56:32 +0530841func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
842 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -0800843}
Anand S Katti86552f92020-03-03 21:56:32 +0530844func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
845 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -0800846}
Anand S Katti86552f92020-03-03 21:56:32 +0530847func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
848 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -0800849}
Anand S Katti86552f92020-03-03 21:56:32 +0530850func (m *ONUAlarmRequest) XXX_Size() int {
851 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -0800852}
Anand S Katti86552f92020-03-03 21:56:32 +0530853func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
854 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -0800855}
856
Anand S Katti86552f92020-03-03 21:56:32 +0530857var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -0800858
Anand S Katti86552f92020-03-03 21:56:32 +0530859func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -0800860 if m != nil {
861 return m.AlarmType
862 }
Pragya Arya694ece02020-02-07 13:03:47 +0530863 return ""
Scott Baker41724b82020-01-21 19:54:53 -0800864}
865
Anand S Katti86552f92020-03-03 21:56:32 +0530866func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -0800867 if m != nil {
868 return m.SerialNumber
869 }
870 return ""
871}
872
Anand S Katti86552f92020-03-03 21:56:32 +0530873func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -0800874 if m != nil {
875 return m.Status
876 }
877 return ""
878}
879
Anand S Katti86552f92020-03-03 21:56:32 +0530880func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -0800881 if m != nil {
882 return m.Parameters
883 }
884 return nil
885}
886
Anand S Katti86552f92020-03-03 21:56:32 +0530887// OLT alarm request
888type OLTAlarmRequest struct {
889 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
890 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
891 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
892 XXX_NoUnkeyedLiteral struct{} `json:"-"`
893 XXX_unrecognized []byte `json:"-"`
894 XXX_sizecache int32 `json:"-"`
895}
896
897func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
898func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
899func (*OLTAlarmRequest) ProtoMessage() {}
900func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700901 return fileDescriptor_ef7750073d18011b, []int{13}
Anand S Katti86552f92020-03-03 21:56:32 +0530902}
903
904func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
905 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
906}
907func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
908 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
909}
910func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
911 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
912}
913func (m *OLTAlarmRequest) XXX_Size() int {
914 return xxx_messageInfo_OLTAlarmRequest.Size(m)
915}
916func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
917 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
918}
919
920var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
921
922func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
923 if m != nil {
924 return m.InterfaceID
925 }
926 return 0
927}
928
929func (m *OLTAlarmRequest) GetInterfaceType() string {
930 if m != nil {
931 return m.InterfaceType
932 }
933 return ""
934}
935
936func (m *OLTAlarmRequest) GetStatus() string {
937 if m != nil {
938 return m.Status
939 }
940 return ""
941}
942
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700943type VersionNumber struct {
944 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
945 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
946 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
947 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
948 XXX_NoUnkeyedLiteral struct{} `json:"-"`
949 XXX_unrecognized []byte `json:"-"`
950 XXX_sizecache int32 `json:"-"`
951}
952
953func (m *VersionNumber) Reset() { *m = VersionNumber{} }
954func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
955func (*VersionNumber) ProtoMessage() {}
956func (*VersionNumber) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -0700957 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700958}
959
960func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
961 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
962}
963func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
964 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
965}
966func (m *VersionNumber) XXX_Merge(src proto.Message) {
967 xxx_messageInfo_VersionNumber.Merge(m, src)
968}
969func (m *VersionNumber) XXX_Size() int {
970 return xxx_messageInfo_VersionNumber.Size(m)
971}
972func (m *VersionNumber) XXX_DiscardUnknown() {
973 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
974}
975
976var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
977
978func (m *VersionNumber) GetVersion() string {
979 if m != nil {
980 return m.Version
981 }
982 return ""
983}
984
985func (m *VersionNumber) GetBuildTime() string {
986 if m != nil {
987 return m.BuildTime
988 }
989 return ""
990}
991
992func (m *VersionNumber) GetCommitHash() string {
993 if m != nil {
994 return m.CommitHash
995 }
996 return ""
997}
998
999func (m *VersionNumber) GetGitStatus() string {
1000 if m != nil {
1001 return m.GitStatus
1002 }
1003 return ""
1004}
1005
1006type LogLevel struct {
1007 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
1008 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
1009 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1010 XXX_unrecognized []byte `json:"-"`
1011 XXX_sizecache int32 `json:"-"`
1012}
1013
1014func (m *LogLevel) Reset() { *m = LogLevel{} }
1015func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1016func (*LogLevel) ProtoMessage() {}
1017func (*LogLevel) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001018 return fileDescriptor_ef7750073d18011b, []int{15}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001019}
1020
1021func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1022 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1023}
1024func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1025 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1026}
1027func (m *LogLevel) XXX_Merge(src proto.Message) {
1028 xxx_messageInfo_LogLevel.Merge(m, src)
1029}
1030func (m *LogLevel) XXX_Size() int {
1031 return xxx_messageInfo_LogLevel.Size(m)
1032}
1033func (m *LogLevel) XXX_DiscardUnknown() {
1034 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1035}
1036
1037var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1038
1039func (m *LogLevel) GetLevel() string {
1040 if m != nil {
1041 return m.Level
1042 }
1043 return ""
1044}
1045
1046func (m *LogLevel) GetCaller() bool {
1047 if m != nil {
1048 return m.Caller
1049 }
1050 return false
1051}
1052
1053type Response struct {
1054 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1055 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1056 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1057 XXX_unrecognized []byte `json:"-"`
1058 XXX_sizecache int32 `json:"-"`
1059}
1060
1061func (m *Response) Reset() { *m = Response{} }
1062func (m *Response) String() string { return proto.CompactTextString(m) }
1063func (*Response) ProtoMessage() {}
1064func (*Response) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001065 return fileDescriptor_ef7750073d18011b, []int{16}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001066}
1067
1068func (m *Response) XXX_Unmarshal(b []byte) error {
1069 return xxx_messageInfo_Response.Unmarshal(m, b)
1070}
1071func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1072 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1073}
1074func (m *Response) XXX_Merge(src proto.Message) {
1075 xxx_messageInfo_Response.Merge(m, src)
1076}
1077func (m *Response) XXX_Size() int {
1078 return xxx_messageInfo_Response.Size(m)
1079}
1080func (m *Response) XXX_DiscardUnknown() {
1081 xxx_messageInfo_Response.DiscardUnknown(m)
1082}
1083
1084var xxx_messageInfo_Response proto.InternalMessageInfo
1085
1086func (m *Response) GetStatusCode() int32 {
1087 if m != nil {
1088 return m.StatusCode
1089 }
1090 return 0
1091}
1092
1093func (m *Response) GetMessage() string {
1094 if m != nil {
1095 return m.Message
1096 }
1097 return ""
1098}
1099
Arjun E K57a7fcb2020-01-30 06:44:45 +00001100type IgmpRequest struct {
1101 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1102 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
1103 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1104 XXX_unrecognized []byte `json:"-"`
1105 XXX_sizecache int32 `json:"-"`
1106}
1107
1108func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1109func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1110func (*IgmpRequest) ProtoMessage() {}
1111func (*IgmpRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001112 return fileDescriptor_ef7750073d18011b, []int{17}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001113}
1114
1115func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1116 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1117}
1118func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1119 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1120}
1121func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1122 xxx_messageInfo_IgmpRequest.Merge(m, src)
1123}
1124func (m *IgmpRequest) XXX_Size() int {
1125 return xxx_messageInfo_IgmpRequest.Size(m)
1126}
1127func (m *IgmpRequest) XXX_DiscardUnknown() {
1128 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1129}
1130
1131var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1132
1133func (m *IgmpRequest) GetOnuReq() *ONURequest {
1134 if m != nil {
1135 return m.OnuReq
1136 }
1137 return nil
1138}
1139
1140func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1141 if m != nil {
1142 return m.SubActionVal
1143 }
1144 return SubActionTypes_JOIN
1145}
1146
Pragya Arya8bdb4532020-03-02 17:08:09 +05301147type Flows struct {
1148 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1149 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1150 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1151 XXX_unrecognized []byte `json:"-"`
1152 XXX_sizecache int32 `json:"-"`
1153}
1154
1155func (m *Flows) Reset() { *m = Flows{} }
1156func (m *Flows) String() string { return proto.CompactTextString(m) }
1157func (*Flows) ProtoMessage() {}
1158func (*Flows) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001159 return fileDescriptor_ef7750073d18011b, []int{18}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301160}
1161
1162func (m *Flows) XXX_Unmarshal(b []byte) error {
1163 return xxx_messageInfo_Flows.Unmarshal(m, b)
1164}
1165func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1166 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1167}
1168func (m *Flows) XXX_Merge(src proto.Message) {
1169 xxx_messageInfo_Flows.Merge(m, src)
1170}
1171func (m *Flows) XXX_Size() int {
1172 return xxx_messageInfo_Flows.Size(m)
1173}
1174func (m *Flows) XXX_DiscardUnknown() {
1175 xxx_messageInfo_Flows.DiscardUnknown(m)
1176}
1177
1178var xxx_messageInfo_Flows proto.InternalMessageInfo
1179
1180func (m *Flows) GetFlowCount() uint32 {
1181 if m != nil {
1182 return m.FlowCount
1183 }
1184 return 0
1185}
1186
1187func (m *Flows) GetFlows() []*openolt.Flow {
1188 if m != nil {
1189 return m.Flows
1190 }
1191 return nil
1192}
1193
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001194type Timeout struct {
1195 Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
1196 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1197 XXX_unrecognized []byte `json:"-"`
1198 XXX_sizecache int32 `json:"-"`
1199}
1200
1201func (m *Timeout) Reset() { *m = Timeout{} }
1202func (m *Timeout) String() string { return proto.CompactTextString(m) }
1203func (*Timeout) ProtoMessage() {}
1204func (*Timeout) Descriptor() ([]byte, []int) {
1205 return fileDescriptor_ef7750073d18011b, []int{19}
1206}
1207
1208func (m *Timeout) XXX_Unmarshal(b []byte) error {
1209 return xxx_messageInfo_Timeout.Unmarshal(m, b)
1210}
1211func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1212 return xxx_messageInfo_Timeout.Marshal(b, m, deterministic)
1213}
1214func (m *Timeout) XXX_Merge(src proto.Message) {
1215 xxx_messageInfo_Timeout.Merge(m, src)
1216}
1217func (m *Timeout) XXX_Size() int {
1218 return xxx_messageInfo_Timeout.Size(m)
1219}
1220func (m *Timeout) XXX_DiscardUnknown() {
1221 xxx_messageInfo_Timeout.DiscardUnknown(m)
1222}
1223
1224var xxx_messageInfo_Timeout proto.InternalMessageInfo
1225
1226func (m *Timeout) GetDelay() uint32 {
1227 if m != nil {
1228 return m.Delay
1229 }
1230 return 0
1231}
1232
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001233type Empty struct {
1234 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1235 XXX_unrecognized []byte `json:"-"`
1236 XXX_sizecache int32 `json:"-"`
1237}
1238
1239func (m *Empty) Reset() { *m = Empty{} }
1240func (m *Empty) String() string { return proto.CompactTextString(m) }
1241func (*Empty) ProtoMessage() {}
1242func (*Empty) Descriptor() ([]byte, []int) {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001243 return fileDescriptor_ef7750073d18011b, []int{20}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001244}
1245
1246func (m *Empty) XXX_Unmarshal(b []byte) error {
1247 return xxx_messageInfo_Empty.Unmarshal(m, b)
1248}
1249func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1250 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1251}
1252func (m *Empty) XXX_Merge(src proto.Message) {
1253 xxx_messageInfo_Empty.Merge(m, src)
1254}
1255func (m *Empty) XXX_Size() int {
1256 return xxx_messageInfo_Empty.Size(m)
1257}
1258func (m *Empty) XXX_DiscardUnknown() {
1259 xxx_messageInfo_Empty.DiscardUnknown(m)
1260}
1261
1262var xxx_messageInfo_Empty proto.InternalMessageInfo
1263
1264func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001265 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Scott Baker41724b82020-01-21 19:54:53 -08001266 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001267 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
1268 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1269 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
1270 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001271 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301272 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001273 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001274 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001275 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301276 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001277 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1278 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301279 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1280 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001281 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1282 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1283 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001284 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301285 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001286 proto.RegisterType((*Timeout)(nil), "bbsim.Timeout")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001287 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1288}
1289
Matteo Scandolof65e6872020-04-15 15:18:43 -07001290func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001291
1292var fileDescriptor_ef7750073d18011b = []byte{
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001293 // 1563 bytes of a gzipped FileDescriptorProto
1294 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xdb, 0x52, 0xdb, 0xc6,
1295 0x1b, 0xf7, 0x01, 0x9f, 0x3e, 0x63, 0x23, 0x36, 0x81, 0x78, 0x08, 0xff, 0x7f, 0x3c, 0x6a, 0xda,
1296 0x21, 0x99, 0x86, 0x34, 0xd0, 0x43, 0x72, 0x29, 0x6c, 0xe1, 0xa8, 0x18, 0x49, 0xb3, 0xb2, 0xc9,
1297 0xe4, 0x4a, 0x23, 0xec, 0x05, 0x3c, 0x23, 0x4b, 0x8e, 0xb4, 0x86, 0xe1, 0x01, 0xfa, 0x22, 0x7d,
1298 0xa2, 0x3e, 0x41, 0xef, 0xda, 0xfb, 0x3e, 0x40, 0x67, 0x3a, 0xbb, 0x5a, 0xc9, 0x12, 0x36, 0x2d,
1299 0xe9, 0x4d, 0x6f, 0x18, 0x7d, 0xbf, 0xef, 0x7c, 0xf0, 0xf7, 0x2d, 0xb0, 0xe5, 0xcc, 0x26, 0xaf,
1300 0xcf, 0xcf, 0xc3, 0xc9, 0x34, 0xfa, 0xbb, 0x3f, 0x0b, 0x7c, 0xea, 0xa3, 0x12, 0x27, 0x76, 0x9e,
1301 0x5e, 0xfb, 0x2e, 0xbd, 0x72, 0x6c, 0x0e, 0x86, 0xaf, 0xfd, 0x19, 0xf1, 0x7c, 0x97, 0x46, 0x32,
1302 0x3b, 0xed, 0x2c, 0x93, 0x92, 0xd1, 0x15, 0xfb, 0xbe, 0x98, 0xb8, 0x24, 0x92, 0x90, 0x7f, 0x80,
1303 0x8a, 0x69, 0xe8, 0xa6, 0x1f, 0x50, 0xd4, 0x84, 0x82, 0xd6, 0x6d, 0xe5, 0xdb, 0xf9, 0xbd, 0x12,
1304 0x2e, 0x68, 0x5d, 0xb4, 0x0b, 0x35, 0x63, 0x46, 0x02, 0x8b, 0x3a, 0x94, 0xb4, 0x0a, 0xed, 0xfc,
1305 0x5e, 0x0d, 0x2f, 0x00, 0xa6, 0xa8, 0xeb, 0xda, 0xbf, 0x50, 0xfc, 0x2d, 0x0f, 0x45, 0xc3, 0x5d,
1306 0xd6, 0x92, 0x61, 0xdd, 0x22, 0xc1, 0xc4, 0x71, 0xf5, 0xf9, 0xf4, 0x9c, 0x04, 0x42, 0x31, 0x83,
1307 0x65, 0x2d, 0x17, 0xef, 0x58, 0x46, 0xcf, 0xa1, 0xa1, 0x79, 0x94, 0x04, 0x9e, 0xe3, 0x46, 0x12,
1308 0x6b, 0x5c, 0x22, 0x0b, 0x72, 0xbf, 0x66, 0xab, 0xc2, 0x59, 0x05, 0xcd, 0x44, 0x2f, 0xa1, 0x2a,
1309 0x12, 0x09, 0x5b, 0xa5, 0x76, 0x71, 0xaf, 0x7e, 0xd0, 0xdc, 0x8f, 0xea, 0x2c, 0x60, 0x9c, 0xf0,
1310 0x99, 0xac, 0xa8, 0x56, 0xd8, 0x2a, 0x67, 0x64, 0x05, 0x8c, 0x13, 0xbe, 0xfc, 0x27, 0xcb, 0x53,
1311 0x1f, 0xfe, 0x67, 0x79, 0xee, 0x42, 0xcd, 0xf4, 0x3d, 0x16, 0x8b, 0xd6, 0x6d, 0x95, 0xb8, 0xfb,
1312 0x05, 0xc0, 0xb8, 0xef, 0x6f, 0x94, 0xf1, 0x38, 0x20, 0x61, 0xd8, 0xaa, 0x46, 0x1e, 0x12, 0x00,
1313 0x6d, 0x43, 0x99, 0xc9, 0xe9, 0x7e, 0xab, 0xc6, 0x15, 0x05, 0xc5, 0xf2, 0x0f, 0x49, 0x70, 0x3d,
1314 0x19, 0x91, 0xb0, 0x05, 0x99, 0xfc, 0xad, 0x08, 0xc6, 0x09, 0x5f, 0xfe, 0xa3, 0x00, 0x15, 0x81,
1315 0x22, 0x04, 0x6b, 0xba, 0x33, 0x25, 0xbc, 0x0a, 0x35, 0xcc, 0xbf, 0xb3, 0x11, 0x14, 0xee, 0x46,
1316 0xf0, 0x18, 0x4a, 0x86, 0x37, 0xb7, 0x3c, 0x91, 0x7d, 0x44, 0x30, 0x3b, 0xd6, 0xc0, 0xb9, 0xe4,
1317 0x09, 0x97, 0x30, 0xff, 0x66, 0x58, 0x87, 0x61, 0x51, 0x8a, 0xfc, 0x1b, 0xfd, 0x1f, 0x40, 0x27,
1318 0x64, 0x1c, 0xaa, 0xce, 0xcc, 0x77, 0x5b, 0xe5, 0x76, 0x7e, 0xaf, 0x8a, 0x53, 0x08, 0xf3, 0xcd,
1319 0xa9, 0xee, 0xd5, 0x68, 0xc6, 0x47, 0xa1, 0x8a, 0x17, 0x40, 0xc2, 0xd5, 0x2e, 0xa7, 0x33, 0x5e,
1320 0x9b, 0x98, 0xcb, 0x00, 0xd4, 0x82, 0x4a, 0x8f, 0x4c, 0x59, 0x41, 0x44, 0x71, 0x62, 0x92, 0x79,
1321 0xe5, 0xe6, 0xa3, 0xa6, 0x00, 0x0f, 0x3c, 0x85, 0x30, 0xbb, 0xcc, 0x7e, 0xc4, 0xae, 0x47, 0x19,
1322 0x27, 0xc0, 0x72, 0x57, 0xd7, 0xef, 0xe9, 0xaa, 0xd6, 0x3b, 0x35, 0x23, 0x89, 0x46, 0x64, 0x23,
1323 0x01, 0x64, 0x07, 0x1e, 0x1b, 0xfa, 0x70, 0x10, 0x38, 0x17, 0x17, 0x93, 0x91, 0x35, 0xba, 0x22,
1324 0xe3, 0xb9, 0x4b, 0x82, 0x10, 0x69, 0xb0, 0x41, 0x19, 0xb8, 0x80, 0x78, 0x2b, 0xea, 0x07, 0xcf,
1325 0xf6, 0x33, 0x3b, 0x61, 0x49, 0x13, 0xdf, 0xd5, 0x93, 0xf7, 0x60, 0xcd, 0xd0, 0x87, 0x21, 0x6a,
1326 0x43, 0x69, 0x42, 0xc9, 0x94, 0x19, 0x62, 0x73, 0x00, 0x62, 0x0e, 0x0c, 0x7d, 0x88, 0x23, 0x86,
1327 0xfc, 0x0d, 0x54, 0x45, 0xff, 0x43, 0xf4, 0x3c, 0x2b, 0x7d, 0x77, 0x6a, 0x12, 0x0d, 0x60, 0xfa,
1328 0xe4, 0xd3, 0x9c, 0x84, 0x74, 0xe9, 0x87, 0x92, 0x5f, 0xfe, 0xa1, 0xc8, 0x2f, 0x01, 0x4c, 0x43,
1329 0x8f, 0x35, 0x52, 0x23, 0x3f, 0xe6, 0xe2, 0x8d, 0xc5, 0xc8, 0x8f, 0xe5, 0x5f, 0x8b, 0x50, 0x53,
1330 0x5c, 0x27, 0x98, 0x0e, 0x6e, 0x67, 0x44, 0xfe, 0xa5, 0x08, 0x25, 0xf6, 0x11, 0xa2, 0x0a, 0x14,
1331 0xfb, 0x86, 0x25, 0xe5, 0x50, 0x13, 0xa0, 0xfb, 0x51, 0xd3, 0x7b, 0x76, 0x4f, 0xb1, 0x4c, 0x29,
1332 0x8f, 0x1a, 0x50, 0x33, 0xf4, 0xa1, 0xad, 0xf4, 0x15, 0x7c, 0x2a, 0x15, 0xd0, 0x13, 0x78, 0xc4,
1333 0x48, 0x6b, 0xa0, 0xe0, 0xc1, 0xd0, 0xb4, 0x8f, 0x15, 0xad, 0x3f, 0xc4, 0xaa, 0x54, 0x44, 0xdb,
1334 0x80, 0x38, 0x43, 0xeb, 0xe9, 0x4a, 0xdf, 0xee, 0xaa, 0x3d, 0xac, 0x74, 0x55, 0x69, 0x2d, 0x56,
1335 0xe8, 0x62, 0xed, 0x78, 0x60, 0x1b, 0xc7, 0xf6, 0x07, 0x4d, 0xef, 0x1a, 0x1f, 0xa4, 0x12, 0xda,
1336 0x85, 0x16, 0x63, 0xf4, 0x0d, 0xcb, 0x62, 0xb8, 0x71, 0xda, 0xd1, 0xec, 0xce, 0x7b, 0x45, 0xd7,
1337 0xd5, 0xbe, 0x54, 0x4e, 0xfc, 0x70, 0x73, 0x56, 0xe2, 0xa7, 0x82, 0x5e, 0xc0, 0x97, 0x8c, 0x31,
1338 0xc0, 0x8a, 0x6e, 0x9d, 0x6a, 0x96, 0xa5, 0x19, 0xba, 0xad, 0xe9, 0x03, 0x15, 0x1f, 0xab, 0x58,
1339 0xd5, 0x3b, 0xaa, 0xfd, 0x41, 0xc1, 0xba, 0xa6, 0xf7, 0xa4, 0x2a, 0xda, 0x81, 0x6d, 0x1e, 0x7a,
1340 0x67, 0xa0, 0x9d, 0x29, 0x03, 0x26, 0x18, 0x9b, 0xa9, 0xa1, 0x16, 0x1f, 0x12, 0xdb, 0xc4, 0x46,
1341 0x47, 0xb5, 0x2c, 0x96, 0xaf, 0x8a, 0xb1, 0x81, 0x25, 0x40, 0x6d, 0xd8, 0x4d, 0xc7, 0x75, 0xa2,
1342 0x7e, 0xb4, 0xad, 0x8f, 0x7a, 0x27, 0xd1, 0xad, 0xa3, 0x2d, 0xd8, 0x64, 0x12, 0xda, 0x60, 0x68,
1343 0x9b, 0x86, 0xce, 0x6a, 0x31, 0xb0, 0xa4, 0x75, 0xb4, 0x09, 0x8d, 0xa4, 0x52, 0x4c, 0x5d, 0x6a,
1344 0xdc, 0x85, 0x8e, 0xa4, 0x66, 0x9c, 0x58, 0x0c, 0x99, 0x1d, 0x9b, 0x65, 0x21, 0x6d, 0xc4, 0xf5,
1345 0xc8, 0x30, 0x3a, 0x22, 0x2a, 0x09, 0x21, 0x68, 0xa6, 0xb9, 0xc7, 0x9a, 0xb4, 0x89, 0x1e, 0xc1,
1346 0x46, 0x1a, 0x53, 0x4e, 0x35, 0x09, 0xc9, 0x6f, 0xa1, 0xc9, 0xfb, 0x6b, 0x3a, 0x81, 0x33, 0x25,
1347 0x94, 0x04, 0x48, 0x82, 0xe2, 0x09, 0xb9, 0x15, 0x93, 0xc3, 0x3e, 0xd9, 0x5e, 0x39, 0x73, 0xdc,
1348 0x79, 0x7c, 0x97, 0x22, 0x42, 0xfe, 0x39, 0xcf, 0xed, 0x71, 0xed, 0xd4, 0x30, 0x25, 0xd3, 0x22,
1349 0x2c, 0x2c, 0x80, 0x07, 0x6d, 0xf1, 0x6d, 0x28, 0xb3, 0x9f, 0xe5, 0x3c, 0x14, 0x4b, 0x4c, 0x50,
1350 0xe8, 0x3b, 0x80, 0x24, 0xc4, 0xb0, 0xb5, 0xc6, 0x7f, 0x11, 0x5b, 0xe2, 0x17, 0x91, 0x4d, 0x00,
1351 0xa7, 0x04, 0xe5, 0x4f, 0xb0, 0x61, 0xf4, 0x07, 0x99, 0x18, 0xdb, 0x50, 0xe7, 0xeb, 0xe1, 0xc2,
1352 0x19, 0x11, 0x71, 0x64, 0x1a, 0x38, 0x0d, 0x25, 0x5b, 0x85, 0x91, 0x3c, 0x93, 0x42, 0x6a, 0xab,
1353 0xc4, 0xe0, 0x7d, 0x91, 0xca, 0x3f, 0xe5, 0xa1, 0x71, 0x46, 0x82, 0x70, 0xe2, 0x7b, 0x22, 0xa7,
1354 0x16, 0x54, 0xae, 0x23, 0x40, 0xd4, 0x24, 0x26, 0x59, 0xbd, 0xce, 0xe7, 0x13, 0x77, 0x3c, 0x98,
1355 0x4c, 0x93, 0xab, 0x9f, 0x00, 0x6c, 0x37, 0x8e, 0xfc, 0xe9, 0x74, 0x42, 0xdf, 0x3b, 0xe1, 0x95,
1356 0xf0, 0x92, 0x42, 0x98, 0xf6, 0xe5, 0x84, 0x8a, 0x20, 0xa2, 0x7b, 0xb6, 0x00, 0xe4, 0xb7, 0x50,
1357 0xed, 0xfb, 0x97, 0x7d, 0x72, 0x4d, 0x5c, 0xd6, 0x41, 0x97, 0x7d, 0x08, 0xff, 0x11, 0xc1, 0x32,
1358 0x18, 0x39, 0xae, 0x2b, 0x3a, 0x51, 0xc5, 0x82, 0x92, 0x55, 0xa8, 0x62, 0x12, 0xce, 0x7c, 0x2f,
1359 0x24, 0xe8, 0x19, 0xd4, 0x43, 0x6e, 0xcf, 0x1e, 0xf9, 0x63, 0x22, 0x4e, 0x32, 0x44, 0x50, 0xc7,
1360 0x1f, 0x13, 0x96, 0xdc, 0x94, 0x84, 0xa1, 0x73, 0x19, 0x27, 0x10, 0x93, 0x72, 0x08, 0x75, 0xb6,
1361 0xfc, 0xe3, 0xba, 0xbf, 0x80, 0xb2, 0xe1, 0xcd, 0x31, 0xf9, 0x24, 0xd6, 0xe8, 0x66, 0x6a, 0xfb,
1362 0x45, 0x22, 0x58, 0x08, 0xa0, 0x77, 0xb0, 0x6e, 0xcd, 0xcf, 0x95, 0x11, 0x9d, 0xf8, 0xde, 0x99,
1363 0xe3, 0x72, 0xc3, 0xcd, 0xa4, 0xdd, 0x09, 0x8b, 0xaf, 0x22, 0x9c, 0x11, 0x95, 0x4f, 0xa0, 0x74,
1364 0xec, 0xfa, 0x37, 0x21, 0xfa, 0x1f, 0xc0, 0x85, 0xeb, 0xdf, 0xd8, 0x23, 0x7f, 0xee, 0xd1, 0x78,
1365 0xb1, 0x31, 0xa4, 0xc3, 0x00, 0xf4, 0x05, 0x94, 0x18, 0xc1, 0xae, 0x28, 0x1b, 0xa5, 0xc6, 0x7e,
1366 0xfc, 0x08, 0x64, 0xda, 0x38, 0xe2, 0xc9, 0xcf, 0xa0, 0xc2, 0x1a, 0xe1, 0xcf, 0x29, 0xab, 0xe0,
1367 0x98, 0xb8, 0xce, 0xad, 0xb0, 0x14, 0x11, 0x72, 0x05, 0x4a, 0xea, 0x74, 0x46, 0x6f, 0x5f, 0xbe,
1368 0x81, 0x66, 0x36, 0x2c, 0x54, 0x85, 0xb5, 0x1f, 0x0d, 0x4d, 0x97, 0x72, 0xa8, 0x06, 0xa5, 0xbe,
1369 0xaa, 0x9c, 0xa9, 0x52, 0x1e, 0x01, 0x94, 0x19, 0x78, 0x76, 0x28, 0x15, 0x0e, 0x7e, 0x07, 0x28,
1370 0x1d, 0x1d, 0x59, 0x93, 0x29, 0x7a, 0x0d, 0x15, 0x31, 0x30, 0x68, 0x5d, 0xe4, 0xc8, 0xad, 0xee,
1371 0x3c, 0x16, 0x54, 0x66, 0x9c, 0xe4, 0x1c, 0x7a, 0x03, 0x75, 0x8b, 0xd0, 0xa4, 0xbb, 0x1b, 0x42,
1372 0x2c, 0x06, 0x76, 0xee, 0x02, 0x72, 0x0e, 0x3d, 0x87, 0x72, 0x8f, 0x50, 0xf6, 0x86, 0xcc, 0xba,
1373 0x48, 0x6e, 0x90, 0x4b, 0xe5, 0x1c, 0x7a, 0x05, 0x60, 0xfa, 0x37, 0x24, 0xf0, 0xbd, 0x65, 0xc9,
1374 0xd8, 0x68, 0x3c, 0x1a, 0x72, 0x0e, 0xed, 0x43, 0xdd, 0xba, 0x9a, 0xd3, 0xb1, 0x7f, 0xf3, 0x30,
1375 0xf9, 0xaf, 0xa1, 0x86, 0xc9, 0xb9, 0xef, 0xd3, 0x07, 0x49, 0xb3, 0x9a, 0x52, 0x7f, 0x76, 0x89,
1376 0xcd, 0x0e, 0xbb, 0x79, 0x24, 0xf8, 0x67, 0x95, 0x03, 0xd8, 0xb0, 0xa8, 0x13, 0xd0, 0xcf, 0xd1,
1377 0xf9, 0x1e, 0x36, 0x31, 0x09, 0xef, 0x68, 0xc5, 0xc7, 0x56, 0xb4, 0x7f, 0x95, 0xde, 0x8b, 0xa8,
1378 0xa2, 0xfa, 0x10, 0x2d, 0x4f, 0xf2, 0x4e, 0xea, 0xb4, 0xcb, 0x39, 0xf4, 0x15, 0x7b, 0xfe, 0x50,
1379 0xfe, 0x04, 0xc8, 0x86, 0x53, 0x5f, 0x88, 0x85, 0x51, 0x3d, 0x7b, 0x84, 0x26, 0x0f, 0x80, 0xd5,
1380 0xa1, 0xc7, 0x6c, 0x1e, 0x7a, 0x93, 0xd9, 0xf5, 0xe6, 0x89, 0xca, 0x8a, 0x50, 0x56, 0xe8, 0x1d,
1381 0xa6, 0xfa, 0xb6, 0x3a, 0xfe, 0x7b, 0x6a, 0x2b, 0x94, 0x14, 0xd7, 0x5d, 0x91, 0xcc, 0x0a, 0x9d,
1382 0x77, 0xb0, 0x99, 0x72, 0x14, 0x1a, 0x9e, 0x69, 0xe8, 0x89, 0xbb, 0xc5, 0x23, 0x64, 0xb5, 0xbb,
1383 0x64, 0x14, 0x1f, 0x1c, 0xe2, 0x1b, 0x68, 0x0a, 0x9d, 0x07, 0x47, 0xf8, 0x16, 0xa4, 0x85, 0x9b,
1384 0xcf, 0x0a, 0xf0, 0x5b, 0x58, 0x17, 0x73, 0x13, 0xbd, 0x8f, 0x1f, 0x16, 0xe2, 0x21, 0xd4, 0x85,
1385 0x16, 0x7f, 0x36, 0x3f, 0x4c, 0xe9, 0x08, 0xb6, 0x2c, 0xde, 0x67, 0x7e, 0xc8, 0x34, 0x6f, 0x3c,
1386 0x19, 0x39, 0x6c, 0xd3, 0xa0, 0xed, 0x85, 0x7a, 0xfa, 0xc6, 0xfd, 0x8d, 0x0d, 0x97, 0xde, 0x6b,
1387 0x23, 0x7b, 0x27, 0x57, 0xd9, 0x78, 0x05, 0xd5, 0x1e, 0xa1, 0xd1, 0x7e, 0x5d, 0x11, 0x79, 0x5c,
1388 0x6c, 0x2e, 0xc0, 0x6b, 0xbb, 0xd1, 0xb9, 0x72, 0xbc, 0x4b, 0xc2, 0xce, 0x40, 0xf4, 0x14, 0x47,
1389 0x42, 0x24, 0x75, 0x18, 0x56, 0x39, 0x3a, 0x81, 0x27, 0xd1, 0x60, 0x2f, 0x3f, 0xcb, 0x57, 0xf8,
1390 0x7d, 0xba, 0x80, 0x96, 0xe4, 0xe5, 0xdc, 0x79, 0x99, 0xff, 0xd7, 0x7e, 0xf8, 0x57, 0x00, 0x00,
1391 0x00, 0xff, 0xff, 0xc4, 0x09, 0x64, 0x71, 0x14, 0x10, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001392}
1393
1394// Reference imports to suppress errors if they are not otherwise used.
1395var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001396var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001397
1398// This is a compile-time assertion to ensure that this generated file
1399// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001400const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001401
1402// BBSimClient is the client API for BBSim service.
1403//
1404// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1405type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001406 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001407 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001408 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301409 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001410 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001411 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001412 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001413 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001414 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001415 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001416 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001417 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001418 // Closes the Openolt gRPC server
1419 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1420 // Start the Openolt gRPC server
1421 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05301422 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001423 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001424 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001425 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001426 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301427 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001428 // Get all the Services
1429 GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error)
1430 // Get all the Services of an ONU by serial number
1431 GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001432 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001433 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001434 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301435 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001436 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301437 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001438 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001439 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001440 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301441 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001442 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301443 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001444 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001445 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001446 // Resatrt DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001447 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001448 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301449 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001450 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301451 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001452 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301453 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001454 // Chnage IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001455 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001456 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301457 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001458}
1459
1460type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04001461 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001462}
1463
Kent Hagerman60d62302020-03-10 17:02:36 -04001464func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001465 return &bBSimClient{cc}
1466}
1467
1468func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1469 out := new(VersionNumber)
1470 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1471 if err != nil {
1472 return nil, err
1473 }
1474 return out, nil
1475}
1476
Pragya Aryabd731ec2020-02-11 16:38:17 +05301477func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1478 out := new(LogLevel)
1479 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1480 if err != nil {
1481 return nil, err
1482 }
1483 return out, nil
1484}
1485
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001486func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1487 out := new(Olt)
1488 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1489 if err != nil {
1490 return nil, err
1491 }
1492 return out, nil
1493}
1494
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001495func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1496 out := new(Response)
1497 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1498 if err != nil {
1499 return nil, err
1500 }
1501 return out, nil
1502}
1503
1504func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1505 out := new(Response)
1506 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1507 if err != nil {
1508 return nil, err
1509 }
1510 return out, nil
1511}
1512
1513func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1514 out := new(Response)
1515 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1516 if err != nil {
1517 return nil, err
1518 }
1519 return out, nil
1520}
1521
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001522func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1523 out := new(Response)
1524 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
1525 if err != nil {
1526 return nil, err
1527 }
1528 return out, nil
1529}
1530
1531func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1532 out := new(Response)
1533 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
1534 if err != nil {
1535 return nil, err
1536 }
1537 return out, nil
1538}
1539
1540func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
1541 out := new(Response)
1542 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
1543 if err != nil {
1544 return nil, err
1545 }
1546 return out, nil
1547}
1548
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001549func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
1550 out := new(ONU)
1551 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
1552 if err != nil {
1553 return nil, err
1554 }
1555 return out, nil
1556}
1557
Pragya Aryabd731ec2020-02-11 16:38:17 +05301558func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
1559 out := new(ONUs)
1560 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001561 if err != nil {
1562 return nil, err
1563 }
1564 return out, nil
1565}
1566
Matteo Scandolo4a036262020-08-17 15:56:13 -07001567func (c *bBSimClient) GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error) {
1568 out := new(Services)
1569 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
1570 if err != nil {
1571 return nil, err
1572 }
1573 return out, nil
1574}
1575
1576func (c *bBSimClient) GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error) {
1577 out := new(Services)
1578 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuServices", in, out, opts...)
1579 if err != nil {
1580 return nil, err
1581 }
1582 return out, nil
1583}
1584
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001585func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1586 out := new(Response)
1587 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
1588 if err != nil {
1589 return nil, err
1590 }
1591 return out, nil
1592}
1593
Pragya Aryabd731ec2020-02-11 16:38:17 +05301594func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1595 out := new(Response)
1596 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
1597 if err != nil {
1598 return nil, err
1599 }
1600 return out, nil
1601}
1602
1603func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1604 out := new(Response)
1605 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
1606 if err != nil {
1607 return nil, err
1608 }
1609 return out, nil
1610}
1611
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001612func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1613 out := new(Response)
1614 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
1615 if err != nil {
1616 return nil, err
1617 }
1618 return out, nil
1619}
1620
Pragya Aryabd731ec2020-02-11 16:38:17 +05301621func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1622 out := new(Response)
1623 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
1624 if err != nil {
1625 return nil, err
1626 }
1627 return out, nil
1628}
1629
1630func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1631 out := new(Response)
1632 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
1633 if err != nil {
1634 return nil, err
1635 }
1636 return out, nil
1637}
1638
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001639func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1640 out := new(Response)
1641 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
1642 if err != nil {
1643 return nil, err
1644 }
1645 return out, nil
1646}
1647
1648func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1649 out := new(Response)
1650 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
1651 if err != nil {
1652 return nil, err
1653 }
1654 return out, nil
1655}
1656
Anand S Katti86552f92020-03-03 21:56:32 +05301657func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08001658 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05301659 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
1660 if err != nil {
1661 return nil, err
1662 }
1663 return out, nil
1664}
1665
1666func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
1667 out := new(Response)
1668 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08001669 if err != nil {
1670 return nil, err
1671 }
1672 return out, nil
1673}
1674
Pragya Arya8bdb4532020-03-02 17:08:09 +05301675func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
1676 out := new(Flows)
1677 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
1678 if err != nil {
1679 return nil, err
1680 }
1681 return out, nil
1682}
1683
Arjun E K57a7fcb2020-01-30 06:44:45 +00001684func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
1685 out := new(Response)
1686 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
1687 if err != nil {
1688 return nil, err
1689 }
1690 return out, nil
1691}
1692
Anand S Katti09541352020-01-29 15:54:01 +05301693func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
1694 out := new(ONUTrafficSchedulers)
1695 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
1696 if err != nil {
1697 return nil, err
1698 }
1699 return out, nil
1700}
1701
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001702// BBSimServer is the server API for BBSim service.
1703type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001704 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001705 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001706 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301707 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001708 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001709 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001710 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001711 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001712 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001713 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001714 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001715 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001716 // Closes the Openolt gRPC server
1717 StopgRPCServer(context.Context, *Empty) (*Response, error)
1718 // Start the Openolt gRPC server
1719 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05301720 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001721 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001722 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001723 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001724 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301725 GetONUs(context.Context, *Empty) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001726 // Get all the Services
1727 GetServices(context.Context, *Empty) (*Services, error)
1728 // Get all the Services of an ONU by serial number
1729 GetOnuServices(context.Context, *ONURequest) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001730 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001731 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001732 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301733 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001734 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301735 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001736 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001737 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001738 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301739 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001740 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301741 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001742 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001743 RestartEapol(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001744 // Resatrt DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001745 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001746 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301747 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001748 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301749 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001750 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301751 GetFlows(context.Context, *ONURequest) (*Flows, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001752 // Chnage IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001753 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001754 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301755 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001756}
1757
Pragya Aryabd731ec2020-02-11 16:38:17 +05301758// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
1759type UnimplementedBBSimServer struct {
1760}
1761
1762func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
1763 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
1764}
1765func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
1766 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
1767}
1768func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
1769 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
1770}
1771func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
1772 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
1773}
1774func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
1775 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
1776}
1777func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
1778 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
1779}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001780func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
1781 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
1782}
1783func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
1784 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
1785}
1786func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
1787 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
1788}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301789func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
1790 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
1791}
1792func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
1793 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
1794}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001795func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *Empty) (*Services, error) {
1796 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
1797}
1798func (*UnimplementedBBSimServer) GetOnuServices(ctx context.Context, req *ONURequest) (*Services, error) {
1799 return nil, status.Errorf(codes.Unimplemented, "method GetOnuServices not implemented")
1800}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301801func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
1802 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
1803}
1804func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1805 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
1806}
1807func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1808 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
1809}
1810func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
1811 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
1812}
1813func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1814 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
1815}
1816func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1817 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
1818}
1819func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
1820 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
1821}
1822func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
1823 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
1824}
1825func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
1826 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
1827}
1828func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
1829 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
1830}
1831func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
1832 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
1833}
1834func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
1835 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
1836}
1837func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
1838 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
1839}
1840
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001841func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
1842 s.RegisterService(&_BBSim_serviceDesc, srv)
1843}
1844
1845func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1846 in := new(Empty)
1847 if err := dec(in); err != nil {
1848 return nil, err
1849 }
1850 if interceptor == nil {
1851 return srv.(BBSimServer).Version(ctx, in)
1852 }
1853 info := &grpc.UnaryServerInfo{
1854 Server: srv,
1855 FullMethod: "/bbsim.BBSim/Version",
1856 }
1857 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1858 return srv.(BBSimServer).Version(ctx, req.(*Empty))
1859 }
1860 return interceptor(ctx, in, info, handler)
1861}
1862
Pragya Aryabd731ec2020-02-11 16:38:17 +05301863func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1864 in := new(LogLevel)
1865 if err := dec(in); err != nil {
1866 return nil, err
1867 }
1868 if interceptor == nil {
1869 return srv.(BBSimServer).SetLogLevel(ctx, in)
1870 }
1871 info := &grpc.UnaryServerInfo{
1872 Server: srv,
1873 FullMethod: "/bbsim.BBSim/SetLogLevel",
1874 }
1875 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1876 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
1877 }
1878 return interceptor(ctx, in, info, handler)
1879}
1880
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001881func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1882 in := new(Empty)
1883 if err := dec(in); err != nil {
1884 return nil, err
1885 }
1886 if interceptor == nil {
1887 return srv.(BBSimServer).GetOlt(ctx, in)
1888 }
1889 info := &grpc.UnaryServerInfo{
1890 Server: srv,
1891 FullMethod: "/bbsim.BBSim/GetOlt",
1892 }
1893 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1894 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
1895 }
1896 return interceptor(ctx, in, info, handler)
1897}
1898
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001899func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1900 in := new(Empty)
1901 if err := dec(in); err != nil {
1902 return nil, err
1903 }
1904 if interceptor == nil {
1905 return srv.(BBSimServer).PoweronOlt(ctx, in)
1906 }
1907 info := &grpc.UnaryServerInfo{
1908 Server: srv,
1909 FullMethod: "/bbsim.BBSim/PoweronOlt",
1910 }
1911 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1912 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
1913 }
1914 return interceptor(ctx, in, info, handler)
1915}
1916
1917func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1918 in := new(Empty)
1919 if err := dec(in); err != nil {
1920 return nil, err
1921 }
1922 if interceptor == nil {
1923 return srv.(BBSimServer).ShutdownOlt(ctx, in)
1924 }
1925 info := &grpc.UnaryServerInfo{
1926 Server: srv,
1927 FullMethod: "/bbsim.BBSim/ShutdownOlt",
1928 }
1929 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1930 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
1931 }
1932 return interceptor(ctx, in, info, handler)
1933}
1934
1935func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1936 in := new(Empty)
1937 if err := dec(in); err != nil {
1938 return nil, err
1939 }
1940 if interceptor == nil {
1941 return srv.(BBSimServer).RebootOlt(ctx, in)
1942 }
1943 info := &grpc.UnaryServerInfo{
1944 Server: srv,
1945 FullMethod: "/bbsim.BBSim/RebootOlt",
1946 }
1947 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1948 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
1949 }
1950 return interceptor(ctx, in, info, handler)
1951}
1952
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001953func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1954 in := new(Empty)
1955 if err := dec(in); err != nil {
1956 return nil, err
1957 }
1958 if interceptor == nil {
1959 return srv.(BBSimServer).StopgRPCServer(ctx, in)
1960 }
1961 info := &grpc.UnaryServerInfo{
1962 Server: srv,
1963 FullMethod: "/bbsim.BBSim/StopgRPCServer",
1964 }
1965 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1966 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
1967 }
1968 return interceptor(ctx, in, info, handler)
1969}
1970
1971func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1972 in := new(Empty)
1973 if err := dec(in); err != nil {
1974 return nil, err
1975 }
1976 if interceptor == nil {
1977 return srv.(BBSimServer).StartgRPCServer(ctx, in)
1978 }
1979 info := &grpc.UnaryServerInfo{
1980 Server: srv,
1981 FullMethod: "/bbsim.BBSim/StartgRPCServer",
1982 }
1983 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1984 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
1985 }
1986 return interceptor(ctx, in, info, handler)
1987}
1988
1989func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1990 in := new(Timeout)
1991 if err := dec(in); err != nil {
1992 return nil, err
1993 }
1994 if interceptor == nil {
1995 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
1996 }
1997 info := &grpc.UnaryServerInfo{
1998 Server: srv,
1999 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2000 }
2001 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2002 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2003 }
2004 return interceptor(ctx, in, info, handler)
2005}
2006
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002007func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2008 in := new(ONURequest)
2009 if err := dec(in); err != nil {
2010 return nil, err
2011 }
2012 if interceptor == nil {
2013 return srv.(BBSimServer).GetONU(ctx, in)
2014 }
2015 info := &grpc.UnaryServerInfo{
2016 Server: srv,
2017 FullMethod: "/bbsim.BBSim/GetONU",
2018 }
2019 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2020 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2021 }
2022 return interceptor(ctx, in, info, handler)
2023}
2024
Pragya Aryabd731ec2020-02-11 16:38:17 +05302025func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2026 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002027 if err := dec(in); err != nil {
2028 return nil, err
2029 }
2030 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302031 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002032 }
2033 info := &grpc.UnaryServerInfo{
2034 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302035 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002036 }
2037 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302038 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002039 }
2040 return interceptor(ctx, in, info, handler)
2041}
2042
Matteo Scandolo4a036262020-08-17 15:56:13 -07002043func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2044 in := new(Empty)
2045 if err := dec(in); err != nil {
2046 return nil, err
2047 }
2048 if interceptor == nil {
2049 return srv.(BBSimServer).GetServices(ctx, in)
2050 }
2051 info := &grpc.UnaryServerInfo{
2052 Server: srv,
2053 FullMethod: "/bbsim.BBSim/GetServices",
2054 }
2055 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2056 return srv.(BBSimServer).GetServices(ctx, req.(*Empty))
2057 }
2058 return interceptor(ctx, in, info, handler)
2059}
2060
2061func _BBSim_GetOnuServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2062 in := new(ONURequest)
2063 if err := dec(in); err != nil {
2064 return nil, err
2065 }
2066 if interceptor == nil {
2067 return srv.(BBSimServer).GetOnuServices(ctx, in)
2068 }
2069 info := &grpc.UnaryServerInfo{
2070 Server: srv,
2071 FullMethod: "/bbsim.BBSim/GetOnuServices",
2072 }
2073 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2074 return srv.(BBSimServer).GetOnuServices(ctx, req.(*ONURequest))
2075 }
2076 return interceptor(ctx, in, info, handler)
2077}
2078
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002079func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2080 in := new(ONURequest)
2081 if err := dec(in); err != nil {
2082 return nil, err
2083 }
2084 if interceptor == nil {
2085 return srv.(BBSimServer).ShutdownONU(ctx, in)
2086 }
2087 info := &grpc.UnaryServerInfo{
2088 Server: srv,
2089 FullMethod: "/bbsim.BBSim/ShutdownONU",
2090 }
2091 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2092 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2093 }
2094 return interceptor(ctx, in, info, handler)
2095}
2096
Pragya Aryabd731ec2020-02-11 16:38:17 +05302097func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2098 in := new(Empty)
2099 if err := dec(in); err != nil {
2100 return nil, err
2101 }
2102 if interceptor == nil {
2103 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2104 }
2105 info := &grpc.UnaryServerInfo{
2106 Server: srv,
2107 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2108 }
2109 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2110 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2111 }
2112 return interceptor(ctx, in, info, handler)
2113}
2114
2115func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2116 in := new(PONRequest)
2117 if err := dec(in); err != nil {
2118 return nil, err
2119 }
2120 if interceptor == nil {
2121 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2122 }
2123 info := &grpc.UnaryServerInfo{
2124 Server: srv,
2125 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2126 }
2127 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2128 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2129 }
2130 return interceptor(ctx, in, info, handler)
2131}
2132
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002133func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2134 in := new(ONURequest)
2135 if err := dec(in); err != nil {
2136 return nil, err
2137 }
2138 if interceptor == nil {
2139 return srv.(BBSimServer).PoweronONU(ctx, in)
2140 }
2141 info := &grpc.UnaryServerInfo{
2142 Server: srv,
2143 FullMethod: "/bbsim.BBSim/PoweronONU",
2144 }
2145 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2146 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2147 }
2148 return interceptor(ctx, in, info, handler)
2149}
2150
Pragya Aryabd731ec2020-02-11 16:38:17 +05302151func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2152 in := new(Empty)
2153 if err := dec(in); err != nil {
2154 return nil, err
2155 }
2156 if interceptor == nil {
2157 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2158 }
2159 info := &grpc.UnaryServerInfo{
2160 Server: srv,
2161 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2162 }
2163 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2164 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2165 }
2166 return interceptor(ctx, in, info, handler)
2167}
2168
2169func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2170 in := new(PONRequest)
2171 if err := dec(in); err != nil {
2172 return nil, err
2173 }
2174 if interceptor == nil {
2175 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2176 }
2177 info := &grpc.UnaryServerInfo{
2178 Server: srv,
2179 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2180 }
2181 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2182 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2183 }
2184 return interceptor(ctx, in, info, handler)
2185}
2186
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002187func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2188 in := new(ONURequest)
2189 if err := dec(in); err != nil {
2190 return nil, err
2191 }
2192 if interceptor == nil {
2193 return srv.(BBSimServer).RestartEapol(ctx, in)
2194 }
2195 info := &grpc.UnaryServerInfo{
2196 Server: srv,
2197 FullMethod: "/bbsim.BBSim/RestartEapol",
2198 }
2199 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2200 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
2201 }
2202 return interceptor(ctx, in, info, handler)
2203}
2204
2205func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2206 in := new(ONURequest)
2207 if err := dec(in); err != nil {
2208 return nil, err
2209 }
2210 if interceptor == nil {
2211 return srv.(BBSimServer).RestartDhcp(ctx, in)
2212 }
2213 info := &grpc.UnaryServerInfo{
2214 Server: srv,
2215 FullMethod: "/bbsim.BBSim/RestartDhcp",
2216 }
2217 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2218 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
2219 }
2220 return interceptor(ctx, in, info, handler)
2221}
2222
Anand S Katti86552f92020-03-03 21:56:32 +05302223func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2224 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002225 if err := dec(in); err != nil {
2226 return nil, err
2227 }
2228 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302229 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002230 }
2231 info := &grpc.UnaryServerInfo{
2232 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302233 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002234 }
2235 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302236 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2237 }
2238 return interceptor(ctx, in, info, handler)
2239}
2240
2241func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2242 in := new(OLTAlarmRequest)
2243 if err := dec(in); err != nil {
2244 return nil, err
2245 }
2246 if interceptor == nil {
2247 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2248 }
2249 info := &grpc.UnaryServerInfo{
2250 Server: srv,
2251 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2252 }
2253 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2254 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002255 }
2256 return interceptor(ctx, in, info, handler)
2257}
2258
Pragya Arya8bdb4532020-03-02 17:08:09 +05302259func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2260 in := new(ONURequest)
2261 if err := dec(in); err != nil {
2262 return nil, err
2263 }
2264 if interceptor == nil {
2265 return srv.(BBSimServer).GetFlows(ctx, in)
2266 }
2267 info := &grpc.UnaryServerInfo{
2268 Server: srv,
2269 FullMethod: "/bbsim.BBSim/GetFlows",
2270 }
2271 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2272 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2273 }
2274 return interceptor(ctx, in, info, handler)
2275}
2276
Arjun E K57a7fcb2020-01-30 06:44:45 +00002277func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2278 in := new(IgmpRequest)
2279 if err := dec(in); err != nil {
2280 return nil, err
2281 }
2282 if interceptor == nil {
2283 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2284 }
2285 info := &grpc.UnaryServerInfo{
2286 Server: srv,
2287 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2288 }
2289 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2290 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2291 }
2292 return interceptor(ctx, in, info, handler)
2293}
2294
Anand S Katti09541352020-01-29 15:54:01 +05302295func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2296 in := new(ONURequest)
2297 if err := dec(in); err != nil {
2298 return nil, err
2299 }
2300 if interceptor == nil {
2301 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2302 }
2303 info := &grpc.UnaryServerInfo{
2304 Server: srv,
2305 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2306 }
2307 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2308 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2309 }
2310 return interceptor(ctx, in, info, handler)
2311}
2312
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002313var _BBSim_serviceDesc = grpc.ServiceDesc{
2314 ServiceName: "bbsim.BBSim",
2315 HandlerType: (*BBSimServer)(nil),
2316 Methods: []grpc.MethodDesc{
2317 {
2318 MethodName: "Version",
2319 Handler: _BBSim_Version_Handler,
2320 },
2321 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302322 MethodName: "SetLogLevel",
2323 Handler: _BBSim_SetLogLevel_Handler,
2324 },
2325 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002326 MethodName: "GetOlt",
2327 Handler: _BBSim_GetOlt_Handler,
2328 },
2329 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002330 MethodName: "PoweronOlt",
2331 Handler: _BBSim_PoweronOlt_Handler,
2332 },
2333 {
2334 MethodName: "ShutdownOlt",
2335 Handler: _BBSim_ShutdownOlt_Handler,
2336 },
2337 {
2338 MethodName: "RebootOlt",
2339 Handler: _BBSim_RebootOlt_Handler,
2340 },
2341 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002342 MethodName: "StopgRPCServer",
2343 Handler: _BBSim_StopgRPCServer_Handler,
2344 },
2345 {
2346 MethodName: "StartgRPCServer",
2347 Handler: _BBSim_StartgRPCServer_Handler,
2348 },
2349 {
2350 MethodName: "RestartgRPCServer",
2351 Handler: _BBSim_RestartgRPCServer_Handler,
2352 },
2353 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002354 MethodName: "GetONU",
2355 Handler: _BBSim_GetONU_Handler,
2356 },
2357 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302358 MethodName: "GetONUs",
2359 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002360 },
2361 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002362 MethodName: "GetServices",
2363 Handler: _BBSim_GetServices_Handler,
2364 },
2365 {
2366 MethodName: "GetOnuServices",
2367 Handler: _BBSim_GetOnuServices_Handler,
2368 },
2369 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002370 MethodName: "ShutdownONU",
2371 Handler: _BBSim_ShutdownONU_Handler,
2372 },
2373 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302374 MethodName: "ShutdownAllONUs",
2375 Handler: _BBSim_ShutdownAllONUs_Handler,
2376 },
2377 {
2378 MethodName: "ShutdownONUsOnPON",
2379 Handler: _BBSim_ShutdownONUsOnPON_Handler,
2380 },
2381 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002382 MethodName: "PoweronONU",
2383 Handler: _BBSim_PoweronONU_Handler,
2384 },
2385 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302386 MethodName: "PoweronAllONUs",
2387 Handler: _BBSim_PoweronAllONUs_Handler,
2388 },
2389 {
2390 MethodName: "PoweronONUsOnPON",
2391 Handler: _BBSim_PoweronONUsOnPON_Handler,
2392 },
2393 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002394 MethodName: "RestartEapol",
2395 Handler: _BBSim_RestartEapol_Handler,
2396 },
2397 {
2398 MethodName: "RestartDhcp",
2399 Handler: _BBSim_RestartDhcp_Handler,
2400 },
Scott Baker41724b82020-01-21 19:54:53 -08002401 {
Anand S Katti86552f92020-03-03 21:56:32 +05302402 MethodName: "SetOnuAlarmIndication",
2403 Handler: _BBSim_SetOnuAlarmIndication_Handler,
2404 },
2405 {
2406 MethodName: "SetOltAlarmIndication",
2407 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08002408 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00002409 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05302410 MethodName: "GetFlows",
2411 Handler: _BBSim_GetFlows_Handler,
2412 },
2413 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00002414 MethodName: "ChangeIgmpState",
2415 Handler: _BBSim_ChangeIgmpState_Handler,
2416 },
Anand S Katti09541352020-01-29 15:54:01 +05302417 {
2418 MethodName: "GetOnuTrafficSchedulers",
2419 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
2420 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002421 },
2422 Streams: []grpc.StreamDesc{},
2423 Metadata: "api/bbsim/bbsim.proto",
2424}