blob: 881187ce000ab5f0ba671a9e08ca7de553ee1d60 [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 Scandolo4b077aa2021-02-16 17:33:37 -0800162 return fileDescriptor_ef7750073d18011b, []int{14, 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"`
605 XXX_NoUnkeyedLiteral struct{} `json:"-"`
606 XXX_unrecognized []byte `json:"-"`
607 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700608}
609
610func (m *ONU) Reset() { *m = ONU{} }
611func (m *ONU) String() string { return proto.CompactTextString(m) }
612func (*ONU) ProtoMessage() {}
613func (*ONU) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800614 return fileDescriptor_ef7750073d18011b, []int{7}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700615}
616
617func (m *ONU) XXX_Unmarshal(b []byte) error {
618 return xxx_messageInfo_ONU.Unmarshal(m, b)
619}
620func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
621 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
622}
623func (m *ONU) XXX_Merge(src proto.Message) {
624 xxx_messageInfo_ONU.Merge(m, src)
625}
626func (m *ONU) XXX_Size() int {
627 return xxx_messageInfo_ONU.Size(m)
628}
629func (m *ONU) XXX_DiscardUnknown() {
630 xxx_messageInfo_ONU.DiscardUnknown(m)
631}
632
633var xxx_messageInfo_ONU proto.InternalMessageInfo
634
635func (m *ONU) GetID() int32 {
636 if m != nil {
637 return m.ID
638 }
639 return 0
640}
641
642func (m *ONU) GetSerialNumber() string {
643 if m != nil {
644 return m.SerialNumber
645 }
646 return ""
647}
648
649func (m *ONU) GetOperState() string {
650 if m != nil {
651 return m.OperState
652 }
653 return ""
654}
655
656func (m *ONU) GetInternalState() string {
657 if m != nil {
658 return m.InternalState
659 }
660 return ""
661}
662
663func (m *ONU) GetPonPortID() int32 {
664 if m != nil {
665 return m.PonPortID
666 }
667 return 0
668}
669
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700670func (m *ONU) GetHwAddress() string {
671 if m != nil {
672 return m.HwAddress
673 }
674 return ""
675}
676
677func (m *ONU) GetPortNo() int32 {
678 if m != nil {
679 return m.PortNo
680 }
681 return 0
682}
683
Matteo Scandolo4a036262020-08-17 15:56:13 -0700684func (m *ONU) GetServices() []*Service {
685 if m != nil {
686 return m.Services
687 }
688 return nil
689}
690
Matteo Scandolocedde462021-03-09 17:37:16 -0800691func (m *ONU) GetImageSoftwareExpectedSections() int32 {
692 if m != nil {
693 return m.ImageSoftwareExpectedSections
694 }
695 return 0
696}
697
698func (m *ONU) GetImageSoftwareReceivedSections() int32 {
699 if m != nil {
700 return m.ImageSoftwareReceivedSections
701 }
702 return 0
703}
704
705func (m *ONU) GetActiveImageEntityId() int32 {
706 if m != nil {
707 return m.ActiveImageEntityId
708 }
709 return 0
710}
711
712func (m *ONU) GetCommittedImageEntityId() int32 {
713 if m != nil {
714 return m.CommittedImageEntityId
715 }
716 return 0
717}
718
Matteo Scandolo4a036262020-08-17 15:56:13 -0700719type Service struct {
720 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
721 HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
722 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
723 STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"`
724 CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"`
725 NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"`
726 NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"`
727 NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"`
728 GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"`
729 EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"`
730 DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"`
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700731 InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
Matteo Scandolo618a6582020-09-09 12:21:29 -0700732 IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"`
Matteo Scandolo4a036262020-08-17 15:56:13 -0700733 XXX_NoUnkeyedLiteral struct{} `json:"-"`
734 XXX_unrecognized []byte `json:"-"`
735 XXX_sizecache int32 `json:"-"`
736}
737
738func (m *Service) Reset() { *m = Service{} }
739func (m *Service) String() string { return proto.CompactTextString(m) }
740func (*Service) ProtoMessage() {}
741func (*Service) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800742 return fileDescriptor_ef7750073d18011b, []int{8}
Matteo Scandolo4a036262020-08-17 15:56:13 -0700743}
744
745func (m *Service) XXX_Unmarshal(b []byte) error {
746 return xxx_messageInfo_Service.Unmarshal(m, b)
747}
748func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
749 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
750}
751func (m *Service) XXX_Merge(src proto.Message) {
752 xxx_messageInfo_Service.Merge(m, src)
753}
754func (m *Service) XXX_Size() int {
755 return xxx_messageInfo_Service.Size(m)
756}
757func (m *Service) XXX_DiscardUnknown() {
758 xxx_messageInfo_Service.DiscardUnknown(m)
759}
760
761var xxx_messageInfo_Service proto.InternalMessageInfo
762
763func (m *Service) GetName() string {
764 if m != nil {
765 return m.Name
766 }
767 return ""
768}
769
770func (m *Service) GetHwAddress() string {
771 if m != nil {
772 return m.HwAddress
773 }
774 return ""
775}
776
777func (m *Service) GetOnuSn() string {
778 if m != nil {
779 return m.OnuSn
780 }
781 return ""
782}
783
784func (m *Service) GetSTag() int32 {
785 if m != nil {
786 return m.STag
787 }
788 return 0
789}
790
791func (m *Service) GetCTag() int32 {
792 if m != nil {
793 return m.CTag
794 }
795 return 0
796}
797
798func (m *Service) GetNeedsEapol() bool {
799 if m != nil {
800 return m.NeedsEapol
801 }
802 return false
803}
804
805func (m *Service) GetNeedsDhcp() bool {
806 if m != nil {
807 return m.NeedsDhcp
808 }
809 return false
810}
811
812func (m *Service) GetNeedsIgmp() bool {
813 if m != nil {
814 return m.NeedsIgmp
815 }
816 return false
817}
818
819func (m *Service) GetGemPort() int32 {
820 if m != nil {
821 return m.GemPort
822 }
823 return 0
824}
825
826func (m *Service) GetEapolState() string {
827 if m != nil {
828 return m.EapolState
829 }
830 return ""
831}
832
833func (m *Service) GetDhcpState() string {
834 if m != nil {
835 return m.DhcpState
836 }
837 return ""
838}
839
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700840func (m *Service) GetInternalState() string {
841 if m != nil {
842 return m.InternalState
843 }
844 return ""
845}
846
Matteo Scandolo618a6582020-09-09 12:21:29 -0700847func (m *Service) GetIGMPState() string {
848 if m != nil {
849 return m.IGMPState
850 }
851 return ""
852}
853
Anand S Katti09541352020-01-29 15:54:01 +0530854type ONUTrafficSchedulers struct {
855 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
856 XXX_NoUnkeyedLiteral struct{} `json:"-"`
857 XXX_unrecognized []byte `json:"-"`
858 XXX_sizecache int32 `json:"-"`
859}
860
861func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
862func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
863func (*ONUTrafficSchedulers) ProtoMessage() {}
864func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800865 return fileDescriptor_ef7750073d18011b, []int{9}
Anand S Katti09541352020-01-29 15:54:01 +0530866}
867
868func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
869 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
870}
871func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
872 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
873}
874func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
875 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
876}
877func (m *ONUTrafficSchedulers) XXX_Size() int {
878 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
879}
880func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
881 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
882}
883
884var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
885
886func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
887 if m != nil {
888 return m.TraffSchedulers
889 }
890 return nil
891}
892
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700893type ONUs struct {
894 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
895 XXX_NoUnkeyedLiteral struct{} `json:"-"`
896 XXX_unrecognized []byte `json:"-"`
897 XXX_sizecache int32 `json:"-"`
898}
899
900func (m *ONUs) Reset() { *m = ONUs{} }
901func (m *ONUs) String() string { return proto.CompactTextString(m) }
902func (*ONUs) ProtoMessage() {}
903func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800904 return fileDescriptor_ef7750073d18011b, []int{10}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700905}
906
907func (m *ONUs) XXX_Unmarshal(b []byte) error {
908 return xxx_messageInfo_ONUs.Unmarshal(m, b)
909}
910func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
911 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
912}
913func (m *ONUs) XXX_Merge(src proto.Message) {
914 xxx_messageInfo_ONUs.Merge(m, src)
915}
916func (m *ONUs) XXX_Size() int {
917 return xxx_messageInfo_ONUs.Size(m)
918}
919func (m *ONUs) XXX_DiscardUnknown() {
920 xxx_messageInfo_ONUs.DiscardUnknown(m)
921}
922
923var xxx_messageInfo_ONUs proto.InternalMessageInfo
924
925func (m *ONUs) GetItems() []*ONU {
926 if m != nil {
927 return m.Items
928 }
929 return nil
930}
931
Matteo Scandolo4a036262020-08-17 15:56:13 -0700932type Services struct {
933 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
934 XXX_NoUnkeyedLiteral struct{} `json:"-"`
935 XXX_unrecognized []byte `json:"-"`
936 XXX_sizecache int32 `json:"-"`
937}
938
939func (m *Services) Reset() { *m = Services{} }
940func (m *Services) String() string { return proto.CompactTextString(m) }
941func (*Services) ProtoMessage() {}
942func (*Services) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800943 return fileDescriptor_ef7750073d18011b, []int{11}
Matteo Scandolo4a036262020-08-17 15:56:13 -0700944}
945
946func (m *Services) XXX_Unmarshal(b []byte) error {
947 return xxx_messageInfo_Services.Unmarshal(m, b)
948}
949func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
950 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
951}
952func (m *Services) XXX_Merge(src proto.Message) {
953 xxx_messageInfo_Services.Merge(m, src)
954}
955func (m *Services) XXX_Size() int {
956 return xxx_messageInfo_Services.Size(m)
957}
958func (m *Services) XXX_DiscardUnknown() {
959 xxx_messageInfo_Services.DiscardUnknown(m)
960}
961
962var xxx_messageInfo_Services proto.InternalMessageInfo
963
964func (m *Services) GetItems() []*Service {
965 if m != nil {
966 return m.Items
967 }
968 return nil
969}
970
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700971type ONURequest struct {
972 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
973 XXX_NoUnkeyedLiteral struct{} `json:"-"`
974 XXX_unrecognized []byte `json:"-"`
975 XXX_sizecache int32 `json:"-"`
976}
977
978func (m *ONURequest) Reset() { *m = ONURequest{} }
979func (m *ONURequest) String() string { return proto.CompactTextString(m) }
980func (*ONURequest) ProtoMessage() {}
981func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800982 return fileDescriptor_ef7750073d18011b, []int{12}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700983}
984
985func (m *ONURequest) XXX_Unmarshal(b []byte) error {
986 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
987}
988func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
989 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
990}
991func (m *ONURequest) XXX_Merge(src proto.Message) {
992 xxx_messageInfo_ONURequest.Merge(m, src)
993}
994func (m *ONURequest) XXX_Size() int {
995 return xxx_messageInfo_ONURequest.Size(m)
996}
997func (m *ONURequest) XXX_DiscardUnknown() {
998 xxx_messageInfo_ONURequest.DiscardUnknown(m)
999}
1000
1001var xxx_messageInfo_ONURequest proto.InternalMessageInfo
1002
1003func (m *ONURequest) GetSerialNumber() string {
1004 if m != nil {
1005 return m.SerialNumber
1006 }
1007 return ""
1008}
1009
Pragya Aryabd731ec2020-02-11 16:38:17 +05301010type PONRequest struct {
1011 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
1012 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1013 XXX_unrecognized []byte `json:"-"`
1014 XXX_sizecache int32 `json:"-"`
1015}
1016
1017func (m *PONRequest) Reset() { *m = PONRequest{} }
1018func (m *PONRequest) String() string { return proto.CompactTextString(m) }
1019func (*PONRequest) ProtoMessage() {}
1020func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001021 return fileDescriptor_ef7750073d18011b, []int{13}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301022}
1023
1024func (m *PONRequest) XXX_Unmarshal(b []byte) error {
1025 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
1026}
1027func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1028 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
1029}
1030func (m *PONRequest) XXX_Merge(src proto.Message) {
1031 xxx_messageInfo_PONRequest.Merge(m, src)
1032}
1033func (m *PONRequest) XXX_Size() int {
1034 return xxx_messageInfo_PONRequest.Size(m)
1035}
1036func (m *PONRequest) XXX_DiscardUnknown() {
1037 xxx_messageInfo_PONRequest.DiscardUnknown(m)
1038}
1039
1040var xxx_messageInfo_PONRequest proto.InternalMessageInfo
1041
1042func (m *PONRequest) GetPonPortId() uint32 {
1043 if m != nil {
1044 return m.PonPortId
1045 }
1046 return 0
1047}
1048
Scott Baker41724b82020-01-21 19:54:53 -08001049type AlarmType struct {
1050 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1051 XXX_unrecognized []byte `json:"-"`
1052 XXX_sizecache int32 `json:"-"`
1053}
1054
1055func (m *AlarmType) Reset() { *m = AlarmType{} }
1056func (m *AlarmType) String() string { return proto.CompactTextString(m) }
1057func (*AlarmType) ProtoMessage() {}
1058func (*AlarmType) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001059 return fileDescriptor_ef7750073d18011b, []int{14}
Scott Baker41724b82020-01-21 19:54:53 -08001060}
1061
1062func (m *AlarmType) XXX_Unmarshal(b []byte) error {
1063 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
1064}
1065func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1066 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
1067}
1068func (m *AlarmType) XXX_Merge(src proto.Message) {
1069 xxx_messageInfo_AlarmType.Merge(m, src)
1070}
1071func (m *AlarmType) XXX_Size() int {
1072 return xxx_messageInfo_AlarmType.Size(m)
1073}
1074func (m *AlarmType) XXX_DiscardUnknown() {
1075 xxx_messageInfo_AlarmType.DiscardUnknown(m)
1076}
1077
1078var xxx_messageInfo_AlarmType proto.InternalMessageInfo
1079
1080type AlarmParameter struct {
1081 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
1082 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
1083 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1084 XXX_unrecognized []byte `json:"-"`
1085 XXX_sizecache int32 `json:"-"`
1086}
1087
1088func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
1089func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
1090func (*AlarmParameter) ProtoMessage() {}
1091func (*AlarmParameter) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001092 return fileDescriptor_ef7750073d18011b, []int{15}
Scott Baker41724b82020-01-21 19:54:53 -08001093}
1094
1095func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
1096 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
1097}
1098func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1099 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
1100}
1101func (m *AlarmParameter) XXX_Merge(src proto.Message) {
1102 xxx_messageInfo_AlarmParameter.Merge(m, src)
1103}
1104func (m *AlarmParameter) XXX_Size() int {
1105 return xxx_messageInfo_AlarmParameter.Size(m)
1106}
1107func (m *AlarmParameter) XXX_DiscardUnknown() {
1108 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
1109}
1110
1111var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
1112
1113func (m *AlarmParameter) GetKey() string {
1114 if m != nil {
1115 return m.Key
1116 }
1117 return ""
1118}
1119
1120func (m *AlarmParameter) GetValue() string {
1121 if m != nil {
1122 return m.Value
1123 }
1124 return ""
1125}
1126
Anand S Katti86552f92020-03-03 21:56:32 +05301127// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +05301128// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -08001129// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +05301130type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +05301131 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -08001132 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1133 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1134 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
1135 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1136 XXX_unrecognized []byte `json:"-"`
1137 XXX_sizecache int32 `json:"-"`
1138}
1139
Anand S Katti86552f92020-03-03 21:56:32 +05301140func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
1141func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
1142func (*ONUAlarmRequest) ProtoMessage() {}
1143func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001144 return fileDescriptor_ef7750073d18011b, []int{16}
Scott Baker41724b82020-01-21 19:54:53 -08001145}
1146
Anand S Katti86552f92020-03-03 21:56:32 +05301147func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
1148 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -08001149}
Anand S Katti86552f92020-03-03 21:56:32 +05301150func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1151 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -08001152}
Anand S Katti86552f92020-03-03 21:56:32 +05301153func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
1154 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -08001155}
Anand S Katti86552f92020-03-03 21:56:32 +05301156func (m *ONUAlarmRequest) XXX_Size() int {
1157 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -08001158}
Anand S Katti86552f92020-03-03 21:56:32 +05301159func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
1160 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -08001161}
1162
Anand S Katti86552f92020-03-03 21:56:32 +05301163var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -08001164
Anand S Katti86552f92020-03-03 21:56:32 +05301165func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -08001166 if m != nil {
1167 return m.AlarmType
1168 }
Pragya Arya694ece02020-02-07 13:03:47 +05301169 return ""
Scott Baker41724b82020-01-21 19:54:53 -08001170}
1171
Anand S Katti86552f92020-03-03 21:56:32 +05301172func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -08001173 if m != nil {
1174 return m.SerialNumber
1175 }
1176 return ""
1177}
1178
Anand S Katti86552f92020-03-03 21:56:32 +05301179func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -08001180 if m != nil {
1181 return m.Status
1182 }
1183 return ""
1184}
1185
Anand S Katti86552f92020-03-03 21:56:32 +05301186func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -08001187 if m != nil {
1188 return m.Parameters
1189 }
1190 return nil
1191}
1192
Anand S Katti86552f92020-03-03 21:56:32 +05301193// OLT alarm request
1194type OLTAlarmRequest struct {
1195 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
1196 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
1197 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1198 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1199 XXX_unrecognized []byte `json:"-"`
1200 XXX_sizecache int32 `json:"-"`
1201}
1202
1203func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
1204func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
1205func (*OLTAlarmRequest) ProtoMessage() {}
1206func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001207 return fileDescriptor_ef7750073d18011b, []int{17}
Anand S Katti86552f92020-03-03 21:56:32 +05301208}
1209
1210func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
1211 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
1212}
1213func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1214 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
1215}
1216func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
1217 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
1218}
1219func (m *OLTAlarmRequest) XXX_Size() int {
1220 return xxx_messageInfo_OLTAlarmRequest.Size(m)
1221}
1222func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
1223 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
1224}
1225
1226var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
1227
1228func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
1229 if m != nil {
1230 return m.InterfaceID
1231 }
1232 return 0
1233}
1234
1235func (m *OLTAlarmRequest) GetInterfaceType() string {
1236 if m != nil {
1237 return m.InterfaceType
1238 }
1239 return ""
1240}
1241
1242func (m *OLTAlarmRequest) GetStatus() string {
1243 if m != nil {
1244 return m.Status
1245 }
1246 return ""
1247}
1248
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001249type VersionNumber struct {
1250 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1251 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
1252 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
1253 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
1254 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1255 XXX_unrecognized []byte `json:"-"`
1256 XXX_sizecache int32 `json:"-"`
1257}
1258
1259func (m *VersionNumber) Reset() { *m = VersionNumber{} }
1260func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
1261func (*VersionNumber) ProtoMessage() {}
1262func (*VersionNumber) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001263 return fileDescriptor_ef7750073d18011b, []int{18}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001264}
1265
1266func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
1267 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
1268}
1269func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1270 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
1271}
1272func (m *VersionNumber) XXX_Merge(src proto.Message) {
1273 xxx_messageInfo_VersionNumber.Merge(m, src)
1274}
1275func (m *VersionNumber) XXX_Size() int {
1276 return xxx_messageInfo_VersionNumber.Size(m)
1277}
1278func (m *VersionNumber) XXX_DiscardUnknown() {
1279 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
1280}
1281
1282var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
1283
1284func (m *VersionNumber) GetVersion() string {
1285 if m != nil {
1286 return m.Version
1287 }
1288 return ""
1289}
1290
1291func (m *VersionNumber) GetBuildTime() string {
1292 if m != nil {
1293 return m.BuildTime
1294 }
1295 return ""
1296}
1297
1298func (m *VersionNumber) GetCommitHash() string {
1299 if m != nil {
1300 return m.CommitHash
1301 }
1302 return ""
1303}
1304
1305func (m *VersionNumber) GetGitStatus() string {
1306 if m != nil {
1307 return m.GitStatus
1308 }
1309 return ""
1310}
1311
1312type LogLevel struct {
1313 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
1314 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
1315 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1316 XXX_unrecognized []byte `json:"-"`
1317 XXX_sizecache int32 `json:"-"`
1318}
1319
1320func (m *LogLevel) Reset() { *m = LogLevel{} }
1321func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1322func (*LogLevel) ProtoMessage() {}
1323func (*LogLevel) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001324 return fileDescriptor_ef7750073d18011b, []int{19}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001325}
1326
1327func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1328 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1329}
1330func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1331 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1332}
1333func (m *LogLevel) XXX_Merge(src proto.Message) {
1334 xxx_messageInfo_LogLevel.Merge(m, src)
1335}
1336func (m *LogLevel) XXX_Size() int {
1337 return xxx_messageInfo_LogLevel.Size(m)
1338}
1339func (m *LogLevel) XXX_DiscardUnknown() {
1340 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1341}
1342
1343var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1344
1345func (m *LogLevel) GetLevel() string {
1346 if m != nil {
1347 return m.Level
1348 }
1349 return ""
1350}
1351
1352func (m *LogLevel) GetCaller() bool {
1353 if m != nil {
1354 return m.Caller
1355 }
1356 return false
1357}
1358
1359type Response struct {
1360 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1361 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1362 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1363 XXX_unrecognized []byte `json:"-"`
1364 XXX_sizecache int32 `json:"-"`
1365}
1366
1367func (m *Response) Reset() { *m = Response{} }
1368func (m *Response) String() string { return proto.CompactTextString(m) }
1369func (*Response) ProtoMessage() {}
1370func (*Response) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001371 return fileDescriptor_ef7750073d18011b, []int{20}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001372}
1373
1374func (m *Response) XXX_Unmarshal(b []byte) error {
1375 return xxx_messageInfo_Response.Unmarshal(m, b)
1376}
1377func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1378 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1379}
1380func (m *Response) XXX_Merge(src proto.Message) {
1381 xxx_messageInfo_Response.Merge(m, src)
1382}
1383func (m *Response) XXX_Size() int {
1384 return xxx_messageInfo_Response.Size(m)
1385}
1386func (m *Response) XXX_DiscardUnknown() {
1387 xxx_messageInfo_Response.DiscardUnknown(m)
1388}
1389
1390var xxx_messageInfo_Response proto.InternalMessageInfo
1391
1392func (m *Response) GetStatusCode() int32 {
1393 if m != nil {
1394 return m.StatusCode
1395 }
1396 return 0
1397}
1398
1399func (m *Response) GetMessage() string {
1400 if m != nil {
1401 return m.Message
1402 }
1403 return ""
1404}
1405
Arjun E K57a7fcb2020-01-30 06:44:45 +00001406type IgmpRequest struct {
1407 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1408 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001409 GroupAddress string `protobuf:"bytes,3,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"`
Arjun E K57a7fcb2020-01-30 06:44:45 +00001410 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1411 XXX_unrecognized []byte `json:"-"`
1412 XXX_sizecache int32 `json:"-"`
1413}
1414
1415func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1416func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1417func (*IgmpRequest) ProtoMessage() {}
1418func (*IgmpRequest) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001419 return fileDescriptor_ef7750073d18011b, []int{21}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001420}
1421
1422func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1423 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1424}
1425func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1426 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1427}
1428func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1429 xxx_messageInfo_IgmpRequest.Merge(m, src)
1430}
1431func (m *IgmpRequest) XXX_Size() int {
1432 return xxx_messageInfo_IgmpRequest.Size(m)
1433}
1434func (m *IgmpRequest) XXX_DiscardUnknown() {
1435 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1436}
1437
1438var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1439
1440func (m *IgmpRequest) GetOnuReq() *ONURequest {
1441 if m != nil {
1442 return m.OnuReq
1443 }
1444 return nil
1445}
1446
1447func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1448 if m != nil {
1449 return m.SubActionVal
1450 }
1451 return SubActionTypes_JOIN
1452}
1453
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001454func (m *IgmpRequest) GetGroupAddress() string {
1455 if m != nil {
1456 return m.GroupAddress
1457 }
1458 return ""
1459}
1460
Pragya Arya8bdb4532020-03-02 17:08:09 +05301461type Flows struct {
1462 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1463 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1464 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1465 XXX_unrecognized []byte `json:"-"`
1466 XXX_sizecache int32 `json:"-"`
1467}
1468
1469func (m *Flows) Reset() { *m = Flows{} }
1470func (m *Flows) String() string { return proto.CompactTextString(m) }
1471func (*Flows) ProtoMessage() {}
1472func (*Flows) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001473 return fileDescriptor_ef7750073d18011b, []int{22}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301474}
1475
1476func (m *Flows) XXX_Unmarshal(b []byte) error {
1477 return xxx_messageInfo_Flows.Unmarshal(m, b)
1478}
1479func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1480 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1481}
1482func (m *Flows) XXX_Merge(src proto.Message) {
1483 xxx_messageInfo_Flows.Merge(m, src)
1484}
1485func (m *Flows) XXX_Size() int {
1486 return xxx_messageInfo_Flows.Size(m)
1487}
1488func (m *Flows) XXX_DiscardUnknown() {
1489 xxx_messageInfo_Flows.DiscardUnknown(m)
1490}
1491
1492var xxx_messageInfo_Flows proto.InternalMessageInfo
1493
1494func (m *Flows) GetFlowCount() uint32 {
1495 if m != nil {
1496 return m.FlowCount
1497 }
1498 return 0
1499}
1500
1501func (m *Flows) GetFlows() []*openolt.Flow {
1502 if m != nil {
1503 return m.Flows
1504 }
1505 return nil
1506}
1507
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001508type Timeout struct {
1509 Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
1510 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1511 XXX_unrecognized []byte `json:"-"`
1512 XXX_sizecache int32 `json:"-"`
1513}
1514
1515func (m *Timeout) Reset() { *m = Timeout{} }
1516func (m *Timeout) String() string { return proto.CompactTextString(m) }
1517func (*Timeout) ProtoMessage() {}
1518func (*Timeout) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001519 return fileDescriptor_ef7750073d18011b, []int{23}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001520}
1521
1522func (m *Timeout) XXX_Unmarshal(b []byte) error {
1523 return xxx_messageInfo_Timeout.Unmarshal(m, b)
1524}
1525func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1526 return xxx_messageInfo_Timeout.Marshal(b, m, deterministic)
1527}
1528func (m *Timeout) XXX_Merge(src proto.Message) {
1529 xxx_messageInfo_Timeout.Merge(m, src)
1530}
1531func (m *Timeout) XXX_Size() int {
1532 return xxx_messageInfo_Timeout.Size(m)
1533}
1534func (m *Timeout) XXX_DiscardUnknown() {
1535 xxx_messageInfo_Timeout.DiscardUnknown(m)
1536}
1537
1538var xxx_messageInfo_Timeout proto.InternalMessageInfo
1539
1540func (m *Timeout) GetDelay() uint32 {
1541 if m != nil {
1542 return m.Delay
1543 }
1544 return 0
1545}
1546
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001547type Empty struct {
1548 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1549 XXX_unrecognized []byte `json:"-"`
1550 XXX_sizecache int32 `json:"-"`
1551}
1552
1553func (m *Empty) Reset() { *m = Empty{} }
1554func (m *Empty) String() string { return proto.CompactTextString(m) }
1555func (*Empty) ProtoMessage() {}
1556func (*Empty) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001557 return fileDescriptor_ef7750073d18011b, []int{24}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001558}
1559
1560func (m *Empty) XXX_Unmarshal(b []byte) error {
1561 return xxx_messageInfo_Empty.Unmarshal(m, b)
1562}
1563func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1564 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1565}
1566func (m *Empty) XXX_Merge(src proto.Message) {
1567 xxx_messageInfo_Empty.Merge(m, src)
1568}
1569func (m *Empty) XXX_Size() int {
1570 return xxx_messageInfo_Empty.Size(m)
1571}
1572func (m *Empty) XXX_DiscardUnknown() {
1573 xxx_messageInfo_Empty.DiscardUnknown(m)
1574}
1575
1576var xxx_messageInfo_Empty proto.InternalMessageInfo
1577
1578func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001579 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001580 proto.RegisterEnum("bbsim.OltAllocatedResourceType_Type", OltAllocatedResourceType_Type_name, OltAllocatedResourceType_Type_value)
Scott Baker41724b82020-01-21 19:54:53 -08001581 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001582 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001583 proto.RegisterType((*PonAllocatedResources)(nil), "bbsim.PonAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001584 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1585 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001586 proto.RegisterType((*OltAllocatedResourceType)(nil), "bbsim.OltAllocatedResourceType")
1587 proto.RegisterType((*OltAllocatedResource)(nil), "bbsim.OltAllocatedResource")
1588 proto.RegisterType((*OltAllocatedResources)(nil), "bbsim.OltAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001589 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001590 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301591 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001592 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001593 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001594 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301595 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001596 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1597 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301598 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1599 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001600 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1601 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1602 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001603 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301604 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001605 proto.RegisterType((*Timeout)(nil), "bbsim.Timeout")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001606 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1607}
1608
Matteo Scandolof65e6872020-04-15 15:18:43 -07001609func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001610
1611var fileDescriptor_ef7750073d18011b = []byte{
amit.ghoshee17c002021-06-10 12:14:38 +02001612 // 1956 bytes of a gzipped FileDescriptorProto
1613 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x51, 0x72, 0xdb, 0xc8,
1614 0x11, 0x15, 0x49, 0x51, 0x24, 0x9b, 0x22, 0x05, 0x8d, 0x2d, 0x2d, 0x4b, 0xd6, 0xc6, 0x2a, 0xac,
1615 0x37, 0x65, 0xbb, 0xb2, 0xf2, 0x5a, 0x4e, 0x36, 0xf6, 0x27, 0x44, 0x42, 0x34, 0x56, 0x14, 0x80,
1616 0x1a, 0x90, 0x72, 0x39, 0xf9, 0x60, 0x41, 0xc0, 0x48, 0x42, 0x05, 0x24, 0x68, 0x60, 0x28, 0x45,
1617 0x07, 0xc8, 0x19, 0xf2, 0x9f, 0x03, 0xe4, 0x12, 0xb9, 0x40, 0x4e, 0x90, 0x7c, 0xe5, 0x00, 0xa9,
1618 0x5c, 0x20, 0x35, 0x83, 0x01, 0x08, 0x90, 0x90, 0x2d, 0x7f, 0xed, 0x0f, 0x0b, 0xfd, 0xba, 0x5f,
1619 0x4f, 0x4f, 0x77, 0xa3, 0x67, 0x40, 0xd8, 0xb1, 0x67, 0xde, 0xab, 0x8b, 0x8b, 0xc8, 0x9b, 0xc4,
1620 0xbf, 0x87, 0xb3, 0x30, 0xa0, 0x01, 0xaa, 0x72, 0x61, 0xef, 0xc9, 0x4d, 0xe0, 0xd3, 0x6b, 0x7b,
1621 0xcc, 0xc1, 0xe8, 0x55, 0x30, 0x23, 0xd3, 0xc0, 0xa7, 0xb1, 0xcd, 0xde, 0x41, 0x5e, 0x49, 0x89,
1622 0x73, 0xcd, 0x9e, 0x2f, 0x3d, 0x9f, 0xc4, 0x16, 0xf2, 0xbf, 0xcb, 0x50, 0x33, 0x0d, 0xdd, 0x0c,
1623 0x42, 0x8a, 0xda, 0x50, 0xd6, 0x7a, 0x9d, 0xd2, 0x41, 0xe9, 0x79, 0x15, 0x97, 0xb5, 0x1e, 0xda,
1624 0x87, 0x86, 0x31, 0x23, 0xa1, 0x45, 0x6d, 0x4a, 0x3a, 0xe5, 0x83, 0xd2, 0xf3, 0x06, 0x5e, 0x00,
1625 0xe8, 0x19, 0xb4, 0xb4, 0x29, 0x25, 0xe1, 0xd4, 0xf6, 0x63, 0x8b, 0x0a, 0xb7, 0xc8, 0x83, 0xe8,
1626 0x00, 0x9a, 0xa6, 0xed, 0xfc, 0x89, 0xd0, 0x6e, 0x30, 0x9f, 0xd2, 0xce, 0xfa, 0x41, 0xe9, 0xf9,
1627 0x3a, 0xce, 0x42, 0xe8, 0x04, 0xb6, 0x14, 0xdf, 0x0f, 0x1c, 0x9b, 0x12, 0xd7, 0x98, 0xce, 0x35,
1628 0x37, 0xea, 0x54, 0x0f, 0x2a, 0xcf, 0x9b, 0x47, 0xfb, 0x87, 0xf1, 0x76, 0xcd, 0x60, 0x9a, 0x1a,
1629 0x60, 0x12, 0x05, 0xf3, 0xd0, 0x21, 0x11, 0x5e, 0x26, 0xa1, 0x9f, 0x61, 0x3b, 0x85, 0xfa, 0x64,
1630 0xc2, 0x76, 0x14, 0x75, 0x36, 0x1e, 0xe0, 0x69, 0x95, 0x96, 0xf3, 0xc5, 0x1f, 0x58, 0x54, 0xb5,
1631 0xaf, 0xf2, 0x95, 0xd0, 0xe4, 0x53, 0xd8, 0x29, 0xb4, 0x45, 0x32, 0x6c, 0x5a, 0x24, 0xf4, 0x6c,
1632 0x5f, 0x9f, 0x4f, 0x2e, 0x48, 0xc8, 0x13, 0xdf, 0xc0, 0x39, 0x8c, 0x97, 0xc4, 0xe5, 0xb9, 0x67,
1633 0x25, 0x71, 0xe5, 0xdf, 0x43, 0x4d, 0xd7, 0xb5, 0xaf, 0xaf, 0x96, 0xfc, 0x9f, 0x12, 0x54, 0x0c,
1634 0x7f, 0x95, 0xb5, 0x1c, 0x44, 0xb9, 0x20, 0x88, 0x9c, 0xe7, 0xca, 0x17, 0xfb, 0x60, 0xbd, 0xa8,
1635 0x0f, 0xd8, 0xba, 0x66, 0xa7, 0xc6, 0x55, 0x65, 0xcd, 0x44, 0x2f, 0xa1, 0x2e, 0x36, 0x92, 0x94,
1636 0xbb, 0x2d, 0x12, 0x2b, 0x60, 0x9c, 0xea, 0x99, 0xad, 0x68, 0xd1, 0xa4, 0xa0, 0x89, 0xad, 0x80,
1637 0x71, 0xaa, 0x97, 0xff, 0x52, 0x82, 0x8e, 0xe1, 0xd3, 0x95, 0x74, 0x0f, 0xef, 0x66, 0x04, 0xbd,
1638 0x85, 0x75, 0x7a, 0x37, 0x23, 0x7c, 0xfb, 0xed, 0xa3, 0x67, 0xc2, 0xc9, 0x7d, 0xe6, 0x87, 0xec,
1639 0x07, 0x73, 0x86, 0xfc, 0x0a, 0xd6, 0xb9, 0x87, 0x26, 0xd4, 0x46, 0xfa, 0xa9, 0x6e, 0x7c, 0xd0,
1640 0xa5, 0x35, 0xb4, 0x09, 0x75, 0x65, 0x30, 0x30, 0xba, 0x63, 0xad, 0x27, 0x95, 0x98, 0xd4, 0x57,
1641 0xcf, 0xc6, 0xa6, 0x81, 0x87, 0x52, 0x59, 0xfe, 0x7b, 0x09, 0x1e, 0x17, 0x39, 0x46, 0x28, 0xf6,
1642 0x24, 0xaa, 0x1d, 0x7b, 0xdd, 0x87, 0x86, 0x19, 0x4c, 0xd9, 0x06, 0x44, 0xb1, 0x5b, 0x78, 0x01,
1643 0xa0, 0xc7, 0x50, 0xe5, 0x2d, 0xce, 0x53, 0xdf, 0xc2, 0xb1, 0x80, 0x76, 0x61, 0x83, 0xe9, 0xf5,
1644 0x80, 0xe7, 0xbb, 0x85, 0x85, 0x84, 0x7e, 0x05, 0x90, 0xac, 0xa5, 0xb9, 0x9d, 0x2a, 0x2f, 0x74,
1645 0x06, 0x61, 0xbc, 0x13, 0x3f, 0xb8, 0xd5, 0xdc, 0xce, 0x06, 0x7f, 0x17, 0x85, 0x24, 0x63, 0xd8,
1646 0x29, 0x8a, 0x37, 0x42, 0xef, 0xa0, 0x11, 0x26, 0x42, 0xa7, 0xc4, 0xd3, 0xff, 0xe4, 0x33, 0x99,
1647 0xc3, 0x0b, 0x6b, 0xf9, 0x7f, 0x15, 0xa8, 0x18, 0xfa, 0xe8, 0x17, 0x6b, 0xba, 0x4c, 0x5e, 0x7b,
1648 0x22, 0x15, 0x0b, 0x80, 0x69, 0xdf, 0xdf, 0x2a, 0xae, 0x1b, 0x92, 0x28, 0xea, 0xd4, 0xe3, 0x15,
1649 0x52, 0x20, 0x93, 0xdf, 0x06, 0x27, 0x26, 0xf9, 0x7d, 0x09, 0xf5, 0x88, 0x84, 0x37, 0x1e, 0xcb,
1650 0x06, 0xe4, 0x9a, 0xd1, 0x8a, 0x61, 0x9c, 0xea, 0x51, 0x0f, 0xbe, 0xd5, 0x26, 0xf6, 0x15, 0xb1,
1651 0x82, 0x4b, 0x7a, 0x6b, 0x87, 0x44, 0xfd, 0xf3, 0x8c, 0x38, 0x94, 0xb8, 0x16, 0x71, 0xa8, 0x17,
1652 0x4c, 0xa3, 0x4e, 0x93, 0xbb, 0xfe, 0xbc, 0xd1, 0x8a, 0x17, 0x4c, 0x1c, 0xe2, 0xdd, 0x64, 0xbc,
1653 0x6c, 0x16, 0x78, 0x59, 0x36, 0x42, 0x3f, 0xc2, 0x23, 0xc5, 0xa1, 0xde, 0x0d, 0xe1, 0x66, 0xea,
1654 0x94, 0x7a, 0xf4, 0x4e, 0x73, 0x3b, 0x2d, 0xce, 0x2d, 0x52, 0xa1, 0x9f, 0x60, 0xb7, 0x1b, 0x4c,
1655 0x26, 0x1e, 0xa5, 0xc4, 0xcd, 0x93, 0xda, 0x9c, 0x74, 0x8f, 0x56, 0xfe, 0x6f, 0x19, 0x6a, 0x22,
1656 0x17, 0xac, 0xdb, 0x75, 0x7b, 0x92, 0x76, 0x3b, 0x7b, 0xce, 0xe7, 0xbd, 0xbc, 0x9c, 0xf7, 0xb8,
1657 0xdb, 0xad, 0xa9, 0xa8, 0x79, 0x2c, 0x30, 0x3f, 0xd6, 0xd0, 0xbe, 0xe2, 0x65, 0xae, 0x62, 0xfe,
1658 0xcc, 0xb0, 0x2e, 0xc3, 0xe2, 0xc2, 0xf2, 0x67, 0xd6, 0xfd, 0x3a, 0x21, 0x6e, 0xa4, 0xda, 0xb3,
1659 0xc0, 0xe7, 0x1d, 0x5e, 0xc7, 0x19, 0x84, 0xad, 0xcd, 0xa5, 0xde, 0xb5, 0x33, 0xe3, 0xd3, 0xa8,
1660 0x8e, 0x17, 0x40, 0xaa, 0xd5, 0xae, 0x26, 0x33, 0xde, 0x11, 0x89, 0x96, 0x01, 0xa8, 0x03, 0x35,
1661 0x71, 0x40, 0x88, 0x96, 0x48, 0x44, 0xb6, 0x2a, 0x77, 0x1f, 0xb7, 0x22, 0xf0, 0xc0, 0x33, 0x08,
1662 0xf3, 0xcb, 0xfc, 0xc7, 0xea, 0x66, 0xbc, 0xe3, 0x14, 0x58, 0xed, 0xe5, 0xcd, 0x7b, 0x7a, 0x59,
1663 0xeb, 0x9f, 0x99, 0xb1, 0x45, 0x2b, 0xf6, 0x91, 0x02, 0xb2, 0x0d, 0x8f, 0x0d, 0x7d, 0x34, 0x0c,
1664 0xed, 0xcb, 0x4b, 0xcf, 0xb1, 0x9c, 0x6b, 0xe2, 0xce, 0x7d, 0x12, 0x46, 0x48, 0x83, 0x2d, 0xca,
1665 0xc0, 0x05, 0xc4, 0x4b, 0xd1, 0x3c, 0x7a, 0x7a, 0x98, 0xbb, 0x0c, 0xac, 0x30, 0xf1, 0x32, 0x4f,
1666 0x7e, 0x0e, 0xeb, 0x86, 0x3e, 0x8a, 0xd0, 0x01, 0x54, 0x3d, 0x4a, 0x26, 0xc9, 0x2c, 0x80, 0x64,
1667 0x16, 0xe8, 0x23, 0x1c, 0x2b, 0xe4, 0x1f, 0xa1, 0x6e, 0x25, 0xaf, 0xc0, 0xb3, 0xbc, 0xf5, 0xf2,
1668 0xbb, 0x92, 0x32, 0x80, 0xf1, 0xc9, 0xa7, 0x39, 0x89, 0xe8, 0x43, 0x0e, 0x46, 0xf9, 0x25, 0x80,
1669 0x69, 0xe8, 0x09, 0x23, 0x37, 0x40, 0x4b, 0x4b, 0x03, 0x54, 0xfe, 0x57, 0x05, 0x1a, 0x8a, 0x6f,
1670 0x87, 0x13, 0x36, 0x6c, 0xe5, 0x7f, 0x56, 0xa0, 0xca, 0x1e, 0x22, 0x54, 0x83, 0xca, 0xc0, 0xb0,
1671 0xa4, 0x35, 0xd4, 0x06, 0xe8, 0x7d, 0xd4, 0xf4, 0xfe, 0xb8, 0xaf, 0x58, 0xa6, 0x54, 0x42, 0x2d,
1672 0x68, 0x18, 0xfa, 0x68, 0xac, 0x0c, 0x14, 0x7c, 0x26, 0x95, 0xd1, 0x37, 0xf0, 0x88, 0x89, 0xd6,
1673 0x50, 0xc1, 0xc3, 0x91, 0x39, 0x3e, 0x51, 0xb4, 0xc1, 0x08, 0xab, 0x52, 0x05, 0xed, 0x02, 0xe2,
1674 0x0a, 0xad, 0xaf, 0x2b, 0x83, 0x71, 0x4f, 0xed, 0x63, 0xa5, 0xa7, 0x4a, 0xeb, 0x09, 0xa1, 0x87,
1675 0xb5, 0x93, 0xe1, 0xd8, 0x38, 0x19, 0x7f, 0xd0, 0xf4, 0x9e, 0xf1, 0x41, 0xaa, 0xa2, 0x7d, 0xe8,
1676 0x30, 0xc5, 0xc0, 0xb0, 0x2c, 0x86, 0x1b, 0x67, 0x5d, 0x6d, 0xdc, 0x7d, 0xaf, 0xe8, 0xba, 0x3a,
1677 0x90, 0x36, 0xd2, 0x75, 0xb8, 0x3b, 0x2b, 0x5d, 0xa7, 0x86, 0x5e, 0xc0, 0xf7, 0x4c, 0x31, 0xc4,
1678 0x8a, 0x6e, 0x9d, 0x69, 0x96, 0xa5, 0x19, 0xfa, 0x58, 0xd3, 0x87, 0x2a, 0x3e, 0x51, 0xb1, 0xaa,
1679 0x77, 0xd5, 0xf1, 0x07, 0x05, 0xeb, 0x9a, 0xde, 0x97, 0xea, 0x68, 0x0f, 0x76, 0x79, 0xe8, 0xdd,
1680 0xa1, 0x76, 0xae, 0x0c, 0x99, 0x61, 0xe2, 0xa6, 0x81, 0x3a, 0xbc, 0x49, 0xc6, 0x26, 0x36, 0xba,
1681 0xaa, 0x65, 0xb1, 0xfd, 0xaa, 0x18, 0x1b, 0x58, 0x02, 0x74, 0x00, 0xfb, 0xd9, 0xb8, 0x4e, 0xd5,
1682 0x8f, 0x63, 0xeb, 0xa3, 0xde, 0x4d, 0xb9, 0x4d, 0xb4, 0x03, 0xdb, 0xcc, 0x42, 0x1b, 0x8e, 0xc6,
1683 0xa6, 0xa1, 0xb3, 0x5c, 0x0c, 0x2d, 0x69, 0x13, 0x6d, 0x43, 0x2b, 0xcd, 0x14, 0xa3, 0x4b, 0xad,
1684 0x65, 0xe8, 0x58, 0x6a, 0x27, 0x1b, 0x4b, 0x20, 0xb3, 0x3b, 0x66, 0xbb, 0x90, 0xb6, 0x92, 0x7c,
1685 0xe4, 0x14, 0x5d, 0x11, 0x95, 0x84, 0x10, 0xb4, 0xb3, 0xda, 0x13, 0x4d, 0xda, 0x46, 0x8f, 0x60,
1686 0x2b, 0x8b, 0x29, 0x67, 0x9a, 0x84, 0xe4, 0xb7, 0xd0, 0xe6, 0xf5, 0x35, 0xed, 0xd0, 0x9e, 0x10,
1687 0x4a, 0x42, 0x24, 0x41, 0xe5, 0x94, 0xdc, 0x89, 0xce, 0x61, 0x8f, 0x6c, 0xae, 0x9c, 0xdb, 0xfe,
1688 0x3c, 0xb9, 0x1a, 0xc5, 0x82, 0xfc, 0xb7, 0x12, 0xf7, 0xc7, 0xd9, 0x99, 0x66, 0x4a, 0xbb, 0x45,
1689 0x78, 0x58, 0x00, 0x0f, 0x3a, 0xbb, 0x76, 0x61, 0x83, 0xbd, 0x96, 0xf3, 0x48, 0x0c, 0x31, 0x21,
1690 0xa1, 0xdf, 0x01, 0xa4, 0x21, 0x46, 0x9d, 0x75, 0xfe, 0x46, 0xec, 0x88, 0x37, 0x22, 0xbf, 0x01,
1691 0x9c, 0x31, 0x94, 0x3f, 0xc1, 0x96, 0x31, 0x18, 0xe6, 0x62, 0x3c, 0x80, 0x26, 0x1f, 0x0f, 0x97,
1692 0xb6, 0x43, 0xc4, 0xd1, 0xda, 0xc2, 0x59, 0x28, 0x9d, 0x2a, 0x4c, 0xe4, 0x3b, 0x29, 0x67, 0xa6,
1693 0x4a, 0x02, 0xde, 0x17, 0x29, 0xbb, 0x46, 0xb5, 0xce, 0x49, 0x18, 0x79, 0xc1, 0x54, 0xec, 0xa9,
1694 0x03, 0xb5, 0x9b, 0x18, 0x10, 0x39, 0x49, 0x44, 0x96, 0xaf, 0x8b, 0xb9, 0xe7, 0xbb, 0x43, 0x6f,
1695 0x92, 0x5e, 0x3c, 0x53, 0x80, 0xcd, 0x46, 0x87, 0x9f, 0x13, 0xef, 0xed, 0xe8, 0x5a, 0xac, 0x92,
1696 0x41, 0x18, 0xfb, 0xca, 0xa3, 0x22, 0x88, 0xf8, 0x14, 0x5f, 0x00, 0xf2, 0x5b, 0xa8, 0x0f, 0x82,
1697 0xab, 0x01, 0xb9, 0x21, 0x3e, 0xab, 0xa0, 0xcf, 0x1e, 0xc4, 0xfa, 0xb1, 0xc0, 0x76, 0xe0, 0xd8,
1698 0xbe, 0x2f, 0x2a, 0x51, 0xc7, 0x42, 0x92, 0x55, 0xa8, 0x63, 0x12, 0xcd, 0x82, 0x69, 0x44, 0xd0,
1699 0x53, 0x68, 0x46, 0xdc, 0xdf, 0xd8, 0x09, 0x5c, 0x22, 0x2e, 0x22, 0x10, 0x43, 0xdd, 0xc0, 0x25,
1700 0x6c, 0x73, 0x13, 0x12, 0x45, 0xf6, 0x55, 0xb2, 0x81, 0x44, 0x94, 0xff, 0x5a, 0x82, 0x26, 0x9b,
1701 0xfe, 0x49, 0xe2, 0x5f, 0xc0, 0x86, 0x31, 0x9d, 0x63, 0xf2, 0x49, 0xcc, 0xd1, 0xed, 0xcc, 0xf8,
1702 0x8b, 0x4d, 0xb0, 0x30, 0x40, 0xef, 0x60, 0xd3, 0x9a, 0x5f, 0x28, 0xfc, 0xfc, 0x3d, 0xb7, 0x7d,
1703 0xee, 0xb9, 0x9d, 0xd6, 0x3b, 0x55, 0xf1, 0x59, 0x84, 0x73, 0xa6, 0xac, 0xc9, 0xfa, 0x61, 0x30,
1704 0x9f, 0x25, 0xa7, 0x64, 0x9c, 0xb6, 0x1c, 0x26, 0x9f, 0x42, 0x95, 0x5d, 0xdd, 0x22, 0xf4, 0x2d,
1705 0xc0, 0xa5, 0x1f, 0xdc, 0x8e, 0x1d, 0xfe, 0x85, 0x25, 0xa6, 0x1f, 0x43, 0xe2, 0xef, 0xab, 0xef,
1706 0xa0, 0xca, 0x04, 0x76, 0xd4, 0xb2, 0x7e, 0x6b, 0x1d, 0x26, 0x9f, 0x88, 0x8c, 0x8d, 0x63, 0x9d,
1707 0xfc, 0x14, 0x6a, 0xac, 0x5a, 0xc1, 0x9c, 0xb2, 0x34, 0xbb, 0xc4, 0xb7, 0xef, 0x84, 0xa7, 0x58,
1708 0x90, 0x6b, 0x50, 0x55, 0x27, 0x33, 0x7a, 0xf7, 0xf2, 0x35, 0xb4, 0xf3, 0xa1, 0xa3, 0x3a, 0xac,
1709 0xff, 0x6c, 0x68, 0xec, 0x42, 0xdc, 0x80, 0xea, 0x40, 0x55, 0xce, 0x55, 0xa9, 0x84, 0x00, 0x36,
1710 0x18, 0x78, 0xfe, 0x46, 0x2a, 0x1f, 0xfd, 0xa3, 0x09, 0xd5, 0xe3, 0x63, 0xcb, 0x9b, 0xa0, 0x57,
1711 0x50, 0x13, 0x5d, 0x85, 0x36, 0x45, 0x1e, 0xb8, 0xd7, 0xbd, 0xc7, 0x42, 0xca, 0xf5, 0x9c, 0xbc,
1712 0x86, 0x5e, 0x43, 0xd3, 0x22, 0x34, 0x6d, 0x81, 0x2d, 0x61, 0x96, 0x00, 0x7b, 0xcb, 0x80, 0xbc,
1713 0x86, 0x9e, 0xc1, 0x46, 0x9f, 0x50, 0xf6, 0xad, 0x93, 0x5f, 0x02, 0x16, 0x97, 0x56, 0x79, 0x0d,
1714 0xfd, 0x11, 0x3a, 0xb1, 0x55, 0xc1, 0x8d, 0xf7, 0xe9, 0x17, 0x3e, 0x0c, 0xf6, 0xf6, 0x3f, 0x63,
1715 0x10, 0xc9, 0x6b, 0xe8, 0x07, 0x00, 0x33, 0xb8, 0x25, 0x61, 0x30, 0x5d, 0x0d, 0x23, 0x89, 0x38,
1716 0x69, 0x4e, 0x79, 0x0d, 0x1d, 0x42, 0xd3, 0xba, 0x9e, 0x53, 0x37, 0xb8, 0x7d, 0x98, 0xfd, 0x6f,
1717 0xa0, 0x81, 0xc9, 0x45, 0x10, 0xd0, 0x07, 0x59, 0xb3, 0x82, 0xd1, 0x60, 0x76, 0x85, 0xcd, 0x2e,
1718 0x3b, 0x75, 0x49, 0xf8, 0x65, 0xca, 0x11, 0x6c, 0x59, 0xd4, 0x0e, 0xe9, 0xd7, 0x70, 0x7e, 0x82,
1719 0x6d, 0x4c, 0xa2, 0x25, 0x56, 0x72, 0xdc, 0x8b, 0xde, 0x2a, 0xe2, 0xbd, 0x88, 0xcb, 0xa5, 0x8f,
1720 0xd0, 0xea, 0xab, 0xb4, 0x97, 0xb9, 0x5c, 0xc8, 0x6b, 0xe8, 0xd7, 0xec, 0x02, 0x46, 0xf9, 0x25,
1721 0x24, 0x1f, 0x4e, 0x73, 0x61, 0x16, 0xc5, 0xf9, 0xec, 0x13, 0x9a, 0x5e, 0x41, 0x8a, 0x43, 0x4f,
1722 0xd4, 0x3c, 0xf4, 0x36, 0xf3, 0x3b, 0x9d, 0xa7, 0x94, 0x82, 0x50, 0x0a, 0x78, 0x6f, 0x32, 0x75,
1723 0x2b, 0x8e, 0xff, 0x9e, 0xdc, 0x0a, 0x92, 0xe2, 0xfb, 0x05, 0x9b, 0x29, 0xe0, 0xbc, 0x83, 0xed,
1724 0xcc, 0x42, 0x91, 0x31, 0x35, 0x0d, 0x3d, 0x5d, 0x6e, 0x71, 0x0d, 0x2a, 0x5e, 0x2e, 0x6d, 0xc5,
1725 0x07, 0x87, 0xf8, 0x1a, 0xda, 0x82, 0xf3, 0xe0, 0x08, 0xdf, 0x82, 0xb4, 0x58, 0xe6, 0xab, 0x02,
1726 0xfc, 0x2d, 0x6c, 0x8a, 0xbe, 0x89, 0x6f, 0xe8, 0x0f, 0x0b, 0xf1, 0x0d, 0x34, 0x05, 0x8b, 0x5f,
1727 0xdc, 0x1f, 0x46, 0x3a, 0x86, 0x1d, 0x8b, 0xd7, 0x99, 0x1f, 0xa5, 0xda, 0xd4, 0xf5, 0x1c, 0x9b,
1728 0x8d, 0x31, 0xb4, 0xbb, 0xa0, 0x67, 0x4f, 0xd9, 0xcf, 0xf8, 0x60, 0x2f, 0xfe, 0x3d, 0x3e, 0xf2,
1729 0x27, 0x75, 0x91, 0x8f, 0x1f, 0xa0, 0xde, 0x27, 0x34, 0x1e, 0xde, 0x05, 0x91, 0x27, 0xc9, 0xe6,
1730 0x06, 0x3c, 0xb7, 0x5b, 0xdd, 0x6b, 0x7b, 0x7a, 0x45, 0xd8, 0x39, 0x14, 0x7f, 0x0c, 0x20, 0x61,
1731 0x92, 0x39, 0x99, 0x8a, 0x16, 0x3a, 0x85, 0x6f, 0xe2, 0xc6, 0x5e, 0xfd, 0x30, 0x28, 0x58, 0xf7,
1732 0xc9, 0x02, 0x5a, 0xb1, 0x97, 0xd7, 0x8e, 0xbf, 0xff, 0xc3, 0x77, 0x57, 0x1e, 0xbd, 0x9e, 0x5f,
1733 0x1c, 0x3a, 0xc1, 0x84, 0xff, 0xcf, 0xe8, 0x04, 0xa1, 0x2b, 0xfe, 0x98, 0x4c, 0xff, 0xa2, 0xbc,
1734 0xd8, 0xe0, 0xff, 0x2b, 0xbe, 0xf9, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xce, 0x0d, 0xfb, 0x2c,
1735 0xb6, 0x14, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001736}
1737
1738// Reference imports to suppress errors if they are not otherwise used.
1739var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001740var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001741
1742// This is a compile-time assertion to ensure that this generated file
1743// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001744const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001745
1746// BBSimClient is the client API for BBSim service.
1747//
1748// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1749type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001750 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001751 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001752 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301753 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001754 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001755 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001756 GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001757 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001758 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001759 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001760 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001761 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001762 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001763 // Closes the Openolt gRPC server
1764 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1765 // Start the Openolt gRPC server
1766 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05301767 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001768 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001769 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001770 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001771 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301772 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001773 // Get all the Services
1774 GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error)
1775 // Get all the Services of an ONU by serial number
1776 GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001777 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001778 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001779 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301780 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001781 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301782 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001783 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001784 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001785 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301786 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001787 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301788 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001789 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001790 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001791 // Restart DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001792 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001793 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301794 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001795 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301796 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001797 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301798 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001799 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001800 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001801 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301802 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001803}
1804
1805type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04001806 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001807}
1808
Kent Hagerman60d62302020-03-10 17:02:36 -04001809func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001810 return &bBSimClient{cc}
1811}
1812
1813func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1814 out := new(VersionNumber)
1815 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1816 if err != nil {
1817 return nil, err
1818 }
1819 return out, nil
1820}
1821
Pragya Aryabd731ec2020-02-11 16:38:17 +05301822func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1823 out := new(LogLevel)
1824 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1825 if err != nil {
1826 return nil, err
1827 }
1828 return out, nil
1829}
1830
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001831func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1832 out := new(Olt)
1833 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1834 if err != nil {
1835 return nil, err
1836 }
1837 return out, nil
1838}
1839
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001840func (c *bBSimClient) GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) {
1841 out := new(OltAllocatedResources)
1842 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOltAllocatedResources", in, out, opts...)
1843 if err != nil {
1844 return nil, err
1845 }
1846 return out, nil
1847}
1848
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001849func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1850 out := new(Response)
1851 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1852 if err != nil {
1853 return nil, err
1854 }
1855 return out, nil
1856}
1857
1858func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1859 out := new(Response)
1860 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1861 if err != nil {
1862 return nil, err
1863 }
1864 return out, nil
1865}
1866
1867func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1868 out := new(Response)
1869 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1870 if err != nil {
1871 return nil, err
1872 }
1873 return out, nil
1874}
1875
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001876func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1877 out := new(Response)
1878 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
1879 if err != nil {
1880 return nil, err
1881 }
1882 return out, nil
1883}
1884
1885func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1886 out := new(Response)
1887 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
1888 if err != nil {
1889 return nil, err
1890 }
1891 return out, nil
1892}
1893
1894func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
1895 out := new(Response)
1896 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
1897 if err != nil {
1898 return nil, err
1899 }
1900 return out, nil
1901}
1902
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001903func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
1904 out := new(ONU)
1905 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
1906 if err != nil {
1907 return nil, err
1908 }
1909 return out, nil
1910}
1911
Pragya Aryabd731ec2020-02-11 16:38:17 +05301912func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
1913 out := new(ONUs)
1914 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001915 if err != nil {
1916 return nil, err
1917 }
1918 return out, nil
1919}
1920
Matteo Scandolo4a036262020-08-17 15:56:13 -07001921func (c *bBSimClient) GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error) {
1922 out := new(Services)
1923 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
1924 if err != nil {
1925 return nil, err
1926 }
1927 return out, nil
1928}
1929
1930func (c *bBSimClient) GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error) {
1931 out := new(Services)
1932 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuServices", in, out, opts...)
1933 if err != nil {
1934 return nil, err
1935 }
1936 return out, nil
1937}
1938
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001939func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1940 out := new(Response)
1941 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", 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) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1949 out := new(Response)
1950 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
1951 if err != nil {
1952 return nil, err
1953 }
1954 return out, nil
1955}
1956
1957func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1958 out := new(Response)
1959 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
1960 if err != nil {
1961 return nil, err
1962 }
1963 return out, nil
1964}
1965
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001966func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1967 out := new(Response)
1968 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
1969 if err != nil {
1970 return nil, err
1971 }
1972 return out, nil
1973}
1974
Pragya Aryabd731ec2020-02-11 16:38:17 +05301975func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1976 out := new(Response)
1977 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
1978 if err != nil {
1979 return nil, err
1980 }
1981 return out, nil
1982}
1983
1984func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1985 out := new(Response)
1986 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
1987 if err != nil {
1988 return nil, err
1989 }
1990 return out, nil
1991}
1992
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001993func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1994 out := new(Response)
1995 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
1996 if err != nil {
1997 return nil, err
1998 }
1999 return out, nil
2000}
2001
2002func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2003 out := new(Response)
2004 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
2005 if err != nil {
2006 return nil, err
2007 }
2008 return out, nil
2009}
2010
Anand S Katti86552f92020-03-03 21:56:32 +05302011func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08002012 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05302013 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
2014 if err != nil {
2015 return nil, err
2016 }
2017 return out, nil
2018}
2019
2020func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
2021 out := new(Response)
2022 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08002023 if err != nil {
2024 return nil, err
2025 }
2026 return out, nil
2027}
2028
Pragya Arya8bdb4532020-03-02 17:08:09 +05302029func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
2030 out := new(Flows)
2031 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
2032 if err != nil {
2033 return nil, err
2034 }
2035 return out, nil
2036}
2037
Arjun E K57a7fcb2020-01-30 06:44:45 +00002038func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
2039 out := new(Response)
2040 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
2041 if err != nil {
2042 return nil, err
2043 }
2044 return out, nil
2045}
2046
Anand S Katti09541352020-01-29 15:54:01 +05302047func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
2048 out := new(ONUTrafficSchedulers)
2049 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
2050 if err != nil {
2051 return nil, err
2052 }
2053 return out, nil
2054}
2055
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002056// BBSimServer is the server API for BBSim service.
2057type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002058 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002059 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002060 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302061 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002062 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002063 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002064 GetOltAllocatedResources(context.Context, *OltAllocatedResourceType) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002065 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002066 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002067 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002068 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002069 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002070 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002071 // Closes the Openolt gRPC server
2072 StopgRPCServer(context.Context, *Empty) (*Response, error)
2073 // Start the Openolt gRPC server
2074 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302075 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002076 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002077 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002078 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002079 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302080 GetONUs(context.Context, *Empty) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07002081 // Get all the Services
2082 GetServices(context.Context, *Empty) (*Services, error)
2083 // Get all the Services of an ONU by serial number
2084 GetOnuServices(context.Context, *ONURequest) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002085 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002086 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002087 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302088 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002089 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302090 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002091 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002092 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002093 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302094 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002095 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302096 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002097 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002098 RestartEapol(context.Context, *ONURequest) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002099 // Restart DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002100 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002101 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302102 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002103 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302104 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002105 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302106 GetFlows(context.Context, *ONURequest) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002107 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002108 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002109 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302110 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002111}
2112
Pragya Aryabd731ec2020-02-11 16:38:17 +05302113// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
2114type UnimplementedBBSimServer struct {
2115}
2116
2117func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
2118 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
2119}
2120func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
2121 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2122}
2123func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
2124 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
2125}
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002126func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error) {
2127 return nil, status.Errorf(codes.Unimplemented, "method GetOltAllocatedResources not implemented")
2128}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302129func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
2130 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
2131}
2132func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
2133 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
2134}
2135func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
2136 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
2137}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002138func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2139 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
2140}
2141func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2142 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
2143}
2144func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
2145 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
2146}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302147func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
2148 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
2149}
2150func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
2151 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
2152}
Matteo Scandolo4a036262020-08-17 15:56:13 -07002153func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *Empty) (*Services, error) {
2154 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
2155}
2156func (*UnimplementedBBSimServer) GetOnuServices(ctx context.Context, req *ONURequest) (*Services, error) {
2157 return nil, status.Errorf(codes.Unimplemented, "method GetOnuServices not implemented")
2158}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302159func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
2160 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
2161}
2162func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2163 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
2164}
2165func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2166 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
2167}
2168func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
2169 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
2170}
2171func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2172 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
2173}
2174func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2175 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
2176}
2177func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
2178 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
2179}
2180func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
2181 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
2182}
2183func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
2184 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
2185}
2186func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
2187 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
2188}
2189func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
2190 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
2191}
2192func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
2193 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
2194}
2195func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
2196 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
2197}
2198
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002199func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
2200 s.RegisterService(&_BBSim_serviceDesc, srv)
2201}
2202
2203func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2204 in := new(Empty)
2205 if err := dec(in); err != nil {
2206 return nil, err
2207 }
2208 if interceptor == nil {
2209 return srv.(BBSimServer).Version(ctx, in)
2210 }
2211 info := &grpc.UnaryServerInfo{
2212 Server: srv,
2213 FullMethod: "/bbsim.BBSim/Version",
2214 }
2215 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2216 return srv.(BBSimServer).Version(ctx, req.(*Empty))
2217 }
2218 return interceptor(ctx, in, info, handler)
2219}
2220
Pragya Aryabd731ec2020-02-11 16:38:17 +05302221func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2222 in := new(LogLevel)
2223 if err := dec(in); err != nil {
2224 return nil, err
2225 }
2226 if interceptor == nil {
2227 return srv.(BBSimServer).SetLogLevel(ctx, in)
2228 }
2229 info := &grpc.UnaryServerInfo{
2230 Server: srv,
2231 FullMethod: "/bbsim.BBSim/SetLogLevel",
2232 }
2233 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2234 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
2235 }
2236 return interceptor(ctx, in, info, handler)
2237}
2238
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002239func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2240 in := new(Empty)
2241 if err := dec(in); err != nil {
2242 return nil, err
2243 }
2244 if interceptor == nil {
2245 return srv.(BBSimServer).GetOlt(ctx, in)
2246 }
2247 info := &grpc.UnaryServerInfo{
2248 Server: srv,
2249 FullMethod: "/bbsim.BBSim/GetOlt",
2250 }
2251 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2252 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
2253 }
2254 return interceptor(ctx, in, info, handler)
2255}
2256
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002257func _BBSim_GetOltAllocatedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2258 in := new(OltAllocatedResourceType)
2259 if err := dec(in); err != nil {
2260 return nil, err
2261 }
2262 if interceptor == nil {
2263 return srv.(BBSimServer).GetOltAllocatedResources(ctx, in)
2264 }
2265 info := &grpc.UnaryServerInfo{
2266 Server: srv,
2267 FullMethod: "/bbsim.BBSim/GetOltAllocatedResources",
2268 }
2269 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2270 return srv.(BBSimServer).GetOltAllocatedResources(ctx, req.(*OltAllocatedResourceType))
2271 }
2272 return interceptor(ctx, in, info, handler)
2273}
2274
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002275func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2276 in := new(Empty)
2277 if err := dec(in); err != nil {
2278 return nil, err
2279 }
2280 if interceptor == nil {
2281 return srv.(BBSimServer).PoweronOlt(ctx, in)
2282 }
2283 info := &grpc.UnaryServerInfo{
2284 Server: srv,
2285 FullMethod: "/bbsim.BBSim/PoweronOlt",
2286 }
2287 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2288 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
2289 }
2290 return interceptor(ctx, in, info, handler)
2291}
2292
2293func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2294 in := new(Empty)
2295 if err := dec(in); err != nil {
2296 return nil, err
2297 }
2298 if interceptor == nil {
2299 return srv.(BBSimServer).ShutdownOlt(ctx, in)
2300 }
2301 info := &grpc.UnaryServerInfo{
2302 Server: srv,
2303 FullMethod: "/bbsim.BBSim/ShutdownOlt",
2304 }
2305 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2306 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
2307 }
2308 return interceptor(ctx, in, info, handler)
2309}
2310
2311func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2312 in := new(Empty)
2313 if err := dec(in); err != nil {
2314 return nil, err
2315 }
2316 if interceptor == nil {
2317 return srv.(BBSimServer).RebootOlt(ctx, in)
2318 }
2319 info := &grpc.UnaryServerInfo{
2320 Server: srv,
2321 FullMethod: "/bbsim.BBSim/RebootOlt",
2322 }
2323 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2324 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
2325 }
2326 return interceptor(ctx, in, info, handler)
2327}
2328
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002329func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2330 in := new(Empty)
2331 if err := dec(in); err != nil {
2332 return nil, err
2333 }
2334 if interceptor == nil {
2335 return srv.(BBSimServer).StopgRPCServer(ctx, in)
2336 }
2337 info := &grpc.UnaryServerInfo{
2338 Server: srv,
2339 FullMethod: "/bbsim.BBSim/StopgRPCServer",
2340 }
2341 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2342 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
2343 }
2344 return interceptor(ctx, in, info, handler)
2345}
2346
2347func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2348 in := new(Empty)
2349 if err := dec(in); err != nil {
2350 return nil, err
2351 }
2352 if interceptor == nil {
2353 return srv.(BBSimServer).StartgRPCServer(ctx, in)
2354 }
2355 info := &grpc.UnaryServerInfo{
2356 Server: srv,
2357 FullMethod: "/bbsim.BBSim/StartgRPCServer",
2358 }
2359 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2360 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
2361 }
2362 return interceptor(ctx, in, info, handler)
2363}
2364
2365func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2366 in := new(Timeout)
2367 if err := dec(in); err != nil {
2368 return nil, err
2369 }
2370 if interceptor == nil {
2371 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
2372 }
2373 info := &grpc.UnaryServerInfo{
2374 Server: srv,
2375 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2376 }
2377 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2378 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2379 }
2380 return interceptor(ctx, in, info, handler)
2381}
2382
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002383func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2384 in := new(ONURequest)
2385 if err := dec(in); err != nil {
2386 return nil, err
2387 }
2388 if interceptor == nil {
2389 return srv.(BBSimServer).GetONU(ctx, in)
2390 }
2391 info := &grpc.UnaryServerInfo{
2392 Server: srv,
2393 FullMethod: "/bbsim.BBSim/GetONU",
2394 }
2395 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2396 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2397 }
2398 return interceptor(ctx, in, info, handler)
2399}
2400
Pragya Aryabd731ec2020-02-11 16:38:17 +05302401func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2402 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002403 if err := dec(in); err != nil {
2404 return nil, err
2405 }
2406 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302407 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002408 }
2409 info := &grpc.UnaryServerInfo{
2410 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302411 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002412 }
2413 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302414 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002415 }
2416 return interceptor(ctx, in, info, handler)
2417}
2418
Matteo Scandolo4a036262020-08-17 15:56:13 -07002419func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2420 in := new(Empty)
2421 if err := dec(in); err != nil {
2422 return nil, err
2423 }
2424 if interceptor == nil {
2425 return srv.(BBSimServer).GetServices(ctx, in)
2426 }
2427 info := &grpc.UnaryServerInfo{
2428 Server: srv,
2429 FullMethod: "/bbsim.BBSim/GetServices",
2430 }
2431 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2432 return srv.(BBSimServer).GetServices(ctx, req.(*Empty))
2433 }
2434 return interceptor(ctx, in, info, handler)
2435}
2436
2437func _BBSim_GetOnuServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2438 in := new(ONURequest)
2439 if err := dec(in); err != nil {
2440 return nil, err
2441 }
2442 if interceptor == nil {
2443 return srv.(BBSimServer).GetOnuServices(ctx, in)
2444 }
2445 info := &grpc.UnaryServerInfo{
2446 Server: srv,
2447 FullMethod: "/bbsim.BBSim/GetOnuServices",
2448 }
2449 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2450 return srv.(BBSimServer).GetOnuServices(ctx, req.(*ONURequest))
2451 }
2452 return interceptor(ctx, in, info, handler)
2453}
2454
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002455func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2456 in := new(ONURequest)
2457 if err := dec(in); err != nil {
2458 return nil, err
2459 }
2460 if interceptor == nil {
2461 return srv.(BBSimServer).ShutdownONU(ctx, in)
2462 }
2463 info := &grpc.UnaryServerInfo{
2464 Server: srv,
2465 FullMethod: "/bbsim.BBSim/ShutdownONU",
2466 }
2467 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2468 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2469 }
2470 return interceptor(ctx, in, info, handler)
2471}
2472
Pragya Aryabd731ec2020-02-11 16:38:17 +05302473func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2474 in := new(Empty)
2475 if err := dec(in); err != nil {
2476 return nil, err
2477 }
2478 if interceptor == nil {
2479 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2480 }
2481 info := &grpc.UnaryServerInfo{
2482 Server: srv,
2483 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2484 }
2485 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2486 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2487 }
2488 return interceptor(ctx, in, info, handler)
2489}
2490
2491func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2492 in := new(PONRequest)
2493 if err := dec(in); err != nil {
2494 return nil, err
2495 }
2496 if interceptor == nil {
2497 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2498 }
2499 info := &grpc.UnaryServerInfo{
2500 Server: srv,
2501 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2502 }
2503 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2504 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2505 }
2506 return interceptor(ctx, in, info, handler)
2507}
2508
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002509func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2510 in := new(ONURequest)
2511 if err := dec(in); err != nil {
2512 return nil, err
2513 }
2514 if interceptor == nil {
2515 return srv.(BBSimServer).PoweronONU(ctx, in)
2516 }
2517 info := &grpc.UnaryServerInfo{
2518 Server: srv,
2519 FullMethod: "/bbsim.BBSim/PoweronONU",
2520 }
2521 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2522 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2523 }
2524 return interceptor(ctx, in, info, handler)
2525}
2526
Pragya Aryabd731ec2020-02-11 16:38:17 +05302527func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2528 in := new(Empty)
2529 if err := dec(in); err != nil {
2530 return nil, err
2531 }
2532 if interceptor == nil {
2533 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2534 }
2535 info := &grpc.UnaryServerInfo{
2536 Server: srv,
2537 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2538 }
2539 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2540 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2541 }
2542 return interceptor(ctx, in, info, handler)
2543}
2544
2545func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2546 in := new(PONRequest)
2547 if err := dec(in); err != nil {
2548 return nil, err
2549 }
2550 if interceptor == nil {
2551 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2552 }
2553 info := &grpc.UnaryServerInfo{
2554 Server: srv,
2555 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2556 }
2557 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2558 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2559 }
2560 return interceptor(ctx, in, info, handler)
2561}
2562
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002563func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2564 in := new(ONURequest)
2565 if err := dec(in); err != nil {
2566 return nil, err
2567 }
2568 if interceptor == nil {
2569 return srv.(BBSimServer).RestartEapol(ctx, in)
2570 }
2571 info := &grpc.UnaryServerInfo{
2572 Server: srv,
2573 FullMethod: "/bbsim.BBSim/RestartEapol",
2574 }
2575 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2576 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
2577 }
2578 return interceptor(ctx, in, info, handler)
2579}
2580
2581func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2582 in := new(ONURequest)
2583 if err := dec(in); err != nil {
2584 return nil, err
2585 }
2586 if interceptor == nil {
2587 return srv.(BBSimServer).RestartDhcp(ctx, in)
2588 }
2589 info := &grpc.UnaryServerInfo{
2590 Server: srv,
2591 FullMethod: "/bbsim.BBSim/RestartDhcp",
2592 }
2593 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2594 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
2595 }
2596 return interceptor(ctx, in, info, handler)
2597}
2598
Anand S Katti86552f92020-03-03 21:56:32 +05302599func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2600 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002601 if err := dec(in); err != nil {
2602 return nil, err
2603 }
2604 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302605 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002606 }
2607 info := &grpc.UnaryServerInfo{
2608 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302609 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002610 }
2611 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302612 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2613 }
2614 return interceptor(ctx, in, info, handler)
2615}
2616
2617func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2618 in := new(OLTAlarmRequest)
2619 if err := dec(in); err != nil {
2620 return nil, err
2621 }
2622 if interceptor == nil {
2623 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2624 }
2625 info := &grpc.UnaryServerInfo{
2626 Server: srv,
2627 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2628 }
2629 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2630 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002631 }
2632 return interceptor(ctx, in, info, handler)
2633}
2634
Pragya Arya8bdb4532020-03-02 17:08:09 +05302635func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2636 in := new(ONURequest)
2637 if err := dec(in); err != nil {
2638 return nil, err
2639 }
2640 if interceptor == nil {
2641 return srv.(BBSimServer).GetFlows(ctx, in)
2642 }
2643 info := &grpc.UnaryServerInfo{
2644 Server: srv,
2645 FullMethod: "/bbsim.BBSim/GetFlows",
2646 }
2647 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2648 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2649 }
2650 return interceptor(ctx, in, info, handler)
2651}
2652
Arjun E K57a7fcb2020-01-30 06:44:45 +00002653func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2654 in := new(IgmpRequest)
2655 if err := dec(in); err != nil {
2656 return nil, err
2657 }
2658 if interceptor == nil {
2659 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2660 }
2661 info := &grpc.UnaryServerInfo{
2662 Server: srv,
2663 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2664 }
2665 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2666 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2667 }
2668 return interceptor(ctx, in, info, handler)
2669}
2670
Anand S Katti09541352020-01-29 15:54:01 +05302671func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2672 in := new(ONURequest)
2673 if err := dec(in); err != nil {
2674 return nil, err
2675 }
2676 if interceptor == nil {
2677 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2678 }
2679 info := &grpc.UnaryServerInfo{
2680 Server: srv,
2681 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2682 }
2683 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2684 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2685 }
2686 return interceptor(ctx, in, info, handler)
2687}
2688
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002689var _BBSim_serviceDesc = grpc.ServiceDesc{
2690 ServiceName: "bbsim.BBSim",
2691 HandlerType: (*BBSimServer)(nil),
2692 Methods: []grpc.MethodDesc{
2693 {
2694 MethodName: "Version",
2695 Handler: _BBSim_Version_Handler,
2696 },
2697 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302698 MethodName: "SetLogLevel",
2699 Handler: _BBSim_SetLogLevel_Handler,
2700 },
2701 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002702 MethodName: "GetOlt",
2703 Handler: _BBSim_GetOlt_Handler,
2704 },
2705 {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002706 MethodName: "GetOltAllocatedResources",
2707 Handler: _BBSim_GetOltAllocatedResources_Handler,
2708 },
2709 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002710 MethodName: "PoweronOlt",
2711 Handler: _BBSim_PoweronOlt_Handler,
2712 },
2713 {
2714 MethodName: "ShutdownOlt",
2715 Handler: _BBSim_ShutdownOlt_Handler,
2716 },
2717 {
2718 MethodName: "RebootOlt",
2719 Handler: _BBSim_RebootOlt_Handler,
2720 },
2721 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002722 MethodName: "StopgRPCServer",
2723 Handler: _BBSim_StopgRPCServer_Handler,
2724 },
2725 {
2726 MethodName: "StartgRPCServer",
2727 Handler: _BBSim_StartgRPCServer_Handler,
2728 },
2729 {
2730 MethodName: "RestartgRPCServer",
2731 Handler: _BBSim_RestartgRPCServer_Handler,
2732 },
2733 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002734 MethodName: "GetONU",
2735 Handler: _BBSim_GetONU_Handler,
2736 },
2737 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302738 MethodName: "GetONUs",
2739 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002740 },
2741 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002742 MethodName: "GetServices",
2743 Handler: _BBSim_GetServices_Handler,
2744 },
2745 {
2746 MethodName: "GetOnuServices",
2747 Handler: _BBSim_GetOnuServices_Handler,
2748 },
2749 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002750 MethodName: "ShutdownONU",
2751 Handler: _BBSim_ShutdownONU_Handler,
2752 },
2753 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302754 MethodName: "ShutdownAllONUs",
2755 Handler: _BBSim_ShutdownAllONUs_Handler,
2756 },
2757 {
2758 MethodName: "ShutdownONUsOnPON",
2759 Handler: _BBSim_ShutdownONUsOnPON_Handler,
2760 },
2761 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002762 MethodName: "PoweronONU",
2763 Handler: _BBSim_PoweronONU_Handler,
2764 },
2765 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302766 MethodName: "PoweronAllONUs",
2767 Handler: _BBSim_PoweronAllONUs_Handler,
2768 },
2769 {
2770 MethodName: "PoweronONUsOnPON",
2771 Handler: _BBSim_PoweronONUsOnPON_Handler,
2772 },
2773 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002774 MethodName: "RestartEapol",
2775 Handler: _BBSim_RestartEapol_Handler,
2776 },
2777 {
2778 MethodName: "RestartDhcp",
2779 Handler: _BBSim_RestartDhcp_Handler,
2780 },
Scott Baker41724b82020-01-21 19:54:53 -08002781 {
Anand S Katti86552f92020-03-03 21:56:32 +05302782 MethodName: "SetOnuAlarmIndication",
2783 Handler: _BBSim_SetOnuAlarmIndication_Handler,
2784 },
2785 {
2786 MethodName: "SetOltAlarmIndication",
2787 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08002788 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00002789 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05302790 MethodName: "GetFlows",
2791 Handler: _BBSim_GetFlows_Handler,
2792 },
2793 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00002794 MethodName: "ChangeIgmpState",
2795 Handler: _BBSim_ChangeIgmpState_Handler,
2796 },
Anand S Katti09541352020-01-29 15:54:01 +05302797 {
2798 MethodName: "GetOnuTrafficSchedulers",
2799 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
2800 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002801 },
2802 Streams: []grpc.StreamDesc{},
2803 Metadata: "api/bbsim/bbsim.proto",
2804}