blob: b5df9e99be2af932fd4af1baecbbad2a2710e812 [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{
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001612 // 1930 bytes of a gzipped FileDescriptorProto
1613 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x41, 0x72, 0xdb, 0xca,
1614 0x11, 0x15, 0x49, 0x51, 0x24, 0x9b, 0x22, 0x05, 0x8d, 0x2d, 0x7d, 0x94, 0xac, 0x1f, 0xab, 0x10,
1615 0x27, 0x65, 0xbb, 0xf2, 0xe5, 0x6f, 0x39, 0xf9, 0xb1, 0x97, 0x30, 0x09, 0xd1, 0xf8, 0xa2, 0x00,
1616 0xd4, 0x80, 0x94, 0xcb, 0x95, 0x05, 0x0b, 0x22, 0x46, 0x12, 0x2b, 0x20, 0x40, 0x03, 0x43, 0x29,
1617 0x3a, 0x40, 0xce, 0x90, 0x7d, 0x0e, 0x90, 0x4b, 0xe4, 0x02, 0x39, 0x41, 0xb2, 0xca, 0x01, 0x52,
1618 0xb9, 0x40, 0x6a, 0x06, 0x03, 0x10, 0x20, 0x21, 0x9b, 0x5e, 0x65, 0xc3, 0x42, 0xbf, 0xee, 0xd7,
1619 0xd3, 0xd3, 0xdd, 0xe8, 0x19, 0x10, 0xf6, 0x9c, 0xd9, 0xe4, 0xd5, 0xe5, 0x65, 0x34, 0x99, 0xc6,
1620 0xbf, 0xc7, 0xb3, 0x30, 0xa0, 0x01, 0xaa, 0x72, 0xe1, 0xe0, 0xc9, 0x6d, 0xe0, 0xd1, 0x1b, 0x67,
1621 0xc4, 0xc1, 0xe8, 0x55, 0x30, 0x23, 0x7e, 0xe0, 0xd1, 0xd8, 0xe6, 0xe0, 0x28, 0xaf, 0xa4, 0x64,
1622 0x7c, 0xc3, 0x9e, 0xaf, 0x26, 0x1e, 0x89, 0x2d, 0x94, 0x7f, 0x95, 0xa1, 0x66, 0x99, 0x86, 0x15,
1623 0x84, 0x14, 0xb5, 0xa1, 0xac, 0x77, 0xe5, 0xd2, 0x51, 0xe9, 0x79, 0x15, 0x97, 0xf5, 0x2e, 0x3a,
1624 0x84, 0x86, 0x39, 0x23, 0xa1, 0x4d, 0x1d, 0x4a, 0xe4, 0xf2, 0x51, 0xe9, 0x79, 0x03, 0x2f, 0x00,
1625 0xf4, 0x0c, 0x5a, 0xba, 0x4f, 0x49, 0xe8, 0x3b, 0x5e, 0x6c, 0x51, 0xe1, 0x16, 0x79, 0x10, 0x1d,
1626 0x41, 0xd3, 0x72, 0xc6, 0x7f, 0x24, 0xb4, 0x13, 0xcc, 0x7d, 0x2a, 0x6f, 0x1e, 0x95, 0x9e, 0x6f,
1627 0xe2, 0x2c, 0x84, 0x4e, 0x61, 0x47, 0xf5, 0xbc, 0x60, 0xec, 0x50, 0xe2, 0x9a, 0xfe, 0x5c, 0x77,
1628 0x23, 0xb9, 0x7a, 0x54, 0x79, 0xde, 0x3c, 0x39, 0x3c, 0x8e, 0xb7, 0x6b, 0x05, 0x7e, 0x6a, 0x80,
1629 0x49, 0x14, 0xcc, 0xc3, 0x31, 0x89, 0xf0, 0x32, 0x09, 0xfd, 0x0c, 0xbb, 0x29, 0xd4, 0x23, 0x53,
1630 0xb6, 0xa3, 0x48, 0xde, 0x5a, 0xc3, 0xd3, 0x2a, 0x2d, 0xe7, 0x8b, 0x3f, 0xb0, 0xa8, 0x6a, 0xdf,
1631 0xe4, 0x2b, 0xa1, 0x29, 0x67, 0xb0, 0x57, 0x68, 0x8b, 0x14, 0xd8, 0xb6, 0x49, 0x38, 0x71, 0x3c,
1632 0x63, 0x3e, 0xbd, 0x24, 0x21, 0x4f, 0x7c, 0x03, 0xe7, 0x30, 0x5e, 0x12, 0x97, 0xe7, 0x9e, 0x95,
1633 0xc4, 0x55, 0x7e, 0x0f, 0x35, 0xc3, 0xd0, 0xbf, 0xbd, 0x5a, 0xca, 0xbf, 0x4b, 0x50, 0x31, 0xbd,
1634 0x55, 0xd6, 0x72, 0x10, 0xe5, 0x82, 0x20, 0x72, 0x9e, 0x2b, 0x5f, 0xed, 0x83, 0xcd, 0xa2, 0x3e,
1635 0x60, 0xeb, 0x5a, 0x72, 0x8d, 0xab, 0xca, 0xba, 0x85, 0x5e, 0x42, 0x5d, 0x6c, 0x24, 0x29, 0x77,
1636 0x5b, 0x24, 0x56, 0xc0, 0x38, 0xd5, 0x33, 0x5b, 0xd1, 0xa2, 0x49, 0x41, 0x13, 0x5b, 0x01, 0xe3,
1637 0x54, 0xaf, 0xfc, 0xb9, 0x04, 0xb2, 0xe9, 0xd1, 0x95, 0x74, 0x0f, 0xee, 0x67, 0x04, 0xbd, 0x85,
1638 0x4d, 0x7a, 0x3f, 0x23, 0x7c, 0xfb, 0xed, 0x93, 0x67, 0xc2, 0xc9, 0x43, 0xe6, 0xc7, 0xec, 0x07,
1639 0x73, 0x86, 0xf2, 0x0a, 0x36, 0xb9, 0x87, 0x26, 0xd4, 0x86, 0xc6, 0x99, 0x61, 0x7e, 0x34, 0xa4,
1640 0x0d, 0xb4, 0x0d, 0x75, 0xb5, 0xdf, 0x37, 0x3b, 0x23, 0xbd, 0x2b, 0x95, 0x98, 0xd4, 0xd3, 0xce,
1641 0x47, 0x96, 0x89, 0x07, 0x52, 0x59, 0xf9, 0x5b, 0x09, 0x1e, 0x17, 0x39, 0x46, 0x28, 0xf6, 0x24,
1642 0xaa, 0x1d, 0x7b, 0x3d, 0x84, 0x86, 0x15, 0xf8, 0x6c, 0x03, 0xa2, 0xd8, 0x2d, 0xbc, 0x00, 0xd0,
1643 0x63, 0xa8, 0xf2, 0x16, 0xe7, 0xa9, 0x6f, 0xe1, 0x58, 0x40, 0xfb, 0xb0, 0xc5, 0xf4, 0x46, 0xc0,
1644 0xf3, 0xdd, 0xc2, 0x42, 0x42, 0xbf, 0x00, 0x48, 0xd6, 0xd2, 0x5d, 0xb9, 0xca, 0x0b, 0x9d, 0x41,
1645 0x18, 0xef, 0xd4, 0x0b, 0xee, 0x74, 0x57, 0xde, 0xe2, 0xef, 0xa2, 0x90, 0x14, 0x0c, 0x7b, 0x45,
1646 0xf1, 0x46, 0xe8, 0x1d, 0x34, 0xc2, 0x44, 0x90, 0x4b, 0x3c, 0xfd, 0x4f, 0xbe, 0x90, 0x39, 0xbc,
1647 0xb0, 0x56, 0xfe, 0x5b, 0x81, 0x8a, 0x69, 0x0c, 0xff, 0x6f, 0x4d, 0x97, 0xc9, 0x6b, 0x57, 0xa4,
1648 0x62, 0x01, 0x30, 0xed, 0x87, 0x3b, 0xd5, 0x75, 0x43, 0x12, 0x45, 0x72, 0x3d, 0x5e, 0x21, 0x05,
1649 0x32, 0xf9, 0x6d, 0x70, 0x62, 0x92, 0xdf, 0x97, 0x50, 0x8f, 0x48, 0x78, 0x3b, 0x61, 0xd9, 0x80,
1650 0x5c, 0x33, 0xda, 0x31, 0x8c, 0x53, 0x3d, 0xea, 0xc2, 0xf7, 0xfa, 0xd4, 0xb9, 0x26, 0x76, 0x70,
1651 0x45, 0xef, 0x9c, 0x90, 0x68, 0x7f, 0x9a, 0x91, 0x31, 0x25, 0xae, 0x4d, 0xc6, 0x74, 0x12, 0xf8,
1652 0x91, 0xdc, 0xe4, 0xae, 0xbf, 0x6c, 0xb4, 0xe2, 0x05, 0x93, 0x31, 0x99, 0xdc, 0x66, 0xbc, 0x6c,
1653 0x17, 0x78, 0x59, 0x36, 0x42, 0x3f, 0xc2, 0x23, 0x75, 0x4c, 0x27, 0xb7, 0x84, 0x9b, 0x69, 0x3e,
1654 0x9d, 0xd0, 0x7b, 0xdd, 0x95, 0x5b, 0x9c, 0x5b, 0xa4, 0x42, 0x3f, 0xc1, 0x7e, 0x27, 0x98, 0x4e,
1655 0x27, 0x94, 0x12, 0x37, 0x4f, 0x6a, 0x73, 0xd2, 0x03, 0x5a, 0xe5, 0x3f, 0x65, 0xa8, 0x89, 0x5c,
1656 0xb0, 0x6e, 0x37, 0x9c, 0x69, 0xda, 0xed, 0xec, 0x39, 0x9f, 0xf7, 0xf2, 0x72, 0xde, 0xe3, 0x6e,
1657 0xb7, 0x7d, 0x51, 0xf3, 0x58, 0x60, 0x7e, 0xec, 0x81, 0x73, 0xcd, 0xcb, 0x5c, 0xc5, 0xfc, 0x99,
1658 0x61, 0x1d, 0x86, 0xc5, 0x85, 0xe5, 0xcf, 0xac, 0xfb, 0x0d, 0x42, 0xdc, 0x48, 0x73, 0x66, 0x81,
1659 0xc7, 0x3b, 0xbc, 0x8e, 0x33, 0x08, 0x5b, 0x9b, 0x4b, 0xdd, 0x9b, 0xf1, 0x8c, 0x4f, 0xa3, 0x3a,
1660 0x5e, 0x00, 0xa9, 0x56, 0xbf, 0x9e, 0xce, 0x78, 0x47, 0x24, 0x5a, 0x06, 0x20, 0x19, 0x6a, 0xe2,
1661 0x80, 0x10, 0x2d, 0x91, 0x88, 0x6c, 0x55, 0xee, 0x3e, 0x6e, 0x45, 0xe0, 0x81, 0x67, 0x10, 0xe6,
1662 0x97, 0xf9, 0x8f, 0xd5, 0xcd, 0x78, 0xc7, 0x29, 0xb0, 0xda, 0xcb, 0xdb, 0x0f, 0xf4, 0xb2, 0xde,
1663 0x3b, 0xb7, 0x62, 0x8b, 0x56, 0xec, 0x23, 0x05, 0x14, 0x07, 0x1e, 0x9b, 0xc6, 0x70, 0x10, 0x3a,
1664 0x57, 0x57, 0x93, 0xb1, 0x3d, 0xbe, 0x21, 0xee, 0xdc, 0x23, 0x61, 0x84, 0x74, 0xd8, 0xa1, 0x0c,
1665 0x5c, 0x40, 0xbc, 0x14, 0xcd, 0x93, 0xa7, 0xc7, 0xb9, 0xcb, 0xc0, 0x0a, 0x13, 0x2f, 0xf3, 0x94,
1666 0xe7, 0xb0, 0x69, 0x1a, 0xc3, 0x08, 0x1d, 0x41, 0x75, 0x42, 0xc9, 0x34, 0x99, 0x05, 0x90, 0xcc,
1667 0x02, 0x63, 0x88, 0x63, 0x85, 0xf2, 0x23, 0xd4, 0xed, 0xe4, 0x15, 0x78, 0x96, 0xb7, 0x5e, 0x7e,
1668 0x57, 0x52, 0x06, 0x30, 0x3e, 0xf9, 0x3c, 0x27, 0x11, 0x5d, 0xe7, 0x60, 0x54, 0x5e, 0x02, 0x58,
1669 0xa6, 0x91, 0x30, 0x72, 0x03, 0xb4, 0xb4, 0x34, 0x40, 0x95, 0x7f, 0x56, 0xa0, 0xa1, 0x7a, 0x4e,
1670 0x38, 0x65, 0xc3, 0x56, 0xf9, 0x47, 0x05, 0xaa, 0xec, 0x21, 0x42, 0x35, 0xa8, 0xf4, 0x4d, 0x5b,
1671 0xda, 0x40, 0x6d, 0x80, 0xee, 0x27, 0xdd, 0xe8, 0x8d, 0x7a, 0xaa, 0x6d, 0x49, 0x25, 0xd4, 0x82,
1672 0x86, 0x69, 0x0c, 0x47, 0x6a, 0x5f, 0xc5, 0xe7, 0x52, 0x19, 0x7d, 0x07, 0x8f, 0x98, 0x68, 0x0f,
1673 0x54, 0x3c, 0x18, 0x5a, 0xa3, 0x53, 0x55, 0xef, 0x0f, 0xb1, 0x26, 0x55, 0xd0, 0x3e, 0x20, 0xae,
1674 0xd0, 0x7b, 0x86, 0xda, 0x1f, 0x75, 0xb5, 0x1e, 0x56, 0xbb, 0x9a, 0xb4, 0x99, 0x10, 0xba, 0x58,
1675 0x3f, 0x1d, 0x8c, 0xcc, 0xd3, 0xd1, 0x47, 0xdd, 0xe8, 0x9a, 0x1f, 0xa5, 0x2a, 0x3a, 0x04, 0x99,
1676 0x29, 0xfa, 0xa6, 0x6d, 0x33, 0xdc, 0x3c, 0xef, 0xe8, 0xa3, 0xce, 0x07, 0xd5, 0x30, 0xb4, 0xbe,
1677 0xb4, 0x95, 0xae, 0xc3, 0xdd, 0xd9, 0xe9, 0x3a, 0x35, 0xf4, 0x02, 0x7e, 0xc5, 0x14, 0x03, 0xac,
1678 0x1a, 0xf6, 0xb9, 0x6e, 0xdb, 0xba, 0x69, 0x8c, 0x74, 0x63, 0xa0, 0xe1, 0x53, 0x0d, 0x6b, 0x46,
1679 0x47, 0x1b, 0x7d, 0x54, 0xb1, 0xa1, 0x1b, 0x3d, 0xa9, 0x8e, 0x0e, 0x60, 0x9f, 0x87, 0xde, 0x19,
1680 0xe8, 0x17, 0xea, 0x80, 0x19, 0x26, 0x6e, 0x1a, 0x48, 0xe6, 0x4d, 0x32, 0xb2, 0xb0, 0xd9, 0xd1,
1681 0x6c, 0x9b, 0xed, 0x57, 0xc3, 0xd8, 0xc4, 0x12, 0xa0, 0x23, 0x38, 0xcc, 0xc6, 0x75, 0xa6, 0x7d,
1682 0x1a, 0xd9, 0x9f, 0x8c, 0x4e, 0xca, 0x6d, 0xa2, 0x3d, 0xd8, 0x65, 0x16, 0xfa, 0x60, 0x38, 0xb2,
1683 0x4c, 0x83, 0xe5, 0x62, 0x60, 0x4b, 0xdb, 0x68, 0x17, 0x5a, 0x69, 0xa6, 0x18, 0x5d, 0x6a, 0x2d,
1684 0x43, 0xef, 0xa5, 0x76, 0xb2, 0xb1, 0x04, 0xb2, 0x3a, 0x23, 0xb6, 0x0b, 0x69, 0x27, 0xc9, 0x47,
1685 0x4e, 0xd1, 0x11, 0x51, 0x49, 0x08, 0x41, 0x3b, 0xab, 0x3d, 0xd5, 0xa5, 0x5d, 0xf4, 0x08, 0x76,
1686 0xb2, 0x98, 0x7a, 0xae, 0x4b, 0x48, 0x79, 0x0b, 0x6d, 0x5e, 0x5f, 0xcb, 0x09, 0x9d, 0x29, 0xa1,
1687 0x24, 0x44, 0x12, 0x54, 0xce, 0xc8, 0xbd, 0xe8, 0x1c, 0xf6, 0xc8, 0xe6, 0xca, 0x85, 0xe3, 0xcd,
1688 0x93, 0xab, 0x51, 0x2c, 0x28, 0x7f, 0x2d, 0x71, 0x7f, 0x9c, 0x9d, 0x69, 0xa6, 0xb4, 0x5b, 0x84,
1689 0x87, 0x05, 0xb0, 0xd6, 0xd9, 0xb5, 0x0f, 0x5b, 0xec, 0xb5, 0x9c, 0x47, 0x62, 0x88, 0x09, 0x09,
1690 0xfd, 0x0e, 0x20, 0x0d, 0x31, 0x92, 0x37, 0xf9, 0x1b, 0xb1, 0x27, 0xde, 0x88, 0xfc, 0x06, 0x70,
1691 0xc6, 0x50, 0xf9, 0x0c, 0x3b, 0x66, 0x7f, 0x90, 0x8b, 0xf1, 0x08, 0x9a, 0x7c, 0x3c, 0x5c, 0x39,
1692 0x63, 0x22, 0x8e, 0xd6, 0x16, 0xce, 0x42, 0xe9, 0x54, 0x61, 0x22, 0xdf, 0x49, 0x39, 0x33, 0x55,
1693 0x12, 0xf0, 0xa1, 0x48, 0xd9, 0x35, 0xaa, 0x75, 0x41, 0xc2, 0x68, 0x12, 0xf8, 0x62, 0x4f, 0x32,
1694 0xd4, 0x6e, 0x63, 0x40, 0xe4, 0x24, 0x11, 0x59, 0xbe, 0x2e, 0xe7, 0x13, 0xcf, 0x1d, 0x4c, 0xa6,
1695 0xe9, 0xc5, 0x33, 0x05, 0xd8, 0x6c, 0x1c, 0xf3, 0x73, 0xe2, 0x83, 0x13, 0xdd, 0x88, 0x55, 0x32,
1696 0x08, 0x63, 0x5f, 0x4f, 0xa8, 0x08, 0x22, 0x3e, 0xc5, 0x17, 0x80, 0xf2, 0x16, 0xea, 0xfd, 0xe0,
1697 0xba, 0x4f, 0x6e, 0x89, 0xc7, 0x2a, 0xe8, 0xb1, 0x07, 0xb1, 0x7e, 0x2c, 0xb0, 0x1d, 0x8c, 0x1d,
1698 0xcf, 0x13, 0x95, 0xa8, 0x63, 0x21, 0x29, 0x1a, 0xd4, 0x31, 0x89, 0x66, 0x81, 0x1f, 0x11, 0xf4,
1699 0x14, 0x9a, 0x11, 0xf7, 0x37, 0x1a, 0x07, 0x2e, 0x11, 0x17, 0x11, 0x88, 0xa1, 0x4e, 0xe0, 0x12,
1700 0xb6, 0xb9, 0x29, 0x89, 0x22, 0xe7, 0x3a, 0xd9, 0x40, 0x22, 0x2a, 0x7f, 0x29, 0x41, 0x93, 0x4d,
1701 0xff, 0x24, 0xf1, 0x2f, 0x60, 0xcb, 0xf4, 0xe7, 0x98, 0x7c, 0x16, 0x73, 0x74, 0x37, 0x33, 0xfe,
1702 0x62, 0x13, 0x2c, 0x0c, 0xd0, 0x3b, 0xd8, 0xb6, 0xe7, 0x97, 0x2a, 0x3f, 0x7f, 0x2f, 0x1c, 0x8f,
1703 0x7b, 0x6e, 0xa7, 0xf5, 0x4e, 0x55, 0x7c, 0x16, 0xe1, 0x9c, 0x29, 0x6b, 0xb2, 0x5e, 0x18, 0xcc,
1704 0x67, 0xc9, 0x29, 0x19, 0xa7, 0x2d, 0x87, 0x29, 0x67, 0x50, 0x65, 0x57, 0xb7, 0x08, 0x7d, 0x0f,
1705 0x70, 0xe5, 0x05, 0x77, 0xa3, 0x31, 0xff, 0xc2, 0x12, 0xd3, 0x8f, 0x21, 0xf1, 0xf7, 0xd5, 0x2f,
1706 0xa1, 0xca, 0x04, 0x76, 0xd4, 0xb2, 0x7e, 0x6b, 0x1d, 0x27, 0x9f, 0x88, 0x8c, 0x8d, 0x63, 0x9d,
1707 0xf2, 0x14, 0x6a, 0xac, 0x5a, 0xc1, 0x9c, 0xb2, 0x34, 0xbb, 0xc4, 0x73, 0xee, 0x85, 0xa7, 0x58,
1708 0x50, 0x6a, 0x50, 0xd5, 0xa6, 0x33, 0x7a, 0xff, 0xf2, 0x35, 0xb4, 0xf3, 0xa1, 0xa3, 0x3a, 0x6c,
1709 0xfe, 0x6c, 0xea, 0xec, 0x42, 0xdc, 0x80, 0x6a, 0x5f, 0x53, 0x2f, 0x34, 0xa9, 0x84, 0x00, 0xb6,
1710 0x18, 0x78, 0xf1, 0x46, 0x2a, 0x9f, 0xfc, 0xbd, 0x09, 0xd5, 0xf7, 0xef, 0xed, 0xc9, 0x14, 0xbd,
1711 0x82, 0x9a, 0xe8, 0x2a, 0xb4, 0x2d, 0xf2, 0xc0, 0xbd, 0x1e, 0x3c, 0x16, 0x52, 0xae, 0xe7, 0x94,
1712 0x0d, 0xf4, 0x1a, 0x9a, 0x36, 0xa1, 0x69, 0x0b, 0xec, 0x08, 0xb3, 0x04, 0x38, 0x58, 0x06, 0x94,
1713 0x0d, 0xf4, 0x0c, 0xb6, 0x7a, 0x84, 0xb2, 0x6f, 0x9d, 0xfc, 0x12, 0xb0, 0xb8, 0xb4, 0x2a, 0x1b,
1714 0xe8, 0x0f, 0x20, 0xc7, 0x56, 0x05, 0x37, 0xde, 0xa7, 0x5f, 0xf9, 0x30, 0x38, 0x38, 0xfc, 0x82,
1715 0x41, 0xa4, 0x6c, 0xa0, 0x1f, 0x00, 0xac, 0xe0, 0x8e, 0x84, 0x81, 0xbf, 0x1a, 0x46, 0x12, 0x71,
1716 0xd2, 0x9c, 0xca, 0x06, 0x3a, 0x86, 0xa6, 0x7d, 0x33, 0xa7, 0x6e, 0x70, 0xb7, 0x9e, 0xfd, 0x6f,
1717 0xa0, 0x81, 0xc9, 0x65, 0x10, 0xd0, 0xb5, 0xac, 0x59, 0xc1, 0x68, 0x30, 0xbb, 0xc6, 0x56, 0x87,
1718 0x9d, 0xba, 0x24, 0xfc, 0x3a, 0xe5, 0x04, 0x76, 0x6c, 0xea, 0x84, 0xf4, 0x5b, 0x38, 0x3f, 0xc1,
1719 0x2e, 0x26, 0xd1, 0x12, 0x2b, 0x39, 0xee, 0x45, 0x6f, 0x15, 0xf1, 0x5e, 0xc4, 0xe5, 0x32, 0x86,
1720 0x68, 0xf5, 0x55, 0x3a, 0xc8, 0x5c, 0x2e, 0x94, 0x0d, 0xf4, 0x6b, 0x76, 0x01, 0xa3, 0xfc, 0x12,
1721 0x92, 0x0f, 0xa7, 0xb9, 0x30, 0x8b, 0xe2, 0x7c, 0xf6, 0x08, 0x4d, 0xaf, 0x20, 0xc5, 0xa1, 0x27,
1722 0x6a, 0x1e, 0x7a, 0x9b, 0xf9, 0xf5, 0xe7, 0x29, 0xa5, 0x20, 0x94, 0x02, 0xde, 0x9b, 0x4c, 0xdd,
1723 0x8a, 0xe3, 0x7f, 0x20, 0xb7, 0x82, 0xa4, 0x7a, 0x5e, 0xc1, 0x66, 0x0a, 0x38, 0xef, 0x60, 0x37,
1724 0xb3, 0x50, 0x64, 0xfa, 0x96, 0x69, 0xa4, 0xcb, 0x2d, 0xae, 0x41, 0xc5, 0xcb, 0xa5, 0xad, 0xb8,
1725 0x76, 0x88, 0xaf, 0xa1, 0x2d, 0x38, 0x6b, 0x47, 0xf8, 0x16, 0xa4, 0xc5, 0x32, 0xdf, 0x14, 0xe0,
1726 0x6f, 0x61, 0x5b, 0xf4, 0x4d, 0x7c, 0x43, 0x5f, 0x2f, 0xc4, 0x37, 0xd0, 0x14, 0x2c, 0x7e, 0x71,
1727 0x5f, 0x8f, 0xf4, 0x1e, 0xf6, 0x6c, 0x5e, 0x67, 0x7e, 0x94, 0xea, 0xbe, 0x3b, 0x19, 0x3b, 0x6c,
1728 0x8c, 0xa1, 0xfd, 0x05, 0x3d, 0x7b, 0xca, 0x7e, 0xc1, 0x07, 0x7b, 0xf1, 0x1f, 0xf0, 0x91, 0x3f,
1729 0xa9, 0x8b, 0x7c, 0xfc, 0x00, 0xf5, 0x1e, 0xa1, 0xf1, 0xf0, 0x2e, 0x88, 0x3c, 0x49, 0x36, 0x37,
1730 0xe0, 0xb9, 0xdd, 0xe9, 0xdc, 0x38, 0xfe, 0x35, 0x61, 0xe7, 0x50, 0xfc, 0x31, 0x80, 0x84, 0x49,
1731 0xe6, 0x64, 0x2a, 0x5a, 0xe8, 0x0c, 0xbe, 0x8b, 0x1b, 0x7b, 0xf5, 0xc3, 0xa0, 0x60, 0xdd, 0x27,
1732 0x0b, 0x68, 0xc5, 0x5e, 0xd9, 0xb8, 0xdc, 0xe2, 0x7f, 0x18, 0xbe, 0xf9, 0x5f, 0x00, 0x00, 0x00,
1733 0xff, 0xff, 0x86, 0x40, 0xa9, 0x75, 0x8f, 0x14, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001734}
1735
1736// Reference imports to suppress errors if they are not otherwise used.
1737var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001738var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001739
1740// This is a compile-time assertion to ensure that this generated file
1741// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001742const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001743
1744// BBSimClient is the client API for BBSim service.
1745//
1746// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1747type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001748 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001749 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001750 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301751 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001752 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001753 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001754 GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001755 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001756 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001757 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001758 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001759 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001760 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001761 // Closes the Openolt gRPC server
1762 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1763 // Start the Openolt gRPC server
1764 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05301765 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001766 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001767 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001768 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001769 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301770 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07001771 // Get all the Services
1772 GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error)
1773 // Get all the Services of an ONU by serial number
1774 GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001775 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001776 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001777 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301778 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001779 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301780 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001781 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001782 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001783 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301784 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001785 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301786 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001787 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001788 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001789 // Restart DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001790 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001791 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301792 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001793 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301794 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001795 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05301796 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001797 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00001798 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001799 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05301800 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001801}
1802
1803type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04001804 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001805}
1806
Kent Hagerman60d62302020-03-10 17:02:36 -04001807func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001808 return &bBSimClient{cc}
1809}
1810
1811func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1812 out := new(VersionNumber)
1813 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1814 if err != nil {
1815 return nil, err
1816 }
1817 return out, nil
1818}
1819
Pragya Aryabd731ec2020-02-11 16:38:17 +05301820func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1821 out := new(LogLevel)
1822 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1823 if err != nil {
1824 return nil, err
1825 }
1826 return out, nil
1827}
1828
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001829func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1830 out := new(Olt)
1831 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1832 if err != nil {
1833 return nil, err
1834 }
1835 return out, nil
1836}
1837
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001838func (c *bBSimClient) GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) {
1839 out := new(OltAllocatedResources)
1840 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOltAllocatedResources", in, out, opts...)
1841 if err != nil {
1842 return nil, err
1843 }
1844 return out, nil
1845}
1846
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001847func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1848 out := new(Response)
1849 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1850 if err != nil {
1851 return nil, err
1852 }
1853 return out, nil
1854}
1855
1856func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1857 out := new(Response)
1858 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1859 if err != nil {
1860 return nil, err
1861 }
1862 return out, nil
1863}
1864
1865func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1866 out := new(Response)
1867 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1868 if err != nil {
1869 return nil, err
1870 }
1871 return out, nil
1872}
1873
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001874func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1875 out := new(Response)
1876 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
1877 if err != nil {
1878 return nil, err
1879 }
1880 return out, nil
1881}
1882
1883func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1884 out := new(Response)
1885 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
1886 if err != nil {
1887 return nil, err
1888 }
1889 return out, nil
1890}
1891
1892func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
1893 out := new(Response)
1894 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
1895 if err != nil {
1896 return nil, err
1897 }
1898 return out, nil
1899}
1900
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001901func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
1902 out := new(ONU)
1903 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
1904 if err != nil {
1905 return nil, err
1906 }
1907 return out, nil
1908}
1909
Pragya Aryabd731ec2020-02-11 16:38:17 +05301910func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
1911 out := new(ONUs)
1912 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001913 if err != nil {
1914 return nil, err
1915 }
1916 return out, nil
1917}
1918
Matteo Scandolo4a036262020-08-17 15:56:13 -07001919func (c *bBSimClient) GetServices(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Services, error) {
1920 out := new(Services)
1921 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
1922 if err != nil {
1923 return nil, err
1924 }
1925 return out, nil
1926}
1927
1928func (c *bBSimClient) GetOnuServices(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Services, error) {
1929 out := new(Services)
1930 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuServices", in, out, opts...)
1931 if err != nil {
1932 return nil, err
1933 }
1934 return out, nil
1935}
1936
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001937func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1938 out := new(Response)
1939 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
1940 if err != nil {
1941 return nil, err
1942 }
1943 return out, nil
1944}
1945
Pragya Aryabd731ec2020-02-11 16:38:17 +05301946func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1947 out := new(Response)
1948 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
1949 if err != nil {
1950 return nil, err
1951 }
1952 return out, nil
1953}
1954
1955func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1956 out := new(Response)
1957 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
1958 if err != nil {
1959 return nil, err
1960 }
1961 return out, nil
1962}
1963
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001964func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1965 out := new(Response)
1966 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
1967 if err != nil {
1968 return nil, err
1969 }
1970 return out, nil
1971}
1972
Pragya Aryabd731ec2020-02-11 16:38:17 +05301973func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1974 out := new(Response)
1975 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
1976 if err != nil {
1977 return nil, err
1978 }
1979 return out, nil
1980}
1981
1982func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
1983 out := new(Response)
1984 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
1985 if err != nil {
1986 return nil, err
1987 }
1988 return out, nil
1989}
1990
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001991func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1992 out := new(Response)
1993 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
1994 if err != nil {
1995 return nil, err
1996 }
1997 return out, nil
1998}
1999
2000func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2001 out := new(Response)
2002 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
2003 if err != nil {
2004 return nil, err
2005 }
2006 return out, nil
2007}
2008
Anand S Katti86552f92020-03-03 21:56:32 +05302009func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08002010 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05302011 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
2012 if err != nil {
2013 return nil, err
2014 }
2015 return out, nil
2016}
2017
2018func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
2019 out := new(Response)
2020 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08002021 if err != nil {
2022 return nil, err
2023 }
2024 return out, nil
2025}
2026
Pragya Arya8bdb4532020-03-02 17:08:09 +05302027func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
2028 out := new(Flows)
2029 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
2030 if err != nil {
2031 return nil, err
2032 }
2033 return out, nil
2034}
2035
Arjun E K57a7fcb2020-01-30 06:44:45 +00002036func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
2037 out := new(Response)
2038 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
2039 if err != nil {
2040 return nil, err
2041 }
2042 return out, nil
2043}
2044
Anand S Katti09541352020-01-29 15:54:01 +05302045func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
2046 out := new(ONUTrafficSchedulers)
2047 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
2048 if err != nil {
2049 return nil, err
2050 }
2051 return out, nil
2052}
2053
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002054// BBSimServer is the server API for BBSim service.
2055type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002056 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002057 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002058 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302059 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002060 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002061 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002062 GetOltAllocatedResources(context.Context, *OltAllocatedResourceType) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002063 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002064 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002065 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002066 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002067 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002068 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002069 // Closes the Openolt gRPC server
2070 StopgRPCServer(context.Context, *Empty) (*Response, error)
2071 // Start the Openolt gRPC server
2072 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302073 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002074 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002075 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002076 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002077 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302078 GetONUs(context.Context, *Empty) (*ONUs, error)
Matteo Scandolo4a036262020-08-17 15:56:13 -07002079 // Get all the Services
2080 GetServices(context.Context, *Empty) (*Services, error)
2081 // Get all the Services of an ONU by serial number
2082 GetOnuServices(context.Context, *ONURequest) (*Services, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002083 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002084 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002085 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302086 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002087 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302088 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002089 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002090 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002091 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302092 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002093 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302094 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002095 // Restart EAPOL for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002096 RestartEapol(context.Context, *ONURequest) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002097 // Restart DHCP for ONU
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002098 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002099 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302100 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002101 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302102 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002103 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302104 GetFlows(context.Context, *ONURequest) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002105 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002106 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002107 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302108 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002109}
2110
Pragya Aryabd731ec2020-02-11 16:38:17 +05302111// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
2112type UnimplementedBBSimServer struct {
2113}
2114
2115func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
2116 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
2117}
2118func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
2119 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2120}
2121func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
2122 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
2123}
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002124func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error) {
2125 return nil, status.Errorf(codes.Unimplemented, "method GetOltAllocatedResources not implemented")
2126}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302127func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
2128 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
2129}
2130func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
2131 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
2132}
2133func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
2134 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
2135}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002136func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2137 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
2138}
2139func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2140 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
2141}
2142func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
2143 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
2144}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302145func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
2146 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
2147}
2148func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
2149 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
2150}
Matteo Scandolo4a036262020-08-17 15:56:13 -07002151func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *Empty) (*Services, error) {
2152 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
2153}
2154func (*UnimplementedBBSimServer) GetOnuServices(ctx context.Context, req *ONURequest) (*Services, error) {
2155 return nil, status.Errorf(codes.Unimplemented, "method GetOnuServices not implemented")
2156}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302157func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
2158 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
2159}
2160func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2161 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
2162}
2163func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2164 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
2165}
2166func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
2167 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
2168}
2169func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2170 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
2171}
2172func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2173 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
2174}
2175func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *ONURequest) (*Response, error) {
2176 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
2177}
2178func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *ONURequest) (*Response, error) {
2179 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
2180}
2181func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
2182 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
2183}
2184func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
2185 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
2186}
2187func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
2188 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
2189}
2190func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
2191 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
2192}
2193func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
2194 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
2195}
2196
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002197func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
2198 s.RegisterService(&_BBSim_serviceDesc, srv)
2199}
2200
2201func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2202 in := new(Empty)
2203 if err := dec(in); err != nil {
2204 return nil, err
2205 }
2206 if interceptor == nil {
2207 return srv.(BBSimServer).Version(ctx, in)
2208 }
2209 info := &grpc.UnaryServerInfo{
2210 Server: srv,
2211 FullMethod: "/bbsim.BBSim/Version",
2212 }
2213 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2214 return srv.(BBSimServer).Version(ctx, req.(*Empty))
2215 }
2216 return interceptor(ctx, in, info, handler)
2217}
2218
Pragya Aryabd731ec2020-02-11 16:38:17 +05302219func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2220 in := new(LogLevel)
2221 if err := dec(in); err != nil {
2222 return nil, err
2223 }
2224 if interceptor == nil {
2225 return srv.(BBSimServer).SetLogLevel(ctx, in)
2226 }
2227 info := &grpc.UnaryServerInfo{
2228 Server: srv,
2229 FullMethod: "/bbsim.BBSim/SetLogLevel",
2230 }
2231 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2232 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
2233 }
2234 return interceptor(ctx, in, info, handler)
2235}
2236
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002237func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2238 in := new(Empty)
2239 if err := dec(in); err != nil {
2240 return nil, err
2241 }
2242 if interceptor == nil {
2243 return srv.(BBSimServer).GetOlt(ctx, in)
2244 }
2245 info := &grpc.UnaryServerInfo{
2246 Server: srv,
2247 FullMethod: "/bbsim.BBSim/GetOlt",
2248 }
2249 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2250 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
2251 }
2252 return interceptor(ctx, in, info, handler)
2253}
2254
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002255func _BBSim_GetOltAllocatedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2256 in := new(OltAllocatedResourceType)
2257 if err := dec(in); err != nil {
2258 return nil, err
2259 }
2260 if interceptor == nil {
2261 return srv.(BBSimServer).GetOltAllocatedResources(ctx, in)
2262 }
2263 info := &grpc.UnaryServerInfo{
2264 Server: srv,
2265 FullMethod: "/bbsim.BBSim/GetOltAllocatedResources",
2266 }
2267 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2268 return srv.(BBSimServer).GetOltAllocatedResources(ctx, req.(*OltAllocatedResourceType))
2269 }
2270 return interceptor(ctx, in, info, handler)
2271}
2272
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002273func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2274 in := new(Empty)
2275 if err := dec(in); err != nil {
2276 return nil, err
2277 }
2278 if interceptor == nil {
2279 return srv.(BBSimServer).PoweronOlt(ctx, in)
2280 }
2281 info := &grpc.UnaryServerInfo{
2282 Server: srv,
2283 FullMethod: "/bbsim.BBSim/PoweronOlt",
2284 }
2285 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2286 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
2287 }
2288 return interceptor(ctx, in, info, handler)
2289}
2290
2291func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2292 in := new(Empty)
2293 if err := dec(in); err != nil {
2294 return nil, err
2295 }
2296 if interceptor == nil {
2297 return srv.(BBSimServer).ShutdownOlt(ctx, in)
2298 }
2299 info := &grpc.UnaryServerInfo{
2300 Server: srv,
2301 FullMethod: "/bbsim.BBSim/ShutdownOlt",
2302 }
2303 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2304 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
2305 }
2306 return interceptor(ctx, in, info, handler)
2307}
2308
2309func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2310 in := new(Empty)
2311 if err := dec(in); err != nil {
2312 return nil, err
2313 }
2314 if interceptor == nil {
2315 return srv.(BBSimServer).RebootOlt(ctx, in)
2316 }
2317 info := &grpc.UnaryServerInfo{
2318 Server: srv,
2319 FullMethod: "/bbsim.BBSim/RebootOlt",
2320 }
2321 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2322 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
2323 }
2324 return interceptor(ctx, in, info, handler)
2325}
2326
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002327func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2328 in := new(Empty)
2329 if err := dec(in); err != nil {
2330 return nil, err
2331 }
2332 if interceptor == nil {
2333 return srv.(BBSimServer).StopgRPCServer(ctx, in)
2334 }
2335 info := &grpc.UnaryServerInfo{
2336 Server: srv,
2337 FullMethod: "/bbsim.BBSim/StopgRPCServer",
2338 }
2339 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2340 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
2341 }
2342 return interceptor(ctx, in, info, handler)
2343}
2344
2345func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2346 in := new(Empty)
2347 if err := dec(in); err != nil {
2348 return nil, err
2349 }
2350 if interceptor == nil {
2351 return srv.(BBSimServer).StartgRPCServer(ctx, in)
2352 }
2353 info := &grpc.UnaryServerInfo{
2354 Server: srv,
2355 FullMethod: "/bbsim.BBSim/StartgRPCServer",
2356 }
2357 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2358 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
2359 }
2360 return interceptor(ctx, in, info, handler)
2361}
2362
2363func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2364 in := new(Timeout)
2365 if err := dec(in); err != nil {
2366 return nil, err
2367 }
2368 if interceptor == nil {
2369 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
2370 }
2371 info := &grpc.UnaryServerInfo{
2372 Server: srv,
2373 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2374 }
2375 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2376 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2377 }
2378 return interceptor(ctx, in, info, handler)
2379}
2380
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002381func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2382 in := new(ONURequest)
2383 if err := dec(in); err != nil {
2384 return nil, err
2385 }
2386 if interceptor == nil {
2387 return srv.(BBSimServer).GetONU(ctx, in)
2388 }
2389 info := &grpc.UnaryServerInfo{
2390 Server: srv,
2391 FullMethod: "/bbsim.BBSim/GetONU",
2392 }
2393 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2394 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2395 }
2396 return interceptor(ctx, in, info, handler)
2397}
2398
Pragya Aryabd731ec2020-02-11 16:38:17 +05302399func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2400 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002401 if err := dec(in); err != nil {
2402 return nil, err
2403 }
2404 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302405 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002406 }
2407 info := &grpc.UnaryServerInfo{
2408 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302409 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002410 }
2411 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302412 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002413 }
2414 return interceptor(ctx, in, info, handler)
2415}
2416
Matteo Scandolo4a036262020-08-17 15:56:13 -07002417func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2418 in := new(Empty)
2419 if err := dec(in); err != nil {
2420 return nil, err
2421 }
2422 if interceptor == nil {
2423 return srv.(BBSimServer).GetServices(ctx, in)
2424 }
2425 info := &grpc.UnaryServerInfo{
2426 Server: srv,
2427 FullMethod: "/bbsim.BBSim/GetServices",
2428 }
2429 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2430 return srv.(BBSimServer).GetServices(ctx, req.(*Empty))
2431 }
2432 return interceptor(ctx, in, info, handler)
2433}
2434
2435func _BBSim_GetOnuServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2436 in := new(ONURequest)
2437 if err := dec(in); err != nil {
2438 return nil, err
2439 }
2440 if interceptor == nil {
2441 return srv.(BBSimServer).GetOnuServices(ctx, in)
2442 }
2443 info := &grpc.UnaryServerInfo{
2444 Server: srv,
2445 FullMethod: "/bbsim.BBSim/GetOnuServices",
2446 }
2447 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2448 return srv.(BBSimServer).GetOnuServices(ctx, req.(*ONURequest))
2449 }
2450 return interceptor(ctx, in, info, handler)
2451}
2452
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002453func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2454 in := new(ONURequest)
2455 if err := dec(in); err != nil {
2456 return nil, err
2457 }
2458 if interceptor == nil {
2459 return srv.(BBSimServer).ShutdownONU(ctx, in)
2460 }
2461 info := &grpc.UnaryServerInfo{
2462 Server: srv,
2463 FullMethod: "/bbsim.BBSim/ShutdownONU",
2464 }
2465 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2466 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2467 }
2468 return interceptor(ctx, in, info, handler)
2469}
2470
Pragya Aryabd731ec2020-02-11 16:38:17 +05302471func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2472 in := new(Empty)
2473 if err := dec(in); err != nil {
2474 return nil, err
2475 }
2476 if interceptor == nil {
2477 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2478 }
2479 info := &grpc.UnaryServerInfo{
2480 Server: srv,
2481 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2482 }
2483 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2484 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2485 }
2486 return interceptor(ctx, in, info, handler)
2487}
2488
2489func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2490 in := new(PONRequest)
2491 if err := dec(in); err != nil {
2492 return nil, err
2493 }
2494 if interceptor == nil {
2495 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2496 }
2497 info := &grpc.UnaryServerInfo{
2498 Server: srv,
2499 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2500 }
2501 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2502 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2503 }
2504 return interceptor(ctx, in, info, handler)
2505}
2506
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002507func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2508 in := new(ONURequest)
2509 if err := dec(in); err != nil {
2510 return nil, err
2511 }
2512 if interceptor == nil {
2513 return srv.(BBSimServer).PoweronONU(ctx, in)
2514 }
2515 info := &grpc.UnaryServerInfo{
2516 Server: srv,
2517 FullMethod: "/bbsim.BBSim/PoweronONU",
2518 }
2519 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2520 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2521 }
2522 return interceptor(ctx, in, info, handler)
2523}
2524
Pragya Aryabd731ec2020-02-11 16:38:17 +05302525func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2526 in := new(Empty)
2527 if err := dec(in); err != nil {
2528 return nil, err
2529 }
2530 if interceptor == nil {
2531 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2532 }
2533 info := &grpc.UnaryServerInfo{
2534 Server: srv,
2535 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2536 }
2537 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2538 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2539 }
2540 return interceptor(ctx, in, info, handler)
2541}
2542
2543func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2544 in := new(PONRequest)
2545 if err := dec(in); err != nil {
2546 return nil, err
2547 }
2548 if interceptor == nil {
2549 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2550 }
2551 info := &grpc.UnaryServerInfo{
2552 Server: srv,
2553 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2554 }
2555 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2556 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2557 }
2558 return interceptor(ctx, in, info, handler)
2559}
2560
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002561func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2562 in := new(ONURequest)
2563 if err := dec(in); err != nil {
2564 return nil, err
2565 }
2566 if interceptor == nil {
2567 return srv.(BBSimServer).RestartEapol(ctx, in)
2568 }
2569 info := &grpc.UnaryServerInfo{
2570 Server: srv,
2571 FullMethod: "/bbsim.BBSim/RestartEapol",
2572 }
2573 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2574 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
2575 }
2576 return interceptor(ctx, in, info, handler)
2577}
2578
2579func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2580 in := new(ONURequest)
2581 if err := dec(in); err != nil {
2582 return nil, err
2583 }
2584 if interceptor == nil {
2585 return srv.(BBSimServer).RestartDhcp(ctx, in)
2586 }
2587 info := &grpc.UnaryServerInfo{
2588 Server: srv,
2589 FullMethod: "/bbsim.BBSim/RestartDhcp",
2590 }
2591 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2592 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
2593 }
2594 return interceptor(ctx, in, info, handler)
2595}
2596
Anand S Katti86552f92020-03-03 21:56:32 +05302597func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2598 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002599 if err := dec(in); err != nil {
2600 return nil, err
2601 }
2602 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302603 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002604 }
2605 info := &grpc.UnaryServerInfo{
2606 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302607 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002608 }
2609 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302610 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2611 }
2612 return interceptor(ctx, in, info, handler)
2613}
2614
2615func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2616 in := new(OLTAlarmRequest)
2617 if err := dec(in); err != nil {
2618 return nil, err
2619 }
2620 if interceptor == nil {
2621 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2622 }
2623 info := &grpc.UnaryServerInfo{
2624 Server: srv,
2625 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2626 }
2627 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2628 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002629 }
2630 return interceptor(ctx, in, info, handler)
2631}
2632
Pragya Arya8bdb4532020-03-02 17:08:09 +05302633func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2634 in := new(ONURequest)
2635 if err := dec(in); err != nil {
2636 return nil, err
2637 }
2638 if interceptor == nil {
2639 return srv.(BBSimServer).GetFlows(ctx, in)
2640 }
2641 info := &grpc.UnaryServerInfo{
2642 Server: srv,
2643 FullMethod: "/bbsim.BBSim/GetFlows",
2644 }
2645 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2646 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2647 }
2648 return interceptor(ctx, in, info, handler)
2649}
2650
Arjun E K57a7fcb2020-01-30 06:44:45 +00002651func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2652 in := new(IgmpRequest)
2653 if err := dec(in); err != nil {
2654 return nil, err
2655 }
2656 if interceptor == nil {
2657 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2658 }
2659 info := &grpc.UnaryServerInfo{
2660 Server: srv,
2661 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2662 }
2663 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2664 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2665 }
2666 return interceptor(ctx, in, info, handler)
2667}
2668
Anand S Katti09541352020-01-29 15:54:01 +05302669func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2670 in := new(ONURequest)
2671 if err := dec(in); err != nil {
2672 return nil, err
2673 }
2674 if interceptor == nil {
2675 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2676 }
2677 info := &grpc.UnaryServerInfo{
2678 Server: srv,
2679 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2680 }
2681 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2682 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2683 }
2684 return interceptor(ctx, in, info, handler)
2685}
2686
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002687var _BBSim_serviceDesc = grpc.ServiceDesc{
2688 ServiceName: "bbsim.BBSim",
2689 HandlerType: (*BBSimServer)(nil),
2690 Methods: []grpc.MethodDesc{
2691 {
2692 MethodName: "Version",
2693 Handler: _BBSim_Version_Handler,
2694 },
2695 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302696 MethodName: "SetLogLevel",
2697 Handler: _BBSim_SetLogLevel_Handler,
2698 },
2699 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002700 MethodName: "GetOlt",
2701 Handler: _BBSim_GetOlt_Handler,
2702 },
2703 {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002704 MethodName: "GetOltAllocatedResources",
2705 Handler: _BBSim_GetOltAllocatedResources_Handler,
2706 },
2707 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002708 MethodName: "PoweronOlt",
2709 Handler: _BBSim_PoweronOlt_Handler,
2710 },
2711 {
2712 MethodName: "ShutdownOlt",
2713 Handler: _BBSim_ShutdownOlt_Handler,
2714 },
2715 {
2716 MethodName: "RebootOlt",
2717 Handler: _BBSim_RebootOlt_Handler,
2718 },
2719 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002720 MethodName: "StopgRPCServer",
2721 Handler: _BBSim_StopgRPCServer_Handler,
2722 },
2723 {
2724 MethodName: "StartgRPCServer",
2725 Handler: _BBSim_StartgRPCServer_Handler,
2726 },
2727 {
2728 MethodName: "RestartgRPCServer",
2729 Handler: _BBSim_RestartgRPCServer_Handler,
2730 },
2731 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002732 MethodName: "GetONU",
2733 Handler: _BBSim_GetONU_Handler,
2734 },
2735 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302736 MethodName: "GetONUs",
2737 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002738 },
2739 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002740 MethodName: "GetServices",
2741 Handler: _BBSim_GetServices_Handler,
2742 },
2743 {
2744 MethodName: "GetOnuServices",
2745 Handler: _BBSim_GetOnuServices_Handler,
2746 },
2747 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002748 MethodName: "ShutdownONU",
2749 Handler: _BBSim_ShutdownONU_Handler,
2750 },
2751 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302752 MethodName: "ShutdownAllONUs",
2753 Handler: _BBSim_ShutdownAllONUs_Handler,
2754 },
2755 {
2756 MethodName: "ShutdownONUsOnPON",
2757 Handler: _BBSim_ShutdownONUsOnPON_Handler,
2758 },
2759 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002760 MethodName: "PoweronONU",
2761 Handler: _BBSim_PoweronONU_Handler,
2762 },
2763 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302764 MethodName: "PoweronAllONUs",
2765 Handler: _BBSim_PoweronAllONUs_Handler,
2766 },
2767 {
2768 MethodName: "PoweronONUsOnPON",
2769 Handler: _BBSim_PoweronONUsOnPON_Handler,
2770 },
2771 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002772 MethodName: "RestartEapol",
2773 Handler: _BBSim_RestartEapol_Handler,
2774 },
2775 {
2776 MethodName: "RestartDhcp",
2777 Handler: _BBSim_RestartDhcp_Handler,
2778 },
Scott Baker41724b82020-01-21 19:54:53 -08002779 {
Anand S Katti86552f92020-03-03 21:56:32 +05302780 MethodName: "SetOnuAlarmIndication",
2781 Handler: _BBSim_SetOnuAlarmIndication_Handler,
2782 },
2783 {
2784 MethodName: "SetOltAlarmIndication",
2785 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08002786 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00002787 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05302788 MethodName: "GetFlows",
2789 Handler: _BBSim_GetFlows_Handler,
2790 },
2791 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00002792 MethodName: "ChangeIgmpState",
2793 Handler: _BBSim_ChangeIgmpState_Handler,
2794 },
Anand S Katti09541352020-01-29 15:54:01 +05302795 {
2796 MethodName: "GetOnuTrafficSchedulers",
2797 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
2798 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002799 },
2800 Streams: []grpc.StreamDesc{},
2801 Metadata: "api/bbsim/bbsim.proto",
2802}