blob: b4a5f86ae2b3218cf2b0788ef0a2192dd2098cfc [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 Scandoloa6a3aee2019-11-26 13:30:14 -07001194type Empty struct {
1195 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1196 XXX_unrecognized []byte `json:"-"`
1197 XXX_sizecache int32 `json:"-"`
1198}
1199
1200func (m *Empty) Reset() { *m = Empty{} }
1201func (m *Empty) String() string { return proto.CompactTextString(m) }
1202func (*Empty) ProtoMessage() {}
1203func (*Empty) Descriptor() ([]byte, []int) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07001204 return fileDescriptor_ef7750073d18011b, []int{19}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001205}
1206
1207func (m *Empty) XXX_Unmarshal(b []byte) error {
1208 return xxx_messageInfo_Empty.Unmarshal(m, b)
1209}
1210func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1211 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1212}
1213func (m *Empty) XXX_Merge(src proto.Message) {
1214 xxx_messageInfo_Empty.Merge(m, src)
1215}
1216func (m *Empty) XXX_Size() int {
1217 return xxx_messageInfo_Empty.Size(m)
1218}
1219func (m *Empty) XXX_DiscardUnknown() {
1220 xxx_messageInfo_Empty.DiscardUnknown(m)
1221}
1222
1223var xxx_messageInfo_Empty proto.InternalMessageInfo
1224
1225func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001226 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Scott Baker41724b82020-01-21 19:54:53 -08001227 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001228 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
1229 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1230 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
1231 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001232 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301233 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001234 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001235 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001236 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301237 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001238 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1239 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301240 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1241 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001242 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1243 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1244 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001245 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301246 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001247 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1248}
1249
Matteo Scandolof65e6872020-04-15 15:18:43 -07001250func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001251
1252var fileDescriptor_ef7750073d18011b = []byte{
Matteo Scandolo618a6582020-09-09 12:21:29 -07001253 // 1519 bytes of a gzipped FileDescriptorProto
1254 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xdd, 0x6e, 0xdb, 0xc6,
1255 0x12, 0xd6, 0x8f, 0xf5, 0x37, 0xb2, 0x64, 0x7a, 0x13, 0x3b, 0x82, 0xe3, 0x73, 0x22, 0xf0, 0xe4,
1256 0x1c, 0x38, 0xc1, 0x89, 0xd3, 0xd8, 0xfd, 0x49, 0x2e, 0x69, 0x89, 0x56, 0x58, 0xcb, 0x4b, 0x62,
1257 0x29, 0x39, 0xc8, 0x15, 0x41, 0x4b, 0x6b, 0x9b, 0x00, 0x45, 0x2a, 0x24, 0x65, 0x23, 0x0f, 0xd0,
1258 0x17, 0xe9, 0xcb, 0xf4, 0xb6, 0x4f, 0xd0, 0xbb, 0x3e, 0x40, 0x1f, 0xa0, 0x40, 0xb1, 0xcb, 0x25,
1259 0x45, 0x5a, 0x4a, 0xe1, 0xf6, 0xa6, 0x37, 0xc2, 0xce, 0x37, 0xff, 0xb3, 0xc3, 0x99, 0x15, 0xec,
1260 0xd8, 0x73, 0xe7, 0xf5, 0xe5, 0x65, 0xe8, 0xcc, 0xe2, 0xdf, 0xc3, 0x79, 0xe0, 0x47, 0x3e, 0xaa,
1261 0x70, 0x62, 0xef, 0xe9, 0xad, 0xef, 0x46, 0x37, 0xb6, 0xc5, 0xc1, 0xf0, 0xb5, 0x3f, 0xa7, 0x9e,
1262 0xef, 0x46, 0xb1, 0xcc, 0x5e, 0x37, 0xcf, 0x8c, 0xe8, 0xe4, 0x86, 0x9d, 0xaf, 0x1c, 0x97, 0xc6,
1263 0x12, 0xf2, 0x77, 0x50, 0x33, 0x74, 0x6c, 0xf8, 0x41, 0x84, 0xda, 0x50, 0xd2, 0xfa, 0x9d, 0x62,
1264 0xb7, 0x78, 0x50, 0x21, 0x25, 0xad, 0x8f, 0xf6, 0xa1, 0xa1, 0xcf, 0x69, 0x60, 0x46, 0x76, 0x44,
1265 0x3b, 0xa5, 0x6e, 0xf1, 0xa0, 0x41, 0x96, 0x00, 0x53, 0xc4, 0x58, 0xfb, 0x1b, 0x8a, 0xbf, 0x16,
1266 0xa1, 0xac, 0xbb, 0xab, 0x5a, 0x32, 0x6c, 0x9a, 0x34, 0x70, 0x6c, 0x17, 0x2f, 0x66, 0x97, 0x34,
1267 0x10, 0x8a, 0x39, 0x2c, 0x6f, 0xb9, 0x7c, 0xcf, 0x32, 0x7a, 0x0e, 0x2d, 0xcd, 0x8b, 0x68, 0xe0,
1268 0xd9, 0x6e, 0x2c, 0xb1, 0xc1, 0x25, 0xf2, 0x20, 0xf7, 0x6b, 0x74, 0x6a, 0x9c, 0x55, 0xd2, 0x0c,
1269 0xf4, 0x12, 0xea, 0x22, 0x91, 0xb0, 0x53, 0xe9, 0x96, 0x0f, 0x9a, 0x47, 0xed, 0xc3, 0xb8, 0xce,
1270 0x02, 0x26, 0x29, 0x9f, 0xc9, 0x8a, 0x6a, 0x85, 0x9d, 0x6a, 0x4e, 0x56, 0xc0, 0x24, 0xe5, 0xcb,
1271 0xbf, 0xb3, 0x3c, 0xf1, 0xf8, 0x1f, 0xcb, 0x73, 0x1f, 0x1a, 0x86, 0xef, 0xb1, 0x58, 0xb4, 0x7e,
1272 0xa7, 0xc2, 0xdd, 0x2f, 0x01, 0xc6, 0x7d, 0x7f, 0xa7, 0x4c, 0xa7, 0x01, 0x0d, 0xc3, 0x4e, 0x3d,
1273 0xf6, 0x90, 0x02, 0x68, 0x17, 0xaa, 0x4c, 0x0e, 0xfb, 0x9d, 0x06, 0x57, 0x14, 0x14, 0xcb, 0x3f,
1274 0xa4, 0xc1, 0xad, 0x33, 0xa1, 0x61, 0x07, 0x72, 0xf9, 0x9b, 0x31, 0x4c, 0x52, 0xbe, 0xfc, 0x5b,
1275 0x09, 0x6a, 0x02, 0x45, 0x08, 0x36, 0xb0, 0x3d, 0xa3, 0xbc, 0x0a, 0x0d, 0xc2, 0xcf, 0xf9, 0x08,
1276 0x4a, 0xf7, 0x23, 0x78, 0x0c, 0x15, 0xdd, 0x5b, 0x98, 0x9e, 0xc8, 0x3e, 0x26, 0x98, 0x1d, 0x73,
1277 0x64, 0x5f, 0xf3, 0x84, 0x2b, 0x84, 0x9f, 0x19, 0xd6, 0x63, 0x58, 0x9c, 0x22, 0x3f, 0xa3, 0x7f,
1278 0x03, 0x60, 0x4a, 0xa7, 0xa1, 0x6a, 0xcf, 0x7d, 0xb7, 0x53, 0xed, 0x16, 0x0f, 0xea, 0x24, 0x83,
1279 0x30, 0xdf, 0x9c, 0xea, 0xdf, 0x4c, 0xe6, 0xbc, 0x15, 0xea, 0x64, 0x09, 0xa4, 0x5c, 0xed, 0x7a,
1280 0x36, 0xe7, 0xb5, 0x49, 0xb8, 0x0c, 0x40, 0x1d, 0xa8, 0x0d, 0xe8, 0x8c, 0x15, 0x44, 0x14, 0x27,
1281 0x21, 0x99, 0x57, 0x6e, 0x3e, 0xbe, 0x14, 0xe0, 0x81, 0x67, 0x10, 0x66, 0x97, 0xd9, 0x8f, 0xd9,
1282 0xcd, 0x38, 0xe3, 0x14, 0x58, 0xbd, 0xd5, 0xcd, 0x2f, 0xdc, 0xaa, 0x36, 0x38, 0x37, 0x62, 0x89,
1283 0x56, 0x6c, 0x23, 0x05, 0x64, 0x1b, 0x1e, 0xeb, 0x78, 0x3c, 0x0a, 0xec, 0xab, 0x2b, 0x67, 0x62,
1284 0x4e, 0x6e, 0xe8, 0x74, 0xe1, 0xd2, 0x20, 0x44, 0x1a, 0x6c, 0x45, 0x0c, 0x5c, 0x42, 0xfc, 0x2a,
1285 0x9a, 0x47, 0xcf, 0x0e, 0x73, 0x33, 0x61, 0x45, 0x93, 0xdc, 0xd7, 0x93, 0x0f, 0x60, 0x43, 0xc7,
1286 0xe3, 0x10, 0x75, 0xa1, 0xe2, 0x44, 0x74, 0xc6, 0x0c, 0xb1, 0x3e, 0x00, 0xd1, 0x07, 0x3a, 0x1e,
1287 0x93, 0x98, 0x21, 0x7f, 0x05, 0x75, 0x71, 0xff, 0x21, 0x7a, 0x9e, 0x97, 0xbe, 0xdf, 0x35, 0xa9,
1288 0x06, 0x30, 0x7d, 0xfa, 0x69, 0x41, 0xc3, 0x68, 0xe5, 0x43, 0x29, 0xae, 0x7e, 0x28, 0xf2, 0x4b,
1289 0x00, 0x43, 0xc7, 0x89, 0x46, 0xa6, 0xe5, 0xa7, 0x5c, 0xbc, 0xb5, 0x6c, 0xf9, 0xa9, 0xfc, 0x4b,
1290 0x19, 0x1a, 0x8a, 0x6b, 0x07, 0xb3, 0xd1, 0xe7, 0x39, 0x95, 0x7f, 0x2e, 0x43, 0x85, 0x1d, 0x42,
1291 0x54, 0x83, 0xf2, 0x50, 0x37, 0xa5, 0x02, 0x6a, 0x03, 0xf4, 0x3f, 0x6a, 0x78, 0x60, 0x0d, 0x14,
1292 0xd3, 0x90, 0x8a, 0xa8, 0x05, 0x0d, 0x1d, 0x8f, 0x2d, 0x65, 0xa8, 0x90, 0x73, 0xa9, 0x84, 0x9e,
1293 0xc0, 0x23, 0x46, 0x9a, 0x23, 0x85, 0x8c, 0xc6, 0x86, 0x75, 0xaa, 0x68, 0xc3, 0x31, 0x51, 0xa5,
1294 0x32, 0xda, 0x05, 0xc4, 0x19, 0xda, 0x00, 0x2b, 0x43, 0xab, 0xaf, 0x0e, 0x88, 0xd2, 0x57, 0xa5,
1295 0x8d, 0x44, 0xa1, 0x4f, 0xb4, 0xd3, 0x91, 0xa5, 0x9f, 0x5a, 0x1f, 0x34, 0xdc, 0xd7, 0x3f, 0x48,
1296 0x15, 0xb4, 0x0f, 0x1d, 0xc6, 0x18, 0xea, 0xa6, 0xc9, 0x70, 0xfd, 0xbc, 0xa7, 0x59, 0xbd, 0xf7,
1297 0x0a, 0xc6, 0xea, 0x50, 0xaa, 0xa6, 0x7e, 0xb8, 0x39, 0x33, 0xf5, 0x53, 0x43, 0x2f, 0xe0, 0xbf,
1298 0x8c, 0x31, 0x22, 0x0a, 0x36, 0xcf, 0x35, 0xd3, 0xd4, 0x74, 0x6c, 0x69, 0x78, 0xa4, 0x92, 0x53,
1299 0x95, 0xa8, 0xb8, 0xa7, 0x5a, 0x1f, 0x14, 0x82, 0x35, 0x3c, 0x90, 0xea, 0x68, 0x0f, 0x76, 0x79,
1300 0xe8, 0xbd, 0x91, 0x76, 0xa1, 0x8c, 0x98, 0x60, 0x62, 0xa6, 0x81, 0x3a, 0xbc, 0x49, 0x2c, 0x83,
1301 0xe8, 0x3d, 0xd5, 0x34, 0x59, 0xbe, 0x2a, 0x21, 0x3a, 0x91, 0x00, 0x75, 0x61, 0x3f, 0x1b, 0xd7,
1302 0x99, 0xfa, 0xd1, 0x32, 0x3f, 0xe2, 0x5e, 0xaa, 0xdb, 0x44, 0x3b, 0xb0, 0xcd, 0x24, 0xb4, 0xd1,
1303 0xd8, 0x32, 0x74, 0xcc, 0x6a, 0x31, 0x32, 0xa5, 0x4d, 0xb4, 0x0d, 0xad, 0xb4, 0x52, 0x4c, 0x5d,
1304 0x6a, 0xdd, 0x87, 0x4e, 0xa4, 0x76, 0x92, 0x58, 0x02, 0x19, 0x3d, 0x8b, 0x65, 0x21, 0x6d, 0x25,
1305 0xf5, 0xc8, 0x31, 0x7a, 0x22, 0x2a, 0x09, 0x21, 0x68, 0x67, 0xb9, 0xa7, 0x9a, 0xb4, 0x8d, 0x1e,
1306 0xc1, 0x56, 0x16, 0x53, 0xce, 0x35, 0x09, 0xc9, 0x6f, 0xa1, 0xcd, 0xef, 0xd7, 0xb0, 0x03, 0x7b,
1307 0x46, 0x23, 0x1a, 0x20, 0x09, 0xca, 0x67, 0xf4, 0xb3, 0xe8, 0x1c, 0x76, 0x64, 0x73, 0xe5, 0xc2,
1308 0x76, 0x17, 0xc9, 0x5e, 0x8a, 0x09, 0xf9, 0xc7, 0x22, 0xb7, 0xc7, 0xb5, 0x33, 0xcd, 0x94, 0x76,
1309 0x8b, 0xb0, 0xb0, 0x04, 0x1e, 0x34, 0xc5, 0x77, 0xa1, 0xca, 0x3e, 0xcb, 0x45, 0x28, 0x86, 0x98,
1310 0xa0, 0xd0, 0x37, 0x00, 0x69, 0x88, 0x61, 0x67, 0x83, 0x7f, 0x11, 0x3b, 0xe2, 0x8b, 0xc8, 0x27,
1311 0x40, 0x32, 0x82, 0xf2, 0x27, 0xd8, 0xd2, 0x87, 0xa3, 0x5c, 0x8c, 0x5d, 0x68, 0xf2, 0xf1, 0x70,
1312 0x65, 0x4f, 0xa8, 0x58, 0x32, 0x2d, 0x92, 0x85, 0xd2, 0xa9, 0xc2, 0x48, 0x9e, 0x49, 0x29, 0x33,
1313 0x55, 0x12, 0xf0, 0x4b, 0x91, 0xca, 0x3f, 0x14, 0xa1, 0x75, 0x41, 0x83, 0xd0, 0xf1, 0x3d, 0x91,
1314 0x53, 0x07, 0x6a, 0xb7, 0x31, 0x20, 0x6a, 0x92, 0x90, 0xac, 0x5e, 0x97, 0x0b, 0xc7, 0x9d, 0x8e,
1315 0x9c, 0x59, 0xba, 0xf5, 0x53, 0x80, 0xcd, 0xc6, 0x89, 0x3f, 0x9b, 0x39, 0xd1, 0x7b, 0x3b, 0xbc,
1316 0x11, 0x5e, 0x32, 0x08, 0xd3, 0xbe, 0x76, 0x22, 0x11, 0x44, 0xbc, 0xcf, 0x96, 0x80, 0xfc, 0x16,
1317 0xea, 0x43, 0xff, 0x7a, 0x48, 0x6f, 0xa9, 0xcb, 0x6e, 0xd0, 0x65, 0x07, 0xe1, 0x3f, 0x26, 0x58,
1318 0x06, 0x13, 0xdb, 0x75, 0xc5, 0x4d, 0xd4, 0x89, 0xa0, 0x64, 0x15, 0xea, 0x84, 0x86, 0x73, 0xdf,
1319 0x0b, 0x29, 0x7a, 0x06, 0xcd, 0x90, 0xdb, 0xb3, 0x26, 0xfe, 0x94, 0x8a, 0x95, 0x0c, 0x31, 0xd4,
1320 0xf3, 0xa7, 0x94, 0x25, 0x37, 0xa3, 0x61, 0x68, 0x5f, 0x27, 0x09, 0x24, 0xa4, 0x1c, 0x42, 0x93,
1321 0x0d, 0xff, 0xa4, 0xee, 0x2f, 0xa0, 0xaa, 0x7b, 0x0b, 0x42, 0x3f, 0x89, 0x31, 0xba, 0x9d, 0x99,
1322 0x7e, 0xb1, 0x08, 0x11, 0x02, 0xe8, 0x1d, 0x6c, 0x9a, 0x8b, 0x4b, 0x65, 0x12, 0x39, 0xbe, 0x77,
1323 0x61, 0xbb, 0xdc, 0x70, 0x3b, 0xbd, 0xee, 0x94, 0xc5, 0x47, 0x11, 0xc9, 0x89, 0xca, 0x67, 0x50,
1324 0x39, 0x75, 0xfd, 0xbb, 0x10, 0xfd, 0x0b, 0xe0, 0xca, 0xf5, 0xef, 0xac, 0x89, 0xbf, 0xf0, 0xa2,
1325 0x64, 0xb0, 0x31, 0xa4, 0xc7, 0x00, 0xf4, 0x1f, 0xa8, 0x30, 0x82, 0x6d, 0x51, 0xd6, 0x4a, 0xad,
1326 0xc3, 0xe4, 0x11, 0xc8, 0xb4, 0x49, 0xcc, 0x93, 0x6b, 0x50, 0x51, 0x67, 0xf3, 0xe8, 0xf3, 0xcb,
1327 0x37, 0xd0, 0xce, 0x7b, 0x45, 0x75, 0xd8, 0xf8, 0x5e, 0xd7, 0xb0, 0x54, 0x40, 0x0d, 0xa8, 0x0c,
1328 0x55, 0xe5, 0x42, 0x95, 0x8a, 0x08, 0xa0, 0xca, 0xc0, 0x8b, 0x63, 0xa9, 0x74, 0xf4, 0x53, 0x03,
1329 0x2a, 0x27, 0x27, 0xa6, 0x33, 0x43, 0xaf, 0xa1, 0x26, 0xfa, 0x01, 0x6d, 0x8a, 0x14, 0xb8, 0xd5,
1330 0xbd, 0xc7, 0x82, 0xca, 0x75, 0x8b, 0x5c, 0x40, 0x6f, 0xa0, 0x69, 0xd2, 0x28, 0xbd, 0xbc, 0x2d,
1331 0x21, 0x96, 0x00, 0x7b, 0xf7, 0x01, 0xb9, 0x80, 0x9e, 0x43, 0x75, 0x40, 0x23, 0xf6, 0x44, 0xcc,
1332 0xbb, 0x48, 0x57, 0x8c, 0x1b, 0xc9, 0x05, 0xf4, 0x0a, 0xc0, 0xf0, 0xef, 0x68, 0xe0, 0x7b, 0xab,
1333 0x92, 0x89, 0xd1, 0xe4, 0xe6, 0xe5, 0x02, 0x3a, 0x84, 0xa6, 0x79, 0xb3, 0x88, 0xa6, 0xfe, 0xdd,
1334 0xc3, 0xe4, 0xff, 0x0f, 0x0d, 0x42, 0x2f, 0x7d, 0x3f, 0x7a, 0x90, 0xf4, 0x8b, 0x38, 0x64, 0x3c,
1335 0x46, 0xab, 0x9d, 0xb0, 0x97, 0x59, 0x8d, 0x72, 0x01, 0xfd, 0x8f, 0x3d, 0x1f, 0x22, 0xbe, 0x42,
1336 0xf3, 0x66, 0x9b, 0x4b, 0xb1, 0x30, 0x0e, 0x78, 0x40, 0xa3, 0x74, 0x81, 0xae, 0x0f, 0x21, 0x61,
1337 0xcb, 0x05, 0xf4, 0x2d, 0xb4, 0x99, 0x5d, 0x6f, 0x91, 0xaa, 0xac, 0x09, 0x65, 0x8d, 0xde, 0x71,
1338 0xa6, 0x30, 0xeb, 0xe3, 0x5f, 0x93, 0xef, 0x11, 0x6c, 0x25, 0x4a, 0x8a, 0xeb, 0xae, 0x49, 0x66,
1339 0x8d, 0xce, 0x3b, 0xd8, 0xce, 0x38, 0x0a, 0x75, 0xcf, 0xd0, 0x71, 0xea, 0x6e, 0xb9, 0xc4, 0xd7,
1340 0xbb, 0x4b, 0xef, 0xfa, 0xc1, 0x21, 0xbe, 0x81, 0xb6, 0xd0, 0x79, 0x70, 0x84, 0x6f, 0x41, 0x5a,
1341 0xba, 0xf9, 0x4b, 0x01, 0x7e, 0x0d, 0x9b, 0x84, 0x86, 0x91, 0x1d, 0x44, 0xf1, 0xfb, 0xf2, 0x61,
1342 0x21, 0x1e, 0x43, 0x53, 0x68, 0xf1, 0x67, 0xe7, 0xc3, 0x94, 0x4e, 0x60, 0xc7, 0xe4, 0xf7, 0xcc,
1343 0x17, 0x81, 0xe6, 0x4d, 0x9d, 0x89, 0xcd, 0x3e, 0x65, 0xb4, 0xbb, 0x54, 0xcf, 0xee, 0x88, 0x3f,
1344 0xb1, 0xe1, 0x46, 0x5f, 0xb4, 0x91, 0xdf, 0x33, 0xeb, 0x6c, 0xbc, 0x82, 0xfa, 0x80, 0x46, 0xf1,
1345 0x7c, 0x5a, 0x13, 0x79, 0x52, 0x6c, 0x2e, 0xc0, 0x6b, 0xbb, 0xd5, 0xbb, 0xb1, 0xbd, 0x6b, 0xca,
1346 0xc6, 0x68, 0xfc, 0x94, 0x45, 0x42, 0x24, 0x33, 0x58, 0xd7, 0x39, 0x3a, 0x83, 0x27, 0x71, 0x63,
1347 0xaf, 0x3e, 0x6b, 0xd7, 0xf8, 0x7d, 0xba, 0x84, 0x56, 0xe4, 0xe5, 0xc2, 0x65, 0x95, 0xff, 0xeb,
1348 0x3d, 0xfe, 0x23, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x86, 0x90, 0x8d, 0x54, 0x0f, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001349}
1350
1351// Reference imports to suppress errors if they are not otherwise used.
1352var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001353var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001354
1355// This is a compile-time assertion to ensure that this generated file
1356// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001357const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001358
1359// BBSimClient is the client API for BBSim service.
1360//
1361// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1362type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001363 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001364 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001365 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301366 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001367 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001368 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001369 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001370 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001371 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001372 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001373 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001374 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001375 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001376 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001377 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301378 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001379 // Get all the Services
1380 GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error)
1381 // Get all the Services of an ONU by serial number
1382 GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001383 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001384 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001385 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301386 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001387 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301388 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001389 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001390 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001391 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301392 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001393 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301394 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001395 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001396 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001397 // Resatrt DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001398 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001399 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301400 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001401 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301402 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001403 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301404 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001405 // Chnage IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001406 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001407 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301408 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001409}
1410
1411type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04001412 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001413}
1414
Kent Hagerman60d62302020-03-10 17:02:36 -04001415func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001416 return &bBSimClient{cc}
1417}
1418
1419func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1420 out := new(VersionNumber)
1421 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1422 if err != nil {
1423 return nil, err
1424 }
1425 return out, nil
1426}
1427
Pragya Aryabd731ec2020-02-11 16:38:17 +05301428func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1429 out := new(LogLevel)
1430 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1431 if err != nil {
1432 return nil, err
1433 }
1434 return out, nil
1435}
1436
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001437func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1438 out := new(Olt)
1439 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1440 if err != nil {
1441 return nil, err
1442 }
1443 return out, nil
1444}
1445
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001446func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1447 out := new(Response)
1448 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1449 if err != nil {
1450 return nil, err
1451 }
1452 return out, nil
1453}
1454
1455func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1456 out := new(Response)
1457 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1458 if err != nil {
1459 return nil, err
1460 }
1461 return out, nil
1462}
1463
1464func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1465 out := new(Response)
1466 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1467 if err != nil {
1468 return nil, err
1469 }
1470 return out, nil
1471}
1472
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001473func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
1474 out := new(ONU)
1475 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
1476 if err != nil {
1477 return nil, err
1478 }
1479 return out, nil
1480}
1481
Pragya Aryabd731ec2020-02-11 16:38:17 +05301482func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
1483 out := new(ONUs)
1484 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001485 if err != nil {
1486 return nil, err
1487 }
1488 return out, nil
1489}
1490
Matteo Scandolo4a036262020-08-17 15:56:13 -07001491func (c *bBSimClient) GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error) {
1492 out := new(Services)
1493 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
1494 if err != nil {
1495 return nil, err
1496 }
1497 return out, nil
1498}
1499
1500func (c *bBSimClient) GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error) {
1501 out := new(Services)
1502 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuServices", in, out, opts...)
1503 if err != nil {
1504 return nil, err
1505 }
1506 return out, nil
1507}
1508
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001509func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1510 out := new(Response)
1511 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
1512 if err != nil {
1513 return nil, err
1514 }
1515 return out, nil
1516}
1517
Pragya Aryabd731ec2020-02-11 16:38:17 +05301518func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1519 out := new(Response)
1520 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
1521 if err != nil {
1522 return nil, err
1523 }
1524 return out, nil
1525}
1526
1527func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1528 out := new(Response)
1529 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
1530 if err != nil {
1531 return nil, err
1532 }
1533 return out, nil
1534}
1535
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001536func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1537 out := new(Response)
1538 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
1539 if err != nil {
1540 return nil, err
1541 }
1542 return out, nil
1543}
1544
Pragya Aryabd731ec2020-02-11 16:38:17 +05301545func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1546 out := new(Response)
1547 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
1548 if err != nil {
1549 return nil, err
1550 }
1551 return out, nil
1552}
1553
1554func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1555 out := new(Response)
1556 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
1557 if err != nil {
1558 return nil, err
1559 }
1560 return out, nil
1561}
1562
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001563func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1564 out := new(Response)
1565 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
1566 if err != nil {
1567 return nil, err
1568 }
1569 return out, nil
1570}
1571
1572func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1573 out := new(Response)
1574 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
1575 if err != nil {
1576 return nil, err
1577 }
1578 return out, nil
1579}
1580
Anand S Katti86552f92020-03-03 21:56:32 +05301581func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08001582 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05301583 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
1584 if err != nil {
1585 return nil, err
1586 }
1587 return out, nil
1588}
1589
1590func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
1591 out := new(Response)
1592 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08001593 if err != nil {
1594 return nil, err
1595 }
1596 return out, nil
1597}
1598
Pragya Arya8bdb4532020-03-02 17:08:09 +05301599func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
1600 out := new(Flows)
1601 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
1602 if err != nil {
1603 return nil, err
1604 }
1605 return out, nil
1606}
1607
Arjun E K57a7fcb2020-01-30 06:44:45 +00001608func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
1609 out := new(Response)
1610 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
1611 if err != nil {
1612 return nil, err
1613 }
1614 return out, nil
1615}
1616
Anand S Katti09541352020-01-29 15:54:01 +05301617func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
1618 out := new(ONUTrafficSchedulers)
1619 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
1620 if err != nil {
1621 return nil, err
1622 }
1623 return out, nil
1624}
1625
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001626// BBSimServer is the server API for BBSim service.
1627type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001628 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001629 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001630 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301631 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001632 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001633 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001634 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001635 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001636 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001637 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001638 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001639 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001640 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001641 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001642 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301643 GetONUs(context.Context, *Empty) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001644 // Get all the Services
1645 GetServices(context.Context, *Empty) (*Services, error)
1646 // Get all the Services of an ONU by serial number
1647 GetOnuServices(context.Context, *ONURequest) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001648 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001649 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001650 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301651 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001652 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301653 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001654 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001655 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001656 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301657 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001658 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301659 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001660 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001661 RestartEapol(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001662 // Resatrt DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001663 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001664 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301665 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001666 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301667 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001668 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301669 GetFlows(context.Context, *ONURequest) (*Flows, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001670 // Chnage IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001671 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001672 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301673 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001674}
1675
Pragya Aryabd731ec2020-02-11 16:38:17 +05301676// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
1677type UnimplementedBBSimServer struct {
1678}
1679
1680func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
1681 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
1682}
1683func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
1684 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
1685}
1686func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
1687 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
1688}
1689func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
1690 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
1691}
1692func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
1693 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
1694}
1695func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
1696 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
1697}
1698func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
1699 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
1700}
1701func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
1702 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
1703}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001704func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *Empty) (*Services, error) {
1705 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
1706}
1707func (*UnimplementedBBSimServer) GetOnuServices(ctx context.Context, req *ONURequest) (*Services, error) {
1708 return nil, status.Errorf(codes.Unimplemented, "method GetOnuServices not implemented")
1709}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301710func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
1711 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
1712}
1713func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1714 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
1715}
1716func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1717 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
1718}
1719func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
1720 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
1721}
1722func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
1723 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
1724}
1725func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
1726 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
1727}
1728func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
1729 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
1730}
1731func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
1732 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
1733}
1734func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
1735 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
1736}
1737func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
1738 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
1739}
1740func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
1741 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
1742}
1743func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
1744 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
1745}
1746func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
1747 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
1748}
1749
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001750func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
1751 s.RegisterService(&_BBSim_serviceDesc, srv)
1752}
1753
1754func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1755 in := new(Empty)
1756 if err := dec(in); err != nil {
1757 return nil, err
1758 }
1759 if interceptor == nil {
1760 return srv.(BBSimServer).Version(ctx, in)
1761 }
1762 info := &grpc.UnaryServerInfo{
1763 Server: srv,
1764 FullMethod: "/bbsim.BBSim/Version",
1765 }
1766 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1767 return srv.(BBSimServer).Version(ctx, req.(*Empty))
1768 }
1769 return interceptor(ctx, in, info, handler)
1770}
1771
Pragya Aryabd731ec2020-02-11 16:38:17 +05301772func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1773 in := new(LogLevel)
1774 if err := dec(in); err != nil {
1775 return nil, err
1776 }
1777 if interceptor == nil {
1778 return srv.(BBSimServer).SetLogLevel(ctx, in)
1779 }
1780 info := &grpc.UnaryServerInfo{
1781 Server: srv,
1782 FullMethod: "/bbsim.BBSim/SetLogLevel",
1783 }
1784 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1785 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
1786 }
1787 return interceptor(ctx, in, info, handler)
1788}
1789
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001790func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1791 in := new(Empty)
1792 if err := dec(in); err != nil {
1793 return nil, err
1794 }
1795 if interceptor == nil {
1796 return srv.(BBSimServer).GetOlt(ctx, in)
1797 }
1798 info := &grpc.UnaryServerInfo{
1799 Server: srv,
1800 FullMethod: "/bbsim.BBSim/GetOlt",
1801 }
1802 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1803 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
1804 }
1805 return interceptor(ctx, in, info, handler)
1806}
1807
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001808func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1809 in := new(Empty)
1810 if err := dec(in); err != nil {
1811 return nil, err
1812 }
1813 if interceptor == nil {
1814 return srv.(BBSimServer).PoweronOlt(ctx, in)
1815 }
1816 info := &grpc.UnaryServerInfo{
1817 Server: srv,
1818 FullMethod: "/bbsim.BBSim/PoweronOlt",
1819 }
1820 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1821 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
1822 }
1823 return interceptor(ctx, in, info, handler)
1824}
1825
1826func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1827 in := new(Empty)
1828 if err := dec(in); err != nil {
1829 return nil, err
1830 }
1831 if interceptor == nil {
1832 return srv.(BBSimServer).ShutdownOlt(ctx, in)
1833 }
1834 info := &grpc.UnaryServerInfo{
1835 Server: srv,
1836 FullMethod: "/bbsim.BBSim/ShutdownOlt",
1837 }
1838 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1839 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
1840 }
1841 return interceptor(ctx, in, info, handler)
1842}
1843
1844func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1845 in := new(Empty)
1846 if err := dec(in); err != nil {
1847 return nil, err
1848 }
1849 if interceptor == nil {
1850 return srv.(BBSimServer).RebootOlt(ctx, in)
1851 }
1852 info := &grpc.UnaryServerInfo{
1853 Server: srv,
1854 FullMethod: "/bbsim.BBSim/RebootOlt",
1855 }
1856 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1857 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
1858 }
1859 return interceptor(ctx, in, info, handler)
1860}
1861
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001862func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1863 in := new(ONURequest)
1864 if err := dec(in); err != nil {
1865 return nil, err
1866 }
1867 if interceptor == nil {
1868 return srv.(BBSimServer).GetONU(ctx, in)
1869 }
1870 info := &grpc.UnaryServerInfo{
1871 Server: srv,
1872 FullMethod: "/bbsim.BBSim/GetONU",
1873 }
1874 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1875 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
1876 }
1877 return interceptor(ctx, in, info, handler)
1878}
1879
Pragya Aryabd731ec2020-02-11 16:38:17 +05301880func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1881 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001882 if err := dec(in); err != nil {
1883 return nil, err
1884 }
1885 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301886 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001887 }
1888 info := &grpc.UnaryServerInfo{
1889 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05301890 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001891 }
1892 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05301893 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001894 }
1895 return interceptor(ctx, in, info, handler)
1896}
1897
Matteo Scandolo4a036262020-08-17 15:56:13 -07001898func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1899 in := new(Empty)
1900 if err := dec(in); err != nil {
1901 return nil, err
1902 }
1903 if interceptor == nil {
1904 return srv.(BBSimServer).GetServices(ctx, in)
1905 }
1906 info := &grpc.UnaryServerInfo{
1907 Server: srv,
1908 FullMethod: "/bbsim.BBSim/GetServices",
1909 }
1910 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1911 return srv.(BBSimServer).GetServices(ctx, req.(*Empty))
1912 }
1913 return interceptor(ctx, in, info, handler)
1914}
1915
1916func _BBSim_GetOnuServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1917 in := new(ONURequest)
1918 if err := dec(in); err != nil {
1919 return nil, err
1920 }
1921 if interceptor == nil {
1922 return srv.(BBSimServer).GetOnuServices(ctx, in)
1923 }
1924 info := &grpc.UnaryServerInfo{
1925 Server: srv,
1926 FullMethod: "/bbsim.BBSim/GetOnuServices",
1927 }
1928 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1929 return srv.(BBSimServer).GetOnuServices(ctx, req.(*ONURequest))
1930 }
1931 return interceptor(ctx, in, info, handler)
1932}
1933
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001934func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1935 in := new(ONURequest)
1936 if err := dec(in); err != nil {
1937 return nil, err
1938 }
1939 if interceptor == nil {
1940 return srv.(BBSimServer).ShutdownONU(ctx, in)
1941 }
1942 info := &grpc.UnaryServerInfo{
1943 Server: srv,
1944 FullMethod: "/bbsim.BBSim/ShutdownONU",
1945 }
1946 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1947 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
1948 }
1949 return interceptor(ctx, in, info, handler)
1950}
1951
Pragya Aryabd731ec2020-02-11 16:38:17 +05301952func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1953 in := new(Empty)
1954 if err := dec(in); err != nil {
1955 return nil, err
1956 }
1957 if interceptor == nil {
1958 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
1959 }
1960 info := &grpc.UnaryServerInfo{
1961 Server: srv,
1962 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
1963 }
1964 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1965 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
1966 }
1967 return interceptor(ctx, in, info, handler)
1968}
1969
1970func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1971 in := new(PONRequest)
1972 if err := dec(in); err != nil {
1973 return nil, err
1974 }
1975 if interceptor == nil {
1976 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
1977 }
1978 info := &grpc.UnaryServerInfo{
1979 Server: srv,
1980 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
1981 }
1982 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1983 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
1984 }
1985 return interceptor(ctx, in, info, handler)
1986}
1987
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001988func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1989 in := new(ONURequest)
1990 if err := dec(in); err != nil {
1991 return nil, err
1992 }
1993 if interceptor == nil {
1994 return srv.(BBSimServer).PoweronONU(ctx, in)
1995 }
1996 info := &grpc.UnaryServerInfo{
1997 Server: srv,
1998 FullMethod: "/bbsim.BBSim/PoweronONU",
1999 }
2000 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2001 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2002 }
2003 return interceptor(ctx, in, info, handler)
2004}
2005
Pragya Aryabd731ec2020-02-11 16:38:17 +05302006func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2007 in := new(Empty)
2008 if err := dec(in); err != nil {
2009 return nil, err
2010 }
2011 if interceptor == nil {
2012 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2013 }
2014 info := &grpc.UnaryServerInfo{
2015 Server: srv,
2016 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2017 }
2018 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2019 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2020 }
2021 return interceptor(ctx, in, info, handler)
2022}
2023
2024func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2025 in := new(PONRequest)
2026 if err := dec(in); err != nil {
2027 return nil, err
2028 }
2029 if interceptor == nil {
2030 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2031 }
2032 info := &grpc.UnaryServerInfo{
2033 Server: srv,
2034 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2035 }
2036 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2037 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2038 }
2039 return interceptor(ctx, in, info, handler)
2040}
2041
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002042func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2043 in := new(ONURequest)
2044 if err := dec(in); err != nil {
2045 return nil, err
2046 }
2047 if interceptor == nil {
2048 return srv.(BBSimServer).RestartEapol(ctx, in)
2049 }
2050 info := &grpc.UnaryServerInfo{
2051 Server: srv,
2052 FullMethod: "/bbsim.BBSim/RestartEapol",
2053 }
2054 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2055 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
2056 }
2057 return interceptor(ctx, in, info, handler)
2058}
2059
2060func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2061 in := new(ONURequest)
2062 if err := dec(in); err != nil {
2063 return nil, err
2064 }
2065 if interceptor == nil {
2066 return srv.(BBSimServer).RestartDhcp(ctx, in)
2067 }
2068 info := &grpc.UnaryServerInfo{
2069 Server: srv,
2070 FullMethod: "/bbsim.BBSim/RestartDhcp",
2071 }
2072 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2073 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
2074 }
2075 return interceptor(ctx, in, info, handler)
2076}
2077
Anand S Katti86552f92020-03-03 21:56:32 +05302078func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2079 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002080 if err := dec(in); err != nil {
2081 return nil, err
2082 }
2083 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302084 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002085 }
2086 info := &grpc.UnaryServerInfo{
2087 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302088 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002089 }
2090 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302091 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2092 }
2093 return interceptor(ctx, in, info, handler)
2094}
2095
2096func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2097 in := new(OLTAlarmRequest)
2098 if err := dec(in); err != nil {
2099 return nil, err
2100 }
2101 if interceptor == nil {
2102 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2103 }
2104 info := &grpc.UnaryServerInfo{
2105 Server: srv,
2106 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2107 }
2108 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2109 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002110 }
2111 return interceptor(ctx, in, info, handler)
2112}
2113
Pragya Arya8bdb4532020-03-02 17:08:09 +05302114func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2115 in := new(ONURequest)
2116 if err := dec(in); err != nil {
2117 return nil, err
2118 }
2119 if interceptor == nil {
2120 return srv.(BBSimServer).GetFlows(ctx, in)
2121 }
2122 info := &grpc.UnaryServerInfo{
2123 Server: srv,
2124 FullMethod: "/bbsim.BBSim/GetFlows",
2125 }
2126 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2127 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2128 }
2129 return interceptor(ctx, in, info, handler)
2130}
2131
Arjun E K57a7fcb2020-01-30 06:44:45 +00002132func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2133 in := new(IgmpRequest)
2134 if err := dec(in); err != nil {
2135 return nil, err
2136 }
2137 if interceptor == nil {
2138 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2139 }
2140 info := &grpc.UnaryServerInfo{
2141 Server: srv,
2142 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2143 }
2144 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2145 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2146 }
2147 return interceptor(ctx, in, info, handler)
2148}
2149
Anand S Katti09541352020-01-29 15:54:01 +05302150func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2151 in := new(ONURequest)
2152 if err := dec(in); err != nil {
2153 return nil, err
2154 }
2155 if interceptor == nil {
2156 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2157 }
2158 info := &grpc.UnaryServerInfo{
2159 Server: srv,
2160 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2161 }
2162 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2163 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2164 }
2165 return interceptor(ctx, in, info, handler)
2166}
2167
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002168var _BBSim_serviceDesc = grpc.ServiceDesc{
2169 ServiceName: "bbsim.BBSim",
2170 HandlerType: (*BBSimServer)(nil),
2171 Methods: []grpc.MethodDesc{
2172 {
2173 MethodName: "Version",
2174 Handler: _BBSim_Version_Handler,
2175 },
2176 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302177 MethodName: "SetLogLevel",
2178 Handler: _BBSim_SetLogLevel_Handler,
2179 },
2180 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002181 MethodName: "GetOlt",
2182 Handler: _BBSim_GetOlt_Handler,
2183 },
2184 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002185 MethodName: "PoweronOlt",
2186 Handler: _BBSim_PoweronOlt_Handler,
2187 },
2188 {
2189 MethodName: "ShutdownOlt",
2190 Handler: _BBSim_ShutdownOlt_Handler,
2191 },
2192 {
2193 MethodName: "RebootOlt",
2194 Handler: _BBSim_RebootOlt_Handler,
2195 },
2196 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002197 MethodName: "GetONU",
2198 Handler: _BBSim_GetONU_Handler,
2199 },
2200 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302201 MethodName: "GetONUs",
2202 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002203 },
2204 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002205 MethodName: "GetServices",
2206 Handler: _BBSim_GetServices_Handler,
2207 },
2208 {
2209 MethodName: "GetOnuServices",
2210 Handler: _BBSim_GetOnuServices_Handler,
2211 },
2212 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002213 MethodName: "ShutdownONU",
2214 Handler: _BBSim_ShutdownONU_Handler,
2215 },
2216 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302217 MethodName: "ShutdownAllONUs",
2218 Handler: _BBSim_ShutdownAllONUs_Handler,
2219 },
2220 {
2221 MethodName: "ShutdownONUsOnPON",
2222 Handler: _BBSim_ShutdownONUsOnPON_Handler,
2223 },
2224 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002225 MethodName: "PoweronONU",
2226 Handler: _BBSim_PoweronONU_Handler,
2227 },
2228 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302229 MethodName: "PoweronAllONUs",
2230 Handler: _BBSim_PoweronAllONUs_Handler,
2231 },
2232 {
2233 MethodName: "PoweronONUsOnPON",
2234 Handler: _BBSim_PoweronONUsOnPON_Handler,
2235 },
2236 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002237 MethodName: "RestartEapol",
2238 Handler: _BBSim_RestartEapol_Handler,
2239 },
2240 {
2241 MethodName: "RestartDhcp",
2242 Handler: _BBSim_RestartDhcp_Handler,
2243 },
Scott Baker41724b82020-01-21 19:54:53 -08002244 {
Anand S Katti86552f92020-03-03 21:56:32 +05302245 MethodName: "SetOnuAlarmIndication",
2246 Handler: _BBSim_SetOnuAlarmIndication_Handler,
2247 },
2248 {
2249 MethodName: "SetOltAlarmIndication",
2250 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08002251 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00002252 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05302253 MethodName: "GetFlows",
2254 Handler: _BBSim_GetFlows_Handler,
2255 },
2256 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00002257 MethodName: "ChangeIgmpState",
2258 Handler: _BBSim_ChangeIgmpState_Handler,
2259 },
Anand S Katti09541352020-01-29 15:54:01 +05302260 {
2261 MethodName: "GetOnuTrafficSchedulers",
2262 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
2263 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002264 },
2265 Streams: []grpc.StreamDesc{},
2266 Metadata: "api/bbsim/bbsim.proto",
2267}