blob: c5f10a245ce07e39978e6318553fb5f52c65eddc [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"`
598 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
599 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
600 Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"`
601 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 Scandoloa6a3aee2019-11-26 13:30:14 -0700671func (m *ONU) GetHwAddress() string {
672 if m != nil {
673 return m.HwAddress
674 }
675 return ""
676}
677
678func (m *ONU) GetPortNo() int32 {
679 if m != nil {
680 return m.PortNo
681 }
682 return 0
683}
684
Matteo Scandolo4a036262020-08-17 15:56:13 -0700685func (m *ONU) GetServices() []*Service {
686 if m != nil {
687 return m.Services
688 }
689 return nil
690}
691
Matteo Scandolocedde462021-03-09 17:37:16 -0800692func (m *ONU) GetImageSoftwareExpectedSections() int32 {
693 if m != nil {
694 return m.ImageSoftwareExpectedSections
695 }
696 return 0
697}
698
699func (m *ONU) GetImageSoftwareReceivedSections() int32 {
700 if m != nil {
701 return m.ImageSoftwareReceivedSections
702 }
703 return 0
704}
705
706func (m *ONU) GetActiveImageEntityId() int32 {
707 if m != nil {
708 return m.ActiveImageEntityId
709 }
710 return 0
711}
712
713func (m *ONU) GetCommittedImageEntityId() int32 {
714 if m != nil {
715 return m.CommittedImageEntityId
716 }
717 return 0
718}
719
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700720func (m *ONU) GetUnis() []*UNI {
721 if m != nil {
722 return m.Unis
723 }
724 return nil
725}
726
727type UNI struct {
728 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
729 OnuID int32 `protobuf:"varint,2,opt,name=OnuID,proto3" json:"OnuID,omitempty"`
730 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
731 MeID uint32 `protobuf:"varint,4,opt,name=MeID,proto3" json:"MeID,omitempty"`
732 OperState string `protobuf:"bytes,5,opt,name=OperState,proto3" json:"OperState,omitempty"`
733 XXX_NoUnkeyedLiteral struct{} `json:"-"`
734 XXX_unrecognized []byte `json:"-"`
735 XXX_sizecache int32 `json:"-"`
736}
737
738func (m *UNI) Reset() { *m = UNI{} }
739func (m *UNI) String() string { return proto.CompactTextString(m) }
740func (*UNI) ProtoMessage() {}
741func (*UNI) Descriptor() ([]byte, []int) {
742 return fileDescriptor_ef7750073d18011b, []int{8}
743}
744
745func (m *UNI) XXX_Unmarshal(b []byte) error {
746 return xxx_messageInfo_UNI.Unmarshal(m, b)
747}
748func (m *UNI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
749 return xxx_messageInfo_UNI.Marshal(b, m, deterministic)
750}
751func (m *UNI) XXX_Merge(src proto.Message) {
752 xxx_messageInfo_UNI.Merge(m, src)
753}
754func (m *UNI) XXX_Size() int {
755 return xxx_messageInfo_UNI.Size(m)
756}
757func (m *UNI) XXX_DiscardUnknown() {
758 xxx_messageInfo_UNI.DiscardUnknown(m)
759}
760
761var xxx_messageInfo_UNI proto.InternalMessageInfo
762
763func (m *UNI) GetID() int32 {
764 if m != nil {
765 return m.ID
766 }
767 return 0
768}
769
770func (m *UNI) GetOnuID() int32 {
771 if m != nil {
772 return m.OnuID
773 }
774 return 0
775}
776
777func (m *UNI) GetOnuSn() string {
778 if m != nil {
779 return m.OnuSn
780 }
781 return ""
782}
783
784func (m *UNI) GetMeID() uint32 {
785 if m != nil {
786 return m.MeID
787 }
788 return 0
789}
790
791func (m *UNI) GetOperState() string {
792 if m != nil {
793 return m.OperState
794 }
795 return ""
796}
797
Matteo Scandolo4a036262020-08-17 15:56:13 -0700798type Service struct {
799 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
800 HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
801 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
802 STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"`
803 CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"`
804 NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"`
805 NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"`
806 NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"`
807 GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"`
808 EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"`
809 DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"`
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700810 InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
Matteo Scandolo618a6582020-09-09 12:21:29 -0700811 IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"`
Matteo Scandolo4a036262020-08-17 15:56:13 -0700812 XXX_NoUnkeyedLiteral struct{} `json:"-"`
813 XXX_unrecognized []byte `json:"-"`
814 XXX_sizecache int32 `json:"-"`
815}
816
817func (m *Service) Reset() { *m = Service{} }
818func (m *Service) String() string { return proto.CompactTextString(m) }
819func (*Service) ProtoMessage() {}
820func (*Service) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700821 return fileDescriptor_ef7750073d18011b, []int{9}
Matteo Scandolo4a036262020-08-17 15:56:13 -0700822}
823
824func (m *Service) XXX_Unmarshal(b []byte) error {
825 return xxx_messageInfo_Service.Unmarshal(m, b)
826}
827func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
828 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
829}
830func (m *Service) XXX_Merge(src proto.Message) {
831 xxx_messageInfo_Service.Merge(m, src)
832}
833func (m *Service) XXX_Size() int {
834 return xxx_messageInfo_Service.Size(m)
835}
836func (m *Service) XXX_DiscardUnknown() {
837 xxx_messageInfo_Service.DiscardUnknown(m)
838}
839
840var xxx_messageInfo_Service proto.InternalMessageInfo
841
842func (m *Service) GetName() string {
843 if m != nil {
844 return m.Name
845 }
846 return ""
847}
848
849func (m *Service) GetHwAddress() string {
850 if m != nil {
851 return m.HwAddress
852 }
853 return ""
854}
855
856func (m *Service) GetOnuSn() string {
857 if m != nil {
858 return m.OnuSn
859 }
860 return ""
861}
862
863func (m *Service) GetSTag() int32 {
864 if m != nil {
865 return m.STag
866 }
867 return 0
868}
869
870func (m *Service) GetCTag() int32 {
871 if m != nil {
872 return m.CTag
873 }
874 return 0
875}
876
877func (m *Service) GetNeedsEapol() bool {
878 if m != nil {
879 return m.NeedsEapol
880 }
881 return false
882}
883
884func (m *Service) GetNeedsDhcp() bool {
885 if m != nil {
886 return m.NeedsDhcp
887 }
888 return false
889}
890
891func (m *Service) GetNeedsIgmp() bool {
892 if m != nil {
893 return m.NeedsIgmp
894 }
895 return false
896}
897
898func (m *Service) GetGemPort() int32 {
899 if m != nil {
900 return m.GemPort
901 }
902 return 0
903}
904
905func (m *Service) GetEapolState() string {
906 if m != nil {
907 return m.EapolState
908 }
909 return ""
910}
911
912func (m *Service) GetDhcpState() string {
913 if m != nil {
914 return m.DhcpState
915 }
916 return ""
917}
918
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700919func (m *Service) GetInternalState() string {
920 if m != nil {
921 return m.InternalState
922 }
923 return ""
924}
925
Matteo Scandolo618a6582020-09-09 12:21:29 -0700926func (m *Service) GetIGMPState() string {
927 if m != nil {
928 return m.IGMPState
929 }
930 return ""
931}
932
Anand S Katti09541352020-01-29 15:54:01 +0530933type ONUTrafficSchedulers struct {
934 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
935 XXX_NoUnkeyedLiteral struct{} `json:"-"`
936 XXX_unrecognized []byte `json:"-"`
937 XXX_sizecache int32 `json:"-"`
938}
939
940func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
941func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
942func (*ONUTrafficSchedulers) ProtoMessage() {}
943func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700944 return fileDescriptor_ef7750073d18011b, []int{10}
Anand S Katti09541352020-01-29 15:54:01 +0530945}
946
947func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
948 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
949}
950func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
951 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
952}
953func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
954 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
955}
956func (m *ONUTrafficSchedulers) XXX_Size() int {
957 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
958}
959func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
960 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
961}
962
963var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
964
965func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
966 if m != nil {
967 return m.TraffSchedulers
968 }
969 return nil
970}
971
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700972type ONUs struct {
973 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
974 XXX_NoUnkeyedLiteral struct{} `json:"-"`
975 XXX_unrecognized []byte `json:"-"`
976 XXX_sizecache int32 `json:"-"`
977}
978
979func (m *ONUs) Reset() { *m = ONUs{} }
980func (m *ONUs) String() string { return proto.CompactTextString(m) }
981func (*ONUs) ProtoMessage() {}
982func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700983 return fileDescriptor_ef7750073d18011b, []int{11}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700984}
985
986func (m *ONUs) XXX_Unmarshal(b []byte) error {
987 return xxx_messageInfo_ONUs.Unmarshal(m, b)
988}
989func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
990 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
991}
992func (m *ONUs) XXX_Merge(src proto.Message) {
993 xxx_messageInfo_ONUs.Merge(m, src)
994}
995func (m *ONUs) XXX_Size() int {
996 return xxx_messageInfo_ONUs.Size(m)
997}
998func (m *ONUs) XXX_DiscardUnknown() {
999 xxx_messageInfo_ONUs.DiscardUnknown(m)
1000}
1001
1002var xxx_messageInfo_ONUs proto.InternalMessageInfo
1003
1004func (m *ONUs) GetItems() []*ONU {
1005 if m != nil {
1006 return m.Items
1007 }
1008 return nil
1009}
1010
Matteo Scandolo4a036262020-08-17 15:56:13 -07001011type Services struct {
1012 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1013 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1014 XXX_unrecognized []byte `json:"-"`
1015 XXX_sizecache int32 `json:"-"`
1016}
1017
1018func (m *Services) Reset() { *m = Services{} }
1019func (m *Services) String() string { return proto.CompactTextString(m) }
1020func (*Services) ProtoMessage() {}
1021func (*Services) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001022 return fileDescriptor_ef7750073d18011b, []int{12}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001023}
1024
1025func (m *Services) XXX_Unmarshal(b []byte) error {
1026 return xxx_messageInfo_Services.Unmarshal(m, b)
1027}
1028func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1029 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
1030}
1031func (m *Services) XXX_Merge(src proto.Message) {
1032 xxx_messageInfo_Services.Merge(m, src)
1033}
1034func (m *Services) XXX_Size() int {
1035 return xxx_messageInfo_Services.Size(m)
1036}
1037func (m *Services) XXX_DiscardUnknown() {
1038 xxx_messageInfo_Services.DiscardUnknown(m)
1039}
1040
1041var xxx_messageInfo_Services proto.InternalMessageInfo
1042
1043func (m *Services) GetItems() []*Service {
1044 if m != nil {
1045 return m.Items
1046 }
1047 return nil
1048}
1049
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001050type UNIs struct {
1051 Items []*UNI `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1052 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1053 XXX_unrecognized []byte `json:"-"`
1054 XXX_sizecache int32 `json:"-"`
1055}
1056
1057func (m *UNIs) Reset() { *m = UNIs{} }
1058func (m *UNIs) String() string { return proto.CompactTextString(m) }
1059func (*UNIs) ProtoMessage() {}
1060func (*UNIs) Descriptor() ([]byte, []int) {
1061 return fileDescriptor_ef7750073d18011b, []int{13}
1062}
1063
1064func (m *UNIs) XXX_Unmarshal(b []byte) error {
1065 return xxx_messageInfo_UNIs.Unmarshal(m, b)
1066}
1067func (m *UNIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1068 return xxx_messageInfo_UNIs.Marshal(b, m, deterministic)
1069}
1070func (m *UNIs) XXX_Merge(src proto.Message) {
1071 xxx_messageInfo_UNIs.Merge(m, src)
1072}
1073func (m *UNIs) XXX_Size() int {
1074 return xxx_messageInfo_UNIs.Size(m)
1075}
1076func (m *UNIs) XXX_DiscardUnknown() {
1077 xxx_messageInfo_UNIs.DiscardUnknown(m)
1078}
1079
1080var xxx_messageInfo_UNIs proto.InternalMessageInfo
1081
1082func (m *UNIs) GetItems() []*UNI {
1083 if m != nil {
1084 return m.Items
1085 }
1086 return nil
1087}
1088
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001089type ONURequest struct {
1090 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1091 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1092 XXX_unrecognized []byte `json:"-"`
1093 XXX_sizecache int32 `json:"-"`
1094}
1095
1096func (m *ONURequest) Reset() { *m = ONURequest{} }
1097func (m *ONURequest) String() string { return proto.CompactTextString(m) }
1098func (*ONURequest) ProtoMessage() {}
1099func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001100 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001101}
1102
1103func (m *ONURequest) XXX_Unmarshal(b []byte) error {
1104 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
1105}
1106func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1107 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
1108}
1109func (m *ONURequest) XXX_Merge(src proto.Message) {
1110 xxx_messageInfo_ONURequest.Merge(m, src)
1111}
1112func (m *ONURequest) XXX_Size() int {
1113 return xxx_messageInfo_ONURequest.Size(m)
1114}
1115func (m *ONURequest) XXX_DiscardUnknown() {
1116 xxx_messageInfo_ONURequest.DiscardUnknown(m)
1117}
1118
1119var xxx_messageInfo_ONURequest proto.InternalMessageInfo
1120
1121func (m *ONURequest) GetSerialNumber() string {
1122 if m != nil {
1123 return m.SerialNumber
1124 }
1125 return ""
1126}
1127
Pragya Aryabd731ec2020-02-11 16:38:17 +05301128type PONRequest struct {
1129 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
1130 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1131 XXX_unrecognized []byte `json:"-"`
1132 XXX_sizecache int32 `json:"-"`
1133}
1134
1135func (m *PONRequest) Reset() { *m = PONRequest{} }
1136func (m *PONRequest) String() string { return proto.CompactTextString(m) }
1137func (*PONRequest) ProtoMessage() {}
1138func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001139 return fileDescriptor_ef7750073d18011b, []int{15}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301140}
1141
1142func (m *PONRequest) XXX_Unmarshal(b []byte) error {
1143 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
1144}
1145func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1146 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
1147}
1148func (m *PONRequest) XXX_Merge(src proto.Message) {
1149 xxx_messageInfo_PONRequest.Merge(m, src)
1150}
1151func (m *PONRequest) XXX_Size() int {
1152 return xxx_messageInfo_PONRequest.Size(m)
1153}
1154func (m *PONRequest) XXX_DiscardUnknown() {
1155 xxx_messageInfo_PONRequest.DiscardUnknown(m)
1156}
1157
1158var xxx_messageInfo_PONRequest proto.InternalMessageInfo
1159
1160func (m *PONRequest) GetPonPortId() uint32 {
1161 if m != nil {
1162 return m.PonPortId
1163 }
1164 return 0
1165}
1166
Scott Baker41724b82020-01-21 19:54:53 -08001167type AlarmType struct {
1168 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1169 XXX_unrecognized []byte `json:"-"`
1170 XXX_sizecache int32 `json:"-"`
1171}
1172
1173func (m *AlarmType) Reset() { *m = AlarmType{} }
1174func (m *AlarmType) String() string { return proto.CompactTextString(m) }
1175func (*AlarmType) ProtoMessage() {}
1176func (*AlarmType) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001177 return fileDescriptor_ef7750073d18011b, []int{16}
Scott Baker41724b82020-01-21 19:54:53 -08001178}
1179
1180func (m *AlarmType) XXX_Unmarshal(b []byte) error {
1181 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
1182}
1183func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1184 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
1185}
1186func (m *AlarmType) XXX_Merge(src proto.Message) {
1187 xxx_messageInfo_AlarmType.Merge(m, src)
1188}
1189func (m *AlarmType) XXX_Size() int {
1190 return xxx_messageInfo_AlarmType.Size(m)
1191}
1192func (m *AlarmType) XXX_DiscardUnknown() {
1193 xxx_messageInfo_AlarmType.DiscardUnknown(m)
1194}
1195
1196var xxx_messageInfo_AlarmType proto.InternalMessageInfo
1197
1198type AlarmParameter struct {
1199 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
1200 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
1201 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1202 XXX_unrecognized []byte `json:"-"`
1203 XXX_sizecache int32 `json:"-"`
1204}
1205
1206func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
1207func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
1208func (*AlarmParameter) ProtoMessage() {}
1209func (*AlarmParameter) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001210 return fileDescriptor_ef7750073d18011b, []int{17}
Scott Baker41724b82020-01-21 19:54:53 -08001211}
1212
1213func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
1214 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
1215}
1216func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1217 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
1218}
1219func (m *AlarmParameter) XXX_Merge(src proto.Message) {
1220 xxx_messageInfo_AlarmParameter.Merge(m, src)
1221}
1222func (m *AlarmParameter) XXX_Size() int {
1223 return xxx_messageInfo_AlarmParameter.Size(m)
1224}
1225func (m *AlarmParameter) XXX_DiscardUnknown() {
1226 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
1227}
1228
1229var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
1230
1231func (m *AlarmParameter) GetKey() string {
1232 if m != nil {
1233 return m.Key
1234 }
1235 return ""
1236}
1237
1238func (m *AlarmParameter) GetValue() string {
1239 if m != nil {
1240 return m.Value
1241 }
1242 return ""
1243}
1244
Anand S Katti86552f92020-03-03 21:56:32 +05301245// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +05301246// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -08001247// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +05301248type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +05301249 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -08001250 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1251 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1252 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
1253 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1254 XXX_unrecognized []byte `json:"-"`
1255 XXX_sizecache int32 `json:"-"`
1256}
1257
Anand S Katti86552f92020-03-03 21:56:32 +05301258func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
1259func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
1260func (*ONUAlarmRequest) ProtoMessage() {}
1261func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001262 return fileDescriptor_ef7750073d18011b, []int{18}
Scott Baker41724b82020-01-21 19:54:53 -08001263}
1264
Anand S Katti86552f92020-03-03 21:56:32 +05301265func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
1266 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -08001267}
Anand S Katti86552f92020-03-03 21:56:32 +05301268func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1269 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -08001270}
Anand S Katti86552f92020-03-03 21:56:32 +05301271func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
1272 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -08001273}
Anand S Katti86552f92020-03-03 21:56:32 +05301274func (m *ONUAlarmRequest) XXX_Size() int {
1275 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -08001276}
Anand S Katti86552f92020-03-03 21:56:32 +05301277func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
1278 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -08001279}
1280
Anand S Katti86552f92020-03-03 21:56:32 +05301281var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -08001282
Anand S Katti86552f92020-03-03 21:56:32 +05301283func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -08001284 if m != nil {
1285 return m.AlarmType
1286 }
Pragya Arya694ece02020-02-07 13:03:47 +05301287 return ""
Scott Baker41724b82020-01-21 19:54:53 -08001288}
1289
Anand S Katti86552f92020-03-03 21:56:32 +05301290func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -08001291 if m != nil {
1292 return m.SerialNumber
1293 }
1294 return ""
1295}
1296
Anand S Katti86552f92020-03-03 21:56:32 +05301297func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -08001298 if m != nil {
1299 return m.Status
1300 }
1301 return ""
1302}
1303
Anand S Katti86552f92020-03-03 21:56:32 +05301304func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -08001305 if m != nil {
1306 return m.Parameters
1307 }
1308 return nil
1309}
1310
Anand S Katti86552f92020-03-03 21:56:32 +05301311// OLT alarm request
1312type OLTAlarmRequest struct {
1313 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
1314 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
1315 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1316 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1317 XXX_unrecognized []byte `json:"-"`
1318 XXX_sizecache int32 `json:"-"`
1319}
1320
1321func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
1322func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
1323func (*OLTAlarmRequest) ProtoMessage() {}
1324func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001325 return fileDescriptor_ef7750073d18011b, []int{19}
Anand S Katti86552f92020-03-03 21:56:32 +05301326}
1327
1328func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
1329 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
1330}
1331func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1332 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
1333}
1334func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
1335 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
1336}
1337func (m *OLTAlarmRequest) XXX_Size() int {
1338 return xxx_messageInfo_OLTAlarmRequest.Size(m)
1339}
1340func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
1341 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
1342}
1343
1344var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
1345
1346func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
1347 if m != nil {
1348 return m.InterfaceID
1349 }
1350 return 0
1351}
1352
1353func (m *OLTAlarmRequest) GetInterfaceType() string {
1354 if m != nil {
1355 return m.InterfaceType
1356 }
1357 return ""
1358}
1359
1360func (m *OLTAlarmRequest) GetStatus() string {
1361 if m != nil {
1362 return m.Status
1363 }
1364 return ""
1365}
1366
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001367type VersionNumber struct {
1368 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1369 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
1370 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
1371 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
1372 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1373 XXX_unrecognized []byte `json:"-"`
1374 XXX_sizecache int32 `json:"-"`
1375}
1376
1377func (m *VersionNumber) Reset() { *m = VersionNumber{} }
1378func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
1379func (*VersionNumber) ProtoMessage() {}
1380func (*VersionNumber) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001381 return fileDescriptor_ef7750073d18011b, []int{20}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001382}
1383
1384func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
1385 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
1386}
1387func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1388 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
1389}
1390func (m *VersionNumber) XXX_Merge(src proto.Message) {
1391 xxx_messageInfo_VersionNumber.Merge(m, src)
1392}
1393func (m *VersionNumber) XXX_Size() int {
1394 return xxx_messageInfo_VersionNumber.Size(m)
1395}
1396func (m *VersionNumber) XXX_DiscardUnknown() {
1397 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
1398}
1399
1400var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
1401
1402func (m *VersionNumber) GetVersion() string {
1403 if m != nil {
1404 return m.Version
1405 }
1406 return ""
1407}
1408
1409func (m *VersionNumber) GetBuildTime() string {
1410 if m != nil {
1411 return m.BuildTime
1412 }
1413 return ""
1414}
1415
1416func (m *VersionNumber) GetCommitHash() string {
1417 if m != nil {
1418 return m.CommitHash
1419 }
1420 return ""
1421}
1422
1423func (m *VersionNumber) GetGitStatus() string {
1424 if m != nil {
1425 return m.GitStatus
1426 }
1427 return ""
1428}
1429
1430type LogLevel struct {
1431 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
1432 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
1433 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1434 XXX_unrecognized []byte `json:"-"`
1435 XXX_sizecache int32 `json:"-"`
1436}
1437
1438func (m *LogLevel) Reset() { *m = LogLevel{} }
1439func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1440func (*LogLevel) ProtoMessage() {}
1441func (*LogLevel) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001442 return fileDescriptor_ef7750073d18011b, []int{21}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001443}
1444
1445func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1446 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1447}
1448func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1449 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1450}
1451func (m *LogLevel) XXX_Merge(src proto.Message) {
1452 xxx_messageInfo_LogLevel.Merge(m, src)
1453}
1454func (m *LogLevel) XXX_Size() int {
1455 return xxx_messageInfo_LogLevel.Size(m)
1456}
1457func (m *LogLevel) XXX_DiscardUnknown() {
1458 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1459}
1460
1461var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1462
1463func (m *LogLevel) GetLevel() string {
1464 if m != nil {
1465 return m.Level
1466 }
1467 return ""
1468}
1469
1470func (m *LogLevel) GetCaller() bool {
1471 if m != nil {
1472 return m.Caller
1473 }
1474 return false
1475}
1476
1477type Response struct {
1478 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1479 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1480 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1481 XXX_unrecognized []byte `json:"-"`
1482 XXX_sizecache int32 `json:"-"`
1483}
1484
1485func (m *Response) Reset() { *m = Response{} }
1486func (m *Response) String() string { return proto.CompactTextString(m) }
1487func (*Response) ProtoMessage() {}
1488func (*Response) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001489 return fileDescriptor_ef7750073d18011b, []int{22}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001490}
1491
1492func (m *Response) XXX_Unmarshal(b []byte) error {
1493 return xxx_messageInfo_Response.Unmarshal(m, b)
1494}
1495func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1496 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1497}
1498func (m *Response) XXX_Merge(src proto.Message) {
1499 xxx_messageInfo_Response.Merge(m, src)
1500}
1501func (m *Response) XXX_Size() int {
1502 return xxx_messageInfo_Response.Size(m)
1503}
1504func (m *Response) XXX_DiscardUnknown() {
1505 xxx_messageInfo_Response.DiscardUnknown(m)
1506}
1507
1508var xxx_messageInfo_Response proto.InternalMessageInfo
1509
1510func (m *Response) GetStatusCode() int32 {
1511 if m != nil {
1512 return m.StatusCode
1513 }
1514 return 0
1515}
1516
1517func (m *Response) GetMessage() string {
1518 if m != nil {
1519 return m.Message
1520 }
1521 return ""
1522}
1523
Arjun E K57a7fcb2020-01-30 06:44:45 +00001524type IgmpRequest struct {
1525 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1526 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001527 GroupAddress string `protobuf:"bytes,3,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"`
Arjun E K57a7fcb2020-01-30 06:44:45 +00001528 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1529 XXX_unrecognized []byte `json:"-"`
1530 XXX_sizecache int32 `json:"-"`
1531}
1532
1533func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1534func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1535func (*IgmpRequest) ProtoMessage() {}
1536func (*IgmpRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001537 return fileDescriptor_ef7750073d18011b, []int{23}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001538}
1539
1540func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1541 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1542}
1543func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1544 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1545}
1546func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1547 xxx_messageInfo_IgmpRequest.Merge(m, src)
1548}
1549func (m *IgmpRequest) XXX_Size() int {
1550 return xxx_messageInfo_IgmpRequest.Size(m)
1551}
1552func (m *IgmpRequest) XXX_DiscardUnknown() {
1553 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1554}
1555
1556var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1557
1558func (m *IgmpRequest) GetOnuReq() *ONURequest {
1559 if m != nil {
1560 return m.OnuReq
1561 }
1562 return nil
1563}
1564
1565func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1566 if m != nil {
1567 return m.SubActionVal
1568 }
1569 return SubActionTypes_JOIN
1570}
1571
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001572func (m *IgmpRequest) GetGroupAddress() string {
1573 if m != nil {
1574 return m.GroupAddress
1575 }
1576 return ""
1577}
1578
Pragya Arya8bdb4532020-03-02 17:08:09 +05301579type Flows struct {
1580 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1581 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1582 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1583 XXX_unrecognized []byte `json:"-"`
1584 XXX_sizecache int32 `json:"-"`
1585}
1586
1587func (m *Flows) Reset() { *m = Flows{} }
1588func (m *Flows) String() string { return proto.CompactTextString(m) }
1589func (*Flows) ProtoMessage() {}
1590func (*Flows) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001591 return fileDescriptor_ef7750073d18011b, []int{24}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301592}
1593
1594func (m *Flows) XXX_Unmarshal(b []byte) error {
1595 return xxx_messageInfo_Flows.Unmarshal(m, b)
1596}
1597func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1598 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1599}
1600func (m *Flows) XXX_Merge(src proto.Message) {
1601 xxx_messageInfo_Flows.Merge(m, src)
1602}
1603func (m *Flows) XXX_Size() int {
1604 return xxx_messageInfo_Flows.Size(m)
1605}
1606func (m *Flows) XXX_DiscardUnknown() {
1607 xxx_messageInfo_Flows.DiscardUnknown(m)
1608}
1609
1610var xxx_messageInfo_Flows proto.InternalMessageInfo
1611
1612func (m *Flows) GetFlowCount() uint32 {
1613 if m != nil {
1614 return m.FlowCount
1615 }
1616 return 0
1617}
1618
1619func (m *Flows) GetFlows() []*openolt.Flow {
1620 if m != nil {
1621 return m.Flows
1622 }
1623 return nil
1624}
1625
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001626type Timeout struct {
1627 Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
1628 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1629 XXX_unrecognized []byte `json:"-"`
1630 XXX_sizecache int32 `json:"-"`
1631}
1632
1633func (m *Timeout) Reset() { *m = Timeout{} }
1634func (m *Timeout) String() string { return proto.CompactTextString(m) }
1635func (*Timeout) ProtoMessage() {}
1636func (*Timeout) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001637 return fileDescriptor_ef7750073d18011b, []int{25}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001638}
1639
1640func (m *Timeout) XXX_Unmarshal(b []byte) error {
1641 return xxx_messageInfo_Timeout.Unmarshal(m, b)
1642}
1643func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1644 return xxx_messageInfo_Timeout.Marshal(b, m, deterministic)
1645}
1646func (m *Timeout) XXX_Merge(src proto.Message) {
1647 xxx_messageInfo_Timeout.Merge(m, src)
1648}
1649func (m *Timeout) XXX_Size() int {
1650 return xxx_messageInfo_Timeout.Size(m)
1651}
1652func (m *Timeout) XXX_DiscardUnknown() {
1653 xxx_messageInfo_Timeout.DiscardUnknown(m)
1654}
1655
1656var xxx_messageInfo_Timeout proto.InternalMessageInfo
1657
1658func (m *Timeout) GetDelay() uint32 {
1659 if m != nil {
1660 return m.Delay
1661 }
1662 return 0
1663}
1664
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001665type Empty struct {
1666 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1667 XXX_unrecognized []byte `json:"-"`
1668 XXX_sizecache int32 `json:"-"`
1669}
1670
1671func (m *Empty) Reset() { *m = Empty{} }
1672func (m *Empty) String() string { return proto.CompactTextString(m) }
1673func (*Empty) ProtoMessage() {}
1674func (*Empty) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001675 return fileDescriptor_ef7750073d18011b, []int{26}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001676}
1677
1678func (m *Empty) XXX_Unmarshal(b []byte) error {
1679 return xxx_messageInfo_Empty.Unmarshal(m, b)
1680}
1681func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1682 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1683}
1684func (m *Empty) XXX_Merge(src proto.Message) {
1685 xxx_messageInfo_Empty.Merge(m, src)
1686}
1687func (m *Empty) XXX_Size() int {
1688 return xxx_messageInfo_Empty.Size(m)
1689}
1690func (m *Empty) XXX_DiscardUnknown() {
1691 xxx_messageInfo_Empty.DiscardUnknown(m)
1692}
1693
1694var xxx_messageInfo_Empty proto.InternalMessageInfo
1695
1696func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001697 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001698 proto.RegisterEnum("bbsim.OltAllocatedResourceType_Type", OltAllocatedResourceType_Type_name, OltAllocatedResourceType_Type_value)
Scott Baker41724b82020-01-21 19:54:53 -08001699 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001700 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001701 proto.RegisterType((*PonAllocatedResources)(nil), "bbsim.PonAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001702 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1703 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001704 proto.RegisterType((*OltAllocatedResourceType)(nil), "bbsim.OltAllocatedResourceType")
1705 proto.RegisterType((*OltAllocatedResource)(nil), "bbsim.OltAllocatedResource")
1706 proto.RegisterType((*OltAllocatedResources)(nil), "bbsim.OltAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001707 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001708 proto.RegisterType((*UNI)(nil), "bbsim.UNI")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001709 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301710 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001711 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001712 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001713 proto.RegisterType((*UNIs)(nil), "bbsim.UNIs")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001714 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301715 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001716 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1717 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301718 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1719 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001720 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1721 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1722 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001723 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301724 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001725 proto.RegisterType((*Timeout)(nil), "bbsim.Timeout")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001726 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1727}
1728
Matteo Scandolof65e6872020-04-15 15:18:43 -07001729func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001730
1731var fileDescriptor_ef7750073d18011b = []byte{
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001732 // 2026 bytes of a gzipped FileDescriptorProto
1733 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x5d, 0x72, 0xdb, 0xc8,
1734 0x11, 0x16, 0xff, 0x44, 0xb2, 0x29, 0x52, 0xd0, 0xd8, 0xd2, 0xa2, 0x64, 0xed, 0x5a, 0x85, 0xf5,
1735 0xa6, 0x64, 0x57, 0x56, 0x5e, 0xdb, 0xc9, 0xc6, 0x7e, 0x84, 0x48, 0x8a, 0xc6, 0x8a, 0x02, 0x58,
1736 0x03, 0x52, 0x2e, 0x27, 0x0f, 0x2c, 0x88, 0x18, 0x49, 0xa8, 0x80, 0x00, 0x0d, 0x0c, 0xa5, 0xe8,
1737 0x00, 0x39, 0x41, 0x1e, 0xf2, 0x9e, 0x03, 0xe4, 0x2c, 0x39, 0x41, 0xf2, 0x94, 0x03, 0xa4, 0x72,
1738 0x81, 0xd4, 0x0c, 0x06, 0x20, 0x40, 0x42, 0x36, 0xfd, 0x94, 0x17, 0xd6, 0xf4, 0xd7, 0x3f, 0xd3,
1739 0xd3, 0xdd, 0xd3, 0xd3, 0x20, 0xec, 0x5a, 0x33, 0xe7, 0xe5, 0xe5, 0x65, 0xe8, 0x4c, 0xa3, 0xdf,
1740 0xe3, 0x59, 0xe0, 0x53, 0x1f, 0x55, 0x38, 0xb1, 0xff, 0xe4, 0xd6, 0x77, 0xe9, 0x8d, 0x35, 0xe6,
1741 0x60, 0xf8, 0xd2, 0x9f, 0x11, 0xcf, 0x77, 0x69, 0x24, 0xb3, 0x7f, 0x98, 0x65, 0x52, 0x32, 0xb9,
1742 0x61, 0xeb, 0x2b, 0xc7, 0x25, 0x91, 0x84, 0xf2, 0xaf, 0x22, 0x54, 0x07, 0x86, 0x3e, 0xf0, 0x03,
1743 0x8a, 0x5a, 0x50, 0xd4, 0x3a, 0x72, 0xe1, 0xb0, 0x70, 0x54, 0xc1, 0x45, 0xad, 0x83, 0x0e, 0xa0,
1744 0x6e, 0xcc, 0x48, 0x60, 0x52, 0x8b, 0x12, 0xb9, 0x78, 0x58, 0x38, 0xaa, 0xe3, 0x05, 0x80, 0x9e,
1745 0x41, 0x53, 0xf3, 0x28, 0x09, 0x3c, 0xcb, 0x8d, 0x24, 0x4a, 0x5c, 0x22, 0x0b, 0xa2, 0x43, 0x68,
1746 0x0c, 0xac, 0xc9, 0x1f, 0x09, 0x6d, 0xfb, 0x73, 0x8f, 0xca, 0xe5, 0xc3, 0xc2, 0x51, 0x19, 0xa7,
1747 0x21, 0x74, 0x0a, 0xdb, 0xaa, 0xeb, 0xfa, 0x13, 0x8b, 0x12, 0xdb, 0xf0, 0xe6, 0x9a, 0x1d, 0xca,
1748 0x95, 0xc3, 0xd2, 0x51, 0xe3, 0xf5, 0xc1, 0x71, 0x74, 0xdc, 0x81, 0xef, 0x25, 0x02, 0x98, 0x84,
1749 0xfe, 0x3c, 0x98, 0x90, 0x10, 0x2f, 0x2b, 0xa1, 0x5f, 0x60, 0x27, 0x81, 0x7a, 0x64, 0xca, 0x4e,
1750 0x14, 0xca, 0x9b, 0x6b, 0x58, 0x5a, 0x55, 0xcb, 0xd8, 0xe2, 0x0b, 0xe6, 0x55, 0xf5, 0xab, 0x6c,
1751 0xc5, 0x6a, 0xca, 0x19, 0xec, 0xe6, 0xca, 0x22, 0x05, 0xb6, 0x4c, 0x12, 0x38, 0x96, 0xab, 0xcf,
1752 0xa7, 0x97, 0x24, 0xe0, 0x81, 0xaf, 0xe3, 0x0c, 0xc6, 0x53, 0x62, 0xf3, 0xd8, 0xb3, 0x94, 0xd8,
1753 0xca, 0xef, 0xa0, 0xaa, 0xeb, 0xda, 0xd7, 0x67, 0x4b, 0xf9, 0x77, 0x01, 0x4a, 0x86, 0xbb, 0xaa,
1754 0xb5, 0xec, 0x44, 0x31, 0xc7, 0x89, 0x8c, 0xe5, 0xd2, 0x17, 0xeb, 0xa0, 0x9c, 0x57, 0x07, 0x6c,
1755 0xdf, 0x81, 0x5c, 0xe5, 0xac, 0xa2, 0x36, 0x40, 0x2f, 0xa0, 0x26, 0x0e, 0x12, 0xa7, 0xbb, 0x25,
1756 0x02, 0x2b, 0x60, 0x9c, 0xf0, 0x99, 0xac, 0x28, 0xd1, 0x38, 0xa1, 0xb1, 0xac, 0x80, 0x71, 0xc2,
1757 0x57, 0xfe, 0x5c, 0x00, 0xd9, 0x70, 0xe9, 0x4a, 0xb8, 0x87, 0xf7, 0x33, 0x82, 0xde, 0x42, 0x99,
1758 0xde, 0xcf, 0x08, 0x3f, 0x7e, 0xeb, 0xf5, 0x33, 0x61, 0xe4, 0x21, 0xf1, 0x63, 0xf6, 0x83, 0xb9,
1759 0x86, 0xf2, 0x12, 0xca, 0xdc, 0x42, 0x03, 0xaa, 0x23, 0xfd, 0x4c, 0x37, 0x3e, 0xe8, 0xd2, 0x06,
1760 0xda, 0x82, 0x9a, 0xda, 0xef, 0x1b, 0xed, 0xb1, 0xd6, 0x91, 0x0a, 0x8c, 0xea, 0x75, 0xcf, 0xc7,
1761 0x03, 0x03, 0x0f, 0xa5, 0xa2, 0xf2, 0xf7, 0x02, 0x3c, 0xce, 0x33, 0x8c, 0x50, 0x64, 0x49, 0x64,
1762 0x3b, 0xb2, 0x7a, 0x00, 0xf5, 0x81, 0xef, 0xb1, 0x03, 0x88, 0x64, 0x37, 0xf1, 0x02, 0x40, 0x8f,
1763 0xa1, 0xc2, 0x4b, 0x9c, 0x87, 0xbe, 0x89, 0x23, 0x02, 0xed, 0xc1, 0x26, 0xe3, 0xeb, 0x3e, 0x8f,
1764 0x77, 0x13, 0x0b, 0x0a, 0x7d, 0x07, 0x10, 0xef, 0xa5, 0xd9, 0x72, 0x85, 0x27, 0x3a, 0x85, 0x30,
1765 0xbd, 0x53, 0xd7, 0xbf, 0xd3, 0x6c, 0x79, 0x93, 0xdf, 0x45, 0x41, 0x29, 0x18, 0x76, 0xf3, 0xfc,
1766 0x0d, 0xd1, 0x3b, 0xa8, 0x07, 0x31, 0x21, 0x17, 0x78, 0xf8, 0x9f, 0x7c, 0x26, 0x72, 0x78, 0x21,
1767 0xad, 0xfc, 0xa5, 0x0c, 0x25, 0x43, 0x1f, 0xfd, 0xdf, 0x8a, 0x2e, 0x15, 0xd7, 0x8e, 0x08, 0xc5,
1768 0x02, 0x60, 0xdc, 0xf7, 0x77, 0xaa, 0x6d, 0x07, 0x24, 0x0c, 0xe5, 0x5a, 0xb4, 0x43, 0x02, 0xa4,
1769 0xe2, 0x5b, 0xe7, 0x8a, 0x71, 0x7c, 0x5f, 0x40, 0x2d, 0x24, 0xc1, 0xad, 0xc3, 0xa2, 0x01, 0x99,
1770 0x62, 0x34, 0x23, 0x18, 0x27, 0x7c, 0xd4, 0x81, 0x6f, 0xb5, 0xa9, 0x75, 0x4d, 0x4c, 0xff, 0x8a,
1771 0xde, 0x59, 0x01, 0xe9, 0xfe, 0x69, 0x46, 0x26, 0x94, 0xd8, 0x26, 0x99, 0x50, 0xc7, 0xf7, 0x42,
1772 0xb9, 0xc1, 0x4d, 0x7f, 0x5e, 0x68, 0xc5, 0x0a, 0x26, 0x13, 0xe2, 0xdc, 0xa6, 0xac, 0x6c, 0xe5,
1773 0x58, 0x59, 0x16, 0x42, 0x3f, 0xc1, 0x23, 0x75, 0x42, 0x9d, 0x5b, 0xc2, 0xc5, 0xba, 0x1e, 0x75,
1774 0xe8, 0xbd, 0x66, 0xcb, 0x4d, 0xae, 0x9b, 0xc7, 0x42, 0x3f, 0xc3, 0x5e, 0xdb, 0x9f, 0x4e, 0x1d,
1775 0x4a, 0x89, 0x9d, 0x55, 0x6a, 0x71, 0xa5, 0x07, 0xb8, 0xe8, 0x3b, 0x28, 0xcf, 0x3d, 0x27, 0x94,
1776 0xb7, 0x79, 0x74, 0x40, 0x44, 0x67, 0xa4, 0x6b, 0x98, 0xe3, 0x4a, 0x08, 0xa5, 0x91, 0xae, 0xad,
1777 0x14, 0x85, 0x28, 0xf3, 0x8e, 0xe8, 0x76, 0x11, 0x21, 0x50, 0xd3, 0x13, 0x25, 0x10, 0x11, 0xec,
1778 0x12, 0x9d, 0x13, 0xad, 0x23, 0x4a, 0x9f, 0xaf, 0xb3, 0x05, 0x53, 0x59, 0xee, 0x7f, 0xff, 0x29,
1779 0x42, 0x55, 0x24, 0x88, 0x69, 0xeb, 0xd6, 0x34, 0xb9, 0x82, 0x6c, 0x9d, 0x2d, 0x86, 0xe2, 0x72,
1780 0x31, 0x3c, 0xe8, 0x85, 0x39, 0xb4, 0xae, 0xb9, 0x17, 0x15, 0xcc, 0xd7, 0x0c, 0x6b, 0x33, 0x2c,
1781 0xaa, 0x36, 0xbe, 0x66, 0x57, 0x52, 0x27, 0xc4, 0x0e, 0xbb, 0xd6, 0xcc, 0x77, 0xf9, 0xb5, 0xab,
1782 0xe1, 0x14, 0xc2, 0xf6, 0xe6, 0x54, 0xe7, 0x66, 0x32, 0xe3, 0x2d, 0xb2, 0x86, 0x17, 0x40, 0xc2,
1783 0xd5, 0xae, 0xa7, 0x33, 0x5e, 0xa6, 0x31, 0x97, 0x01, 0x48, 0x86, 0xaa, 0x78, 0xb5, 0x44, 0x9d,
1784 0xc6, 0x24, 0xdb, 0x95, 0x9b, 0x8f, 0x02, 0x02, 0xdc, 0xf1, 0x14, 0xc2, 0xec, 0x32, 0xfb, 0x11,
1785 0xbb, 0x11, 0x9d, 0x38, 0x01, 0x56, 0x2f, 0xd8, 0xd6, 0x03, 0x17, 0x4c, 0xeb, 0x9d, 0x0f, 0x22,
1786 0x89, 0x66, 0x64, 0x23, 0x01, 0x14, 0x0b, 0x1e, 0x1b, 0xfa, 0x68, 0x18, 0x58, 0x57, 0x57, 0xce,
1787 0xc4, 0x9c, 0xdc, 0x10, 0x7b, 0xee, 0x92, 0x20, 0x44, 0x1a, 0x6c, 0x53, 0x06, 0x2e, 0x20, 0x9e,
1788 0x8a, 0xc6, 0xeb, 0xa7, 0xc7, 0x99, 0x09, 0x65, 0x45, 0x13, 0x2f, 0xeb, 0x29, 0x47, 0x50, 0x36,
1789 0xf4, 0x51, 0x88, 0x0e, 0xa1, 0xe2, 0x50, 0x32, 0x8d, 0x1b, 0x54, 0x5c, 0x74, 0x86, 0x3e, 0xc2,
1790 0x11, 0x43, 0xf9, 0x09, 0x6a, 0x66, 0x7c, 0x2f, 0x9f, 0x65, 0xa5, 0x97, 0x2f, 0xb0, 0xd0, 0x38,
1791 0x82, 0xf2, 0x48, 0xd7, 0x1e, 0xb4, 0xcd, 0x0a, 0x3a, 0xb1, 0x0d, 0x6c, 0x27, 0xf2, 0x69, 0x4e,
1792 0x42, 0xba, 0xce, 0xbb, 0xae, 0xbc, 0x00, 0x18, 0x18, 0x7a, 0xac, 0x91, 0xe9, 0xff, 0x85, 0xa5,
1793 0xfe, 0xaf, 0xfc, 0xb3, 0x04, 0x75, 0xd5, 0xb5, 0x82, 0x29, 0x7b, 0x2b, 0x94, 0x7f, 0x94, 0xa0,
1794 0xc2, 0x16, 0x21, 0xaa, 0x42, 0xa9, 0x6f, 0x98, 0xd2, 0x06, 0x6a, 0x01, 0x74, 0x3e, 0x6a, 0x7a,
1795 0x6f, 0xdc, 0x53, 0xcd, 0x81, 0x54, 0x40, 0x4d, 0xa8, 0x1b, 0xfa, 0x68, 0xac, 0xf6, 0x55, 0x7c,
1796 0x2e, 0x15, 0xd1, 0x37, 0xf0, 0x88, 0x91, 0xe6, 0x50, 0xc5, 0xc3, 0xd1, 0x60, 0x7c, 0xaa, 0x6a,
1797 0xfd, 0x11, 0xee, 0x4a, 0x25, 0xb4, 0x07, 0x88, 0x33, 0xb4, 0x9e, 0xae, 0xf6, 0xc7, 0x9d, 0x6e,
1798 0x0f, 0xab, 0x9d, 0xae, 0x54, 0x8e, 0x15, 0x3a, 0x58, 0x3b, 0x1d, 0x8e, 0x8d, 0xd3, 0xf1, 0x07,
1799 0x4d, 0xef, 0x18, 0x1f, 0xa4, 0x0a, 0x3a, 0x00, 0x99, 0x31, 0xfa, 0x86, 0x69, 0x32, 0xdc, 0x38,
1800 0x6f, 0x6b, 0xe3, 0xf6, 0x7b, 0x55, 0xd7, 0xbb, 0x7d, 0x69, 0x33, 0xd9, 0x87, 0x9b, 0x33, 0x93,
1801 0x7d, 0xaa, 0xe8, 0x39, 0xfc, 0xc0, 0x18, 0x43, 0xac, 0xea, 0xe6, 0xb9, 0x66, 0x9a, 0x9a, 0xa1,
1802 0x8f, 0x35, 0x7d, 0xd8, 0xc5, 0xa7, 0x5d, 0xdc, 0xd5, 0xdb, 0xdd, 0xf1, 0x07, 0x15, 0xeb, 0x9a,
1803 0xde, 0x93, 0x6a, 0x68, 0x1f, 0xf6, 0xb8, 0xeb, 0xed, 0xa1, 0x76, 0xa1, 0x0e, 0x99, 0x60, 0x6c,
1804 0xa6, 0x8e, 0x64, 0x5e, 0x4e, 0xe3, 0x01, 0x36, 0xda, 0x5d, 0xd3, 0x64, 0xe7, 0xed, 0x62, 0x6c,
1805 0x60, 0x09, 0xd0, 0x21, 0x1c, 0xa4, 0xfd, 0x3a, 0xeb, 0x7e, 0x1c, 0x9b, 0x1f, 0xf5, 0x76, 0xa2,
1806 0xdb, 0x40, 0xbb, 0xb0, 0xc3, 0x24, 0xb4, 0xe1, 0x68, 0x3c, 0x30, 0x74, 0x16, 0x8b, 0xa1, 0x29,
1807 0x6d, 0xa1, 0x1d, 0x68, 0x26, 0x91, 0x62, 0xea, 0x52, 0x73, 0x19, 0x3a, 0x91, 0x5a, 0xf1, 0xc1,
1808 0x62, 0x68, 0xd0, 0x1e, 0xb3, 0x53, 0x48, 0xdb, 0x71, 0x3c, 0x32, 0x8c, 0xb6, 0xf0, 0x4a, 0x42,
1809 0x08, 0x5a, 0x69, 0xee, 0xa9, 0x26, 0xed, 0xa0, 0x47, 0xb0, 0x9d, 0xc6, 0xd4, 0x73, 0x4d, 0x42,
1810 0xca, 0x5b, 0x68, 0xf1, 0xfc, 0x0e, 0xac, 0xc0, 0x9a, 0x12, 0x4a, 0x02, 0x24, 0x41, 0xe9, 0x8c,
1811 0xdc, 0x8b, 0xca, 0x61, 0x4b, 0xd6, 0x81, 0x2e, 0x2c, 0x77, 0x1e, 0x4f, 0x76, 0x11, 0xa1, 0xfc,
1812 0xad, 0xc0, 0xed, 0x71, 0xed, 0x54, 0x31, 0x25, 0xd5, 0x22, 0x2c, 0x2c, 0x80, 0xb5, 0x9e, 0xde,
1813 0x3d, 0xd8, 0x64, 0x17, 0x78, 0x1e, 0x8a, 0x76, 0x27, 0x28, 0xf4, 0x5b, 0x80, 0xc4, 0xc5, 0x50,
1814 0x2e, 0xf3, 0xdb, 0xb0, 0x2b, 0x6e, 0x43, 0xf6, 0x00, 0x38, 0x25, 0xa8, 0x7c, 0x82, 0x6d, 0xa3,
1815 0x3f, 0xcc, 0xf8, 0x78, 0x08, 0x0d, 0xde, 0x48, 0xae, 0xac, 0x09, 0x11, 0x8f, 0x40, 0x13, 0xa7,
1816 0xa1, 0xa4, 0xff, 0x30, 0x92, 0x9f, 0xa4, 0x98, 0xea, 0x3f, 0x31, 0xf8, 0x90, 0xa7, 0x6c, 0x0a,
1817 0x6c, 0x5e, 0x90, 0x20, 0x74, 0x7c, 0x4f, 0x9c, 0x49, 0x86, 0xea, 0x6d, 0x04, 0x88, 0x98, 0xc4,
1818 0x24, 0x8b, 0xd7, 0xe5, 0xdc, 0x71, 0xed, 0xa1, 0x33, 0x4d, 0xe6, 0xe6, 0x04, 0x60, 0x5d, 0x74,
1819 0xc2, 0x9f, 0xb9, 0xf7, 0x56, 0x78, 0x23, 0x76, 0x49, 0x21, 0x4c, 0xfb, 0xda, 0xa1, 0xc2, 0x89,
1820 0x68, 0x08, 0x59, 0x00, 0xca, 0x5b, 0xa8, 0xf5, 0xfd, 0xeb, 0x3e, 0xb9, 0x25, 0x2e, 0xcb, 0xa0,
1821 0xcb, 0x16, 0x62, 0xff, 0x88, 0x60, 0x27, 0x98, 0x58, 0xae, 0x2b, 0x32, 0x51, 0xc3, 0x82, 0x52,
1822 0xba, 0x50, 0xc3, 0x24, 0x9c, 0xf9, 0x5e, 0x48, 0xd0, 0x53, 0x68, 0x84, 0xdc, 0xde, 0x78, 0xe2,
1823 0xdb, 0x44, 0x3c, 0x99, 0x10, 0x41, 0x6d, 0xdf, 0x26, 0xec, 0x70, 0x53, 0x12, 0x86, 0xd6, 0x75,
1824 0x7c, 0x80, 0x98, 0x54, 0xfe, 0x5a, 0x80, 0x06, 0x7b, 0x27, 0xe2, 0xc0, 0x3f, 0x87, 0x4d, 0xc3,
1825 0x9b, 0x63, 0xf2, 0x49, 0x74, 0xdc, 0x9d, 0x54, 0xa3, 0x8c, 0x44, 0xb0, 0x10, 0x40, 0xef, 0x60,
1826 0xcb, 0x9c, 0x5f, 0xaa, 0x7c, 0x7c, 0xb8, 0xb0, 0x5c, 0x6e, 0xb9, 0x95, 0xe4, 0x3b, 0x61, 0xf1,
1827 0x5e, 0x84, 0x33, 0xa2, 0xac, 0xc8, 0x7a, 0x81, 0x3f, 0x9f, 0xc5, 0xef, 0x69, 0x14, 0xb6, 0x0c,
1828 0xa6, 0x9c, 0x41, 0x85, 0x4d, 0x9e, 0x21, 0xfa, 0x16, 0xe0, 0xca, 0xf5, 0xef, 0xc6, 0x13, 0xfe,
1829 0x81, 0x28, 0xba, 0x1f, 0x43, 0xa2, 0xcf, 0xc3, 0xef, 0xa1, 0xc2, 0x08, 0xf6, 0x28, 0xb3, 0x7a,
1830 0x6b, 0x1e, 0xc7, 0x5f, 0xb8, 0x4c, 0x1b, 0x47, 0x3c, 0xe5, 0x29, 0x54, 0x59, 0xb6, 0xfc, 0x39,
1831 0x65, 0x61, 0xb6, 0x89, 0x6b, 0xdd, 0x0b, 0x4b, 0x11, 0xa1, 0x54, 0xa1, 0xd2, 0x9d, 0xce, 0xe8,
1832 0xfd, 0x8b, 0x57, 0xd0, 0xca, 0xba, 0x8e, 0x6a, 0x50, 0xfe, 0xc5, 0xd0, 0xd8, 0x3c, 0x5f, 0x87,
1833 0x4a, 0xbf, 0xab, 0x5e, 0x74, 0xa5, 0x02, 0x02, 0xd8, 0x64, 0xe0, 0xc5, 0x1b, 0xa9, 0xf8, 0xfa,
1834 0xbf, 0x0d, 0xa8, 0x9c, 0x9c, 0x98, 0xce, 0x14, 0xbd, 0x84, 0xaa, 0xa8, 0x2a, 0xb4, 0x25, 0xe2,
1835 0xc0, 0xad, 0xee, 0x3f, 0x16, 0x54, 0xa6, 0xe6, 0x94, 0x0d, 0xf4, 0x0a, 0x1a, 0x26, 0xa1, 0x49,
1836 0x09, 0x6c, 0x0b, 0xb1, 0x18, 0xd8, 0x5f, 0x06, 0x94, 0x0d, 0xf4, 0x0c, 0x36, 0x7b, 0x84, 0xb2,
1837 0x4f, 0xb5, 0xec, 0x16, 0xb0, 0x98, 0xb9, 0x95, 0x0d, 0xf4, 0x07, 0x90, 0x23, 0xa9, 0x9c, 0x81,
1838 0xfd, 0xe9, 0x17, 0xbe, 0x6b, 0xf6, 0x0f, 0x3e, 0x23, 0x10, 0x2a, 0x1b, 0xe8, 0x47, 0x80, 0x81,
1839 0x7f, 0x47, 0x02, 0xdf, 0x5b, 0x75, 0x23, 0xf6, 0x38, 0x2e, 0x4e, 0x65, 0x03, 0x1d, 0x43, 0xc3,
1840 0xbc, 0x99, 0x53, 0xdb, 0xbf, 0x5b, 0x4f, 0xfe, 0xd7, 0x50, 0xc7, 0xe4, 0xd2, 0xf7, 0xe9, 0x5a,
1841 0xd2, 0x2c, 0x61, 0xd4, 0x9f, 0x5d, 0xe3, 0x41, 0x9b, 0xbd, 0xcf, 0x24, 0xf8, 0xb2, 0xca, 0x6b,
1842 0xd8, 0x36, 0xa9, 0x15, 0xd0, 0xaf, 0xd1, 0xf9, 0x19, 0x76, 0x30, 0x09, 0x97, 0xb4, 0xe2, 0xc1,
1843 0x40, 0xd4, 0x56, 0x9e, 0xde, 0xf3, 0x28, 0x5d, 0xfa, 0x08, 0xad, 0x5e, 0xa5, 0xfd, 0xd4, 0x18,
1844 0xa2, 0x6c, 0xa0, 0x5f, 0xb1, 0x51, 0x8d, 0xf2, 0x71, 0x25, 0xeb, 0x4e, 0x63, 0x21, 0x16, 0x46,
1845 0xf1, 0xec, 0x11, 0x9a, 0x0c, 0x2b, 0xf9, 0xae, 0xc7, 0x6c, 0xee, 0x7a, 0x8b, 0xd9, 0xf5, 0xe6,
1846 0x89, 0x4a, 0x8e, 0x2b, 0x39, 0x7a, 0xc7, 0x00, 0x91, 0xde, 0xc8, 0x73, 0x72, 0x75, 0x1a, 0x8b,
1847 0x49, 0x87, 0xc9, 0xbf, 0x49, 0xe5, 0x39, 0xff, 0xbc, 0x0f, 0xe4, 0x42, 0x28, 0xa9, 0xae, 0x9b,
1848 0x73, 0xf8, 0x1c, 0x9d, 0x77, 0xb0, 0x93, 0xda, 0x28, 0x34, 0xbc, 0x81, 0xa1, 0x27, 0xdb, 0x2d,
1849 0xc6, 0xa6, 0xfc, 0xed, 0x92, 0xd2, 0x5d, 0xdb, 0xc5, 0x57, 0xd0, 0x12, 0x3a, 0x6b, 0x7b, 0xf8,
1850 0x16, 0xa4, 0xc5, 0x36, 0x5f, 0xe5, 0xe0, 0x6f, 0x60, 0x4b, 0xd4, 0x59, 0x34, 0xfb, 0xaf, 0xe7,
1851 0xe2, 0x1b, 0x68, 0x08, 0x2d, 0xfe, 0x49, 0xb0, 0x9e, 0xd2, 0x09, 0xec, 0x9a, 0x3c, 0xbf, 0xfc,
1852 0xe9, 0xd5, 0x3c, 0xdb, 0x99, 0x58, 0xac, 0xed, 0xa1, 0xbd, 0x85, 0x7a, 0xfa, 0x55, 0xfe, 0x8c,
1853 0x0d, 0xd6, 0x28, 0x1e, 0xb0, 0x91, 0x7d, 0xd9, 0xf3, 0x6c, 0xfc, 0x08, 0xb5, 0x1e, 0xa1, 0x51,
1854 0xb3, 0xcf, 0xf1, 0x3c, 0x0e, 0x36, 0x17, 0xe0, 0xb1, 0xdd, 0x6e, 0xdf, 0x58, 0xde, 0x35, 0x61,
1855 0xef, 0x56, 0xf4, 0x99, 0x81, 0x84, 0x48, 0xea, 0x25, 0xcb, 0xdb, 0xe8, 0x0c, 0xbe, 0x89, 0x0a,
1856 0x7a, 0xf5, 0x93, 0x23, 0x67, 0xdf, 0x27, 0x0b, 0x68, 0x45, 0x5e, 0xd9, 0x38, 0xf9, 0xe1, 0xf7,
1857 0xdf, 0x5f, 0x3b, 0xf4, 0x66, 0x7e, 0x79, 0x3c, 0xf1, 0xa7, 0xfc, 0x6f, 0xd5, 0x89, 0x1f, 0xd8,
1858 0xe2, 0x7f, 0xd8, 0xe4, 0x1f, 0xd9, 0xcb, 0x4d, 0xfe, 0x37, 0xea, 0x9b, 0xff, 0x05, 0x00, 0x00,
1859 0xff, 0xff, 0xaa, 0x2b, 0x80, 0x09, 0xa5, 0x15, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001860}
1861
1862// Reference imports to suppress errors if they are not otherwise used.
1863var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001864var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001865
1866// This is a compile-time assertion to ensure that this generated file
1867// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001868const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001869
1870// BBSimClient is the client API for BBSim service.
1871//
1872// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1873type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001874 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001875 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001876 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301877 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001878 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001879 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001880 GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001881 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001882 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001883 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001884 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001885 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001886 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001887 // Closes the Openolt gRPC server
1888 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1889 // Start the Openolt gRPC server
1890 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05301891 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001892 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001893 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001894 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001895 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301896 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001897 // Get all the Services
1898 GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error)
1899 // Get all the Services of an ONU by serial number
1900 GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001901 // Get all the UNIs of an ONU by serial number
1902 GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001903 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001904 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001905 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301906 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001907 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301908 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001909 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001910 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001911 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301912 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001913 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301914 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001915 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001916 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001917 // Restart DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001918 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001919 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301920 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001921 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301922 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001923 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301924 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001925 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001926 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001927 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301928 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001929}
1930
1931type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04001932 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001933}
1934
Kent Hagerman60d62302020-03-10 17:02:36 -04001935func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001936 return &bBSimClient{cc}
1937}
1938
1939func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1940 out := new(VersionNumber)
1941 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1942 if err != nil {
1943 return nil, err
1944 }
1945 return out, nil
1946}
1947
Pragya Aryabd731ec2020-02-11 16:38:17 +05301948func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1949 out := new(LogLevel)
1950 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1951 if err != nil {
1952 return nil, err
1953 }
1954 return out, nil
1955}
1956
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001957func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1958 out := new(Olt)
1959 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1960 if err != nil {
1961 return nil, err
1962 }
1963 return out, nil
1964}
1965
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001966func (c *bBSimClient) GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) {
1967 out := new(OltAllocatedResources)
1968 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOltAllocatedResources", in, out, opts...)
1969 if err != nil {
1970 return nil, err
1971 }
1972 return out, nil
1973}
1974
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001975func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1976 out := new(Response)
1977 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1978 if err != nil {
1979 return nil, err
1980 }
1981 return out, nil
1982}
1983
1984func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1985 out := new(Response)
1986 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1987 if err != nil {
1988 return nil, err
1989 }
1990 return out, nil
1991}
1992
1993func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1994 out := new(Response)
1995 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1996 if err != nil {
1997 return nil, err
1998 }
1999 return out, nil
2000}
2001
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002002func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2003 out := new(Response)
2004 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
2005 if err != nil {
2006 return nil, err
2007 }
2008 return out, nil
2009}
2010
2011func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2012 out := new(Response)
2013 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
2014 if err != nil {
2015 return nil, err
2016 }
2017 return out, nil
2018}
2019
2020func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
2021 out := new(Response)
2022 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
2023 if err != nil {
2024 return nil, err
2025 }
2026 return out, nil
2027}
2028
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002029func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
2030 out := new(ONU)
2031 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
2032 if err != nil {
2033 return nil, err
2034 }
2035 return out, nil
2036}
2037
Pragya Aryabd731ec2020-02-11 16:38:17 +05302038func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
2039 out := new(ONUs)
2040 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002041 if err != nil {
2042 return nil, err
2043 }
2044 return out, nil
2045}
2046
Matteo Scandolo4a036262020-08-17 15:56:13 -07002047func (c *bBSimClient) GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error) {
2048 out := new(Services)
2049 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
2050 if err != nil {
2051 return nil, err
2052 }
2053 return out, nil
2054}
2055
2056func (c *bBSimClient) GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error) {
2057 out := new(Services)
2058 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuServices", in, out, opts...)
2059 if err != nil {
2060 return nil, err
2061 }
2062 return out, nil
2063}
2064
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002065func (c *bBSimClient) GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error) {
2066 out := new(UNIs)
2067 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuUnis", in, out, opts...)
2068 if err != nil {
2069 return nil, err
2070 }
2071 return out, nil
2072}
2073
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002074func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2075 out := new(Response)
2076 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
2077 if err != nil {
2078 return nil, err
2079 }
2080 return out, nil
2081}
2082
Pragya Aryabd731ec2020-02-11 16:38:17 +05302083func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2084 out := new(Response)
2085 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
2086 if err != nil {
2087 return nil, err
2088 }
2089 return out, nil
2090}
2091
2092func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2093 out := new(Response)
2094 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
2095 if err != nil {
2096 return nil, err
2097 }
2098 return out, nil
2099}
2100
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002101func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2102 out := new(Response)
2103 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
2104 if err != nil {
2105 return nil, err
2106 }
2107 return out, nil
2108}
2109
Pragya Aryabd731ec2020-02-11 16:38:17 +05302110func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2111 out := new(Response)
2112 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
2113 if err != nil {
2114 return nil, err
2115 }
2116 return out, nil
2117}
2118
2119func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2120 out := new(Response)
2121 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
2122 if err != nil {
2123 return nil, err
2124 }
2125 return out, nil
2126}
2127
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002128func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2129 out := new(Response)
2130 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
2131 if err != nil {
2132 return nil, err
2133 }
2134 return out, nil
2135}
2136
2137func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2138 out := new(Response)
2139 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
2140 if err != nil {
2141 return nil, err
2142 }
2143 return out, nil
2144}
2145
Anand S Katti86552f92020-03-03 21:56:32 +05302146func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08002147 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05302148 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
2149 if err != nil {
2150 return nil, err
2151 }
2152 return out, nil
2153}
2154
2155func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
2156 out := new(Response)
2157 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08002158 if err != nil {
2159 return nil, err
2160 }
2161 return out, nil
2162}
2163
Pragya Arya8bdb4532020-03-02 17:08:09 +05302164func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
2165 out := new(Flows)
2166 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
2167 if err != nil {
2168 return nil, err
2169 }
2170 return out, nil
2171}
2172
Arjun E K57a7fcb2020-01-30 06:44:45 +00002173func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
2174 out := new(Response)
2175 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
2176 if err != nil {
2177 return nil, err
2178 }
2179 return out, nil
2180}
2181
Anand S Katti09541352020-01-29 15:54:01 +05302182func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
2183 out := new(ONUTrafficSchedulers)
2184 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
2185 if err != nil {
2186 return nil, err
2187 }
2188 return out, nil
2189}
2190
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002191// BBSimServer is the server API for BBSim service.
2192type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002193 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002194 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002195 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302196 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002197 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002198 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002199 GetOltAllocatedResources(context.Context, *OltAllocatedResourceType) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002200 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002201 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002202 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002203 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002204 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002205 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002206 // Closes the Openolt gRPC server
2207 StopgRPCServer(context.Context, *Empty) (*Response, error)
2208 // Start the Openolt gRPC server
2209 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302210 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002211 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002212 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002213 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002214 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302215 GetONUs(context.Context, *Empty) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07002216 // Get all the Services
2217 GetServices(context.Context, *Empty) (*Services, error)
2218 // Get all the Services of an ONU by serial number
2219 GetOnuServices(context.Context, *ONURequest) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002220 // Get all the UNIs of an ONU by serial number
2221 GetOnuUnis(context.Context, *ONURequest) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002222 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002223 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002224 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302225 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002226 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302227 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002228 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002229 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002230 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302231 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002232 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302233 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002234 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002235 RestartEapol(context.Context, *ONURequest) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002236 // Restart DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002237 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002238 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302239 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002240 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302241 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002242 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302243 GetFlows(context.Context, *ONURequest) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002244 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002245 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002246 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302247 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002248}
2249
Pragya Aryabd731ec2020-02-11 16:38:17 +05302250// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
2251type UnimplementedBBSimServer struct {
2252}
2253
2254func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
2255 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
2256}
2257func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
2258 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2259}
2260func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
2261 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
2262}
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002263func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error) {
2264 return nil, status.Errorf(codes.Unimplemented, "method GetOltAllocatedResources not implemented")
2265}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302266func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
2267 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
2268}
2269func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
2270 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
2271}
2272func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
2273 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
2274}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002275func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2276 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
2277}
2278func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2279 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
2280}
2281func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
2282 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
2283}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302284func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
2285 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
2286}
2287func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
2288 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
2289}
Matteo Scandolo4a036262020-08-17 15:56:13 -07002290func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *Empty) (*Services, error) {
2291 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
2292}
2293func (*UnimplementedBBSimServer) GetOnuServices(ctx context.Context, req *ONURequest) (*Services, error) {
2294 return nil, status.Errorf(codes.Unimplemented, "method GetOnuServices not implemented")
2295}
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002296func (*UnimplementedBBSimServer) GetOnuUnis(ctx context.Context, req *ONURequest) (*UNIs, error) {
2297 return nil, status.Errorf(codes.Unimplemented, "method GetOnuUnis not implemented")
2298}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302299func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
2300 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
2301}
2302func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2303 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
2304}
2305func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2306 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
2307}
2308func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
2309 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
2310}
2311func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2312 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
2313}
2314func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2315 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
2316}
2317func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
2318 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
2319}
2320func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
2321 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
2322}
2323func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
2324 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
2325}
2326func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
2327 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
2328}
2329func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
2330 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
2331}
2332func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
2333 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
2334}
2335func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
2336 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
2337}
2338
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002339func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
2340 s.RegisterService(&_BBSim_serviceDesc, srv)
2341}
2342
2343func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2344 in := new(Empty)
2345 if err := dec(in); err != nil {
2346 return nil, err
2347 }
2348 if interceptor == nil {
2349 return srv.(BBSimServer).Version(ctx, in)
2350 }
2351 info := &grpc.UnaryServerInfo{
2352 Server: srv,
2353 FullMethod: "/bbsim.BBSim/Version",
2354 }
2355 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2356 return srv.(BBSimServer).Version(ctx, req.(*Empty))
2357 }
2358 return interceptor(ctx, in, info, handler)
2359}
2360
Pragya Aryabd731ec2020-02-11 16:38:17 +05302361func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2362 in := new(LogLevel)
2363 if err := dec(in); err != nil {
2364 return nil, err
2365 }
2366 if interceptor == nil {
2367 return srv.(BBSimServer).SetLogLevel(ctx, in)
2368 }
2369 info := &grpc.UnaryServerInfo{
2370 Server: srv,
2371 FullMethod: "/bbsim.BBSim/SetLogLevel",
2372 }
2373 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2374 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
2375 }
2376 return interceptor(ctx, in, info, handler)
2377}
2378
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002379func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2380 in := new(Empty)
2381 if err := dec(in); err != nil {
2382 return nil, err
2383 }
2384 if interceptor == nil {
2385 return srv.(BBSimServer).GetOlt(ctx, in)
2386 }
2387 info := &grpc.UnaryServerInfo{
2388 Server: srv,
2389 FullMethod: "/bbsim.BBSim/GetOlt",
2390 }
2391 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2392 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
2393 }
2394 return interceptor(ctx, in, info, handler)
2395}
2396
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002397func _BBSim_GetOltAllocatedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2398 in := new(OltAllocatedResourceType)
2399 if err := dec(in); err != nil {
2400 return nil, err
2401 }
2402 if interceptor == nil {
2403 return srv.(BBSimServer).GetOltAllocatedResources(ctx, in)
2404 }
2405 info := &grpc.UnaryServerInfo{
2406 Server: srv,
2407 FullMethod: "/bbsim.BBSim/GetOltAllocatedResources",
2408 }
2409 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2410 return srv.(BBSimServer).GetOltAllocatedResources(ctx, req.(*OltAllocatedResourceType))
2411 }
2412 return interceptor(ctx, in, info, handler)
2413}
2414
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002415func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2416 in := new(Empty)
2417 if err := dec(in); err != nil {
2418 return nil, err
2419 }
2420 if interceptor == nil {
2421 return srv.(BBSimServer).PoweronOlt(ctx, in)
2422 }
2423 info := &grpc.UnaryServerInfo{
2424 Server: srv,
2425 FullMethod: "/bbsim.BBSim/PoweronOlt",
2426 }
2427 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2428 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
2429 }
2430 return interceptor(ctx, in, info, handler)
2431}
2432
2433func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2434 in := new(Empty)
2435 if err := dec(in); err != nil {
2436 return nil, err
2437 }
2438 if interceptor == nil {
2439 return srv.(BBSimServer).ShutdownOlt(ctx, in)
2440 }
2441 info := &grpc.UnaryServerInfo{
2442 Server: srv,
2443 FullMethod: "/bbsim.BBSim/ShutdownOlt",
2444 }
2445 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2446 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
2447 }
2448 return interceptor(ctx, in, info, handler)
2449}
2450
2451func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2452 in := new(Empty)
2453 if err := dec(in); err != nil {
2454 return nil, err
2455 }
2456 if interceptor == nil {
2457 return srv.(BBSimServer).RebootOlt(ctx, in)
2458 }
2459 info := &grpc.UnaryServerInfo{
2460 Server: srv,
2461 FullMethod: "/bbsim.BBSim/RebootOlt",
2462 }
2463 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2464 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
2465 }
2466 return interceptor(ctx, in, info, handler)
2467}
2468
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002469func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2470 in := new(Empty)
2471 if err := dec(in); err != nil {
2472 return nil, err
2473 }
2474 if interceptor == nil {
2475 return srv.(BBSimServer).StopgRPCServer(ctx, in)
2476 }
2477 info := &grpc.UnaryServerInfo{
2478 Server: srv,
2479 FullMethod: "/bbsim.BBSim/StopgRPCServer",
2480 }
2481 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2482 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
2483 }
2484 return interceptor(ctx, in, info, handler)
2485}
2486
2487func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2488 in := new(Empty)
2489 if err := dec(in); err != nil {
2490 return nil, err
2491 }
2492 if interceptor == nil {
2493 return srv.(BBSimServer).StartgRPCServer(ctx, in)
2494 }
2495 info := &grpc.UnaryServerInfo{
2496 Server: srv,
2497 FullMethod: "/bbsim.BBSim/StartgRPCServer",
2498 }
2499 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2500 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
2501 }
2502 return interceptor(ctx, in, info, handler)
2503}
2504
2505func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2506 in := new(Timeout)
2507 if err := dec(in); err != nil {
2508 return nil, err
2509 }
2510 if interceptor == nil {
2511 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
2512 }
2513 info := &grpc.UnaryServerInfo{
2514 Server: srv,
2515 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2516 }
2517 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2518 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2519 }
2520 return interceptor(ctx, in, info, handler)
2521}
2522
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002523func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2524 in := new(ONURequest)
2525 if err := dec(in); err != nil {
2526 return nil, err
2527 }
2528 if interceptor == nil {
2529 return srv.(BBSimServer).GetONU(ctx, in)
2530 }
2531 info := &grpc.UnaryServerInfo{
2532 Server: srv,
2533 FullMethod: "/bbsim.BBSim/GetONU",
2534 }
2535 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2536 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2537 }
2538 return interceptor(ctx, in, info, handler)
2539}
2540
Pragya Aryabd731ec2020-02-11 16:38:17 +05302541func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2542 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002543 if err := dec(in); err != nil {
2544 return nil, err
2545 }
2546 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302547 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002548 }
2549 info := &grpc.UnaryServerInfo{
2550 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302551 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002552 }
2553 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302554 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002555 }
2556 return interceptor(ctx, in, info, handler)
2557}
2558
Matteo Scandolo4a036262020-08-17 15:56:13 -07002559func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2560 in := new(Empty)
2561 if err := dec(in); err != nil {
2562 return nil, err
2563 }
2564 if interceptor == nil {
2565 return srv.(BBSimServer).GetServices(ctx, in)
2566 }
2567 info := &grpc.UnaryServerInfo{
2568 Server: srv,
2569 FullMethod: "/bbsim.BBSim/GetServices",
2570 }
2571 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2572 return srv.(BBSimServer).GetServices(ctx, req.(*Empty))
2573 }
2574 return interceptor(ctx, in, info, handler)
2575}
2576
2577func _BBSim_GetOnuServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2578 in := new(ONURequest)
2579 if err := dec(in); err != nil {
2580 return nil, err
2581 }
2582 if interceptor == nil {
2583 return srv.(BBSimServer).GetOnuServices(ctx, in)
2584 }
2585 info := &grpc.UnaryServerInfo{
2586 Server: srv,
2587 FullMethod: "/bbsim.BBSim/GetOnuServices",
2588 }
2589 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2590 return srv.(BBSimServer).GetOnuServices(ctx, req.(*ONURequest))
2591 }
2592 return interceptor(ctx, in, info, handler)
2593}
2594
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002595func _BBSim_GetOnuUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2596 in := new(ONURequest)
2597 if err := dec(in); err != nil {
2598 return nil, err
2599 }
2600 if interceptor == nil {
2601 return srv.(BBSimServer).GetOnuUnis(ctx, in)
2602 }
2603 info := &grpc.UnaryServerInfo{
2604 Server: srv,
2605 FullMethod: "/bbsim.BBSim/GetOnuUnis",
2606 }
2607 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2608 return srv.(BBSimServer).GetOnuUnis(ctx, req.(*ONURequest))
2609 }
2610 return interceptor(ctx, in, info, handler)
2611}
2612
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002613func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2614 in := new(ONURequest)
2615 if err := dec(in); err != nil {
2616 return nil, err
2617 }
2618 if interceptor == nil {
2619 return srv.(BBSimServer).ShutdownONU(ctx, in)
2620 }
2621 info := &grpc.UnaryServerInfo{
2622 Server: srv,
2623 FullMethod: "/bbsim.BBSim/ShutdownONU",
2624 }
2625 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2626 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2627 }
2628 return interceptor(ctx, in, info, handler)
2629}
2630
Pragya Aryabd731ec2020-02-11 16:38:17 +05302631func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2632 in := new(Empty)
2633 if err := dec(in); err != nil {
2634 return nil, err
2635 }
2636 if interceptor == nil {
2637 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2638 }
2639 info := &grpc.UnaryServerInfo{
2640 Server: srv,
2641 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2642 }
2643 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2644 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2645 }
2646 return interceptor(ctx, in, info, handler)
2647}
2648
2649func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2650 in := new(PONRequest)
2651 if err := dec(in); err != nil {
2652 return nil, err
2653 }
2654 if interceptor == nil {
2655 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2656 }
2657 info := &grpc.UnaryServerInfo{
2658 Server: srv,
2659 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2660 }
2661 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2662 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2663 }
2664 return interceptor(ctx, in, info, handler)
2665}
2666
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002667func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2668 in := new(ONURequest)
2669 if err := dec(in); err != nil {
2670 return nil, err
2671 }
2672 if interceptor == nil {
2673 return srv.(BBSimServer).PoweronONU(ctx, in)
2674 }
2675 info := &grpc.UnaryServerInfo{
2676 Server: srv,
2677 FullMethod: "/bbsim.BBSim/PoweronONU",
2678 }
2679 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2680 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2681 }
2682 return interceptor(ctx, in, info, handler)
2683}
2684
Pragya Aryabd731ec2020-02-11 16:38:17 +05302685func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2686 in := new(Empty)
2687 if err := dec(in); err != nil {
2688 return nil, err
2689 }
2690 if interceptor == nil {
2691 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2692 }
2693 info := &grpc.UnaryServerInfo{
2694 Server: srv,
2695 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2696 }
2697 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2698 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2699 }
2700 return interceptor(ctx, in, info, handler)
2701}
2702
2703func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2704 in := new(PONRequest)
2705 if err := dec(in); err != nil {
2706 return nil, err
2707 }
2708 if interceptor == nil {
2709 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2710 }
2711 info := &grpc.UnaryServerInfo{
2712 Server: srv,
2713 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2714 }
2715 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2716 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2717 }
2718 return interceptor(ctx, in, info, handler)
2719}
2720
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002721func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2722 in := new(ONURequest)
2723 if err := dec(in); err != nil {
2724 return nil, err
2725 }
2726 if interceptor == nil {
2727 return srv.(BBSimServer).RestartEapol(ctx, in)
2728 }
2729 info := &grpc.UnaryServerInfo{
2730 Server: srv,
2731 FullMethod: "/bbsim.BBSim/RestartEapol",
2732 }
2733 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2734 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
2735 }
2736 return interceptor(ctx, in, info, handler)
2737}
2738
2739func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2740 in := new(ONURequest)
2741 if err := dec(in); err != nil {
2742 return nil, err
2743 }
2744 if interceptor == nil {
2745 return srv.(BBSimServer).RestartDhcp(ctx, in)
2746 }
2747 info := &grpc.UnaryServerInfo{
2748 Server: srv,
2749 FullMethod: "/bbsim.BBSim/RestartDhcp",
2750 }
2751 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2752 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
2753 }
2754 return interceptor(ctx, in, info, handler)
2755}
2756
Anand S Katti86552f92020-03-03 21:56:32 +05302757func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2758 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002759 if err := dec(in); err != nil {
2760 return nil, err
2761 }
2762 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302763 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002764 }
2765 info := &grpc.UnaryServerInfo{
2766 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302767 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002768 }
2769 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302770 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2771 }
2772 return interceptor(ctx, in, info, handler)
2773}
2774
2775func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2776 in := new(OLTAlarmRequest)
2777 if err := dec(in); err != nil {
2778 return nil, err
2779 }
2780 if interceptor == nil {
2781 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2782 }
2783 info := &grpc.UnaryServerInfo{
2784 Server: srv,
2785 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2786 }
2787 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2788 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002789 }
2790 return interceptor(ctx, in, info, handler)
2791}
2792
Pragya Arya8bdb4532020-03-02 17:08:09 +05302793func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2794 in := new(ONURequest)
2795 if err := dec(in); err != nil {
2796 return nil, err
2797 }
2798 if interceptor == nil {
2799 return srv.(BBSimServer).GetFlows(ctx, in)
2800 }
2801 info := &grpc.UnaryServerInfo{
2802 Server: srv,
2803 FullMethod: "/bbsim.BBSim/GetFlows",
2804 }
2805 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2806 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2807 }
2808 return interceptor(ctx, in, info, handler)
2809}
2810
Arjun E K57a7fcb2020-01-30 06:44:45 +00002811func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2812 in := new(IgmpRequest)
2813 if err := dec(in); err != nil {
2814 return nil, err
2815 }
2816 if interceptor == nil {
2817 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2818 }
2819 info := &grpc.UnaryServerInfo{
2820 Server: srv,
2821 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2822 }
2823 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2824 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2825 }
2826 return interceptor(ctx, in, info, handler)
2827}
2828
Anand S Katti09541352020-01-29 15:54:01 +05302829func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2830 in := new(ONURequest)
2831 if err := dec(in); err != nil {
2832 return nil, err
2833 }
2834 if interceptor == nil {
2835 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2836 }
2837 info := &grpc.UnaryServerInfo{
2838 Server: srv,
2839 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2840 }
2841 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2842 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2843 }
2844 return interceptor(ctx, in, info, handler)
2845}
2846
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002847var _BBSim_serviceDesc = grpc.ServiceDesc{
2848 ServiceName: "bbsim.BBSim",
2849 HandlerType: (*BBSimServer)(nil),
2850 Methods: []grpc.MethodDesc{
2851 {
2852 MethodName: "Version",
2853 Handler: _BBSim_Version_Handler,
2854 },
2855 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302856 MethodName: "SetLogLevel",
2857 Handler: _BBSim_SetLogLevel_Handler,
2858 },
2859 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002860 MethodName: "GetOlt",
2861 Handler: _BBSim_GetOlt_Handler,
2862 },
2863 {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002864 MethodName: "GetOltAllocatedResources",
2865 Handler: _BBSim_GetOltAllocatedResources_Handler,
2866 },
2867 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002868 MethodName: "PoweronOlt",
2869 Handler: _BBSim_PoweronOlt_Handler,
2870 },
2871 {
2872 MethodName: "ShutdownOlt",
2873 Handler: _BBSim_ShutdownOlt_Handler,
2874 },
2875 {
2876 MethodName: "RebootOlt",
2877 Handler: _BBSim_RebootOlt_Handler,
2878 },
2879 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002880 MethodName: "StopgRPCServer",
2881 Handler: _BBSim_StopgRPCServer_Handler,
2882 },
2883 {
2884 MethodName: "StartgRPCServer",
2885 Handler: _BBSim_StartgRPCServer_Handler,
2886 },
2887 {
2888 MethodName: "RestartgRPCServer",
2889 Handler: _BBSim_RestartgRPCServer_Handler,
2890 },
2891 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002892 MethodName: "GetONU",
2893 Handler: _BBSim_GetONU_Handler,
2894 },
2895 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302896 MethodName: "GetONUs",
2897 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002898 },
2899 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002900 MethodName: "GetServices",
2901 Handler: _BBSim_GetServices_Handler,
2902 },
2903 {
2904 MethodName: "GetOnuServices",
2905 Handler: _BBSim_GetOnuServices_Handler,
2906 },
2907 {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002908 MethodName: "GetOnuUnis",
2909 Handler: _BBSim_GetOnuUnis_Handler,
2910 },
2911 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002912 MethodName: "ShutdownONU",
2913 Handler: _BBSim_ShutdownONU_Handler,
2914 },
2915 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302916 MethodName: "ShutdownAllONUs",
2917 Handler: _BBSim_ShutdownAllONUs_Handler,
2918 },
2919 {
2920 MethodName: "ShutdownONUsOnPON",
2921 Handler: _BBSim_ShutdownONUsOnPON_Handler,
2922 },
2923 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002924 MethodName: "PoweronONU",
2925 Handler: _BBSim_PoweronONU_Handler,
2926 },
2927 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302928 MethodName: "PoweronAllONUs",
2929 Handler: _BBSim_PoweronAllONUs_Handler,
2930 },
2931 {
2932 MethodName: "PoweronONUsOnPON",
2933 Handler: _BBSim_PoweronONUsOnPON_Handler,
2934 },
2935 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002936 MethodName: "RestartEapol",
2937 Handler: _BBSim_RestartEapol_Handler,
2938 },
2939 {
2940 MethodName: "RestartDhcp",
2941 Handler: _BBSim_RestartDhcp_Handler,
2942 },
Scott Baker41724b82020-01-21 19:54:53 -08002943 {
Anand S Katti86552f92020-03-03 21:56:32 +05302944 MethodName: "SetOnuAlarmIndication",
2945 Handler: _BBSim_SetOnuAlarmIndication_Handler,
2946 },
2947 {
2948 MethodName: "SetOltAlarmIndication",
2949 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08002950 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00002951 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05302952 MethodName: "GetFlows",
2953 Handler: _BBSim_GetFlows_Handler,
2954 },
2955 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00002956 MethodName: "ChangeIgmpState",
2957 Handler: _BBSim_ChangeIgmpState_Handler,
2958 },
Anand S Katti09541352020-01-29 15:54:01 +05302959 {
2960 MethodName: "GetOnuTrafficSchedulers",
2961 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
2962 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002963 },
2964 Streams: []grpc.StreamDesc{},
2965 Metadata: "api/bbsim/bbsim.proto",
2966}