blob: 97f94558aef219bff01f86947c0eea10c7bff70f [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
Matteo Scandolo4b077aa2021-02-16 17:33:37 -080057type OltAllocatedResourceType_Type int32
58
59const (
60 OltAllocatedResourceType_UNKNOWN OltAllocatedResourceType_Type = 0
61 OltAllocatedResourceType_ALLOC_ID OltAllocatedResourceType_Type = 1
62 OltAllocatedResourceType_GEM_PORT OltAllocatedResourceType_Type = 2
63)
64
65var OltAllocatedResourceType_Type_name = map[int32]string{
66 0: "UNKNOWN",
67 1: "ALLOC_ID",
68 2: "GEM_PORT",
69}
70
71var OltAllocatedResourceType_Type_value = map[string]int32{
72 "UNKNOWN": 0,
73 "ALLOC_ID": 1,
74 "GEM_PORT": 2,
75}
76
77func (x OltAllocatedResourceType_Type) String() string {
78 return proto.EnumName(OltAllocatedResourceType_Type_name, int32(x))
79}
80
81func (OltAllocatedResourceType_Type) EnumDescriptor() ([]byte, []int) {
82 return fileDescriptor_ef7750073d18011b, []int{4, 0}
83}
84
Scott Baker41724b82020-01-21 19:54:53 -080085// These types correspond to the messages permitted in the oneof
86// in AlarmIndication in the openolt protos
87type AlarmType_Types int32
88
89const (
90 AlarmType_LOS AlarmType_Types = 0
91 AlarmType_DYING_GASP AlarmType_Types = 1
92 AlarmType_ONU_ALARM AlarmType_Types = 2
93 AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3
94 AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4
95 AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5
96 AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6
97 AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7
98 AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8
99 AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9
100 AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10
101 AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11
102 AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12
103 // These break out ONU_ALARM, which is a single message, but
104 // includes statuses for these six alarms.
105 AlarmType_ONU_ALARM_LOS AlarmType_Types = 13
106 AlarmType_ONU_ALARM_LOB AlarmType_Types = 14
107 AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15
108 AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16
109 AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17
110 AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18
111)
112
113var AlarmType_Types_name = map[int32]string{
114 0: "LOS",
115 1: "DYING_GASP",
116 2: "ONU_ALARM",
117 3: "ONU_STARTUP_FAILURE",
118 4: "ONU_SIGNAL_DEGRADE",
119 5: "ONU_DRIFT_OF_WINDOW",
120 6: "ONU_LOSS_OF_OMCI_CHANNEL",
121 7: "ONU_SIGNALS_FAILURE",
122 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING",
123 9: "ONU_ACTIVATION_FAILURE",
124 10: "ONU_PROCESSING_ERROR",
125 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE",
126 12: "ONU_ITU_PON_STATS",
127 13: "ONU_ALARM_LOS",
128 14: "ONU_ALARM_LOB",
129 15: "ONU_ALARM_LOPC_MISS",
130 16: "ONU_ALARM_LOPC_MIC_ERROR",
131 17: "ONU_ALARM_LOFI",
132 18: "ONU_ALARM_LOAMI",
133}
134
135var AlarmType_Types_value = map[string]int32{
136 "LOS": 0,
137 "DYING_GASP": 1,
138 "ONU_ALARM": 2,
139 "ONU_STARTUP_FAILURE": 3,
140 "ONU_SIGNAL_DEGRADE": 4,
141 "ONU_DRIFT_OF_WINDOW": 5,
142 "ONU_LOSS_OF_OMCI_CHANNEL": 6,
143 "ONU_SIGNALS_FAILURE": 7,
144 "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8,
145 "ONU_ACTIVATION_FAILURE": 9,
146 "ONU_PROCESSING_ERROR": 10,
147 "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11,
148 "ONU_ITU_PON_STATS": 12,
149 "ONU_ALARM_LOS": 13,
150 "ONU_ALARM_LOB": 14,
151 "ONU_ALARM_LOPC_MISS": 15,
152 "ONU_ALARM_LOPC_MIC_ERROR": 16,
153 "ONU_ALARM_LOFI": 17,
154 "ONU_ALARM_LOAMI": 18,
155}
156
157func (x AlarmType_Types) String() string {
158 return proto.EnumName(AlarmType_Types_name, int32(x))
159}
160
161func (AlarmType_Types) EnumDescriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700162 return fileDescriptor_ef7750073d18011b, []int{16, 0}
Scott Baker41724b82020-01-21 19:54:53 -0800163}
164
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700165type PONPort struct {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800166 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
167 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
168 InternalState string `protobuf:"bytes,3,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
169 PacketCount uint64 `protobuf:"varint,4,opt,name=PacketCount,proto3" json:"PacketCount,omitempty"`
170 // ONU ID are reported by VOLTHA in the ActivateOnu call
171 AllocatedOnuIds []*PonAllocatedResources `protobuf:"bytes,5,rep,name=AllocatedOnuIds,proto3" json:"AllocatedOnuIds,omitempty"`
172 // these are the stored resource IDs as reported via OMCI
173 AllocatedGemPorts []*PonAllocatedResources `protobuf:"bytes,6,rep,name=AllocatedGemPorts,proto3" json:"AllocatedGemPorts,omitempty"`
174 AllocatedAllocIds []*PonAllocatedResources `protobuf:"bytes,7,rep,name=AllocatedAllocIds,proto3" json:"AllocatedAllocIds,omitempty"`
175 XXX_NoUnkeyedLiteral struct{} `json:"-"`
176 XXX_unrecognized []byte `json:"-"`
177 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700178}
179
180func (m *PONPort) Reset() { *m = PONPort{} }
181func (m *PONPort) String() string { return proto.CompactTextString(m) }
182func (*PONPort) ProtoMessage() {}
183func (*PONPort) Descriptor() ([]byte, []int) {
184 return fileDescriptor_ef7750073d18011b, []int{0}
185}
186
187func (m *PONPort) XXX_Unmarshal(b []byte) error {
188 return xxx_messageInfo_PONPort.Unmarshal(m, b)
189}
190func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
191 return xxx_messageInfo_PONPort.Marshal(b, m, deterministic)
192}
193func (m *PONPort) XXX_Merge(src proto.Message) {
194 xxx_messageInfo_PONPort.Merge(m, src)
195}
196func (m *PONPort) XXX_Size() int {
197 return xxx_messageInfo_PONPort.Size(m)
198}
199func (m *PONPort) XXX_DiscardUnknown() {
200 xxx_messageInfo_PONPort.DiscardUnknown(m)
201}
202
203var xxx_messageInfo_PONPort proto.InternalMessageInfo
204
205func (m *PONPort) GetID() int32 {
206 if m != nil {
207 return m.ID
208 }
209 return 0
210}
211
212func (m *PONPort) GetOperState() string {
213 if m != nil {
214 return m.OperState
215 }
216 return ""
217}
218
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800219func (m *PONPort) GetInternalState() string {
220 if m != nil {
221 return m.InternalState
222 }
223 return ""
224}
225
226func (m *PONPort) GetPacketCount() uint64 {
227 if m != nil {
228 return m.PacketCount
229 }
230 return 0
231}
232
233func (m *PONPort) GetAllocatedOnuIds() []*PonAllocatedResources {
234 if m != nil {
235 return m.AllocatedOnuIds
236 }
237 return nil
238}
239
240func (m *PONPort) GetAllocatedGemPorts() []*PonAllocatedResources {
241 if m != nil {
242 return m.AllocatedGemPorts
243 }
244 return nil
245}
246
247func (m *PONPort) GetAllocatedAllocIds() []*PonAllocatedResources {
248 if m != nil {
249 return m.AllocatedAllocIds
250 }
251 return nil
252}
253
254type PonAllocatedResources struct {
255 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
256 Id int32 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"`
257 XXX_NoUnkeyedLiteral struct{} `json:"-"`
258 XXX_unrecognized []byte `json:"-"`
259 XXX_sizecache int32 `json:"-"`
260}
261
262func (m *PonAllocatedResources) Reset() { *m = PonAllocatedResources{} }
263func (m *PonAllocatedResources) String() string { return proto.CompactTextString(m) }
264func (*PonAllocatedResources) ProtoMessage() {}
265func (*PonAllocatedResources) Descriptor() ([]byte, []int) {
266 return fileDescriptor_ef7750073d18011b, []int{1}
267}
268
269func (m *PonAllocatedResources) XXX_Unmarshal(b []byte) error {
270 return xxx_messageInfo_PonAllocatedResources.Unmarshal(m, b)
271}
272func (m *PonAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
273 return xxx_messageInfo_PonAllocatedResources.Marshal(b, m, deterministic)
274}
275func (m *PonAllocatedResources) XXX_Merge(src proto.Message) {
276 xxx_messageInfo_PonAllocatedResources.Merge(m, src)
277}
278func (m *PonAllocatedResources) XXX_Size() int {
279 return xxx_messageInfo_PonAllocatedResources.Size(m)
280}
281func (m *PonAllocatedResources) XXX_DiscardUnknown() {
282 xxx_messageInfo_PonAllocatedResources.DiscardUnknown(m)
283}
284
285var xxx_messageInfo_PonAllocatedResources proto.InternalMessageInfo
286
287func (m *PonAllocatedResources) GetSerialNumber() string {
288 if m != nil {
289 return m.SerialNumber
290 }
291 return ""
292}
293
294func (m *PonAllocatedResources) GetId() int32 {
295 if m != nil {
296 return m.Id
297 }
298 return 0
299}
300
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700301type NNIPort struct {
302 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
303 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
304 XXX_NoUnkeyedLiteral struct{} `json:"-"`
305 XXX_unrecognized []byte `json:"-"`
306 XXX_sizecache int32 `json:"-"`
307}
308
309func (m *NNIPort) Reset() { *m = NNIPort{} }
310func (m *NNIPort) String() string { return proto.CompactTextString(m) }
311func (*NNIPort) ProtoMessage() {}
312func (*NNIPort) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800313 return fileDescriptor_ef7750073d18011b, []int{2}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700314}
315
316func (m *NNIPort) XXX_Unmarshal(b []byte) error {
317 return xxx_messageInfo_NNIPort.Unmarshal(m, b)
318}
319func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
320 return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic)
321}
322func (m *NNIPort) XXX_Merge(src proto.Message) {
323 xxx_messageInfo_NNIPort.Merge(m, src)
324}
325func (m *NNIPort) XXX_Size() int {
326 return xxx_messageInfo_NNIPort.Size(m)
327}
328func (m *NNIPort) XXX_DiscardUnknown() {
329 xxx_messageInfo_NNIPort.DiscardUnknown(m)
330}
331
332var xxx_messageInfo_NNIPort proto.InternalMessageInfo
333
334func (m *NNIPort) GetID() int32 {
335 if m != nil {
336 return m.ID
337 }
338 return 0
339}
340
341func (m *NNIPort) GetOperState() string {
342 if m != nil {
343 return m.OperState
344 }
345 return ""
346}
347
348type Olt struct {
349 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
350 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
351 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
352 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
rajeshf921f882020-03-06 18:24:28 +0530353 IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700354 NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"`
355 PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"`
356 XXX_NoUnkeyedLiteral struct{} `json:"-"`
357 XXX_unrecognized []byte `json:"-"`
358 XXX_sizecache int32 `json:"-"`
359}
360
361func (m *Olt) Reset() { *m = Olt{} }
362func (m *Olt) String() string { return proto.CompactTextString(m) }
363func (*Olt) ProtoMessage() {}
364func (*Olt) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800365 return fileDescriptor_ef7750073d18011b, []int{3}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700366}
367
368func (m *Olt) XXX_Unmarshal(b []byte) error {
369 return xxx_messageInfo_Olt.Unmarshal(m, b)
370}
371func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
372 return xxx_messageInfo_Olt.Marshal(b, m, deterministic)
373}
374func (m *Olt) XXX_Merge(src proto.Message) {
375 xxx_messageInfo_Olt.Merge(m, src)
376}
377func (m *Olt) XXX_Size() int {
378 return xxx_messageInfo_Olt.Size(m)
379}
380func (m *Olt) XXX_DiscardUnknown() {
381 xxx_messageInfo_Olt.DiscardUnknown(m)
382}
383
384var xxx_messageInfo_Olt proto.InternalMessageInfo
385
386func (m *Olt) GetID() int32 {
387 if m != nil {
388 return m.ID
389 }
390 return 0
391}
392
393func (m *Olt) GetSerialNumber() string {
394 if m != nil {
395 return m.SerialNumber
396 }
397 return ""
398}
399
400func (m *Olt) GetOperState() string {
401 if m != nil {
402 return m.OperState
403 }
404 return ""
405}
406
407func (m *Olt) GetInternalState() string {
408 if m != nil {
409 return m.InternalState
410 }
411 return ""
412}
413
rajeshf921f882020-03-06 18:24:28 +0530414func (m *Olt) GetIP() string {
415 if m != nil {
416 return m.IP
417 }
418 return ""
419}
420
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700421func (m *Olt) GetNNIPorts() []*NNIPort {
422 if m != nil {
423 return m.NNIPorts
424 }
425 return nil
426}
427
428func (m *Olt) GetPONPorts() []*PONPort {
429 if m != nil {
430 return m.PONPorts
431 }
432 return nil
433}
434
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800435type OltAllocatedResourceType struct {
436 Type OltAllocatedResourceType_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bbsim.OltAllocatedResourceType_Type" json:"type,omitempty"`
437 XXX_NoUnkeyedLiteral struct{} `json:"-"`
438 XXX_unrecognized []byte `json:"-"`
439 XXX_sizecache int32 `json:"-"`
440}
441
442func (m *OltAllocatedResourceType) Reset() { *m = OltAllocatedResourceType{} }
443func (m *OltAllocatedResourceType) String() string { return proto.CompactTextString(m) }
444func (*OltAllocatedResourceType) ProtoMessage() {}
445func (*OltAllocatedResourceType) Descriptor() ([]byte, []int) {
446 return fileDescriptor_ef7750073d18011b, []int{4}
447}
448
449func (m *OltAllocatedResourceType) XXX_Unmarshal(b []byte) error {
450 return xxx_messageInfo_OltAllocatedResourceType.Unmarshal(m, b)
451}
452func (m *OltAllocatedResourceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
453 return xxx_messageInfo_OltAllocatedResourceType.Marshal(b, m, deterministic)
454}
455func (m *OltAllocatedResourceType) XXX_Merge(src proto.Message) {
456 xxx_messageInfo_OltAllocatedResourceType.Merge(m, src)
457}
458func (m *OltAllocatedResourceType) XXX_Size() int {
459 return xxx_messageInfo_OltAllocatedResourceType.Size(m)
460}
461func (m *OltAllocatedResourceType) XXX_DiscardUnknown() {
462 xxx_messageInfo_OltAllocatedResourceType.DiscardUnknown(m)
463}
464
465var xxx_messageInfo_OltAllocatedResourceType proto.InternalMessageInfo
466
467func (m *OltAllocatedResourceType) GetType() OltAllocatedResourceType_Type {
468 if m != nil {
469 return m.Type
470 }
471 return OltAllocatedResourceType_UNKNOWN
472}
473
474type OltAllocatedResource struct {
475 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
476 PonPortId uint32 `protobuf:"varint,2,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
477 OnuId uint32 `protobuf:"varint,3,opt,name=OnuId,proto3" json:"OnuId,omitempty"`
478 PortNo uint32 `protobuf:"varint,4,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
479 ResourceId int32 `protobuf:"varint,5,opt,name=ResourceId,proto3" json:"ResourceId,omitempty"`
480 FlowId uint64 `protobuf:"varint,6,opt,name=FlowId,proto3" json:"FlowId,omitempty"`
481 XXX_NoUnkeyedLiteral struct{} `json:"-"`
482 XXX_unrecognized []byte `json:"-"`
483 XXX_sizecache int32 `json:"-"`
484}
485
486func (m *OltAllocatedResource) Reset() { *m = OltAllocatedResource{} }
487func (m *OltAllocatedResource) String() string { return proto.CompactTextString(m) }
488func (*OltAllocatedResource) ProtoMessage() {}
489func (*OltAllocatedResource) Descriptor() ([]byte, []int) {
490 return fileDescriptor_ef7750073d18011b, []int{5}
491}
492
493func (m *OltAllocatedResource) XXX_Unmarshal(b []byte) error {
494 return xxx_messageInfo_OltAllocatedResource.Unmarshal(m, b)
495}
496func (m *OltAllocatedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
497 return xxx_messageInfo_OltAllocatedResource.Marshal(b, m, deterministic)
498}
499func (m *OltAllocatedResource) XXX_Merge(src proto.Message) {
500 xxx_messageInfo_OltAllocatedResource.Merge(m, src)
501}
502func (m *OltAllocatedResource) XXX_Size() int {
503 return xxx_messageInfo_OltAllocatedResource.Size(m)
504}
505func (m *OltAllocatedResource) XXX_DiscardUnknown() {
506 xxx_messageInfo_OltAllocatedResource.DiscardUnknown(m)
507}
508
509var xxx_messageInfo_OltAllocatedResource proto.InternalMessageInfo
510
511func (m *OltAllocatedResource) GetType() string {
512 if m != nil {
513 return m.Type
514 }
515 return ""
516}
517
518func (m *OltAllocatedResource) GetPonPortId() uint32 {
519 if m != nil {
520 return m.PonPortId
521 }
522 return 0
523}
524
525func (m *OltAllocatedResource) GetOnuId() uint32 {
526 if m != nil {
527 return m.OnuId
528 }
529 return 0
530}
531
532func (m *OltAllocatedResource) GetPortNo() uint32 {
533 if m != nil {
534 return m.PortNo
535 }
536 return 0
537}
538
539func (m *OltAllocatedResource) GetResourceId() int32 {
540 if m != nil {
541 return m.ResourceId
542 }
543 return 0
544}
545
546func (m *OltAllocatedResource) GetFlowId() uint64 {
547 if m != nil {
548 return m.FlowId
549 }
550 return 0
551}
552
553type OltAllocatedResources struct {
554 Resources []*OltAllocatedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
555 XXX_NoUnkeyedLiteral struct{} `json:"-"`
556 XXX_unrecognized []byte `json:"-"`
557 XXX_sizecache int32 `json:"-"`
558}
559
560func (m *OltAllocatedResources) Reset() { *m = OltAllocatedResources{} }
561func (m *OltAllocatedResources) String() string { return proto.CompactTextString(m) }
562func (*OltAllocatedResources) ProtoMessage() {}
563func (*OltAllocatedResources) Descriptor() ([]byte, []int) {
564 return fileDescriptor_ef7750073d18011b, []int{6}
565}
566
567func (m *OltAllocatedResources) XXX_Unmarshal(b []byte) error {
568 return xxx_messageInfo_OltAllocatedResources.Unmarshal(m, b)
569}
570func (m *OltAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
571 return xxx_messageInfo_OltAllocatedResources.Marshal(b, m, deterministic)
572}
573func (m *OltAllocatedResources) XXX_Merge(src proto.Message) {
574 xxx_messageInfo_OltAllocatedResources.Merge(m, src)
575}
576func (m *OltAllocatedResources) XXX_Size() int {
577 return xxx_messageInfo_OltAllocatedResources.Size(m)
578}
579func (m *OltAllocatedResources) XXX_DiscardUnknown() {
580 xxx_messageInfo_OltAllocatedResources.DiscardUnknown(m)
581}
582
583var xxx_messageInfo_OltAllocatedResources proto.InternalMessageInfo
584
585func (m *OltAllocatedResources) GetResources() []*OltAllocatedResource {
586 if m != nil {
587 return m.Resources
588 }
589 return nil
590}
591
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700592type ONU struct {
Matteo Scandolocedde462021-03-09 17:37:16 -0800593 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
594 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
595 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
596 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
597 PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700598 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` // Deprecated: Do not use.
599 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"` // Deprecated: Do not use.
600 Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"` // Deprecated: Do not use.
Matteo Scandolocedde462021-03-09 17:37:16 -0800601 ImageSoftwareExpectedSections int32 `protobuf:"varint,11,opt,name=ImageSoftwareExpectedSections,proto3" json:"ImageSoftwareExpectedSections,omitempty"`
602 ImageSoftwareReceivedSections int32 `protobuf:"varint,12,opt,name=ImageSoftwareReceivedSections,proto3" json:"ImageSoftwareReceivedSections,omitempty"`
603 ActiveImageEntityId int32 `protobuf:"varint,13,opt,name=ActiveImageEntityId,proto3" json:"ActiveImageEntityId,omitempty"`
604 CommittedImageEntityId int32 `protobuf:"varint,14,opt,name=CommittedImageEntityId,proto3" json:"CommittedImageEntityId,omitempty"`
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700605 Unis []*UNI `protobuf:"bytes,15,rep,name=unis,proto3" json:"unis,omitempty"`
Matteo Scandolocedde462021-03-09 17:37:16 -0800606 XXX_NoUnkeyedLiteral struct{} `json:"-"`
607 XXX_unrecognized []byte `json:"-"`
608 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700609}
610
611func (m *ONU) Reset() { *m = ONU{} }
612func (m *ONU) String() string { return proto.CompactTextString(m) }
613func (*ONU) ProtoMessage() {}
614func (*ONU) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800615 return fileDescriptor_ef7750073d18011b, []int{7}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700616}
617
618func (m *ONU) XXX_Unmarshal(b []byte) error {
619 return xxx_messageInfo_ONU.Unmarshal(m, b)
620}
621func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
622 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
623}
624func (m *ONU) XXX_Merge(src proto.Message) {
625 xxx_messageInfo_ONU.Merge(m, src)
626}
627func (m *ONU) XXX_Size() int {
628 return xxx_messageInfo_ONU.Size(m)
629}
630func (m *ONU) XXX_DiscardUnknown() {
631 xxx_messageInfo_ONU.DiscardUnknown(m)
632}
633
634var xxx_messageInfo_ONU proto.InternalMessageInfo
635
636func (m *ONU) GetID() int32 {
637 if m != nil {
638 return m.ID
639 }
640 return 0
641}
642
643func (m *ONU) GetSerialNumber() string {
644 if m != nil {
645 return m.SerialNumber
646 }
647 return ""
648}
649
650func (m *ONU) GetOperState() string {
651 if m != nil {
652 return m.OperState
653 }
654 return ""
655}
656
657func (m *ONU) GetInternalState() string {
658 if m != nil {
659 return m.InternalState
660 }
661 return ""
662}
663
664func (m *ONU) GetPonPortID() int32 {
665 if m != nil {
666 return m.PonPortID
667 }
668 return 0
669}
670
Matteo Scandolo8a574812021-05-20 15:18:53 -0700671// Deprecated: Do not use.
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700672func (m *ONU) GetHwAddress() string {
673 if m != nil {
674 return m.HwAddress
675 }
676 return ""
677}
678
Matteo Scandolo8a574812021-05-20 15:18:53 -0700679// Deprecated: Do not use.
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700680func (m *ONU) GetPortNo() int32 {
681 if m != nil {
682 return m.PortNo
683 }
684 return 0
685}
686
Matteo Scandolo8a574812021-05-20 15:18:53 -0700687// Deprecated: Do not use.
Matteo Scandolo4a036262020-08-17 15:56:13 -0700688func (m *ONU) GetServices() []*Service {
689 if m != nil {
690 return m.Services
691 }
692 return nil
693}
694
Matteo Scandolocedde462021-03-09 17:37:16 -0800695func (m *ONU) GetImageSoftwareExpectedSections() int32 {
696 if m != nil {
697 return m.ImageSoftwareExpectedSections
698 }
699 return 0
700}
701
702func (m *ONU) GetImageSoftwareReceivedSections() int32 {
703 if m != nil {
704 return m.ImageSoftwareReceivedSections
705 }
706 return 0
707}
708
709func (m *ONU) GetActiveImageEntityId() int32 {
710 if m != nil {
711 return m.ActiveImageEntityId
712 }
713 return 0
714}
715
716func (m *ONU) GetCommittedImageEntityId() int32 {
717 if m != nil {
718 return m.CommittedImageEntityId
719 }
720 return 0
721}
722
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700723func (m *ONU) GetUnis() []*UNI {
724 if m != nil {
725 return m.Unis
726 }
727 return nil
728}
729
730type UNI struct {
Matteo Scandolo8a574812021-05-20 15:18:53 -0700731 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
732 OnuID int32 `protobuf:"varint,2,opt,name=OnuID,proto3" json:"OnuID,omitempty"`
733 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
734 MeID uint32 `protobuf:"varint,4,opt,name=MeID,proto3" json:"MeID,omitempty"`
735 OperState string `protobuf:"bytes,5,opt,name=OperState,proto3" json:"OperState,omitempty"`
736 PortNo int32 `protobuf:"varint,6,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
737 Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"`
738 XXX_NoUnkeyedLiteral struct{} `json:"-"`
739 XXX_unrecognized []byte `json:"-"`
740 XXX_sizecache int32 `json:"-"`
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700741}
742
743func (m *UNI) Reset() { *m = UNI{} }
744func (m *UNI) String() string { return proto.CompactTextString(m) }
745func (*UNI) ProtoMessage() {}
746func (*UNI) Descriptor() ([]byte, []int) {
747 return fileDescriptor_ef7750073d18011b, []int{8}
748}
749
750func (m *UNI) XXX_Unmarshal(b []byte) error {
751 return xxx_messageInfo_UNI.Unmarshal(m, b)
752}
753func (m *UNI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
754 return xxx_messageInfo_UNI.Marshal(b, m, deterministic)
755}
756func (m *UNI) XXX_Merge(src proto.Message) {
757 xxx_messageInfo_UNI.Merge(m, src)
758}
759func (m *UNI) XXX_Size() int {
760 return xxx_messageInfo_UNI.Size(m)
761}
762func (m *UNI) XXX_DiscardUnknown() {
763 xxx_messageInfo_UNI.DiscardUnknown(m)
764}
765
766var xxx_messageInfo_UNI proto.InternalMessageInfo
767
768func (m *UNI) GetID() int32 {
769 if m != nil {
770 return m.ID
771 }
772 return 0
773}
774
775func (m *UNI) GetOnuID() int32 {
776 if m != nil {
777 return m.OnuID
778 }
779 return 0
780}
781
782func (m *UNI) GetOnuSn() string {
783 if m != nil {
784 return m.OnuSn
785 }
786 return ""
787}
788
789func (m *UNI) GetMeID() uint32 {
790 if m != nil {
791 return m.MeID
792 }
793 return 0
794}
795
796func (m *UNI) GetOperState() string {
797 if m != nil {
798 return m.OperState
799 }
800 return ""
801}
802
Matteo Scandolo8a574812021-05-20 15:18:53 -0700803func (m *UNI) GetPortNo() int32 {
804 if m != nil {
805 return m.PortNo
806 }
807 return 0
808}
809
810func (m *UNI) GetServices() []*Service {
811 if m != nil {
812 return m.Services
813 }
814 return nil
815}
816
Matteo Scandolo4a036262020-08-17 15:56:13 -0700817type Service struct {
818 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
819 HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
820 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
821 STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"`
822 CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"`
823 NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"`
824 NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"`
825 NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"`
826 GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"`
827 EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"`
828 DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"`
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700829 InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
Matteo Scandolo618a6582020-09-09 12:21:29 -0700830 IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700831 UniId uint32 `protobuf:"varint,14,opt,name=UniId,proto3" json:"UniId,omitempty"`
Matteo Scandolo4a036262020-08-17 15:56:13 -0700832 XXX_NoUnkeyedLiteral struct{} `json:"-"`
833 XXX_unrecognized []byte `json:"-"`
834 XXX_sizecache int32 `json:"-"`
835}
836
837func (m *Service) Reset() { *m = Service{} }
838func (m *Service) String() string { return proto.CompactTextString(m) }
839func (*Service) ProtoMessage() {}
840func (*Service) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700841 return fileDescriptor_ef7750073d18011b, []int{9}
Matteo Scandolo4a036262020-08-17 15:56:13 -0700842}
843
844func (m *Service) XXX_Unmarshal(b []byte) error {
845 return xxx_messageInfo_Service.Unmarshal(m, b)
846}
847func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
848 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
849}
850func (m *Service) XXX_Merge(src proto.Message) {
851 xxx_messageInfo_Service.Merge(m, src)
852}
853func (m *Service) XXX_Size() int {
854 return xxx_messageInfo_Service.Size(m)
855}
856func (m *Service) XXX_DiscardUnknown() {
857 xxx_messageInfo_Service.DiscardUnknown(m)
858}
859
860var xxx_messageInfo_Service proto.InternalMessageInfo
861
862func (m *Service) GetName() string {
863 if m != nil {
864 return m.Name
865 }
866 return ""
867}
868
869func (m *Service) GetHwAddress() string {
870 if m != nil {
871 return m.HwAddress
872 }
873 return ""
874}
875
876func (m *Service) GetOnuSn() string {
877 if m != nil {
878 return m.OnuSn
879 }
880 return ""
881}
882
883func (m *Service) GetSTag() int32 {
884 if m != nil {
885 return m.STag
886 }
887 return 0
888}
889
890func (m *Service) GetCTag() int32 {
891 if m != nil {
892 return m.CTag
893 }
894 return 0
895}
896
897func (m *Service) GetNeedsEapol() bool {
898 if m != nil {
899 return m.NeedsEapol
900 }
901 return false
902}
903
904func (m *Service) GetNeedsDhcp() bool {
905 if m != nil {
906 return m.NeedsDhcp
907 }
908 return false
909}
910
911func (m *Service) GetNeedsIgmp() bool {
912 if m != nil {
913 return m.NeedsIgmp
914 }
915 return false
916}
917
918func (m *Service) GetGemPort() int32 {
919 if m != nil {
920 return m.GemPort
921 }
922 return 0
923}
924
925func (m *Service) GetEapolState() string {
926 if m != nil {
927 return m.EapolState
928 }
929 return ""
930}
931
932func (m *Service) GetDhcpState() string {
933 if m != nil {
934 return m.DhcpState
935 }
936 return ""
937}
938
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700939func (m *Service) GetInternalState() string {
940 if m != nil {
941 return m.InternalState
942 }
943 return ""
944}
945
Matteo Scandolo618a6582020-09-09 12:21:29 -0700946func (m *Service) GetIGMPState() string {
947 if m != nil {
948 return m.IGMPState
949 }
950 return ""
951}
952
Matteo Scandolo8a574812021-05-20 15:18:53 -0700953func (m *Service) GetUniId() uint32 {
954 if m != nil {
955 return m.UniId
956 }
957 return 0
958}
959
Anand S Katti09541352020-01-29 15:54:01 +0530960type ONUTrafficSchedulers struct {
961 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
962 XXX_NoUnkeyedLiteral struct{} `json:"-"`
963 XXX_unrecognized []byte `json:"-"`
964 XXX_sizecache int32 `json:"-"`
965}
966
967func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
968func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
969func (*ONUTrafficSchedulers) ProtoMessage() {}
970func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700971 return fileDescriptor_ef7750073d18011b, []int{10}
Anand S Katti09541352020-01-29 15:54:01 +0530972}
973
974func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
975 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
976}
977func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
978 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
979}
980func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
981 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
982}
983func (m *ONUTrafficSchedulers) XXX_Size() int {
984 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
985}
986func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
987 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
988}
989
990var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
991
992func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
993 if m != nil {
994 return m.TraffSchedulers
995 }
996 return nil
997}
998
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700999type ONUs struct {
1000 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1001 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1002 XXX_unrecognized []byte `json:"-"`
1003 XXX_sizecache int32 `json:"-"`
1004}
1005
1006func (m *ONUs) Reset() { *m = ONUs{} }
1007func (m *ONUs) String() string { return proto.CompactTextString(m) }
1008func (*ONUs) ProtoMessage() {}
1009func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001010 return fileDescriptor_ef7750073d18011b, []int{11}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001011}
1012
1013func (m *ONUs) XXX_Unmarshal(b []byte) error {
1014 return xxx_messageInfo_ONUs.Unmarshal(m, b)
1015}
1016func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1017 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
1018}
1019func (m *ONUs) XXX_Merge(src proto.Message) {
1020 xxx_messageInfo_ONUs.Merge(m, src)
1021}
1022func (m *ONUs) XXX_Size() int {
1023 return xxx_messageInfo_ONUs.Size(m)
1024}
1025func (m *ONUs) XXX_DiscardUnknown() {
1026 xxx_messageInfo_ONUs.DiscardUnknown(m)
1027}
1028
1029var xxx_messageInfo_ONUs proto.InternalMessageInfo
1030
1031func (m *ONUs) GetItems() []*ONU {
1032 if m != nil {
1033 return m.Items
1034 }
1035 return nil
1036}
1037
Matteo Scandolo4a036262020-08-17 15:56:13 -07001038type Services struct {
1039 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1040 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1041 XXX_unrecognized []byte `json:"-"`
1042 XXX_sizecache int32 `json:"-"`
1043}
1044
1045func (m *Services) Reset() { *m = Services{} }
1046func (m *Services) String() string { return proto.CompactTextString(m) }
1047func (*Services) ProtoMessage() {}
1048func (*Services) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001049 return fileDescriptor_ef7750073d18011b, []int{12}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001050}
1051
1052func (m *Services) XXX_Unmarshal(b []byte) error {
1053 return xxx_messageInfo_Services.Unmarshal(m, b)
1054}
1055func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1056 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
1057}
1058func (m *Services) XXX_Merge(src proto.Message) {
1059 xxx_messageInfo_Services.Merge(m, src)
1060}
1061func (m *Services) XXX_Size() int {
1062 return xxx_messageInfo_Services.Size(m)
1063}
1064func (m *Services) XXX_DiscardUnknown() {
1065 xxx_messageInfo_Services.DiscardUnknown(m)
1066}
1067
1068var xxx_messageInfo_Services proto.InternalMessageInfo
1069
1070func (m *Services) GetItems() []*Service {
1071 if m != nil {
1072 return m.Items
1073 }
1074 return nil
1075}
1076
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001077type UNIs struct {
1078 Items []*UNI `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1079 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1080 XXX_unrecognized []byte `json:"-"`
1081 XXX_sizecache int32 `json:"-"`
1082}
1083
1084func (m *UNIs) Reset() { *m = UNIs{} }
1085func (m *UNIs) String() string { return proto.CompactTextString(m) }
1086func (*UNIs) ProtoMessage() {}
1087func (*UNIs) Descriptor() ([]byte, []int) {
1088 return fileDescriptor_ef7750073d18011b, []int{13}
1089}
1090
1091func (m *UNIs) XXX_Unmarshal(b []byte) error {
1092 return xxx_messageInfo_UNIs.Unmarshal(m, b)
1093}
1094func (m *UNIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1095 return xxx_messageInfo_UNIs.Marshal(b, m, deterministic)
1096}
1097func (m *UNIs) XXX_Merge(src proto.Message) {
1098 xxx_messageInfo_UNIs.Merge(m, src)
1099}
1100func (m *UNIs) XXX_Size() int {
1101 return xxx_messageInfo_UNIs.Size(m)
1102}
1103func (m *UNIs) XXX_DiscardUnknown() {
1104 xxx_messageInfo_UNIs.DiscardUnknown(m)
1105}
1106
1107var xxx_messageInfo_UNIs proto.InternalMessageInfo
1108
1109func (m *UNIs) GetItems() []*UNI {
1110 if m != nil {
1111 return m.Items
1112 }
1113 return nil
1114}
1115
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001116type ONURequest struct {
1117 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1118 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1119 XXX_unrecognized []byte `json:"-"`
1120 XXX_sizecache int32 `json:"-"`
1121}
1122
1123func (m *ONURequest) Reset() { *m = ONURequest{} }
1124func (m *ONURequest) String() string { return proto.CompactTextString(m) }
1125func (*ONURequest) ProtoMessage() {}
1126func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001127 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001128}
1129
1130func (m *ONURequest) XXX_Unmarshal(b []byte) error {
1131 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
1132}
1133func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1134 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
1135}
1136func (m *ONURequest) XXX_Merge(src proto.Message) {
1137 xxx_messageInfo_ONURequest.Merge(m, src)
1138}
1139func (m *ONURequest) XXX_Size() int {
1140 return xxx_messageInfo_ONURequest.Size(m)
1141}
1142func (m *ONURequest) XXX_DiscardUnknown() {
1143 xxx_messageInfo_ONURequest.DiscardUnknown(m)
1144}
1145
1146var xxx_messageInfo_ONURequest proto.InternalMessageInfo
1147
1148func (m *ONURequest) GetSerialNumber() string {
1149 if m != nil {
1150 return m.SerialNumber
1151 }
1152 return ""
1153}
1154
Pragya Aryabd731ec2020-02-11 16:38:17 +05301155type PONRequest struct {
1156 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
1157 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1158 XXX_unrecognized []byte `json:"-"`
1159 XXX_sizecache int32 `json:"-"`
1160}
1161
1162func (m *PONRequest) Reset() { *m = PONRequest{} }
1163func (m *PONRequest) String() string { return proto.CompactTextString(m) }
1164func (*PONRequest) ProtoMessage() {}
1165func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001166 return fileDescriptor_ef7750073d18011b, []int{15}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301167}
1168
1169func (m *PONRequest) XXX_Unmarshal(b []byte) error {
1170 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
1171}
1172func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1173 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
1174}
1175func (m *PONRequest) XXX_Merge(src proto.Message) {
1176 xxx_messageInfo_PONRequest.Merge(m, src)
1177}
1178func (m *PONRequest) XXX_Size() int {
1179 return xxx_messageInfo_PONRequest.Size(m)
1180}
1181func (m *PONRequest) XXX_DiscardUnknown() {
1182 xxx_messageInfo_PONRequest.DiscardUnknown(m)
1183}
1184
1185var xxx_messageInfo_PONRequest proto.InternalMessageInfo
1186
1187func (m *PONRequest) GetPonPortId() uint32 {
1188 if m != nil {
1189 return m.PonPortId
1190 }
1191 return 0
1192}
1193
Scott Baker41724b82020-01-21 19:54:53 -08001194type AlarmType struct {
1195 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1196 XXX_unrecognized []byte `json:"-"`
1197 XXX_sizecache int32 `json:"-"`
1198}
1199
1200func (m *AlarmType) Reset() { *m = AlarmType{} }
1201func (m *AlarmType) String() string { return proto.CompactTextString(m) }
1202func (*AlarmType) ProtoMessage() {}
1203func (*AlarmType) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001204 return fileDescriptor_ef7750073d18011b, []int{16}
Scott Baker41724b82020-01-21 19:54:53 -08001205}
1206
1207func (m *AlarmType) XXX_Unmarshal(b []byte) error {
1208 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
1209}
1210func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1211 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
1212}
1213func (m *AlarmType) XXX_Merge(src proto.Message) {
1214 xxx_messageInfo_AlarmType.Merge(m, src)
1215}
1216func (m *AlarmType) XXX_Size() int {
1217 return xxx_messageInfo_AlarmType.Size(m)
1218}
1219func (m *AlarmType) XXX_DiscardUnknown() {
1220 xxx_messageInfo_AlarmType.DiscardUnknown(m)
1221}
1222
1223var xxx_messageInfo_AlarmType proto.InternalMessageInfo
1224
1225type AlarmParameter struct {
1226 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
1227 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
1228 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1229 XXX_unrecognized []byte `json:"-"`
1230 XXX_sizecache int32 `json:"-"`
1231}
1232
1233func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
1234func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
1235func (*AlarmParameter) ProtoMessage() {}
1236func (*AlarmParameter) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001237 return fileDescriptor_ef7750073d18011b, []int{17}
Scott Baker41724b82020-01-21 19:54:53 -08001238}
1239
1240func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
1241 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
1242}
1243func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1244 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
1245}
1246func (m *AlarmParameter) XXX_Merge(src proto.Message) {
1247 xxx_messageInfo_AlarmParameter.Merge(m, src)
1248}
1249func (m *AlarmParameter) XXX_Size() int {
1250 return xxx_messageInfo_AlarmParameter.Size(m)
1251}
1252func (m *AlarmParameter) XXX_DiscardUnknown() {
1253 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
1254}
1255
1256var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
1257
1258func (m *AlarmParameter) GetKey() string {
1259 if m != nil {
1260 return m.Key
1261 }
1262 return ""
1263}
1264
1265func (m *AlarmParameter) GetValue() string {
1266 if m != nil {
1267 return m.Value
1268 }
1269 return ""
1270}
1271
Anand S Katti86552f92020-03-03 21:56:32 +05301272// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +05301273// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -08001274// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +05301275type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +05301276 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -08001277 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1278 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1279 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
1280 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1281 XXX_unrecognized []byte `json:"-"`
1282 XXX_sizecache int32 `json:"-"`
1283}
1284
Anand S Katti86552f92020-03-03 21:56:32 +05301285func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
1286func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
1287func (*ONUAlarmRequest) ProtoMessage() {}
1288func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001289 return fileDescriptor_ef7750073d18011b, []int{18}
Scott Baker41724b82020-01-21 19:54:53 -08001290}
1291
Anand S Katti86552f92020-03-03 21:56:32 +05301292func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
1293 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -08001294}
Anand S Katti86552f92020-03-03 21:56:32 +05301295func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1296 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -08001297}
Anand S Katti86552f92020-03-03 21:56:32 +05301298func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
1299 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -08001300}
Anand S Katti86552f92020-03-03 21:56:32 +05301301func (m *ONUAlarmRequest) XXX_Size() int {
1302 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -08001303}
Anand S Katti86552f92020-03-03 21:56:32 +05301304func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
1305 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -08001306}
1307
Anand S Katti86552f92020-03-03 21:56:32 +05301308var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -08001309
Anand S Katti86552f92020-03-03 21:56:32 +05301310func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -08001311 if m != nil {
1312 return m.AlarmType
1313 }
Pragya Arya694ece02020-02-07 13:03:47 +05301314 return ""
Scott Baker41724b82020-01-21 19:54:53 -08001315}
1316
Anand S Katti86552f92020-03-03 21:56:32 +05301317func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -08001318 if m != nil {
1319 return m.SerialNumber
1320 }
1321 return ""
1322}
1323
Anand S Katti86552f92020-03-03 21:56:32 +05301324func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -08001325 if m != nil {
1326 return m.Status
1327 }
1328 return ""
1329}
1330
Anand S Katti86552f92020-03-03 21:56:32 +05301331func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -08001332 if m != nil {
1333 return m.Parameters
1334 }
1335 return nil
1336}
1337
Anand S Katti86552f92020-03-03 21:56:32 +05301338// OLT alarm request
1339type OLTAlarmRequest struct {
1340 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
1341 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
1342 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1343 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1344 XXX_unrecognized []byte `json:"-"`
1345 XXX_sizecache int32 `json:"-"`
1346}
1347
1348func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
1349func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
1350func (*OLTAlarmRequest) ProtoMessage() {}
1351func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001352 return fileDescriptor_ef7750073d18011b, []int{19}
Anand S Katti86552f92020-03-03 21:56:32 +05301353}
1354
1355func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
1356 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
1357}
1358func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1359 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
1360}
1361func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
1362 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
1363}
1364func (m *OLTAlarmRequest) XXX_Size() int {
1365 return xxx_messageInfo_OLTAlarmRequest.Size(m)
1366}
1367func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
1368 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
1369}
1370
1371var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
1372
1373func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
1374 if m != nil {
1375 return m.InterfaceID
1376 }
1377 return 0
1378}
1379
1380func (m *OLTAlarmRequest) GetInterfaceType() string {
1381 if m != nil {
1382 return m.InterfaceType
1383 }
1384 return ""
1385}
1386
1387func (m *OLTAlarmRequest) GetStatus() string {
1388 if m != nil {
1389 return m.Status
1390 }
1391 return ""
1392}
1393
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001394type VersionNumber struct {
1395 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1396 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
1397 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
1398 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
1399 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1400 XXX_unrecognized []byte `json:"-"`
1401 XXX_sizecache int32 `json:"-"`
1402}
1403
1404func (m *VersionNumber) Reset() { *m = VersionNumber{} }
1405func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
1406func (*VersionNumber) ProtoMessage() {}
1407func (*VersionNumber) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001408 return fileDescriptor_ef7750073d18011b, []int{20}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001409}
1410
1411func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
1412 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
1413}
1414func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1415 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
1416}
1417func (m *VersionNumber) XXX_Merge(src proto.Message) {
1418 xxx_messageInfo_VersionNumber.Merge(m, src)
1419}
1420func (m *VersionNumber) XXX_Size() int {
1421 return xxx_messageInfo_VersionNumber.Size(m)
1422}
1423func (m *VersionNumber) XXX_DiscardUnknown() {
1424 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
1425}
1426
1427var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
1428
1429func (m *VersionNumber) GetVersion() string {
1430 if m != nil {
1431 return m.Version
1432 }
1433 return ""
1434}
1435
1436func (m *VersionNumber) GetBuildTime() string {
1437 if m != nil {
1438 return m.BuildTime
1439 }
1440 return ""
1441}
1442
1443func (m *VersionNumber) GetCommitHash() string {
1444 if m != nil {
1445 return m.CommitHash
1446 }
1447 return ""
1448}
1449
1450func (m *VersionNumber) GetGitStatus() string {
1451 if m != nil {
1452 return m.GitStatus
1453 }
1454 return ""
1455}
1456
1457type LogLevel struct {
1458 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
1459 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
1460 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1461 XXX_unrecognized []byte `json:"-"`
1462 XXX_sizecache int32 `json:"-"`
1463}
1464
1465func (m *LogLevel) Reset() { *m = LogLevel{} }
1466func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1467func (*LogLevel) ProtoMessage() {}
1468func (*LogLevel) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001469 return fileDescriptor_ef7750073d18011b, []int{21}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001470}
1471
1472func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1473 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1474}
1475func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1476 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1477}
1478func (m *LogLevel) XXX_Merge(src proto.Message) {
1479 xxx_messageInfo_LogLevel.Merge(m, src)
1480}
1481func (m *LogLevel) XXX_Size() int {
1482 return xxx_messageInfo_LogLevel.Size(m)
1483}
1484func (m *LogLevel) XXX_DiscardUnknown() {
1485 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1486}
1487
1488var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1489
1490func (m *LogLevel) GetLevel() string {
1491 if m != nil {
1492 return m.Level
1493 }
1494 return ""
1495}
1496
1497func (m *LogLevel) GetCaller() bool {
1498 if m != nil {
1499 return m.Caller
1500 }
1501 return false
1502}
1503
1504type Response struct {
1505 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1506 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1507 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1508 XXX_unrecognized []byte `json:"-"`
1509 XXX_sizecache int32 `json:"-"`
1510}
1511
1512func (m *Response) Reset() { *m = Response{} }
1513func (m *Response) String() string { return proto.CompactTextString(m) }
1514func (*Response) ProtoMessage() {}
1515func (*Response) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001516 return fileDescriptor_ef7750073d18011b, []int{22}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001517}
1518
1519func (m *Response) XXX_Unmarshal(b []byte) error {
1520 return xxx_messageInfo_Response.Unmarshal(m, b)
1521}
1522func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1523 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1524}
1525func (m *Response) XXX_Merge(src proto.Message) {
1526 xxx_messageInfo_Response.Merge(m, src)
1527}
1528func (m *Response) XXX_Size() int {
1529 return xxx_messageInfo_Response.Size(m)
1530}
1531func (m *Response) XXX_DiscardUnknown() {
1532 xxx_messageInfo_Response.DiscardUnknown(m)
1533}
1534
1535var xxx_messageInfo_Response proto.InternalMessageInfo
1536
1537func (m *Response) GetStatusCode() int32 {
1538 if m != nil {
1539 return m.StatusCode
1540 }
1541 return 0
1542}
1543
1544func (m *Response) GetMessage() string {
1545 if m != nil {
1546 return m.Message
1547 }
1548 return ""
1549}
1550
Arjun E K57a7fcb2020-01-30 06:44:45 +00001551type IgmpRequest struct {
1552 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1553 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001554 GroupAddress string `protobuf:"bytes,3,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"`
Arjun E K57a7fcb2020-01-30 06:44:45 +00001555 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1556 XXX_unrecognized []byte `json:"-"`
1557 XXX_sizecache int32 `json:"-"`
1558}
1559
1560func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1561func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1562func (*IgmpRequest) ProtoMessage() {}
1563func (*IgmpRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001564 return fileDescriptor_ef7750073d18011b, []int{23}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001565}
1566
1567func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1568 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1569}
1570func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1571 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1572}
1573func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1574 xxx_messageInfo_IgmpRequest.Merge(m, src)
1575}
1576func (m *IgmpRequest) XXX_Size() int {
1577 return xxx_messageInfo_IgmpRequest.Size(m)
1578}
1579func (m *IgmpRequest) XXX_DiscardUnknown() {
1580 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1581}
1582
1583var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1584
1585func (m *IgmpRequest) GetOnuReq() *ONURequest {
1586 if m != nil {
1587 return m.OnuReq
1588 }
1589 return nil
1590}
1591
1592func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1593 if m != nil {
1594 return m.SubActionVal
1595 }
1596 return SubActionTypes_JOIN
1597}
1598
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001599func (m *IgmpRequest) GetGroupAddress() string {
1600 if m != nil {
1601 return m.GroupAddress
1602 }
1603 return ""
1604}
1605
Pragya Arya8bdb4532020-03-02 17:08:09 +05301606type Flows struct {
1607 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1608 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1609 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1610 XXX_unrecognized []byte `json:"-"`
1611 XXX_sizecache int32 `json:"-"`
1612}
1613
1614func (m *Flows) Reset() { *m = Flows{} }
1615func (m *Flows) String() string { return proto.CompactTextString(m) }
1616func (*Flows) ProtoMessage() {}
1617func (*Flows) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001618 return fileDescriptor_ef7750073d18011b, []int{24}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301619}
1620
1621func (m *Flows) XXX_Unmarshal(b []byte) error {
1622 return xxx_messageInfo_Flows.Unmarshal(m, b)
1623}
1624func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1625 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1626}
1627func (m *Flows) XXX_Merge(src proto.Message) {
1628 xxx_messageInfo_Flows.Merge(m, src)
1629}
1630func (m *Flows) XXX_Size() int {
1631 return xxx_messageInfo_Flows.Size(m)
1632}
1633func (m *Flows) XXX_DiscardUnknown() {
1634 xxx_messageInfo_Flows.DiscardUnknown(m)
1635}
1636
1637var xxx_messageInfo_Flows proto.InternalMessageInfo
1638
1639func (m *Flows) GetFlowCount() uint32 {
1640 if m != nil {
1641 return m.FlowCount
1642 }
1643 return 0
1644}
1645
1646func (m *Flows) GetFlows() []*openolt.Flow {
1647 if m != nil {
1648 return m.Flows
1649 }
1650 return nil
1651}
1652
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001653type Timeout struct {
1654 Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
1655 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1656 XXX_unrecognized []byte `json:"-"`
1657 XXX_sizecache int32 `json:"-"`
1658}
1659
1660func (m *Timeout) Reset() { *m = Timeout{} }
1661func (m *Timeout) String() string { return proto.CompactTextString(m) }
1662func (*Timeout) ProtoMessage() {}
1663func (*Timeout) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001664 return fileDescriptor_ef7750073d18011b, []int{25}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001665}
1666
1667func (m *Timeout) XXX_Unmarshal(b []byte) error {
1668 return xxx_messageInfo_Timeout.Unmarshal(m, b)
1669}
1670func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1671 return xxx_messageInfo_Timeout.Marshal(b, m, deterministic)
1672}
1673func (m *Timeout) XXX_Merge(src proto.Message) {
1674 xxx_messageInfo_Timeout.Merge(m, src)
1675}
1676func (m *Timeout) XXX_Size() int {
1677 return xxx_messageInfo_Timeout.Size(m)
1678}
1679func (m *Timeout) XXX_DiscardUnknown() {
1680 xxx_messageInfo_Timeout.DiscardUnknown(m)
1681}
1682
1683var xxx_messageInfo_Timeout proto.InternalMessageInfo
1684
1685func (m *Timeout) GetDelay() uint32 {
1686 if m != nil {
1687 return m.Delay
1688 }
1689 return 0
1690}
1691
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001692type Empty struct {
1693 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1694 XXX_unrecognized []byte `json:"-"`
1695 XXX_sizecache int32 `json:"-"`
1696}
1697
1698func (m *Empty) Reset() { *m = Empty{} }
1699func (m *Empty) String() string { return proto.CompactTextString(m) }
1700func (*Empty) ProtoMessage() {}
1701func (*Empty) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001702 return fileDescriptor_ef7750073d18011b, []int{26}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001703}
1704
1705func (m *Empty) XXX_Unmarshal(b []byte) error {
1706 return xxx_messageInfo_Empty.Unmarshal(m, b)
1707}
1708func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1709 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1710}
1711func (m *Empty) XXX_Merge(src proto.Message) {
1712 xxx_messageInfo_Empty.Merge(m, src)
1713}
1714func (m *Empty) XXX_Size() int {
1715 return xxx_messageInfo_Empty.Size(m)
1716}
1717func (m *Empty) XXX_DiscardUnknown() {
1718 xxx_messageInfo_Empty.DiscardUnknown(m)
1719}
1720
1721var xxx_messageInfo_Empty proto.InternalMessageInfo
1722
1723func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001724 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001725 proto.RegisterEnum("bbsim.OltAllocatedResourceType_Type", OltAllocatedResourceType_Type_name, OltAllocatedResourceType_Type_value)
Scott Baker41724b82020-01-21 19:54:53 -08001726 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001727 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001728 proto.RegisterType((*PonAllocatedResources)(nil), "bbsim.PonAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001729 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1730 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001731 proto.RegisterType((*OltAllocatedResourceType)(nil), "bbsim.OltAllocatedResourceType")
1732 proto.RegisterType((*OltAllocatedResource)(nil), "bbsim.OltAllocatedResource")
1733 proto.RegisterType((*OltAllocatedResources)(nil), "bbsim.OltAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001734 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001735 proto.RegisterType((*UNI)(nil), "bbsim.UNI")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001736 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301737 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001738 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001739 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001740 proto.RegisterType((*UNIs)(nil), "bbsim.UNIs")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001741 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301742 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001743 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1744 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301745 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1746 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001747 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1748 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1749 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001750 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301751 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001752 proto.RegisterType((*Timeout)(nil), "bbsim.Timeout")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001753 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1754}
1755
Matteo Scandolof65e6872020-04-15 15:18:43 -07001756func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001757
1758var fileDescriptor_ef7750073d18011b = []byte{
Matteo Scandolo8a574812021-05-20 15:18:53 -07001759 // 2056 bytes of a gzipped FileDescriptorProto
1760 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x4d, 0x72, 0xdb, 0xc8,
1761 0x15, 0x16, 0xff, 0xc9, 0x47, 0x91, 0x82, 0xda, 0x96, 0x06, 0x25, 0x6b, 0xc6, 0x2c, 0x8c, 0x27,
1762 0x25, 0xbb, 0x32, 0xf2, 0x58, 0x4e, 0x26, 0xf6, 0x12, 0x22, 0x29, 0x1a, 0x16, 0x05, 0xb0, 0x1a,
1763 0xa4, 0x5c, 0x4e, 0x16, 0x2c, 0x88, 0x68, 0x49, 0xa8, 0x80, 0x00, 0x0d, 0x80, 0x52, 0x74, 0x80,
1764 0x54, 0x8e, 0x90, 0x65, 0xaa, 0x72, 0x80, 0x6c, 0xb3, 0xc8, 0x25, 0x72, 0x82, 0x64, 0x95, 0x7b,
1765 0xa4, 0xba, 0xd1, 0xf8, 0x23, 0x21, 0x5b, 0x5e, 0xcd, 0x86, 0x85, 0xf7, 0xbd, 0x9f, 0x7e, 0x7f,
1766 0xdd, 0xfd, 0x9a, 0xb0, 0x63, 0x2c, 0xac, 0x97, 0x17, 0x17, 0xbe, 0x35, 0x0f, 0x7f, 0x0f, 0x17,
1767 0x9e, 0x1b, 0xb8, 0xa8, 0xc2, 0x88, 0xbd, 0x27, 0x37, 0xae, 0x1d, 0x5c, 0x1b, 0x53, 0x06, 0xfa,
1768 0x2f, 0xdd, 0x05, 0x71, 0x5c, 0x3b, 0x08, 0x65, 0xf6, 0x3a, 0x59, 0x66, 0x40, 0x66, 0xd7, 0xf4,
1769 0xfb, 0xd2, 0xb2, 0x49, 0x28, 0x21, 0xfd, 0xb7, 0x08, 0xb5, 0x91, 0xa6, 0x8e, 0x5c, 0x2f, 0x40,
1770 0x6d, 0x28, 0x2a, 0x3d, 0xb1, 0xd0, 0x29, 0x1c, 0x54, 0x70, 0x51, 0xe9, 0xa1, 0x7d, 0x68, 0x68,
1771 0x0b, 0xe2, 0xe9, 0x81, 0x11, 0x10, 0xb1, 0xd8, 0x29, 0x1c, 0x34, 0x70, 0x02, 0xa0, 0x67, 0xd0,
1772 0x52, 0x9c, 0x80, 0x78, 0x8e, 0x61, 0x87, 0x12, 0x25, 0x26, 0x91, 0x05, 0x51, 0x07, 0x9a, 0x23,
1773 0x63, 0xf6, 0x47, 0x12, 0x74, 0xdd, 0xa5, 0x13, 0x88, 0xe5, 0x4e, 0xe1, 0xa0, 0x8c, 0xd3, 0x10,
1774 0x3a, 0x81, 0x2d, 0xd9, 0xb6, 0xdd, 0x99, 0x11, 0x10, 0x53, 0x73, 0x96, 0x8a, 0xe9, 0x8b, 0x95,
1775 0x4e, 0xe9, 0xa0, 0x79, 0xb4, 0x7f, 0x18, 0x86, 0x3b, 0x72, 0x9d, 0x58, 0x00, 0x13, 0xdf, 0x5d,
1776 0x7a, 0x33, 0xe2, 0xe3, 0x55, 0x25, 0xf4, 0x1e, 0xb6, 0x63, 0x68, 0x40, 0xe6, 0x34, 0x22, 0x5f,
1777 0xac, 0x3e, 0xc0, 0xd2, 0xba, 0x5a, 0xc6, 0x16, 0xfb, 0xa0, 0x5e, 0xd5, 0xbe, 0xca, 0x56, 0xa4,
1778 0x26, 0x9d, 0xc2, 0x4e, 0xae, 0x2c, 0x92, 0x60, 0x53, 0x27, 0x9e, 0x65, 0xd8, 0xea, 0x72, 0x7e,
1779 0x41, 0x3c, 0x96, 0xf8, 0x06, 0xce, 0x60, 0xac, 0x24, 0x26, 0xcb, 0x3d, 0x2d, 0x89, 0x29, 0xfd,
1780 0x0e, 0x6a, 0xaa, 0xaa, 0x7c, 0x7d, 0xb5, 0xa4, 0xff, 0x15, 0xa0, 0xa4, 0xd9, 0xeb, 0x5a, 0xab,
1781 0x4e, 0x14, 0x73, 0x9c, 0xc8, 0x58, 0x2e, 0x7d, 0xb1, 0x0f, 0xca, 0x79, 0x7d, 0x40, 0xd7, 0x1d,
1782 0x89, 0x35, 0xc6, 0x2a, 0x2a, 0x23, 0xf4, 0x02, 0xea, 0x3c, 0x90, 0xa8, 0xdc, 0x6d, 0x9e, 0x58,
1783 0x0e, 0xe3, 0x98, 0x4f, 0x65, 0x79, 0x8b, 0x46, 0x05, 0x8d, 0x64, 0x39, 0x8c, 0x63, 0xbe, 0xf4,
1784 0xe7, 0x02, 0x88, 0x9a, 0x1d, 0xac, 0xa5, 0x7b, 0x7c, 0xb7, 0x20, 0xe8, 0x0d, 0x94, 0x83, 0xbb,
1785 0x05, 0x61, 0xe1, 0xb7, 0x8f, 0x9e, 0x71, 0x23, 0xf7, 0x89, 0x1f, 0xd2, 0x1f, 0xcc, 0x34, 0xa4,
1786 0x97, 0x50, 0x66, 0x16, 0x9a, 0x50, 0x9b, 0xa8, 0xa7, 0xaa, 0xf6, 0x41, 0x15, 0x36, 0xd0, 0x26,
1787 0xd4, 0xe5, 0xe1, 0x50, 0xeb, 0x4e, 0x95, 0x9e, 0x50, 0xa0, 0xd4, 0xa0, 0x7f, 0x36, 0x1d, 0x69,
1788 0x78, 0x2c, 0x14, 0xa5, 0x7f, 0x14, 0xe0, 0x71, 0x9e, 0x61, 0x84, 0x42, 0x4b, 0xbc, 0xda, 0xa1,
1789 0xd5, 0x7d, 0x68, 0x8c, 0x5c, 0x87, 0x06, 0xc0, 0x8b, 0xdd, 0xc2, 0x09, 0x80, 0x1e, 0x43, 0x85,
1790 0xb5, 0x38, 0x4b, 0x7d, 0x0b, 0x87, 0x04, 0xda, 0x85, 0x2a, 0xe5, 0xab, 0x2e, 0xcb, 0x77, 0x0b,
1791 0x73, 0x0a, 0x7d, 0x07, 0x10, 0xad, 0xa5, 0x98, 0x62, 0x85, 0x15, 0x3a, 0x85, 0x50, 0xbd, 0x13,
1792 0xdb, 0xbd, 0x55, 0x4c, 0xb1, 0xca, 0xf6, 0x22, 0xa7, 0x24, 0x0c, 0x3b, 0x79, 0xfe, 0xfa, 0xe8,
1793 0x2d, 0x34, 0xbc, 0x88, 0x10, 0x0b, 0x2c, 0xfd, 0x4f, 0x3e, 0x93, 0x39, 0x9c, 0x48, 0x4b, 0x7f,
1794 0x2b, 0x43, 0x49, 0x53, 0x27, 0xbf, 0x58, 0xd3, 0xa5, 0xf2, 0xda, 0xe3, 0xa9, 0x48, 0x00, 0xd4,
1795 0x81, 0xc6, 0xbb, 0x5b, 0xd9, 0x34, 0x3d, 0xe2, 0xfb, 0x62, 0x9d, 0xea, 0x1f, 0x17, 0xc5, 0x02,
1796 0x4e, 0x40, 0xb4, 0x17, 0xe7, 0xb8, 0x41, 0x95, 0x19, 0x3b, 0xca, 0xf3, 0x21, 0xd4, 0x7d, 0xe2,
1797 0xdd, 0x58, 0x34, 0x2b, 0x90, 0x69, 0x4a, 0x3d, 0x84, 0x99, 0x74, 0x2c, 0x83, 0x7a, 0xf0, 0xad,
1798 0x32, 0x37, 0xae, 0x88, 0xee, 0x5e, 0x06, 0xb7, 0x86, 0x47, 0xfa, 0x7f, 0x5a, 0x90, 0x59, 0x40,
1799 0x4c, 0x9d, 0xcc, 0x02, 0xcb, 0x75, 0x7c, 0xb1, 0xc9, 0xfc, 0xfb, 0xbc, 0xd0, 0x9a, 0x15, 0x4c,
1800 0x66, 0xc4, 0xba, 0x49, 0x59, 0xd9, 0xcc, 0xb1, 0xb2, 0x2a, 0x84, 0x7e, 0x82, 0x47, 0xf2, 0x2c,
1801 0xb0, 0x6e, 0x08, 0x13, 0xeb, 0x3b, 0x81, 0x15, 0xdc, 0x29, 0xa6, 0xd8, 0x62, 0xba, 0x79, 0x2c,
1802 0xf4, 0x33, 0xec, 0x76, 0xdd, 0xf9, 0xdc, 0x0a, 0x02, 0x62, 0x66, 0x95, 0xda, 0x4c, 0xe9, 0x1e,
1803 0x2e, 0xfa, 0x0e, 0xca, 0x4b, 0xc7, 0xf2, 0xc5, 0x2d, 0x96, 0x21, 0xe0, 0x19, 0x9a, 0xa8, 0x0a,
1804 0x66, 0xb8, 0xf4, 0xcf, 0x02, 0x94, 0x26, 0xaa, 0xb2, 0xd6, 0x21, 0xbc, 0xe7, 0x7b, 0xfc, 0xe8,
1805 0x0b, 0x09, 0x8e, 0xea, 0x0e, 0xef, 0x87, 0x90, 0xa0, 0x3b, 0xea, 0x8c, 0x28, 0x3d, 0xbe, 0x0f,
1806 0xd8, 0x77, 0xb6, 0x7b, 0x2a, 0xab, 0xdd, 0x93, 0xec, 0x9d, 0x2a, 0x33, 0x1f, 0xd5, 0xf4, 0x45,
1807 0xaa, 0xa6, 0xb5, 0xbc, 0x9a, 0x26, 0xf5, 0x94, 0xfe, 0x52, 0x82, 0x1a, 0x47, 0xa9, 0x07, 0xaa,
1808 0x31, 0x8f, 0xf7, 0x34, 0xfd, 0xa6, 0x1e, 0x24, 0xdd, 0xc5, 0x8f, 0xe3, 0xa4, 0xb3, 0xee, 0x8d,
1809 0x44, 0x1f, 0x1b, 0x57, 0x2c, 0x92, 0x0a, 0x66, 0xdf, 0x14, 0xeb, 0x52, 0x2c, 0x6c, 0x5f, 0xf6,
1810 0x4d, 0xf7, 0xb8, 0x4a, 0x88, 0xe9, 0xf7, 0x8d, 0x85, 0x6b, 0xb3, 0x18, 0xea, 0x38, 0x85, 0xd0,
1811 0xb5, 0x19, 0xd5, 0xbb, 0x9e, 0x2d, 0xd8, 0x99, 0x5b, 0xc7, 0x09, 0x10, 0x73, 0x95, 0xab, 0xf9,
1812 0x82, 0xf5, 0x7d, 0xc4, 0xa5, 0x00, 0x12, 0xa1, 0xc6, 0xaf, 0xc1, 0xb0, 0xe9, 0x71, 0x44, 0xd2,
1813 0x55, 0x99, 0xf9, 0x30, 0xa9, 0xc0, 0x1c, 0x4f, 0x21, 0xd4, 0x2e, 0xb5, 0x1f, 0xb2, 0x9b, 0x61,
1814 0xc4, 0x31, 0xb0, 0xbe, 0x63, 0x37, 0xef, 0xd9, 0xb1, 0xca, 0xe0, 0x6c, 0x14, 0x4a, 0xb4, 0x42,
1815 0x1b, 0x31, 0x40, 0xb3, 0x36, 0x71, 0x2c, 0xde, 0x74, 0x2d, 0x1c, 0x12, 0x92, 0x01, 0x8f, 0x35,
1816 0x75, 0x32, 0xf6, 0x8c, 0xcb, 0x4b, 0x6b, 0xa6, 0xcf, 0xae, 0x89, 0xb9, 0xb4, 0x89, 0xe7, 0x23,
1817 0x05, 0xb6, 0x02, 0x0a, 0x26, 0x10, 0x2b, 0x50, 0xf3, 0xe8, 0xe9, 0x61, 0x66, 0x10, 0x5a, 0xd3,
1818 0xc4, 0xab, 0x7a, 0xd2, 0x01, 0x94, 0x35, 0x75, 0xe2, 0xa3, 0x0e, 0x54, 0xac, 0x80, 0xcc, 0xa3,
1819 0x73, 0x30, 0xea, 0x67, 0x4d, 0x9d, 0xe0, 0x90, 0x21, 0xfd, 0x04, 0x75, 0x3d, 0xda, 0xf2, 0xcf,
1820 0xb2, 0xd2, 0xab, 0xbd, 0xc4, 0x35, 0x0e, 0xa0, 0x3c, 0x51, 0x95, 0x7b, 0x6d, 0xd3, 0xbd, 0x12,
1821 0xdb, 0x06, 0xba, 0x12, 0xf9, 0xb4, 0x24, 0x7e, 0xf0, 0x90, 0xf1, 0x41, 0x7a, 0x01, 0x30, 0xd2,
1822 0xd4, 0x48, 0x23, 0x73, 0xcd, 0x14, 0x56, 0xae, 0x19, 0xe9, 0x3f, 0x25, 0x68, 0xc8, 0xb6, 0xe1,
1823 0xcd, 0xe9, 0x95, 0x24, 0xfd, 0xbb, 0x04, 0x15, 0xfa, 0xe1, 0xa3, 0x1a, 0x94, 0x86, 0x9a, 0x2e,
1824 0x6c, 0xa0, 0x36, 0x40, 0xef, 0xa3, 0xa2, 0x0e, 0xa6, 0x03, 0x59, 0x1f, 0x09, 0x05, 0xd4, 0x82,
1825 0x86, 0xa6, 0x4e, 0xa6, 0xf2, 0x50, 0xc6, 0x67, 0x42, 0x11, 0x7d, 0x03, 0x8f, 0x28, 0xa9, 0x8f,
1826 0x65, 0x3c, 0x9e, 0x8c, 0xa6, 0x27, 0xb2, 0x32, 0x9c, 0xe0, 0xbe, 0x50, 0x42, 0xbb, 0x80, 0x18,
1827 0x43, 0x19, 0xa8, 0xf2, 0x70, 0xda, 0xeb, 0x0f, 0xb0, 0xdc, 0xeb, 0x0b, 0xe5, 0x48, 0xa1, 0x87,
1828 0x95, 0x93, 0xf1, 0x54, 0x3b, 0x99, 0x7e, 0x50, 0xd4, 0x9e, 0xf6, 0x41, 0xa8, 0xa0, 0x7d, 0x10,
1829 0x29, 0x63, 0xa8, 0xe9, 0x3a, 0xc5, 0xb5, 0xb3, 0xae, 0x32, 0xed, 0xbe, 0x93, 0x55, 0xb5, 0x3f,
1830 0x14, 0xaa, 0xf1, 0x3a, 0xcc, 0x9c, 0x1e, 0xaf, 0x53, 0x43, 0xcf, 0xe1, 0x07, 0xca, 0x18, 0x63,
1831 0x59, 0xd5, 0xcf, 0x14, 0x5d, 0x57, 0x34, 0x75, 0xaa, 0xa8, 0xe3, 0x3e, 0x3e, 0xe9, 0xe3, 0xbe,
1832 0xda, 0xed, 0x4f, 0x3f, 0xc8, 0x58, 0x55, 0xd4, 0x81, 0x50, 0x47, 0x7b, 0xb0, 0xcb, 0x5c, 0xef,
1833 0x8e, 0x95, 0x73, 0x79, 0x4c, 0x05, 0x23, 0x33, 0x0d, 0x24, 0xb2, 0x76, 0x9a, 0x8e, 0xb0, 0xd6,
1834 0xed, 0xeb, 0x3a, 0x8d, 0xb7, 0x8f, 0xb1, 0x86, 0x05, 0x40, 0x1d, 0xd8, 0x4f, 0xfb, 0x75, 0xda,
1835 0xff, 0x38, 0xd5, 0x3f, 0xaa, 0xdd, 0x58, 0xb7, 0x89, 0x76, 0x60, 0x9b, 0x4a, 0x28, 0xe3, 0xc9,
1836 0x74, 0xa4, 0xa9, 0x34, 0x17, 0x63, 0x5d, 0xd8, 0x44, 0xdb, 0xd0, 0x8a, 0x33, 0x45, 0xd5, 0x85,
1837 0xd6, 0x2a, 0x74, 0x2c, 0xb4, 0xa3, 0xc0, 0x22, 0x68, 0xd4, 0x9d, 0xd2, 0x28, 0x84, 0xad, 0x28,
1838 0x1f, 0x19, 0x46, 0x97, 0x7b, 0x25, 0x20, 0x04, 0xed, 0x34, 0xf7, 0x44, 0x11, 0xb6, 0xd1, 0x23,
1839 0xd8, 0x4a, 0x63, 0xf2, 0x99, 0x22, 0x20, 0xe9, 0x0d, 0xb4, 0x59, 0x7d, 0x47, 0x86, 0x67, 0xcc,
1840 0x49, 0x40, 0x3c, 0x24, 0x40, 0xe9, 0x94, 0xdc, 0xf1, 0xce, 0xa1, 0x9f, 0x74, 0x87, 0x9d, 0x1b,
1841 0xf6, 0x32, 0x1a, 0x20, 0x43, 0x42, 0xfa, 0x7b, 0x81, 0xd9, 0x63, 0xda, 0xa9, 0x66, 0x8a, 0xbb,
1842 0x85, 0x5b, 0x48, 0x80, 0x07, 0xdd, 0xf0, 0xbb, 0x50, 0xa5, 0xdb, 0x7a, 0xe9, 0xf3, 0x43, 0x90,
1843 0x53, 0xe8, 0xb7, 0x00, 0xb1, 0x8b, 0xbe, 0x58, 0x66, 0xbb, 0x61, 0x87, 0xef, 0x86, 0x6c, 0x00,
1844 0x38, 0x25, 0x28, 0x7d, 0x82, 0x2d, 0x6d, 0x38, 0xce, 0xf8, 0xd8, 0x81, 0x26, 0x3b, 0x5e, 0x2e,
1845 0x8d, 0x19, 0xe1, 0xd7, 0x4b, 0x0b, 0xa7, 0xa1, 0xf8, 0x54, 0xa2, 0x24, 0x8b, 0xa4, 0x98, 0x3a,
1846 0x95, 0x22, 0xf0, 0x3e, 0x4f, 0xe9, 0xb0, 0xd9, 0x3a, 0x27, 0x9e, 0x6f, 0xb9, 0x0e, 0x8f, 0x49,
1847 0x84, 0xda, 0x4d, 0x08, 0xf0, 0x9c, 0x44, 0x24, 0xcd, 0xd7, 0xc5, 0xd2, 0xb2, 0xcd, 0xb1, 0x35,
1848 0x8f, 0xc7, 0xf3, 0x18, 0xa0, 0x67, 0xeb, 0x8c, 0xdd, 0xa0, 0xef, 0x0c, 0xff, 0x9a, 0xaf, 0x92,
1849 0x42, 0xa8, 0xf6, 0x95, 0x15, 0x70, 0x27, 0xc2, 0x59, 0x27, 0x01, 0xa4, 0x37, 0x50, 0x1f, 0xba,
1850 0x57, 0x43, 0x72, 0x43, 0x6c, 0x5a, 0x41, 0x9b, 0x7e, 0xf0, 0xf5, 0x43, 0x82, 0x46, 0x30, 0x33,
1851 0x6c, 0x9b, 0x57, 0xa2, 0x8e, 0x39, 0x25, 0xf5, 0xa1, 0x8e, 0x89, 0xbf, 0x70, 0x1d, 0x9f, 0xa0,
1852 0xa7, 0xd0, 0xf4, 0x99, 0xbd, 0xe9, 0xcc, 0x35, 0x09, 0xbf, 0x8c, 0x21, 0x84, 0xba, 0xae, 0x49,
1853 0x68, 0x70, 0x73, 0xe2, 0xfb, 0xc6, 0x55, 0x14, 0x40, 0x44, 0x4a, 0x7f, 0x2d, 0x40, 0x93, 0xde,
1854 0x1e, 0x51, 0xe2, 0x9f, 0x43, 0x55, 0x73, 0x96, 0x98, 0x7c, 0xe2, 0x27, 0xee, 0x76, 0xea, 0xa0,
1855 0x0c, 0x45, 0x30, 0x17, 0x40, 0x6f, 0x61, 0x53, 0x5f, 0x5e, 0xc8, 0x6c, 0x32, 0x39, 0x37, 0x6c,
1856 0x66, 0xb9, 0x1d, 0xd7, 0x3b, 0x66, 0xb1, 0xb3, 0x08, 0x67, 0x44, 0x69, 0x93, 0x0d, 0x3c, 0x77,
1857 0xb9, 0x88, 0x6e, 0xd9, 0x30, 0x6d, 0x19, 0x4c, 0x3a, 0x85, 0x0a, 0x1d, 0x70, 0x7d, 0xf4, 0x2d,
1858 0xc0, 0xa5, 0xed, 0xde, 0x4e, 0x67, 0xec, 0x1d, 0xca, 0x4f, 0x3f, 0x8a, 0x84, 0xaf, 0xd0, 0xef,
1859 0xa1, 0x42, 0x09, 0x7a, 0x55, 0xd3, 0x7e, 0x6b, 0x1d, 0x46, 0x0f, 0x69, 0xaa, 0x8d, 0x43, 0x9e,
1860 0xf4, 0x14, 0x6a, 0xb4, 0x5a, 0xee, 0x32, 0xa0, 0x69, 0x36, 0x89, 0x6d, 0xdc, 0x71, 0x4b, 0x21,
1861 0x21, 0xd5, 0xa0, 0xd2, 0x9f, 0x2f, 0x82, 0xbb, 0x17, 0xaf, 0xa0, 0x9d, 0x75, 0x1d, 0xd5, 0xa1,
1862 0xfc, 0x5e, 0x53, 0xe8, 0xb3, 0xa1, 0x01, 0x95, 0x61, 0x5f, 0x3e, 0xef, 0x0b, 0x05, 0x04, 0x50,
1863 0xa5, 0xe0, 0xf9, 0x6b, 0xa1, 0x78, 0xf4, 0xaf, 0x26, 0x54, 0x8e, 0x8f, 0x75, 0x6b, 0x8e, 0x5e,
1864 0x42, 0x8d, 0x77, 0x15, 0xda, 0xe4, 0x79, 0x60, 0x56, 0xf7, 0x1e, 0x73, 0x2a, 0xd3, 0x73, 0xd2,
1865 0x06, 0x7a, 0x05, 0x4d, 0x9d, 0x04, 0x71, 0x0b, 0x6c, 0x71, 0xb1, 0x08, 0xd8, 0x5b, 0x05, 0xa4,
1866 0x0d, 0xf4, 0x0c, 0xaa, 0x03, 0x12, 0xd0, 0x17, 0x61, 0x76, 0x09, 0x48, 0x46, 0x7b, 0x69, 0x03,
1867 0xfd, 0x01, 0xc4, 0x50, 0x2a, 0xe7, 0x5d, 0xf0, 0xf4, 0x0b, 0xcf, 0xa7, 0xbd, 0xfd, 0xcf, 0x08,
1868 0xf8, 0xd2, 0x06, 0xfa, 0x11, 0x60, 0xe4, 0xde, 0x12, 0xcf, 0x75, 0xd6, 0xdd, 0x88, 0x3c, 0x8e,
1869 0x9a, 0x53, 0xda, 0x40, 0x87, 0xd0, 0xd4, 0xaf, 0x97, 0x81, 0xe9, 0xde, 0x3e, 0x4c, 0xfe, 0xd7,
1870 0xd0, 0xc0, 0xe4, 0xc2, 0x75, 0x83, 0x07, 0x49, 0xd3, 0x82, 0x05, 0xee, 0xe2, 0x0a, 0x8f, 0xba,
1871 0xf4, 0x7e, 0x26, 0xde, 0x97, 0x55, 0x8e, 0x60, 0x4b, 0x0f, 0x0c, 0x2f, 0xf8, 0x1a, 0x9d, 0x9f,
1872 0x61, 0x1b, 0x13, 0x7f, 0x45, 0x2b, 0x1a, 0x0c, 0x78, 0x6f, 0xe5, 0xe9, 0x3d, 0x0f, 0xcb, 0xa5,
1873 0x4e, 0xd0, 0xfa, 0x56, 0xda, 0x4b, 0x8d, 0x21, 0xd2, 0x06, 0xfa, 0x15, 0x1d, 0xe0, 0x02, 0x36,
1874 0xae, 0x64, 0xdd, 0x69, 0x26, 0x62, 0x7e, 0x98, 0xcf, 0x01, 0x09, 0xe2, 0x61, 0x25, 0xdf, 0xf5,
1875 0x88, 0xcd, 0xe4, 0x81, 0xda, 0x75, 0x96, 0x13, 0xc7, 0xf2, 0xf3, 0xdc, 0x68, 0x26, 0x13, 0x0b,
1876 0x95, 0x7f, 0x9d, 0xaa, 0x57, 0xbe, 0xdf, 0xf7, 0xe4, 0x94, 0x2b, 0xc9, 0xb6, 0x9d, 0x13, 0x44,
1877 0x8e, 0xce, 0x5b, 0xd8, 0x4e, 0x2d, 0xe4, 0x6b, 0xce, 0x48, 0x53, 0xe3, 0xe5, 0x92, 0xf1, 0x27,
1878 0x7f, 0xb9, 0xb8, 0x05, 0x1f, 0xec, 0xe2, 0x2b, 0x68, 0x73, 0x9d, 0x07, 0x7b, 0xf8, 0x06, 0x84,
1879 0x64, 0x99, 0xaf, 0x72, 0xf0, 0x37, 0xb0, 0xc9, 0xfb, 0x25, 0x9c, 0xec, 0x1f, 0xe6, 0xe2, 0x6b,
1880 0x68, 0x72, 0x2d, 0x36, 0xf0, 0x3f, 0x4c, 0xe9, 0x18, 0x76, 0x74, 0x56, 0x5f, 0x76, 0x85, 0x2a,
1881 0x8e, 0x69, 0xcd, 0x0c, 0x7a, 0x7c, 0xa1, 0xdd, 0x44, 0x3d, 0x7d, 0xbb, 0x7e, 0xc6, 0x06, 0xdd,
1882 0xf0, 0xf7, 0xd8, 0xc8, 0xde, 0xd0, 0x79, 0x36, 0x7e, 0x84, 0xfa, 0x80, 0x04, 0xe1, 0xa1, 0x9d,
1883 0xe3, 0x79, 0x94, 0x6c, 0x26, 0xc0, 0x72, 0xbb, 0xd5, 0xbd, 0x36, 0x9c, 0x2b, 0x42, 0xef, 0x9f,
1884 0xf0, 0x99, 0x80, 0xb8, 0x48, 0xea, 0x46, 0xca, 0x5b, 0xe8, 0x14, 0xbe, 0x09, 0x1b, 0x7a, 0xfd,
1885 0xe9, 0x90, 0xb3, 0xee, 0x93, 0x04, 0x5a, 0x93, 0x97, 0x36, 0x8e, 0x7f, 0xf8, 0xfd, 0xf7, 0x57,
1886 0x56, 0x70, 0xbd, 0xbc, 0x38, 0x9c, 0xb9, 0x73, 0xf6, 0x2f, 0xec, 0xcc, 0xf5, 0x4c, 0xfe, 0xb7,
1887 0x6d, 0xfc, 0x07, 0xee, 0x45, 0x95, 0xfd, 0xeb, 0xfa, 0xfa, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff,
1888 0x72, 0xed, 0x0c, 0x5e, 0xd4, 0x15, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001889}
1890
1891// Reference imports to suppress errors if they are not otherwise used.
1892var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001893var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001894
1895// This is a compile-time assertion to ensure that this generated file
1896// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001897const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001898
1899// BBSimClient is the client API for BBSim service.
1900//
1901// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1902type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001903 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001904 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001905 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301906 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001907 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001908 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001909 GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001910 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001911 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001912 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001913 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001914 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001915 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001916 // Closes the Openolt gRPC server
1917 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1918 // Start the Openolt gRPC server
1919 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05301920 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001921 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001922 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001923 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001924 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301925 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001926 // Get all the Services
1927 GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001928 // Get all the UNIs of an ONU by serial number
1929 GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001930 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001931 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001932 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301933 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001934 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301935 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001936 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001937 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001938 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301939 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001940 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301941 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001942 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001943 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001944 // Restart DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001945 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001946 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301947 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001948 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301949 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001950 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301951 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001952 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001953 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001954 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301955 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001956}
1957
1958type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04001959 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001960}
1961
Kent Hagerman60d62302020-03-10 17:02:36 -04001962func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001963 return &bBSimClient{cc}
1964}
1965
1966func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1967 out := new(VersionNumber)
1968 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1969 if err != nil {
1970 return nil, err
1971 }
1972 return out, nil
1973}
1974
Pragya Aryabd731ec2020-02-11 16:38:17 +05301975func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1976 out := new(LogLevel)
1977 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1978 if err != nil {
1979 return nil, err
1980 }
1981 return out, nil
1982}
1983
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001984func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1985 out := new(Olt)
1986 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1987 if err != nil {
1988 return nil, err
1989 }
1990 return out, nil
1991}
1992
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001993func (c *bBSimClient) GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) {
1994 out := new(OltAllocatedResources)
1995 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOltAllocatedResources", in, out, opts...)
1996 if err != nil {
1997 return nil, err
1998 }
1999 return out, nil
2000}
2001
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002002func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2003 out := new(Response)
2004 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
2005 if err != nil {
2006 return nil, err
2007 }
2008 return out, nil
2009}
2010
2011func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2012 out := new(Response)
2013 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
2014 if err != nil {
2015 return nil, err
2016 }
2017 return out, nil
2018}
2019
2020func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2021 out := new(Response)
2022 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
2023 if err != nil {
2024 return nil, err
2025 }
2026 return out, nil
2027}
2028
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002029func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2030 out := new(Response)
2031 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
2032 if err != nil {
2033 return nil, err
2034 }
2035 return out, nil
2036}
2037
2038func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2039 out := new(Response)
2040 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
2041 if err != nil {
2042 return nil, err
2043 }
2044 return out, nil
2045}
2046
2047func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
2048 out := new(Response)
2049 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
2050 if err != nil {
2051 return nil, err
2052 }
2053 return out, nil
2054}
2055
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002056func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
2057 out := new(ONU)
2058 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
2059 if err != nil {
2060 return nil, err
2061 }
2062 return out, nil
2063}
2064
Pragya Aryabd731ec2020-02-11 16:38:17 +05302065func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
2066 out := new(ONUs)
2067 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002068 if err != nil {
2069 return nil, err
2070 }
2071 return out, nil
2072}
2073
Matteo Scandolo4a036262020-08-17 15:56:13 -07002074func (c *bBSimClient) GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error) {
2075 out := new(Services)
2076 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
2077 if err != nil {
2078 return nil, err
2079 }
2080 return out, nil
2081}
2082
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002083func (c *bBSimClient) GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error) {
2084 out := new(UNIs)
2085 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuUnis", in, out, opts...)
2086 if err != nil {
2087 return nil, err
2088 }
2089 return out, nil
2090}
2091
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002092func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2093 out := new(Response)
2094 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
2095 if err != nil {
2096 return nil, err
2097 }
2098 return out, nil
2099}
2100
Pragya Aryabd731ec2020-02-11 16:38:17 +05302101func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2102 out := new(Response)
2103 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
2104 if err != nil {
2105 return nil, err
2106 }
2107 return out, nil
2108}
2109
2110func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2111 out := new(Response)
2112 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
2113 if err != nil {
2114 return nil, err
2115 }
2116 return out, nil
2117}
2118
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002119func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2120 out := new(Response)
2121 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
2122 if err != nil {
2123 return nil, err
2124 }
2125 return out, nil
2126}
2127
Pragya Aryabd731ec2020-02-11 16:38:17 +05302128func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2129 out := new(Response)
2130 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
2131 if err != nil {
2132 return nil, err
2133 }
2134 return out, nil
2135}
2136
2137func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2138 out := new(Response)
2139 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
2140 if err != nil {
2141 return nil, err
2142 }
2143 return out, nil
2144}
2145
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002146func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2147 out := new(Response)
2148 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
2149 if err != nil {
2150 return nil, err
2151 }
2152 return out, nil
2153}
2154
2155func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2156 out := new(Response)
2157 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
2158 if err != nil {
2159 return nil, err
2160 }
2161 return out, nil
2162}
2163
Anand S Katti86552f92020-03-03 21:56:32 +05302164func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08002165 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05302166 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
2167 if err != nil {
2168 return nil, err
2169 }
2170 return out, nil
2171}
2172
2173func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
2174 out := new(Response)
2175 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08002176 if err != nil {
2177 return nil, err
2178 }
2179 return out, nil
2180}
2181
Pragya Arya8bdb4532020-03-02 17:08:09 +05302182func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
2183 out := new(Flows)
2184 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
2185 if err != nil {
2186 return nil, err
2187 }
2188 return out, nil
2189}
2190
Arjun E K57a7fcb2020-01-30 06:44:45 +00002191func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
2192 out := new(Response)
2193 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
2194 if err != nil {
2195 return nil, err
2196 }
2197 return out, nil
2198}
2199
Anand S Katti09541352020-01-29 15:54:01 +05302200func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
2201 out := new(ONUTrafficSchedulers)
2202 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
2203 if err != nil {
2204 return nil, err
2205 }
2206 return out, nil
2207}
2208
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002209// BBSimServer is the server API for BBSim service.
2210type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002211 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002212 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002213 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302214 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002215 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002216 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002217 GetOltAllocatedResources(context.Context, *OltAllocatedResourceType) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002218 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002219 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002220 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002221 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002222 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002223 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002224 // Closes the Openolt gRPC server
2225 StopgRPCServer(context.Context, *Empty) (*Response, error)
2226 // Start the Openolt gRPC server
2227 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302228 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002229 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002230 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002231 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002232 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302233 GetONUs(context.Context, *Empty) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07002234 // Get all the Services
2235 GetServices(context.Context, *Empty) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002236 // Get all the UNIs of an ONU by serial number
2237 GetOnuUnis(context.Context, *ONURequest) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002238 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002239 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002240 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302241 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002242 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302243 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002244 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002245 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002246 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302247 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002248 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302249 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002250 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002251 RestartEapol(context.Context, *ONURequest) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002252 // Restart DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002253 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002254 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302255 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002256 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302257 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002258 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302259 GetFlows(context.Context, *ONURequest) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002260 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002261 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002262 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302263 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002264}
2265
Pragya Aryabd731ec2020-02-11 16:38:17 +05302266// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
2267type UnimplementedBBSimServer struct {
2268}
2269
2270func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
2271 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
2272}
2273func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
2274 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2275}
2276func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
2277 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
2278}
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002279func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error) {
2280 return nil, status.Errorf(codes.Unimplemented, "method GetOltAllocatedResources not implemented")
2281}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302282func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
2283 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
2284}
2285func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
2286 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
2287}
2288func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
2289 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
2290}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002291func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2292 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
2293}
2294func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2295 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
2296}
2297func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
2298 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
2299}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302300func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
2301 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
2302}
2303func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
2304 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
2305}
Matteo Scandolo4a036262020-08-17 15:56:13 -07002306func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *Empty) (*Services, error) {
2307 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
2308}
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002309func (*UnimplementedBBSimServer) GetOnuUnis(ctx context.Context, req *ONURequest) (*UNIs, error) {
2310 return nil, status.Errorf(codes.Unimplemented, "method GetOnuUnis not implemented")
2311}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302312func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
2313 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
2314}
2315func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2316 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
2317}
2318func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2319 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
2320}
2321func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
2322 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
2323}
2324func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2325 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
2326}
2327func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2328 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
2329}
2330func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
2331 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
2332}
2333func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
2334 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
2335}
2336func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
2337 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
2338}
2339func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
2340 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
2341}
2342func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
2343 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
2344}
2345func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
2346 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
2347}
2348func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
2349 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
2350}
2351
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002352func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
2353 s.RegisterService(&_BBSim_serviceDesc, srv)
2354}
2355
2356func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2357 in := new(Empty)
2358 if err := dec(in); err != nil {
2359 return nil, err
2360 }
2361 if interceptor == nil {
2362 return srv.(BBSimServer).Version(ctx, in)
2363 }
2364 info := &grpc.UnaryServerInfo{
2365 Server: srv,
2366 FullMethod: "/bbsim.BBSim/Version",
2367 }
2368 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2369 return srv.(BBSimServer).Version(ctx, req.(*Empty))
2370 }
2371 return interceptor(ctx, in, info, handler)
2372}
2373
Pragya Aryabd731ec2020-02-11 16:38:17 +05302374func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2375 in := new(LogLevel)
2376 if err := dec(in); err != nil {
2377 return nil, err
2378 }
2379 if interceptor == nil {
2380 return srv.(BBSimServer).SetLogLevel(ctx, in)
2381 }
2382 info := &grpc.UnaryServerInfo{
2383 Server: srv,
2384 FullMethod: "/bbsim.BBSim/SetLogLevel",
2385 }
2386 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2387 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
2388 }
2389 return interceptor(ctx, in, info, handler)
2390}
2391
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002392func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2393 in := new(Empty)
2394 if err := dec(in); err != nil {
2395 return nil, err
2396 }
2397 if interceptor == nil {
2398 return srv.(BBSimServer).GetOlt(ctx, in)
2399 }
2400 info := &grpc.UnaryServerInfo{
2401 Server: srv,
2402 FullMethod: "/bbsim.BBSim/GetOlt",
2403 }
2404 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2405 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
2406 }
2407 return interceptor(ctx, in, info, handler)
2408}
2409
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002410func _BBSim_GetOltAllocatedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2411 in := new(OltAllocatedResourceType)
2412 if err := dec(in); err != nil {
2413 return nil, err
2414 }
2415 if interceptor == nil {
2416 return srv.(BBSimServer).GetOltAllocatedResources(ctx, in)
2417 }
2418 info := &grpc.UnaryServerInfo{
2419 Server: srv,
2420 FullMethod: "/bbsim.BBSim/GetOltAllocatedResources",
2421 }
2422 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2423 return srv.(BBSimServer).GetOltAllocatedResources(ctx, req.(*OltAllocatedResourceType))
2424 }
2425 return interceptor(ctx, in, info, handler)
2426}
2427
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002428func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2429 in := new(Empty)
2430 if err := dec(in); err != nil {
2431 return nil, err
2432 }
2433 if interceptor == nil {
2434 return srv.(BBSimServer).PoweronOlt(ctx, in)
2435 }
2436 info := &grpc.UnaryServerInfo{
2437 Server: srv,
2438 FullMethod: "/bbsim.BBSim/PoweronOlt",
2439 }
2440 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2441 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
2442 }
2443 return interceptor(ctx, in, info, handler)
2444}
2445
2446func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2447 in := new(Empty)
2448 if err := dec(in); err != nil {
2449 return nil, err
2450 }
2451 if interceptor == nil {
2452 return srv.(BBSimServer).ShutdownOlt(ctx, in)
2453 }
2454 info := &grpc.UnaryServerInfo{
2455 Server: srv,
2456 FullMethod: "/bbsim.BBSim/ShutdownOlt",
2457 }
2458 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2459 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
2460 }
2461 return interceptor(ctx, in, info, handler)
2462}
2463
2464func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2465 in := new(Empty)
2466 if err := dec(in); err != nil {
2467 return nil, err
2468 }
2469 if interceptor == nil {
2470 return srv.(BBSimServer).RebootOlt(ctx, in)
2471 }
2472 info := &grpc.UnaryServerInfo{
2473 Server: srv,
2474 FullMethod: "/bbsim.BBSim/RebootOlt",
2475 }
2476 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2477 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
2478 }
2479 return interceptor(ctx, in, info, handler)
2480}
2481
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002482func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2483 in := new(Empty)
2484 if err := dec(in); err != nil {
2485 return nil, err
2486 }
2487 if interceptor == nil {
2488 return srv.(BBSimServer).StopgRPCServer(ctx, in)
2489 }
2490 info := &grpc.UnaryServerInfo{
2491 Server: srv,
2492 FullMethod: "/bbsim.BBSim/StopgRPCServer",
2493 }
2494 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2495 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
2496 }
2497 return interceptor(ctx, in, info, handler)
2498}
2499
2500func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2501 in := new(Empty)
2502 if err := dec(in); err != nil {
2503 return nil, err
2504 }
2505 if interceptor == nil {
2506 return srv.(BBSimServer).StartgRPCServer(ctx, in)
2507 }
2508 info := &grpc.UnaryServerInfo{
2509 Server: srv,
2510 FullMethod: "/bbsim.BBSim/StartgRPCServer",
2511 }
2512 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2513 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
2514 }
2515 return interceptor(ctx, in, info, handler)
2516}
2517
2518func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2519 in := new(Timeout)
2520 if err := dec(in); err != nil {
2521 return nil, err
2522 }
2523 if interceptor == nil {
2524 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
2525 }
2526 info := &grpc.UnaryServerInfo{
2527 Server: srv,
2528 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2529 }
2530 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2531 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2532 }
2533 return interceptor(ctx, in, info, handler)
2534}
2535
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002536func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2537 in := new(ONURequest)
2538 if err := dec(in); err != nil {
2539 return nil, err
2540 }
2541 if interceptor == nil {
2542 return srv.(BBSimServer).GetONU(ctx, in)
2543 }
2544 info := &grpc.UnaryServerInfo{
2545 Server: srv,
2546 FullMethod: "/bbsim.BBSim/GetONU",
2547 }
2548 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2549 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2550 }
2551 return interceptor(ctx, in, info, handler)
2552}
2553
Pragya Aryabd731ec2020-02-11 16:38:17 +05302554func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2555 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002556 if err := dec(in); err != nil {
2557 return nil, err
2558 }
2559 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302560 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002561 }
2562 info := &grpc.UnaryServerInfo{
2563 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302564 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002565 }
2566 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302567 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002568 }
2569 return interceptor(ctx, in, info, handler)
2570}
2571
Matteo Scandolo4a036262020-08-17 15:56:13 -07002572func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2573 in := new(Empty)
2574 if err := dec(in); err != nil {
2575 return nil, err
2576 }
2577 if interceptor == nil {
2578 return srv.(BBSimServer).GetServices(ctx, in)
2579 }
2580 info := &grpc.UnaryServerInfo{
2581 Server: srv,
2582 FullMethod: "/bbsim.BBSim/GetServices",
2583 }
2584 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2585 return srv.(BBSimServer).GetServices(ctx, req.(*Empty))
2586 }
2587 return interceptor(ctx, in, info, handler)
2588}
2589
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002590func _BBSim_GetOnuUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2591 in := new(ONURequest)
2592 if err := dec(in); err != nil {
2593 return nil, err
2594 }
2595 if interceptor == nil {
2596 return srv.(BBSimServer).GetOnuUnis(ctx, in)
2597 }
2598 info := &grpc.UnaryServerInfo{
2599 Server: srv,
2600 FullMethod: "/bbsim.BBSim/GetOnuUnis",
2601 }
2602 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2603 return srv.(BBSimServer).GetOnuUnis(ctx, req.(*ONURequest))
2604 }
2605 return interceptor(ctx, in, info, handler)
2606}
2607
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002608func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2609 in := new(ONURequest)
2610 if err := dec(in); err != nil {
2611 return nil, err
2612 }
2613 if interceptor == nil {
2614 return srv.(BBSimServer).ShutdownONU(ctx, in)
2615 }
2616 info := &grpc.UnaryServerInfo{
2617 Server: srv,
2618 FullMethod: "/bbsim.BBSim/ShutdownONU",
2619 }
2620 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2621 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2622 }
2623 return interceptor(ctx, in, info, handler)
2624}
2625
Pragya Aryabd731ec2020-02-11 16:38:17 +05302626func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2627 in := new(Empty)
2628 if err := dec(in); err != nil {
2629 return nil, err
2630 }
2631 if interceptor == nil {
2632 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2633 }
2634 info := &grpc.UnaryServerInfo{
2635 Server: srv,
2636 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2637 }
2638 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2639 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2640 }
2641 return interceptor(ctx, in, info, handler)
2642}
2643
2644func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2645 in := new(PONRequest)
2646 if err := dec(in); err != nil {
2647 return nil, err
2648 }
2649 if interceptor == nil {
2650 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2651 }
2652 info := &grpc.UnaryServerInfo{
2653 Server: srv,
2654 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2655 }
2656 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2657 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2658 }
2659 return interceptor(ctx, in, info, handler)
2660}
2661
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002662func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2663 in := new(ONURequest)
2664 if err := dec(in); err != nil {
2665 return nil, err
2666 }
2667 if interceptor == nil {
2668 return srv.(BBSimServer).PoweronONU(ctx, in)
2669 }
2670 info := &grpc.UnaryServerInfo{
2671 Server: srv,
2672 FullMethod: "/bbsim.BBSim/PoweronONU",
2673 }
2674 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2675 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2676 }
2677 return interceptor(ctx, in, info, handler)
2678}
2679
Pragya Aryabd731ec2020-02-11 16:38:17 +05302680func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2681 in := new(Empty)
2682 if err := dec(in); err != nil {
2683 return nil, err
2684 }
2685 if interceptor == nil {
2686 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2687 }
2688 info := &grpc.UnaryServerInfo{
2689 Server: srv,
2690 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2691 }
2692 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2693 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2694 }
2695 return interceptor(ctx, in, info, handler)
2696}
2697
2698func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2699 in := new(PONRequest)
2700 if err := dec(in); err != nil {
2701 return nil, err
2702 }
2703 if interceptor == nil {
2704 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2705 }
2706 info := &grpc.UnaryServerInfo{
2707 Server: srv,
2708 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2709 }
2710 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2711 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2712 }
2713 return interceptor(ctx, in, info, handler)
2714}
2715
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002716func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2717 in := new(ONURequest)
2718 if err := dec(in); err != nil {
2719 return nil, err
2720 }
2721 if interceptor == nil {
2722 return srv.(BBSimServer).RestartEapol(ctx, in)
2723 }
2724 info := &grpc.UnaryServerInfo{
2725 Server: srv,
2726 FullMethod: "/bbsim.BBSim/RestartEapol",
2727 }
2728 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2729 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
2730 }
2731 return interceptor(ctx, in, info, handler)
2732}
2733
2734func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2735 in := new(ONURequest)
2736 if err := dec(in); err != nil {
2737 return nil, err
2738 }
2739 if interceptor == nil {
2740 return srv.(BBSimServer).RestartDhcp(ctx, in)
2741 }
2742 info := &grpc.UnaryServerInfo{
2743 Server: srv,
2744 FullMethod: "/bbsim.BBSim/RestartDhcp",
2745 }
2746 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2747 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
2748 }
2749 return interceptor(ctx, in, info, handler)
2750}
2751
Anand S Katti86552f92020-03-03 21:56:32 +05302752func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2753 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002754 if err := dec(in); err != nil {
2755 return nil, err
2756 }
2757 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302758 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002759 }
2760 info := &grpc.UnaryServerInfo{
2761 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302762 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002763 }
2764 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302765 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2766 }
2767 return interceptor(ctx, in, info, handler)
2768}
2769
2770func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2771 in := new(OLTAlarmRequest)
2772 if err := dec(in); err != nil {
2773 return nil, err
2774 }
2775 if interceptor == nil {
2776 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2777 }
2778 info := &grpc.UnaryServerInfo{
2779 Server: srv,
2780 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2781 }
2782 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2783 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002784 }
2785 return interceptor(ctx, in, info, handler)
2786}
2787
Pragya Arya8bdb4532020-03-02 17:08:09 +05302788func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2789 in := new(ONURequest)
2790 if err := dec(in); err != nil {
2791 return nil, err
2792 }
2793 if interceptor == nil {
2794 return srv.(BBSimServer).GetFlows(ctx, in)
2795 }
2796 info := &grpc.UnaryServerInfo{
2797 Server: srv,
2798 FullMethod: "/bbsim.BBSim/GetFlows",
2799 }
2800 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2801 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2802 }
2803 return interceptor(ctx, in, info, handler)
2804}
2805
Arjun E K57a7fcb2020-01-30 06:44:45 +00002806func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2807 in := new(IgmpRequest)
2808 if err := dec(in); err != nil {
2809 return nil, err
2810 }
2811 if interceptor == nil {
2812 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2813 }
2814 info := &grpc.UnaryServerInfo{
2815 Server: srv,
2816 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2817 }
2818 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2819 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2820 }
2821 return interceptor(ctx, in, info, handler)
2822}
2823
Anand S Katti09541352020-01-29 15:54:01 +05302824func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2825 in := new(ONURequest)
2826 if err := dec(in); err != nil {
2827 return nil, err
2828 }
2829 if interceptor == nil {
2830 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2831 }
2832 info := &grpc.UnaryServerInfo{
2833 Server: srv,
2834 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2835 }
2836 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2837 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2838 }
2839 return interceptor(ctx, in, info, handler)
2840}
2841
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002842var _BBSim_serviceDesc = grpc.ServiceDesc{
2843 ServiceName: "bbsim.BBSim",
2844 HandlerType: (*BBSimServer)(nil),
2845 Methods: []grpc.MethodDesc{
2846 {
2847 MethodName: "Version",
2848 Handler: _BBSim_Version_Handler,
2849 },
2850 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302851 MethodName: "SetLogLevel",
2852 Handler: _BBSim_SetLogLevel_Handler,
2853 },
2854 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002855 MethodName: "GetOlt",
2856 Handler: _BBSim_GetOlt_Handler,
2857 },
2858 {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002859 MethodName: "GetOltAllocatedResources",
2860 Handler: _BBSim_GetOltAllocatedResources_Handler,
2861 },
2862 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002863 MethodName: "PoweronOlt",
2864 Handler: _BBSim_PoweronOlt_Handler,
2865 },
2866 {
2867 MethodName: "ShutdownOlt",
2868 Handler: _BBSim_ShutdownOlt_Handler,
2869 },
2870 {
2871 MethodName: "RebootOlt",
2872 Handler: _BBSim_RebootOlt_Handler,
2873 },
2874 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002875 MethodName: "StopgRPCServer",
2876 Handler: _BBSim_StopgRPCServer_Handler,
2877 },
2878 {
2879 MethodName: "StartgRPCServer",
2880 Handler: _BBSim_StartgRPCServer_Handler,
2881 },
2882 {
2883 MethodName: "RestartgRPCServer",
2884 Handler: _BBSim_RestartgRPCServer_Handler,
2885 },
2886 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002887 MethodName: "GetONU",
2888 Handler: _BBSim_GetONU_Handler,
2889 },
2890 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302891 MethodName: "GetONUs",
2892 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002893 },
2894 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002895 MethodName: "GetServices",
2896 Handler: _BBSim_GetServices_Handler,
2897 },
2898 {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002899 MethodName: "GetOnuUnis",
2900 Handler: _BBSim_GetOnuUnis_Handler,
2901 },
2902 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002903 MethodName: "ShutdownONU",
2904 Handler: _BBSim_ShutdownONU_Handler,
2905 },
2906 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302907 MethodName: "ShutdownAllONUs",
2908 Handler: _BBSim_ShutdownAllONUs_Handler,
2909 },
2910 {
2911 MethodName: "ShutdownONUsOnPON",
2912 Handler: _BBSim_ShutdownONUsOnPON_Handler,
2913 },
2914 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002915 MethodName: "PoweronONU",
2916 Handler: _BBSim_PoweronONU_Handler,
2917 },
2918 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302919 MethodName: "PoweronAllONUs",
2920 Handler: _BBSim_PoweronAllONUs_Handler,
2921 },
2922 {
2923 MethodName: "PoweronONUsOnPON",
2924 Handler: _BBSim_PoweronONUsOnPON_Handler,
2925 },
2926 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002927 MethodName: "RestartEapol",
2928 Handler: _BBSim_RestartEapol_Handler,
2929 },
2930 {
2931 MethodName: "RestartDhcp",
2932 Handler: _BBSim_RestartDhcp_Handler,
2933 },
Scott Baker41724b82020-01-21 19:54:53 -08002934 {
Anand S Katti86552f92020-03-03 21:56:32 +05302935 MethodName: "SetOnuAlarmIndication",
2936 Handler: _BBSim_SetOnuAlarmIndication_Handler,
2937 },
2938 {
2939 MethodName: "SetOltAlarmIndication",
2940 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08002941 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00002942 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05302943 MethodName: "GetFlows",
2944 Handler: _BBSim_GetFlows_Handler,
2945 },
2946 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00002947 MethodName: "ChangeIgmpState",
2948 Handler: _BBSim_ChangeIgmpState_Handler,
2949 },
Anand S Katti09541352020-01-29 15:54:01 +05302950 {
2951 MethodName: "GetOnuTrafficSchedulers",
2952 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
2953 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002954 },
2955 Streams: []grpc.StreamDesc{},
2956 Metadata: "api/bbsim/bbsim.proto",
2957}