blob: e33f59c0370fa749a10b97f2adbe914c9f375580 [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"
David K. Bainbridgec415efe2021-08-19 13:05:21 +000010 openolt "github.com/opencord/voltha-protos/v5/go/openolt"
11 tech_profile "github.com/opencord/voltha-protos/v5/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
Elia Battistonac63b112022-01-12 18:40:49 +010029type UniType int32
30
31const (
32 UniType_ETH UniType = 0
33 UniType_POTS UniType = 1
34)
35
36var UniType_name = map[int32]string{
37 0: "ETH",
38 1: "POTS",
39}
40
41var UniType_value = map[string]int32{
42 "ETH": 0,
43 "POTS": 1,
44}
45
46func (x UniType) String() string {
47 return proto.EnumName(UniType_name, int32(x))
48}
49
50func (UniType) EnumDescriptor() ([]byte, []int) {
51 return fileDescriptor_ef7750073d18011b, []int{0}
52}
53
Arjun E K57a7fcb2020-01-30 06:44:45 +000054type SubActionTypes int32
55
56const (
Arjun E Kdd443f02020-02-07 15:24:01 +000057 SubActionTypes_JOIN SubActionTypes = 0
58 SubActionTypes_LEAVE SubActionTypes = 1
59 SubActionTypes_JOINV3 SubActionTypes = 2
Arjun E K57a7fcb2020-01-30 06:44:45 +000060)
61
62var SubActionTypes_name = map[int32]string{
63 0: "JOIN",
64 1: "LEAVE",
Arjun E Kdd443f02020-02-07 15:24:01 +000065 2: "JOINV3",
Arjun E K57a7fcb2020-01-30 06:44:45 +000066}
67
68var SubActionTypes_value = map[string]int32{
Arjun E Kdd443f02020-02-07 15:24:01 +000069 "JOIN": 0,
70 "LEAVE": 1,
71 "JOINV3": 2,
Arjun E K57a7fcb2020-01-30 06:44:45 +000072}
73
74func (x SubActionTypes) String() string {
75 return proto.EnumName(SubActionTypes_name, int32(x))
76}
77
78func (SubActionTypes) EnumDescriptor() ([]byte, []int) {
Elia Battistonac63b112022-01-12 18:40:49 +010079 return fileDescriptor_ef7750073d18011b, []int{1}
Arjun E K57a7fcb2020-01-30 06:44:45 +000080}
81
Matteo Scandolo4b077aa2021-02-16 17:33:37 -080082type OltAllocatedResourceType_Type int32
83
84const (
85 OltAllocatedResourceType_UNKNOWN OltAllocatedResourceType_Type = 0
86 OltAllocatedResourceType_ALLOC_ID OltAllocatedResourceType_Type = 1
87 OltAllocatedResourceType_GEM_PORT OltAllocatedResourceType_Type = 2
88)
89
90var OltAllocatedResourceType_Type_name = map[int32]string{
91 0: "UNKNOWN",
92 1: "ALLOC_ID",
93 2: "GEM_PORT",
94}
95
96var OltAllocatedResourceType_Type_value = map[string]int32{
97 "UNKNOWN": 0,
98 "ALLOC_ID": 1,
99 "GEM_PORT": 2,
100}
101
102func (x OltAllocatedResourceType_Type) String() string {
103 return proto.EnumName(OltAllocatedResourceType_Type_name, int32(x))
104}
105
106func (OltAllocatedResourceType_Type) EnumDescriptor() ([]byte, []int) {
107 return fileDescriptor_ef7750073d18011b, []int{4, 0}
108}
109
Scott Baker41724b82020-01-21 19:54:53 -0800110// These types correspond to the messages permitted in the oneof
111// in AlarmIndication in the openolt protos
112type AlarmType_Types int32
113
114const (
115 AlarmType_LOS AlarmType_Types = 0
116 AlarmType_DYING_GASP AlarmType_Types = 1
117 AlarmType_ONU_ALARM AlarmType_Types = 2
118 AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3
119 AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4
120 AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5
121 AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6
122 AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7
123 AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8
124 AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9
125 AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10
126 AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11
127 AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12
128 // These break out ONU_ALARM, which is a single message, but
129 // includes statuses for these six alarms.
130 AlarmType_ONU_ALARM_LOS AlarmType_Types = 13
131 AlarmType_ONU_ALARM_LOB AlarmType_Types = 14
132 AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15
133 AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16
134 AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17
135 AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18
136)
137
138var AlarmType_Types_name = map[int32]string{
139 0: "LOS",
140 1: "DYING_GASP",
141 2: "ONU_ALARM",
142 3: "ONU_STARTUP_FAILURE",
143 4: "ONU_SIGNAL_DEGRADE",
144 5: "ONU_DRIFT_OF_WINDOW",
145 6: "ONU_LOSS_OF_OMCI_CHANNEL",
146 7: "ONU_SIGNALS_FAILURE",
147 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING",
148 9: "ONU_ACTIVATION_FAILURE",
149 10: "ONU_PROCESSING_ERROR",
150 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE",
151 12: "ONU_ITU_PON_STATS",
152 13: "ONU_ALARM_LOS",
153 14: "ONU_ALARM_LOB",
154 15: "ONU_ALARM_LOPC_MISS",
155 16: "ONU_ALARM_LOPC_MIC_ERROR",
156 17: "ONU_ALARM_LOFI",
157 18: "ONU_ALARM_LOAMI",
158}
159
160var AlarmType_Types_value = map[string]int32{
161 "LOS": 0,
162 "DYING_GASP": 1,
163 "ONU_ALARM": 2,
164 "ONU_STARTUP_FAILURE": 3,
165 "ONU_SIGNAL_DEGRADE": 4,
166 "ONU_DRIFT_OF_WINDOW": 5,
167 "ONU_LOSS_OF_OMCI_CHANNEL": 6,
168 "ONU_SIGNALS_FAILURE": 7,
169 "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8,
170 "ONU_ACTIVATION_FAILURE": 9,
171 "ONU_PROCESSING_ERROR": 10,
172 "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11,
173 "ONU_ITU_PON_STATS": 12,
174 "ONU_ALARM_LOS": 13,
175 "ONU_ALARM_LOB": 14,
176 "ONU_ALARM_LOPC_MISS": 15,
177 "ONU_ALARM_LOPC_MIC_ERROR": 16,
178 "ONU_ALARM_LOFI": 17,
179 "ONU_ALARM_LOAMI": 18,
180}
181
182func (x AlarmType_Types) String() string {
183 return proto.EnumName(AlarmType_Types_name, int32(x))
184}
185
186func (AlarmType_Types) EnumDescriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -0700187 return fileDescriptor_ef7750073d18011b, []int{17, 0}
Scott Baker41724b82020-01-21 19:54:53 -0800188}
189
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700190type PONPort struct {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800191 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
192 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
193 InternalState string `protobuf:"bytes,3,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
194 PacketCount uint64 `protobuf:"varint,4,opt,name=PacketCount,proto3" json:"PacketCount,omitempty"`
195 // ONU ID are reported by VOLTHA in the ActivateOnu call
196 AllocatedOnuIds []*PonAllocatedResources `protobuf:"bytes,5,rep,name=AllocatedOnuIds,proto3" json:"AllocatedOnuIds,omitempty"`
197 // these are the stored resource IDs as reported via OMCI
198 AllocatedGemPorts []*PonAllocatedResources `protobuf:"bytes,6,rep,name=AllocatedGemPorts,proto3" json:"AllocatedGemPorts,omitempty"`
199 AllocatedAllocIds []*PonAllocatedResources `protobuf:"bytes,7,rep,name=AllocatedAllocIds,proto3" json:"AllocatedAllocIds,omitempty"`
200 XXX_NoUnkeyedLiteral struct{} `json:"-"`
201 XXX_unrecognized []byte `json:"-"`
202 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700203}
204
205func (m *PONPort) Reset() { *m = PONPort{} }
206func (m *PONPort) String() string { return proto.CompactTextString(m) }
207func (*PONPort) ProtoMessage() {}
208func (*PONPort) Descriptor() ([]byte, []int) {
209 return fileDescriptor_ef7750073d18011b, []int{0}
210}
211
212func (m *PONPort) XXX_Unmarshal(b []byte) error {
213 return xxx_messageInfo_PONPort.Unmarshal(m, b)
214}
215func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
216 return xxx_messageInfo_PONPort.Marshal(b, m, deterministic)
217}
218func (m *PONPort) XXX_Merge(src proto.Message) {
219 xxx_messageInfo_PONPort.Merge(m, src)
220}
221func (m *PONPort) XXX_Size() int {
222 return xxx_messageInfo_PONPort.Size(m)
223}
224func (m *PONPort) XXX_DiscardUnknown() {
225 xxx_messageInfo_PONPort.DiscardUnknown(m)
226}
227
228var xxx_messageInfo_PONPort proto.InternalMessageInfo
229
230func (m *PONPort) GetID() int32 {
231 if m != nil {
232 return m.ID
233 }
234 return 0
235}
236
237func (m *PONPort) GetOperState() string {
238 if m != nil {
239 return m.OperState
240 }
241 return ""
242}
243
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800244func (m *PONPort) GetInternalState() string {
245 if m != nil {
246 return m.InternalState
247 }
248 return ""
249}
250
251func (m *PONPort) GetPacketCount() uint64 {
252 if m != nil {
253 return m.PacketCount
254 }
255 return 0
256}
257
258func (m *PONPort) GetAllocatedOnuIds() []*PonAllocatedResources {
259 if m != nil {
260 return m.AllocatedOnuIds
261 }
262 return nil
263}
264
265func (m *PONPort) GetAllocatedGemPorts() []*PonAllocatedResources {
266 if m != nil {
267 return m.AllocatedGemPorts
268 }
269 return nil
270}
271
272func (m *PONPort) GetAllocatedAllocIds() []*PonAllocatedResources {
273 if m != nil {
274 return m.AllocatedAllocIds
275 }
276 return nil
277}
278
279type PonAllocatedResources struct {
280 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
281 Id int32 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"`
282 XXX_NoUnkeyedLiteral struct{} `json:"-"`
283 XXX_unrecognized []byte `json:"-"`
284 XXX_sizecache int32 `json:"-"`
285}
286
287func (m *PonAllocatedResources) Reset() { *m = PonAllocatedResources{} }
288func (m *PonAllocatedResources) String() string { return proto.CompactTextString(m) }
289func (*PonAllocatedResources) ProtoMessage() {}
290func (*PonAllocatedResources) Descriptor() ([]byte, []int) {
291 return fileDescriptor_ef7750073d18011b, []int{1}
292}
293
294func (m *PonAllocatedResources) XXX_Unmarshal(b []byte) error {
295 return xxx_messageInfo_PonAllocatedResources.Unmarshal(m, b)
296}
297func (m *PonAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
298 return xxx_messageInfo_PonAllocatedResources.Marshal(b, m, deterministic)
299}
300func (m *PonAllocatedResources) XXX_Merge(src proto.Message) {
301 xxx_messageInfo_PonAllocatedResources.Merge(m, src)
302}
303func (m *PonAllocatedResources) XXX_Size() int {
304 return xxx_messageInfo_PonAllocatedResources.Size(m)
305}
306func (m *PonAllocatedResources) XXX_DiscardUnknown() {
307 xxx_messageInfo_PonAllocatedResources.DiscardUnknown(m)
308}
309
310var xxx_messageInfo_PonAllocatedResources proto.InternalMessageInfo
311
312func (m *PonAllocatedResources) GetSerialNumber() string {
313 if m != nil {
314 return m.SerialNumber
315 }
316 return ""
317}
318
319func (m *PonAllocatedResources) GetId() int32 {
320 if m != nil {
321 return m.Id
322 }
323 return 0
324}
325
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700326type NNIPort struct {
327 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
328 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
329 XXX_NoUnkeyedLiteral struct{} `json:"-"`
330 XXX_unrecognized []byte `json:"-"`
331 XXX_sizecache int32 `json:"-"`
332}
333
334func (m *NNIPort) Reset() { *m = NNIPort{} }
335func (m *NNIPort) String() string { return proto.CompactTextString(m) }
336func (*NNIPort) ProtoMessage() {}
337func (*NNIPort) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800338 return fileDescriptor_ef7750073d18011b, []int{2}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700339}
340
341func (m *NNIPort) XXX_Unmarshal(b []byte) error {
342 return xxx_messageInfo_NNIPort.Unmarshal(m, b)
343}
344func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
345 return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic)
346}
347func (m *NNIPort) XXX_Merge(src proto.Message) {
348 xxx_messageInfo_NNIPort.Merge(m, src)
349}
350func (m *NNIPort) XXX_Size() int {
351 return xxx_messageInfo_NNIPort.Size(m)
352}
353func (m *NNIPort) XXX_DiscardUnknown() {
354 xxx_messageInfo_NNIPort.DiscardUnknown(m)
355}
356
357var xxx_messageInfo_NNIPort proto.InternalMessageInfo
358
359func (m *NNIPort) GetID() int32 {
360 if m != nil {
361 return m.ID
362 }
363 return 0
364}
365
366func (m *NNIPort) GetOperState() string {
367 if m != nil {
368 return m.OperState
369 }
370 return ""
371}
372
373type Olt struct {
374 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
375 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
376 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
377 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
rajeshf921f882020-03-06 18:24:28 +0530378 IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700379 NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"`
380 PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"`
381 XXX_NoUnkeyedLiteral struct{} `json:"-"`
382 XXX_unrecognized []byte `json:"-"`
383 XXX_sizecache int32 `json:"-"`
384}
385
386func (m *Olt) Reset() { *m = Olt{} }
387func (m *Olt) String() string { return proto.CompactTextString(m) }
388func (*Olt) ProtoMessage() {}
389func (*Olt) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800390 return fileDescriptor_ef7750073d18011b, []int{3}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700391}
392
393func (m *Olt) XXX_Unmarshal(b []byte) error {
394 return xxx_messageInfo_Olt.Unmarshal(m, b)
395}
396func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
397 return xxx_messageInfo_Olt.Marshal(b, m, deterministic)
398}
399func (m *Olt) XXX_Merge(src proto.Message) {
400 xxx_messageInfo_Olt.Merge(m, src)
401}
402func (m *Olt) XXX_Size() int {
403 return xxx_messageInfo_Olt.Size(m)
404}
405func (m *Olt) XXX_DiscardUnknown() {
406 xxx_messageInfo_Olt.DiscardUnknown(m)
407}
408
409var xxx_messageInfo_Olt proto.InternalMessageInfo
410
411func (m *Olt) GetID() int32 {
412 if m != nil {
413 return m.ID
414 }
415 return 0
416}
417
418func (m *Olt) GetSerialNumber() string {
419 if m != nil {
420 return m.SerialNumber
421 }
422 return ""
423}
424
425func (m *Olt) GetOperState() string {
426 if m != nil {
427 return m.OperState
428 }
429 return ""
430}
431
432func (m *Olt) GetInternalState() string {
433 if m != nil {
434 return m.InternalState
435 }
436 return ""
437}
438
rajeshf921f882020-03-06 18:24:28 +0530439func (m *Olt) GetIP() string {
440 if m != nil {
441 return m.IP
442 }
443 return ""
444}
445
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700446func (m *Olt) GetNNIPorts() []*NNIPort {
447 if m != nil {
448 return m.NNIPorts
449 }
450 return nil
451}
452
453func (m *Olt) GetPONPorts() []*PONPort {
454 if m != nil {
455 return m.PONPorts
456 }
457 return nil
458}
459
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800460type OltAllocatedResourceType struct {
461 Type OltAllocatedResourceType_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bbsim.OltAllocatedResourceType_Type" json:"type,omitempty"`
462 XXX_NoUnkeyedLiteral struct{} `json:"-"`
463 XXX_unrecognized []byte `json:"-"`
464 XXX_sizecache int32 `json:"-"`
465}
466
467func (m *OltAllocatedResourceType) Reset() { *m = OltAllocatedResourceType{} }
468func (m *OltAllocatedResourceType) String() string { return proto.CompactTextString(m) }
469func (*OltAllocatedResourceType) ProtoMessage() {}
470func (*OltAllocatedResourceType) Descriptor() ([]byte, []int) {
471 return fileDescriptor_ef7750073d18011b, []int{4}
472}
473
474func (m *OltAllocatedResourceType) XXX_Unmarshal(b []byte) error {
475 return xxx_messageInfo_OltAllocatedResourceType.Unmarshal(m, b)
476}
477func (m *OltAllocatedResourceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
478 return xxx_messageInfo_OltAllocatedResourceType.Marshal(b, m, deterministic)
479}
480func (m *OltAllocatedResourceType) XXX_Merge(src proto.Message) {
481 xxx_messageInfo_OltAllocatedResourceType.Merge(m, src)
482}
483func (m *OltAllocatedResourceType) XXX_Size() int {
484 return xxx_messageInfo_OltAllocatedResourceType.Size(m)
485}
486func (m *OltAllocatedResourceType) XXX_DiscardUnknown() {
487 xxx_messageInfo_OltAllocatedResourceType.DiscardUnknown(m)
488}
489
490var xxx_messageInfo_OltAllocatedResourceType proto.InternalMessageInfo
491
492func (m *OltAllocatedResourceType) GetType() OltAllocatedResourceType_Type {
493 if m != nil {
494 return m.Type
495 }
496 return OltAllocatedResourceType_UNKNOWN
497}
498
499type OltAllocatedResource struct {
500 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
501 PonPortId uint32 `protobuf:"varint,2,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
502 OnuId uint32 `protobuf:"varint,3,opt,name=OnuId,proto3" json:"OnuId,omitempty"`
503 PortNo uint32 `protobuf:"varint,4,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
504 ResourceId int32 `protobuf:"varint,5,opt,name=ResourceId,proto3" json:"ResourceId,omitempty"`
505 FlowId uint64 `protobuf:"varint,6,opt,name=FlowId,proto3" json:"FlowId,omitempty"`
506 XXX_NoUnkeyedLiteral struct{} `json:"-"`
507 XXX_unrecognized []byte `json:"-"`
508 XXX_sizecache int32 `json:"-"`
509}
510
511func (m *OltAllocatedResource) Reset() { *m = OltAllocatedResource{} }
512func (m *OltAllocatedResource) String() string { return proto.CompactTextString(m) }
513func (*OltAllocatedResource) ProtoMessage() {}
514func (*OltAllocatedResource) Descriptor() ([]byte, []int) {
515 return fileDescriptor_ef7750073d18011b, []int{5}
516}
517
518func (m *OltAllocatedResource) XXX_Unmarshal(b []byte) error {
519 return xxx_messageInfo_OltAllocatedResource.Unmarshal(m, b)
520}
521func (m *OltAllocatedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
522 return xxx_messageInfo_OltAllocatedResource.Marshal(b, m, deterministic)
523}
524func (m *OltAllocatedResource) XXX_Merge(src proto.Message) {
525 xxx_messageInfo_OltAllocatedResource.Merge(m, src)
526}
527func (m *OltAllocatedResource) XXX_Size() int {
528 return xxx_messageInfo_OltAllocatedResource.Size(m)
529}
530func (m *OltAllocatedResource) XXX_DiscardUnknown() {
531 xxx_messageInfo_OltAllocatedResource.DiscardUnknown(m)
532}
533
534var xxx_messageInfo_OltAllocatedResource proto.InternalMessageInfo
535
536func (m *OltAllocatedResource) GetType() string {
537 if m != nil {
538 return m.Type
539 }
540 return ""
541}
542
543func (m *OltAllocatedResource) GetPonPortId() uint32 {
544 if m != nil {
545 return m.PonPortId
546 }
547 return 0
548}
549
550func (m *OltAllocatedResource) GetOnuId() uint32 {
551 if m != nil {
552 return m.OnuId
553 }
554 return 0
555}
556
557func (m *OltAllocatedResource) GetPortNo() uint32 {
558 if m != nil {
559 return m.PortNo
560 }
561 return 0
562}
563
564func (m *OltAllocatedResource) GetResourceId() int32 {
565 if m != nil {
566 return m.ResourceId
567 }
568 return 0
569}
570
571func (m *OltAllocatedResource) GetFlowId() uint64 {
572 if m != nil {
573 return m.FlowId
574 }
575 return 0
576}
577
578type OltAllocatedResources struct {
579 Resources []*OltAllocatedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
580 XXX_NoUnkeyedLiteral struct{} `json:"-"`
581 XXX_unrecognized []byte `json:"-"`
582 XXX_sizecache int32 `json:"-"`
583}
584
585func (m *OltAllocatedResources) Reset() { *m = OltAllocatedResources{} }
586func (m *OltAllocatedResources) String() string { return proto.CompactTextString(m) }
587func (*OltAllocatedResources) ProtoMessage() {}
588func (*OltAllocatedResources) Descriptor() ([]byte, []int) {
589 return fileDescriptor_ef7750073d18011b, []int{6}
590}
591
592func (m *OltAllocatedResources) XXX_Unmarshal(b []byte) error {
593 return xxx_messageInfo_OltAllocatedResources.Unmarshal(m, b)
594}
595func (m *OltAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
596 return xxx_messageInfo_OltAllocatedResources.Marshal(b, m, deterministic)
597}
598func (m *OltAllocatedResources) XXX_Merge(src proto.Message) {
599 xxx_messageInfo_OltAllocatedResources.Merge(m, src)
600}
601func (m *OltAllocatedResources) XXX_Size() int {
602 return xxx_messageInfo_OltAllocatedResources.Size(m)
603}
604func (m *OltAllocatedResources) XXX_DiscardUnknown() {
605 xxx_messageInfo_OltAllocatedResources.DiscardUnknown(m)
606}
607
608var xxx_messageInfo_OltAllocatedResources proto.InternalMessageInfo
609
610func (m *OltAllocatedResources) GetResources() []*OltAllocatedResource {
611 if m != nil {
612 return m.Resources
613 }
614 return nil
615}
616
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700617type ONU struct {
Matteo Scandolocedde462021-03-09 17:37:16 -0800618 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
619 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
620 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
621 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
622 PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700623 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` // Deprecated: Do not use.
624 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"` // Deprecated: Do not use.
625 Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"` // Deprecated: Do not use.
Matteo Scandolocedde462021-03-09 17:37:16 -0800626 ImageSoftwareExpectedSections int32 `protobuf:"varint,11,opt,name=ImageSoftwareExpectedSections,proto3" json:"ImageSoftwareExpectedSections,omitempty"`
627 ImageSoftwareReceivedSections int32 `protobuf:"varint,12,opt,name=ImageSoftwareReceivedSections,proto3" json:"ImageSoftwareReceivedSections,omitempty"`
628 ActiveImageEntityId int32 `protobuf:"varint,13,opt,name=ActiveImageEntityId,proto3" json:"ActiveImageEntityId,omitempty"`
629 CommittedImageEntityId int32 `protobuf:"varint,14,opt,name=CommittedImageEntityId,proto3" json:"CommittedImageEntityId,omitempty"`
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700630 Unis []*UNI `protobuf:"bytes,15,rep,name=unis,proto3" json:"unis,omitempty"`
Matteo Scandolocedde462021-03-09 17:37:16 -0800631 XXX_NoUnkeyedLiteral struct{} `json:"-"`
632 XXX_unrecognized []byte `json:"-"`
633 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700634}
635
636func (m *ONU) Reset() { *m = ONU{} }
637func (m *ONU) String() string { return proto.CompactTextString(m) }
638func (*ONU) ProtoMessage() {}
639func (*ONU) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800640 return fileDescriptor_ef7750073d18011b, []int{7}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700641}
642
643func (m *ONU) XXX_Unmarshal(b []byte) error {
644 return xxx_messageInfo_ONU.Unmarshal(m, b)
645}
646func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
647 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
648}
649func (m *ONU) XXX_Merge(src proto.Message) {
650 xxx_messageInfo_ONU.Merge(m, src)
651}
652func (m *ONU) XXX_Size() int {
653 return xxx_messageInfo_ONU.Size(m)
654}
655func (m *ONU) XXX_DiscardUnknown() {
656 xxx_messageInfo_ONU.DiscardUnknown(m)
657}
658
659var xxx_messageInfo_ONU proto.InternalMessageInfo
660
661func (m *ONU) GetID() int32 {
662 if m != nil {
663 return m.ID
664 }
665 return 0
666}
667
668func (m *ONU) GetSerialNumber() string {
669 if m != nil {
670 return m.SerialNumber
671 }
672 return ""
673}
674
675func (m *ONU) GetOperState() string {
676 if m != nil {
677 return m.OperState
678 }
679 return ""
680}
681
682func (m *ONU) GetInternalState() string {
683 if m != nil {
684 return m.InternalState
685 }
686 return ""
687}
688
689func (m *ONU) GetPonPortID() int32 {
690 if m != nil {
691 return m.PonPortID
692 }
693 return 0
694}
695
Matteo Scandolo8a574812021-05-20 15:18:53 -0700696// Deprecated: Do not use.
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700697func (m *ONU) GetHwAddress() string {
698 if m != nil {
699 return m.HwAddress
700 }
701 return ""
702}
703
Matteo Scandolo8a574812021-05-20 15:18:53 -0700704// Deprecated: Do not use.
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700705func (m *ONU) GetPortNo() int32 {
706 if m != nil {
707 return m.PortNo
708 }
709 return 0
710}
711
Matteo Scandolo8a574812021-05-20 15:18:53 -0700712// Deprecated: Do not use.
Matteo Scandolo4a036262020-08-17 15:56:13 -0700713func (m *ONU) GetServices() []*Service {
714 if m != nil {
715 return m.Services
716 }
717 return nil
718}
719
Matteo Scandolocedde462021-03-09 17:37:16 -0800720func (m *ONU) GetImageSoftwareExpectedSections() int32 {
721 if m != nil {
722 return m.ImageSoftwareExpectedSections
723 }
724 return 0
725}
726
727func (m *ONU) GetImageSoftwareReceivedSections() int32 {
728 if m != nil {
729 return m.ImageSoftwareReceivedSections
730 }
731 return 0
732}
733
734func (m *ONU) GetActiveImageEntityId() int32 {
735 if m != nil {
736 return m.ActiveImageEntityId
737 }
738 return 0
739}
740
741func (m *ONU) GetCommittedImageEntityId() int32 {
742 if m != nil {
743 return m.CommittedImageEntityId
744 }
745 return 0
746}
747
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700748func (m *ONU) GetUnis() []*UNI {
749 if m != nil {
750 return m.Unis
751 }
752 return nil
753}
754
755type UNI struct {
Matteo Scandolo8a574812021-05-20 15:18:53 -0700756 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
757 OnuID int32 `protobuf:"varint,2,opt,name=OnuID,proto3" json:"OnuID,omitempty"`
758 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
759 MeID uint32 `protobuf:"varint,4,opt,name=MeID,proto3" json:"MeID,omitempty"`
760 OperState string `protobuf:"bytes,5,opt,name=OperState,proto3" json:"OperState,omitempty"`
761 PortNo int32 `protobuf:"varint,6,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
762 Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"`
Elia Battistonac63b112022-01-12 18:40:49 +0100763 Type UniType `protobuf:"varint,8,opt,name=Type,proto3,enum=bbsim.UniType" json:"Type,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700764 XXX_NoUnkeyedLiteral struct{} `json:"-"`
765 XXX_unrecognized []byte `json:"-"`
766 XXX_sizecache int32 `json:"-"`
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700767}
768
769func (m *UNI) Reset() { *m = UNI{} }
770func (m *UNI) String() string { return proto.CompactTextString(m) }
771func (*UNI) ProtoMessage() {}
772func (*UNI) Descriptor() ([]byte, []int) {
773 return fileDescriptor_ef7750073d18011b, []int{8}
774}
775
776func (m *UNI) XXX_Unmarshal(b []byte) error {
777 return xxx_messageInfo_UNI.Unmarshal(m, b)
778}
779func (m *UNI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
780 return xxx_messageInfo_UNI.Marshal(b, m, deterministic)
781}
782func (m *UNI) XXX_Merge(src proto.Message) {
783 xxx_messageInfo_UNI.Merge(m, src)
784}
785func (m *UNI) XXX_Size() int {
786 return xxx_messageInfo_UNI.Size(m)
787}
788func (m *UNI) XXX_DiscardUnknown() {
789 xxx_messageInfo_UNI.DiscardUnknown(m)
790}
791
792var xxx_messageInfo_UNI proto.InternalMessageInfo
793
794func (m *UNI) GetID() int32 {
795 if m != nil {
796 return m.ID
797 }
798 return 0
799}
800
801func (m *UNI) GetOnuID() int32 {
802 if m != nil {
803 return m.OnuID
804 }
805 return 0
806}
807
808func (m *UNI) GetOnuSn() string {
809 if m != nil {
810 return m.OnuSn
811 }
812 return ""
813}
814
815func (m *UNI) GetMeID() uint32 {
816 if m != nil {
817 return m.MeID
818 }
819 return 0
820}
821
822func (m *UNI) GetOperState() string {
823 if m != nil {
824 return m.OperState
825 }
826 return ""
827}
828
Matteo Scandolo8a574812021-05-20 15:18:53 -0700829func (m *UNI) GetPortNo() int32 {
830 if m != nil {
831 return m.PortNo
832 }
833 return 0
834}
835
836func (m *UNI) GetServices() []*Service {
837 if m != nil {
838 return m.Services
839 }
840 return nil
841}
842
Elia Battistonac63b112022-01-12 18:40:49 +0100843func (m *UNI) GetType() UniType {
844 if m != nil {
845 return m.Type
846 }
847 return UniType_ETH
848}
849
Matteo Scandolo4a036262020-08-17 15:56:13 -0700850type Service struct {
851 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
852 HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
853 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
854 STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"`
855 CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"`
856 NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"`
857 NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"`
858 NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"`
859 GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"`
860 EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"`
861 DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"`
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700862 InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
Matteo Scandolo618a6582020-09-09 12:21:29 -0700863 IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700864 UniId uint32 `protobuf:"varint,14,opt,name=UniId,proto3" json:"UniId,omitempty"`
Matteo Scandolo4a036262020-08-17 15:56:13 -0700865 XXX_NoUnkeyedLiteral struct{} `json:"-"`
866 XXX_unrecognized []byte `json:"-"`
867 XXX_sizecache int32 `json:"-"`
868}
869
870func (m *Service) Reset() { *m = Service{} }
871func (m *Service) String() string { return proto.CompactTextString(m) }
872func (*Service) ProtoMessage() {}
873func (*Service) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700874 return fileDescriptor_ef7750073d18011b, []int{9}
Matteo Scandolo4a036262020-08-17 15:56:13 -0700875}
876
877func (m *Service) XXX_Unmarshal(b []byte) error {
878 return xxx_messageInfo_Service.Unmarshal(m, b)
879}
880func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
881 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
882}
883func (m *Service) XXX_Merge(src proto.Message) {
884 xxx_messageInfo_Service.Merge(m, src)
885}
886func (m *Service) XXX_Size() int {
887 return xxx_messageInfo_Service.Size(m)
888}
889func (m *Service) XXX_DiscardUnknown() {
890 xxx_messageInfo_Service.DiscardUnknown(m)
891}
892
893var xxx_messageInfo_Service proto.InternalMessageInfo
894
895func (m *Service) GetName() string {
896 if m != nil {
897 return m.Name
898 }
899 return ""
900}
901
902func (m *Service) GetHwAddress() string {
903 if m != nil {
904 return m.HwAddress
905 }
906 return ""
907}
908
909func (m *Service) GetOnuSn() string {
910 if m != nil {
911 return m.OnuSn
912 }
913 return ""
914}
915
916func (m *Service) GetSTag() int32 {
917 if m != nil {
918 return m.STag
919 }
920 return 0
921}
922
923func (m *Service) GetCTag() int32 {
924 if m != nil {
925 return m.CTag
926 }
927 return 0
928}
929
930func (m *Service) GetNeedsEapol() bool {
931 if m != nil {
932 return m.NeedsEapol
933 }
934 return false
935}
936
937func (m *Service) GetNeedsDhcp() bool {
938 if m != nil {
939 return m.NeedsDhcp
940 }
941 return false
942}
943
944func (m *Service) GetNeedsIgmp() bool {
945 if m != nil {
946 return m.NeedsIgmp
947 }
948 return false
949}
950
951func (m *Service) GetGemPort() int32 {
952 if m != nil {
953 return m.GemPort
954 }
955 return 0
956}
957
958func (m *Service) GetEapolState() string {
959 if m != nil {
960 return m.EapolState
961 }
962 return ""
963}
964
965func (m *Service) GetDhcpState() string {
966 if m != nil {
967 return m.DhcpState
968 }
969 return ""
970}
971
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700972func (m *Service) GetInternalState() string {
973 if m != nil {
974 return m.InternalState
975 }
976 return ""
977}
978
Matteo Scandolo618a6582020-09-09 12:21:29 -0700979func (m *Service) GetIGMPState() string {
980 if m != nil {
981 return m.IGMPState
982 }
983 return ""
984}
985
Matteo Scandolo8a574812021-05-20 15:18:53 -0700986func (m *Service) GetUniId() uint32 {
987 if m != nil {
988 return m.UniId
989 }
990 return 0
991}
992
Anand S Katti09541352020-01-29 15:54:01 +0530993type ONUTrafficSchedulers struct {
994 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
995 XXX_NoUnkeyedLiteral struct{} `json:"-"`
996 XXX_unrecognized []byte `json:"-"`
997 XXX_sizecache int32 `json:"-"`
998}
999
1000func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
1001func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
1002func (*ONUTrafficSchedulers) ProtoMessage() {}
1003func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001004 return fileDescriptor_ef7750073d18011b, []int{10}
Anand S Katti09541352020-01-29 15:54:01 +05301005}
1006
1007func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
1008 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
1009}
1010func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1011 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
1012}
1013func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
1014 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
1015}
1016func (m *ONUTrafficSchedulers) XXX_Size() int {
1017 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
1018}
1019func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
1020 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
1021}
1022
1023var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
1024
1025func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
1026 if m != nil {
1027 return m.TraffSchedulers
1028 }
1029 return nil
1030}
1031
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001032type ONUs struct {
1033 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1034 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1035 XXX_unrecognized []byte `json:"-"`
1036 XXX_sizecache int32 `json:"-"`
1037}
1038
1039func (m *ONUs) Reset() { *m = ONUs{} }
1040func (m *ONUs) String() string { return proto.CompactTextString(m) }
1041func (*ONUs) ProtoMessage() {}
1042func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001043 return fileDescriptor_ef7750073d18011b, []int{11}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001044}
1045
1046func (m *ONUs) XXX_Unmarshal(b []byte) error {
1047 return xxx_messageInfo_ONUs.Unmarshal(m, b)
1048}
1049func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1050 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
1051}
1052func (m *ONUs) XXX_Merge(src proto.Message) {
1053 xxx_messageInfo_ONUs.Merge(m, src)
1054}
1055func (m *ONUs) XXX_Size() int {
1056 return xxx_messageInfo_ONUs.Size(m)
1057}
1058func (m *ONUs) XXX_DiscardUnknown() {
1059 xxx_messageInfo_ONUs.DiscardUnknown(m)
1060}
1061
1062var xxx_messageInfo_ONUs proto.InternalMessageInfo
1063
1064func (m *ONUs) GetItems() []*ONU {
1065 if m != nil {
1066 return m.Items
1067 }
1068 return nil
1069}
1070
Matteo Scandolo4a036262020-08-17 15:56:13 -07001071type Services struct {
1072 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1073 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1074 XXX_unrecognized []byte `json:"-"`
1075 XXX_sizecache int32 `json:"-"`
1076}
1077
1078func (m *Services) Reset() { *m = Services{} }
1079func (m *Services) String() string { return proto.CompactTextString(m) }
1080func (*Services) ProtoMessage() {}
1081func (*Services) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001082 return fileDescriptor_ef7750073d18011b, []int{12}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001083}
1084
1085func (m *Services) XXX_Unmarshal(b []byte) error {
1086 return xxx_messageInfo_Services.Unmarshal(m, b)
1087}
1088func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1089 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
1090}
1091func (m *Services) XXX_Merge(src proto.Message) {
1092 xxx_messageInfo_Services.Merge(m, src)
1093}
1094func (m *Services) XXX_Size() int {
1095 return xxx_messageInfo_Services.Size(m)
1096}
1097func (m *Services) XXX_DiscardUnknown() {
1098 xxx_messageInfo_Services.DiscardUnknown(m)
1099}
1100
1101var xxx_messageInfo_Services proto.InternalMessageInfo
1102
1103func (m *Services) GetItems() []*Service {
1104 if m != nil {
1105 return m.Items
1106 }
1107 return nil
1108}
1109
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001110type UNIs struct {
1111 Items []*UNI `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1112 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1113 XXX_unrecognized []byte `json:"-"`
1114 XXX_sizecache int32 `json:"-"`
1115}
1116
1117func (m *UNIs) Reset() { *m = UNIs{} }
1118func (m *UNIs) String() string { return proto.CompactTextString(m) }
1119func (*UNIs) ProtoMessage() {}
1120func (*UNIs) Descriptor() ([]byte, []int) {
1121 return fileDescriptor_ef7750073d18011b, []int{13}
1122}
1123
1124func (m *UNIs) XXX_Unmarshal(b []byte) error {
1125 return xxx_messageInfo_UNIs.Unmarshal(m, b)
1126}
1127func (m *UNIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1128 return xxx_messageInfo_UNIs.Marshal(b, m, deterministic)
1129}
1130func (m *UNIs) XXX_Merge(src proto.Message) {
1131 xxx_messageInfo_UNIs.Merge(m, src)
1132}
1133func (m *UNIs) XXX_Size() int {
1134 return xxx_messageInfo_UNIs.Size(m)
1135}
1136func (m *UNIs) XXX_DiscardUnknown() {
1137 xxx_messageInfo_UNIs.DiscardUnknown(m)
1138}
1139
1140var xxx_messageInfo_UNIs proto.InternalMessageInfo
1141
1142func (m *UNIs) GetItems() []*UNI {
1143 if m != nil {
1144 return m.Items
1145 }
1146 return nil
1147}
1148
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001149type ONURequest struct {
1150 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1151 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1152 XXX_unrecognized []byte `json:"-"`
1153 XXX_sizecache int32 `json:"-"`
1154}
1155
1156func (m *ONURequest) Reset() { *m = ONURequest{} }
1157func (m *ONURequest) String() string { return proto.CompactTextString(m) }
1158func (*ONURequest) ProtoMessage() {}
1159func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001160 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001161}
1162
1163func (m *ONURequest) XXX_Unmarshal(b []byte) error {
1164 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
1165}
1166func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1167 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
1168}
1169func (m *ONURequest) XXX_Merge(src proto.Message) {
1170 xxx_messageInfo_ONURequest.Merge(m, src)
1171}
1172func (m *ONURequest) XXX_Size() int {
1173 return xxx_messageInfo_ONURequest.Size(m)
1174}
1175func (m *ONURequest) XXX_DiscardUnknown() {
1176 xxx_messageInfo_ONURequest.DiscardUnknown(m)
1177}
1178
1179var xxx_messageInfo_ONURequest proto.InternalMessageInfo
1180
1181func (m *ONURequest) GetSerialNumber() string {
1182 if m != nil {
1183 return m.SerialNumber
1184 }
1185 return ""
1186}
1187
Pragya Aryabd731ec2020-02-11 16:38:17 +05301188type PONRequest struct {
1189 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
1190 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1191 XXX_unrecognized []byte `json:"-"`
1192 XXX_sizecache int32 `json:"-"`
1193}
1194
1195func (m *PONRequest) Reset() { *m = PONRequest{} }
1196func (m *PONRequest) String() string { return proto.CompactTextString(m) }
1197func (*PONRequest) ProtoMessage() {}
1198func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001199 return fileDescriptor_ef7750073d18011b, []int{15}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301200}
1201
1202func (m *PONRequest) XXX_Unmarshal(b []byte) error {
1203 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
1204}
1205func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1206 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
1207}
1208func (m *PONRequest) XXX_Merge(src proto.Message) {
1209 xxx_messageInfo_PONRequest.Merge(m, src)
1210}
1211func (m *PONRequest) XXX_Size() int {
1212 return xxx_messageInfo_PONRequest.Size(m)
1213}
1214func (m *PONRequest) XXX_DiscardUnknown() {
1215 xxx_messageInfo_PONRequest.DiscardUnknown(m)
1216}
1217
1218var xxx_messageInfo_PONRequest proto.InternalMessageInfo
1219
1220func (m *PONRequest) GetPonPortId() uint32 {
1221 if m != nil {
1222 return m.PonPortId
1223 }
1224 return 0
1225}
1226
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001227type UNIRequest struct {
1228 OnuSerialNumber string `protobuf:"bytes,1,opt,name=OnuSerialNumber,proto3" json:"OnuSerialNumber,omitempty"`
1229 UniID string `protobuf:"bytes,2,opt,name=UniID,proto3" json:"UniID,omitempty"`
1230 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1231 XXX_unrecognized []byte `json:"-"`
1232 XXX_sizecache int32 `json:"-"`
1233}
1234
1235func (m *UNIRequest) Reset() { *m = UNIRequest{} }
1236func (m *UNIRequest) String() string { return proto.CompactTextString(m) }
1237func (*UNIRequest) ProtoMessage() {}
1238func (*UNIRequest) Descriptor() ([]byte, []int) {
1239 return fileDescriptor_ef7750073d18011b, []int{16}
1240}
1241
1242func (m *UNIRequest) XXX_Unmarshal(b []byte) error {
1243 return xxx_messageInfo_UNIRequest.Unmarshal(m, b)
1244}
1245func (m *UNIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1246 return xxx_messageInfo_UNIRequest.Marshal(b, m, deterministic)
1247}
1248func (m *UNIRequest) XXX_Merge(src proto.Message) {
1249 xxx_messageInfo_UNIRequest.Merge(m, src)
1250}
1251func (m *UNIRequest) XXX_Size() int {
1252 return xxx_messageInfo_UNIRequest.Size(m)
1253}
1254func (m *UNIRequest) XXX_DiscardUnknown() {
1255 xxx_messageInfo_UNIRequest.DiscardUnknown(m)
1256}
1257
1258var xxx_messageInfo_UNIRequest proto.InternalMessageInfo
1259
1260func (m *UNIRequest) GetOnuSerialNumber() string {
1261 if m != nil {
1262 return m.OnuSerialNumber
1263 }
1264 return ""
1265}
1266
1267func (m *UNIRequest) GetUniID() string {
1268 if m != nil {
1269 return m.UniID
1270 }
1271 return ""
1272}
1273
Scott Baker41724b82020-01-21 19:54:53 -08001274type AlarmType struct {
1275 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1276 XXX_unrecognized []byte `json:"-"`
1277 XXX_sizecache int32 `json:"-"`
1278}
1279
1280func (m *AlarmType) Reset() { *m = AlarmType{} }
1281func (m *AlarmType) String() string { return proto.CompactTextString(m) }
1282func (*AlarmType) ProtoMessage() {}
1283func (*AlarmType) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001284 return fileDescriptor_ef7750073d18011b, []int{17}
Scott Baker41724b82020-01-21 19:54:53 -08001285}
1286
1287func (m *AlarmType) XXX_Unmarshal(b []byte) error {
1288 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
1289}
1290func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1291 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
1292}
1293func (m *AlarmType) XXX_Merge(src proto.Message) {
1294 xxx_messageInfo_AlarmType.Merge(m, src)
1295}
1296func (m *AlarmType) XXX_Size() int {
1297 return xxx_messageInfo_AlarmType.Size(m)
1298}
1299func (m *AlarmType) XXX_DiscardUnknown() {
1300 xxx_messageInfo_AlarmType.DiscardUnknown(m)
1301}
1302
1303var xxx_messageInfo_AlarmType proto.InternalMessageInfo
1304
1305type AlarmParameter struct {
1306 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
1307 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
1308 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1309 XXX_unrecognized []byte `json:"-"`
1310 XXX_sizecache int32 `json:"-"`
1311}
1312
1313func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
1314func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
1315func (*AlarmParameter) ProtoMessage() {}
1316func (*AlarmParameter) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001317 return fileDescriptor_ef7750073d18011b, []int{18}
Scott Baker41724b82020-01-21 19:54:53 -08001318}
1319
1320func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
1321 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
1322}
1323func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1324 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
1325}
1326func (m *AlarmParameter) XXX_Merge(src proto.Message) {
1327 xxx_messageInfo_AlarmParameter.Merge(m, src)
1328}
1329func (m *AlarmParameter) XXX_Size() int {
1330 return xxx_messageInfo_AlarmParameter.Size(m)
1331}
1332func (m *AlarmParameter) XXX_DiscardUnknown() {
1333 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
1334}
1335
1336var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
1337
1338func (m *AlarmParameter) GetKey() string {
1339 if m != nil {
1340 return m.Key
1341 }
1342 return ""
1343}
1344
1345func (m *AlarmParameter) GetValue() string {
1346 if m != nil {
1347 return m.Value
1348 }
1349 return ""
1350}
1351
Anand S Katti86552f92020-03-03 21:56:32 +05301352// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +05301353// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -08001354// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +05301355type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +05301356 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -08001357 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1358 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1359 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
1360 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1361 XXX_unrecognized []byte `json:"-"`
1362 XXX_sizecache int32 `json:"-"`
1363}
1364
Anand S Katti86552f92020-03-03 21:56:32 +05301365func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
1366func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
1367func (*ONUAlarmRequest) ProtoMessage() {}
1368func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001369 return fileDescriptor_ef7750073d18011b, []int{19}
Scott Baker41724b82020-01-21 19:54:53 -08001370}
1371
Anand S Katti86552f92020-03-03 21:56:32 +05301372func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
1373 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -08001374}
Anand S Katti86552f92020-03-03 21:56:32 +05301375func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1376 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -08001377}
Anand S Katti86552f92020-03-03 21:56:32 +05301378func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
1379 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -08001380}
Anand S Katti86552f92020-03-03 21:56:32 +05301381func (m *ONUAlarmRequest) XXX_Size() int {
1382 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -08001383}
Anand S Katti86552f92020-03-03 21:56:32 +05301384func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
1385 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -08001386}
1387
Anand S Katti86552f92020-03-03 21:56:32 +05301388var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -08001389
Anand S Katti86552f92020-03-03 21:56:32 +05301390func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -08001391 if m != nil {
1392 return m.AlarmType
1393 }
Pragya Arya694ece02020-02-07 13:03:47 +05301394 return ""
Scott Baker41724b82020-01-21 19:54:53 -08001395}
1396
Anand S Katti86552f92020-03-03 21:56:32 +05301397func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -08001398 if m != nil {
1399 return m.SerialNumber
1400 }
1401 return ""
1402}
1403
Anand S Katti86552f92020-03-03 21:56:32 +05301404func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -08001405 if m != nil {
1406 return m.Status
1407 }
1408 return ""
1409}
1410
Anand S Katti86552f92020-03-03 21:56:32 +05301411func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -08001412 if m != nil {
1413 return m.Parameters
1414 }
1415 return nil
1416}
1417
Anand S Katti86552f92020-03-03 21:56:32 +05301418// OLT alarm request
1419type OLTAlarmRequest struct {
1420 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
1421 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
1422 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1423 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1424 XXX_unrecognized []byte `json:"-"`
1425 XXX_sizecache int32 `json:"-"`
1426}
1427
1428func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
1429func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
1430func (*OLTAlarmRequest) ProtoMessage() {}
1431func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001432 return fileDescriptor_ef7750073d18011b, []int{20}
Anand S Katti86552f92020-03-03 21:56:32 +05301433}
1434
1435func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
1436 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
1437}
1438func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1439 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
1440}
1441func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
1442 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
1443}
1444func (m *OLTAlarmRequest) XXX_Size() int {
1445 return xxx_messageInfo_OLTAlarmRequest.Size(m)
1446}
1447func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
1448 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
1449}
1450
1451var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
1452
1453func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
1454 if m != nil {
1455 return m.InterfaceID
1456 }
1457 return 0
1458}
1459
1460func (m *OLTAlarmRequest) GetInterfaceType() string {
1461 if m != nil {
1462 return m.InterfaceType
1463 }
1464 return ""
1465}
1466
1467func (m *OLTAlarmRequest) GetStatus() string {
1468 if m != nil {
1469 return m.Status
1470 }
1471 return ""
1472}
1473
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001474type VersionNumber struct {
1475 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1476 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
1477 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
1478 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
1479 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1480 XXX_unrecognized []byte `json:"-"`
1481 XXX_sizecache int32 `json:"-"`
1482}
1483
1484func (m *VersionNumber) Reset() { *m = VersionNumber{} }
1485func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
1486func (*VersionNumber) ProtoMessage() {}
1487func (*VersionNumber) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001488 return fileDescriptor_ef7750073d18011b, []int{21}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001489}
1490
1491func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
1492 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
1493}
1494func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1495 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
1496}
1497func (m *VersionNumber) XXX_Merge(src proto.Message) {
1498 xxx_messageInfo_VersionNumber.Merge(m, src)
1499}
1500func (m *VersionNumber) XXX_Size() int {
1501 return xxx_messageInfo_VersionNumber.Size(m)
1502}
1503func (m *VersionNumber) XXX_DiscardUnknown() {
1504 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
1505}
1506
1507var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
1508
1509func (m *VersionNumber) GetVersion() string {
1510 if m != nil {
1511 return m.Version
1512 }
1513 return ""
1514}
1515
1516func (m *VersionNumber) GetBuildTime() string {
1517 if m != nil {
1518 return m.BuildTime
1519 }
1520 return ""
1521}
1522
1523func (m *VersionNumber) GetCommitHash() string {
1524 if m != nil {
1525 return m.CommitHash
1526 }
1527 return ""
1528}
1529
1530func (m *VersionNumber) GetGitStatus() string {
1531 if m != nil {
1532 return m.GitStatus
1533 }
1534 return ""
1535}
1536
1537type LogLevel struct {
1538 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
1539 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
1540 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1541 XXX_unrecognized []byte `json:"-"`
1542 XXX_sizecache int32 `json:"-"`
1543}
1544
1545func (m *LogLevel) Reset() { *m = LogLevel{} }
1546func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1547func (*LogLevel) ProtoMessage() {}
1548func (*LogLevel) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001549 return fileDescriptor_ef7750073d18011b, []int{22}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001550}
1551
1552func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1553 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1554}
1555func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1556 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1557}
1558func (m *LogLevel) XXX_Merge(src proto.Message) {
1559 xxx_messageInfo_LogLevel.Merge(m, src)
1560}
1561func (m *LogLevel) XXX_Size() int {
1562 return xxx_messageInfo_LogLevel.Size(m)
1563}
1564func (m *LogLevel) XXX_DiscardUnknown() {
1565 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1566}
1567
1568var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1569
1570func (m *LogLevel) GetLevel() string {
1571 if m != nil {
1572 return m.Level
1573 }
1574 return ""
1575}
1576
1577func (m *LogLevel) GetCaller() bool {
1578 if m != nil {
1579 return m.Caller
1580 }
1581 return false
1582}
1583
1584type Response struct {
1585 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1586 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1587 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1588 XXX_unrecognized []byte `json:"-"`
1589 XXX_sizecache int32 `json:"-"`
1590}
1591
1592func (m *Response) Reset() { *m = Response{} }
1593func (m *Response) String() string { return proto.CompactTextString(m) }
1594func (*Response) ProtoMessage() {}
1595func (*Response) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001596 return fileDescriptor_ef7750073d18011b, []int{23}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001597}
1598
1599func (m *Response) XXX_Unmarshal(b []byte) error {
1600 return xxx_messageInfo_Response.Unmarshal(m, b)
1601}
1602func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1603 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1604}
1605func (m *Response) XXX_Merge(src proto.Message) {
1606 xxx_messageInfo_Response.Merge(m, src)
1607}
1608func (m *Response) XXX_Size() int {
1609 return xxx_messageInfo_Response.Size(m)
1610}
1611func (m *Response) XXX_DiscardUnknown() {
1612 xxx_messageInfo_Response.DiscardUnknown(m)
1613}
1614
1615var xxx_messageInfo_Response proto.InternalMessageInfo
1616
1617func (m *Response) GetStatusCode() int32 {
1618 if m != nil {
1619 return m.StatusCode
1620 }
1621 return 0
1622}
1623
1624func (m *Response) GetMessage() string {
1625 if m != nil {
1626 return m.Message
1627 }
1628 return ""
1629}
1630
Arjun E K57a7fcb2020-01-30 06:44:45 +00001631type IgmpRequest struct {
1632 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1633 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001634 GroupAddress string `protobuf:"bytes,3,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"`
Arjun E K57a7fcb2020-01-30 06:44:45 +00001635 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1636 XXX_unrecognized []byte `json:"-"`
1637 XXX_sizecache int32 `json:"-"`
1638}
1639
1640func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1641func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1642func (*IgmpRequest) ProtoMessage() {}
1643func (*IgmpRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001644 return fileDescriptor_ef7750073d18011b, []int{24}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001645}
1646
1647func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1648 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1649}
1650func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1651 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1652}
1653func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1654 xxx_messageInfo_IgmpRequest.Merge(m, src)
1655}
1656func (m *IgmpRequest) XXX_Size() int {
1657 return xxx_messageInfo_IgmpRequest.Size(m)
1658}
1659func (m *IgmpRequest) XXX_DiscardUnknown() {
1660 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1661}
1662
1663var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1664
1665func (m *IgmpRequest) GetOnuReq() *ONURequest {
1666 if m != nil {
1667 return m.OnuReq
1668 }
1669 return nil
1670}
1671
1672func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1673 if m != nil {
1674 return m.SubActionVal
1675 }
1676 return SubActionTypes_JOIN
1677}
1678
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001679func (m *IgmpRequest) GetGroupAddress() string {
1680 if m != nil {
1681 return m.GroupAddress
1682 }
1683 return ""
1684}
1685
Pragya Arya8bdb4532020-03-02 17:08:09 +05301686type Flows struct {
1687 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1688 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1689 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1690 XXX_unrecognized []byte `json:"-"`
1691 XXX_sizecache int32 `json:"-"`
1692}
1693
1694func (m *Flows) Reset() { *m = Flows{} }
1695func (m *Flows) String() string { return proto.CompactTextString(m) }
1696func (*Flows) ProtoMessage() {}
1697func (*Flows) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001698 return fileDescriptor_ef7750073d18011b, []int{25}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301699}
1700
1701func (m *Flows) XXX_Unmarshal(b []byte) error {
1702 return xxx_messageInfo_Flows.Unmarshal(m, b)
1703}
1704func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1705 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1706}
1707func (m *Flows) XXX_Merge(src proto.Message) {
1708 xxx_messageInfo_Flows.Merge(m, src)
1709}
1710func (m *Flows) XXX_Size() int {
1711 return xxx_messageInfo_Flows.Size(m)
1712}
1713func (m *Flows) XXX_DiscardUnknown() {
1714 xxx_messageInfo_Flows.DiscardUnknown(m)
1715}
1716
1717var xxx_messageInfo_Flows proto.InternalMessageInfo
1718
1719func (m *Flows) GetFlowCount() uint32 {
1720 if m != nil {
1721 return m.FlowCount
1722 }
1723 return 0
1724}
1725
1726func (m *Flows) GetFlows() []*openolt.Flow {
1727 if m != nil {
1728 return m.Flows
1729 }
1730 return nil
1731}
1732
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001733type Timeout struct {
1734 Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
1735 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1736 XXX_unrecognized []byte `json:"-"`
1737 XXX_sizecache int32 `json:"-"`
1738}
1739
1740func (m *Timeout) Reset() { *m = Timeout{} }
1741func (m *Timeout) String() string { return proto.CompactTextString(m) }
1742func (*Timeout) ProtoMessage() {}
1743func (*Timeout) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001744 return fileDescriptor_ef7750073d18011b, []int{26}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001745}
1746
1747func (m *Timeout) XXX_Unmarshal(b []byte) error {
1748 return xxx_messageInfo_Timeout.Unmarshal(m, b)
1749}
1750func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1751 return xxx_messageInfo_Timeout.Marshal(b, m, deterministic)
1752}
1753func (m *Timeout) XXX_Merge(src proto.Message) {
1754 xxx_messageInfo_Timeout.Merge(m, src)
1755}
1756func (m *Timeout) XXX_Size() int {
1757 return xxx_messageInfo_Timeout.Size(m)
1758}
1759func (m *Timeout) XXX_DiscardUnknown() {
1760 xxx_messageInfo_Timeout.DiscardUnknown(m)
1761}
1762
1763var xxx_messageInfo_Timeout proto.InternalMessageInfo
1764
1765func (m *Timeout) GetDelay() uint32 {
1766 if m != nil {
1767 return m.Delay
1768 }
1769 return 0
1770}
1771
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001772type Empty struct {
1773 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1774 XXX_unrecognized []byte `json:"-"`
1775 XXX_sizecache int32 `json:"-"`
1776}
1777
1778func (m *Empty) Reset() { *m = Empty{} }
1779func (m *Empty) String() string { return proto.CompactTextString(m) }
1780func (*Empty) ProtoMessage() {}
1781func (*Empty) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001782 return fileDescriptor_ef7750073d18011b, []int{27}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001783}
1784
1785func (m *Empty) XXX_Unmarshal(b []byte) error {
1786 return xxx_messageInfo_Empty.Unmarshal(m, b)
1787}
1788func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1789 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1790}
1791func (m *Empty) XXX_Merge(src proto.Message) {
1792 xxx_messageInfo_Empty.Merge(m, src)
1793}
1794func (m *Empty) XXX_Size() int {
1795 return xxx_messageInfo_Empty.Size(m)
1796}
1797func (m *Empty) XXX_DiscardUnknown() {
1798 xxx_messageInfo_Empty.DiscardUnknown(m)
1799}
1800
1801var xxx_messageInfo_Empty proto.InternalMessageInfo
1802
1803func init() {
Elia Battistonac63b112022-01-12 18:40:49 +01001804 proto.RegisterEnum("bbsim.UniType", UniType_name, UniType_value)
Arjun E K57a7fcb2020-01-30 06:44:45 +00001805 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001806 proto.RegisterEnum("bbsim.OltAllocatedResourceType_Type", OltAllocatedResourceType_Type_name, OltAllocatedResourceType_Type_value)
Scott Baker41724b82020-01-21 19:54:53 -08001807 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001808 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001809 proto.RegisterType((*PonAllocatedResources)(nil), "bbsim.PonAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001810 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1811 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001812 proto.RegisterType((*OltAllocatedResourceType)(nil), "bbsim.OltAllocatedResourceType")
1813 proto.RegisterType((*OltAllocatedResource)(nil), "bbsim.OltAllocatedResource")
1814 proto.RegisterType((*OltAllocatedResources)(nil), "bbsim.OltAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001815 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001816 proto.RegisterType((*UNI)(nil), "bbsim.UNI")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001817 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301818 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001819 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001820 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001821 proto.RegisterType((*UNIs)(nil), "bbsim.UNIs")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001822 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301823 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001824 proto.RegisterType((*UNIRequest)(nil), "bbsim.UNIRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001825 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1826 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301827 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1828 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001829 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1830 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1831 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001832 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301833 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001834 proto.RegisterType((*Timeout)(nil), "bbsim.Timeout")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001835 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1836}
1837
Matteo Scandolof65e6872020-04-15 15:18:43 -07001838func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001839
1840var fileDescriptor_ef7750073d18011b = []byte{
Elia Battistonac63b112022-01-12 18:40:49 +01001841 // 2141 bytes of a gzipped FileDescriptorProto
1842 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdd, 0x6e, 0xdb, 0xc8,
1843 0x15, 0xb6, 0xfe, 0x2c, 0xe9, 0xc8, 0x92, 0xe8, 0xd9, 0xd8, 0x4b, 0x38, 0xde, 0x8d, 0xc1, 0xcd,
Elia Battistonfe017662022-01-05 11:43:16 +01001844 0x16, 0x4e, 0xd0, 0x75, 0x36, 0x49, 0x77, 0x9b, 0x5c, 0xca, 0x92, 0xac, 0x70, 0x2d, 0x93, 0xc2,
Elia Battistonac63b112022-01-12 18:40:49 +01001845 0x50, 0x72, 0x90, 0xf6, 0x42, 0xa0, 0xc5, 0xb1, 0x4d, 0x94, 0x22, 0x15, 0x92, 0xb2, 0xeb, 0x07,
1846 0x28, 0xfa, 0x08, 0xbd, 0x5c, 0xa0, 0x0f, 0xd0, 0x67, 0xe9, 0x7d, 0x81, 0xf6, 0xaa, 0xef, 0x51,
1847 0x9c, 0xe1, 0x90, 0x22, 0x25, 0x39, 0x71, 0xae, 0x7a, 0x23, 0xf0, 0x7c, 0x73, 0xfe, 0xcf, 0x99,
1848 0x33, 0x33, 0x82, 0x1d, 0x73, 0x66, 0xbf, 0xb8, 0xb8, 0x08, 0xec, 0x69, 0xf4, 0x7b, 0x34, 0xf3,
1849 0xbd, 0xd0, 0x23, 0x25, 0x4e, 0xec, 0x3d, 0xbe, 0xf1, 0x9c, 0xf0, 0xda, 0x1c, 0x73, 0x30, 0x78,
1850 0xe1, 0xcd, 0x98, 0xeb, 0x39, 0x61, 0xc4, 0xb3, 0x77, 0x90, 0x5d, 0x0c, 0xd9, 0xe4, 0x1a, 0xbf,
1851 0x2f, 0x6d, 0x87, 0x45, 0x1c, 0xca, 0x7f, 0xf2, 0x50, 0x1e, 0xe8, 0xda, 0xc0, 0xf3, 0x43, 0xd2,
1852 0x80, 0xbc, 0xda, 0x91, 0x73, 0x07, 0xb9, 0xc3, 0x12, 0xcd, 0xab, 0x1d, 0xb2, 0x0f, 0x55, 0x7d,
1853 0xc6, 0x7c, 0x23, 0x34, 0x43, 0x26, 0xe7, 0x0f, 0x72, 0x87, 0x55, 0xba, 0x00, 0xc8, 0x53, 0xa8,
1854 0xab, 0x6e, 0xc8, 0x7c, 0xd7, 0x74, 0x22, 0x8e, 0x02, 0xe7, 0xc8, 0x82, 0xe4, 0x00, 0x6a, 0x03,
1855 0x73, 0xf2, 0x27, 0x16, 0xb6, 0xbd, 0xb9, 0x1b, 0xca, 0xc5, 0x83, 0xdc, 0x61, 0x91, 0xa6, 0x21,
1856 0x72, 0x02, 0xcd, 0x96, 0xe3, 0x78, 0x13, 0x33, 0x64, 0x96, 0xee, 0xce, 0x55, 0x2b, 0x90, 0x4b,
1857 0x07, 0x85, 0xc3, 0xda, 0xab, 0xfd, 0xa3, 0x28, 0xdc, 0x81, 0xe7, 0x26, 0x0c, 0x94, 0x05, 0xde,
1858 0xdc, 0x9f, 0xb0, 0x80, 0x2e, 0x0b, 0x91, 0x5f, 0x60, 0x3b, 0x81, 0x7a, 0x6c, 0x8a, 0x11, 0x05,
1859 0xf2, 0xe6, 0x03, 0x34, 0xad, 0x8a, 0x65, 0x74, 0xf1, 0x0f, 0xf4, 0xaa, 0xfc, 0x45, 0xba, 0x62,
1860 0x31, 0xe5, 0x14, 0x76, 0xd6, 0xf2, 0x12, 0x05, 0xb6, 0x0c, 0xe6, 0xdb, 0xa6, 0xa3, 0xcd, 0xa7,
1861 0x17, 0xcc, 0xe7, 0x89, 0xaf, 0xd2, 0x0c, 0xc6, 0x4b, 0x62, 0xf1, 0xdc, 0x63, 0x49, 0x2c, 0xe5,
1862 0xf7, 0x50, 0xd6, 0x34, 0xf5, 0xcb, 0xab, 0xa5, 0xfc, 0x37, 0x07, 0x05, 0xdd, 0x59, 0x95, 0x5a,
1863 0x76, 0x22, 0xbf, 0xc6, 0x89, 0x8c, 0xe6, 0xc2, 0x67, 0xfb, 0xa0, 0xb8, 0xae, 0x0f, 0xd0, 0xee,
1864 0x40, 0x2e, 0xf3, 0xa5, 0xbc, 0x3a, 0x20, 0xcf, 0xa1, 0x22, 0x02, 0x89, 0xcb, 0xdd, 0x10, 0x89,
1865 0x15, 0x30, 0x4d, 0xd6, 0x91, 0x57, 0xb4, 0x68, 0x5c, 0xd0, 0x98, 0x57, 0xc0, 0x34, 0x59, 0x57,
1866 0xfe, 0x92, 0x03, 0x59, 0x77, 0xc2, 0x95, 0x74, 0x0f, 0xef, 0x66, 0x8c, 0xbc, 0x81, 0x62, 0x78,
1867 0x37, 0x63, 0x3c, 0xfc, 0xc6, 0xab, 0xa7, 0x42, 0xc9, 0x7d, 0xec, 0x47, 0xf8, 0x43, 0xb9, 0x84,
1868 0xf2, 0x02, 0x8a, 0x5c, 0x43, 0x0d, 0xca, 0x23, 0xed, 0x54, 0xd3, 0xdf, 0x6b, 0xd2, 0x06, 0xd9,
1869 0x82, 0x4a, 0xab, 0xdf, 0xd7, 0xdb, 0x63, 0xb5, 0x23, 0xe5, 0x90, 0xea, 0x75, 0xcf, 0xc6, 0x03,
1870 0x9d, 0x0e, 0xa5, 0xbc, 0xf2, 0x8f, 0x1c, 0x3c, 0x5a, 0xa7, 0x98, 0x90, 0x48, 0x93, 0xa8, 0x76,
1871 0xa4, 0x75, 0x1f, 0xaa, 0x03, 0xcf, 0xc5, 0x00, 0x44, 0xb1, 0xeb, 0x74, 0x01, 0x90, 0x47, 0x50,
1872 0xe2, 0x2d, 0xce, 0x53, 0x5f, 0xa7, 0x11, 0x41, 0x76, 0x61, 0x13, 0xd7, 0x35, 0x8f, 0xe7, 0xbb,
1873 0x4e, 0x05, 0x45, 0xbe, 0x05, 0x88, 0x6d, 0xa9, 0x96, 0x5c, 0xe2, 0x85, 0x4e, 0x21, 0x28, 0x77,
1874 0xe2, 0x78, 0xb7, 0xaa, 0x25, 0x6f, 0xf2, 0xbd, 0x28, 0x28, 0x85, 0xc2, 0xce, 0x3a, 0x7f, 0x03,
1875 0xf2, 0x16, 0xaa, 0x7e, 0x4c, 0xc8, 0x39, 0x9e, 0xfe, 0xc7, 0x9f, 0xc8, 0x1c, 0x5d, 0x70, 0x2b,
1876 0xbf, 0x16, 0xa1, 0xa0, 0x6b, 0xa3, 0xff, 0x5b, 0xd3, 0xa5, 0xf2, 0xda, 0x11, 0xa9, 0x58, 0x00,
1877 0xe4, 0x00, 0xaa, 0xef, 0x6e, 0x5b, 0x96, 0xe5, 0xb3, 0x20, 0x90, 0x2b, 0x28, 0x7f, 0x9c, 0x97,
1878 0x73, 0x74, 0x01, 0x92, 0xbd, 0x24, 0xc7, 0x55, 0x14, 0xe6, 0xcb, 0x71, 0x9e, 0x8f, 0xa0, 0x12,
1879 0x30, 0xff, 0xc6, 0xc6, 0xac, 0x40, 0xa6, 0x29, 0x8d, 0x08, 0xe6, 0xdc, 0x09, 0x0f, 0xe9, 0xc0,
1880 0x37, 0xea, 0xd4, 0xbc, 0x62, 0x86, 0x77, 0x19, 0xde, 0x9a, 0x3e, 0xeb, 0xfe, 0x79, 0xc6, 0x26,
1881 0x21, 0xb3, 0x0c, 0x36, 0x09, 0x6d, 0xcf, 0x0d, 0xe4, 0x1a, 0xf7, 0xef, 0xd3, 0x4c, 0x2b, 0x5a,
1882 0x28, 0x9b, 0x30, 0xfb, 0x26, 0xa5, 0x65, 0x6b, 0x8d, 0x96, 0x65, 0x26, 0xf2, 0x23, 0x7c, 0xd5,
1883 0x9a, 0x84, 0xf6, 0x0d, 0xe3, 0x6c, 0x5d, 0x37, 0xb4, 0xc3, 0x3b, 0xd5, 0x92, 0xeb, 0x5c, 0x76,
1884 0xdd, 0x12, 0xf9, 0x19, 0x76, 0xdb, 0xde, 0x74, 0x6a, 0x87, 0x21, 0xb3, 0xb2, 0x42, 0x0d, 0x2e,
1885 0x74, 0xcf, 0x2a, 0xf9, 0x16, 0x8a, 0x73, 0xd7, 0x0e, 0xe4, 0x26, 0xcf, 0x10, 0x88, 0x0c, 0x8d,
1886 0x34, 0x95, 0x72, 0x5c, 0xf9, 0x57, 0x0e, 0x0a, 0x23, 0x4d, 0x5d, 0xe9, 0x10, 0xd1, 0xf3, 0x1d,
1887 0x31, 0xfa, 0x22, 0x42, 0xa0, 0x86, 0x2b, 0xfa, 0x21, 0x22, 0x70, 0x47, 0x9d, 0x31, 0xb5, 0x23,
1888 0xf6, 0x01, 0xff, 0xce, 0x76, 0x4f, 0x69, 0xb9, 0x7b, 0x16, 0x7b, 0x67, 0x93, 0xab, 0x8f, 0x6b,
1889 0xfa, 0x3c, 0x55, 0xd3, 0xf2, 0xba, 0x9a, 0xa6, 0xea, 0xa9, 0x88, 0x7d, 0x5c, 0xe1, 0xb3, 0x24,
1890 0xe6, 0x1b, 0xb9, 0x76, 0x34, 0x35, 0xf0, 0x57, 0xf9, 0x6b, 0x01, 0xca, 0x42, 0x12, 0xbd, 0xd4,
1891 0xcc, 0x69, 0xb2, 0xef, 0xf1, 0x1b, 0xbd, 0x5c, 0x74, 0xa0, 0x18, 0xd9, 0x8b, 0xee, 0xbb, 0x37,
1892 0x5a, 0x63, 0x68, 0x5e, 0xf1, 0x68, 0x4b, 0x94, 0x7f, 0x23, 0xd6, 0x46, 0x2c, 0x6a, 0x71, 0xfe,
1893 0x8d, 0x73, 0x40, 0x63, 0xcc, 0x0a, 0xba, 0xe6, 0xcc, 0x73, 0x78, 0x9c, 0x15, 0x9a, 0x42, 0xd0,
1894 0x36, 0xa7, 0x3a, 0xd7, 0x93, 0x19, 0x9f, 0xcb, 0x15, 0xba, 0x00, 0x92, 0x55, 0xf5, 0x6a, 0x3a,
1895 0xe3, 0x21, 0xc6, 0xab, 0x08, 0x10, 0x19, 0xca, 0xe2, 0xa8, 0x8c, 0x36, 0x06, 0x8d, 0x49, 0xb4,
1896 0xca, 0xd5, 0x47, 0x89, 0x07, 0xee, 0x78, 0x0a, 0x41, 0xbd, 0xa8, 0x3f, 0x5a, 0xae, 0x45, 0x11,
1897 0x27, 0xc0, 0xea, 0xae, 0xde, 0xba, 0x67, 0x57, 0xab, 0xbd, 0xb3, 0x41, 0xc4, 0x51, 0x8f, 0x74,
1898 0x24, 0x00, 0x66, 0x6d, 0xe4, 0xda, 0xa2, 0x31, 0xeb, 0x34, 0x22, 0x14, 0x13, 0x1e, 0xe9, 0xda,
1899 0x68, 0xe8, 0x9b, 0x97, 0x97, 0xf6, 0xc4, 0x98, 0x5c, 0x33, 0x6b, 0xee, 0x30, 0x3f, 0x20, 0x2a,
1900 0x34, 0x43, 0x04, 0x17, 0x10, 0x2f, 0x50, 0xed, 0xd5, 0x93, 0xa3, 0xcc, 0x65, 0x69, 0x45, 0x92,
1901 0x2e, 0xcb, 0x29, 0x87, 0x50, 0xd4, 0xb5, 0x51, 0x40, 0x0e, 0xa0, 0x64, 0x87, 0x6c, 0x1a, 0xcf,
1902 0xca, 0xb8, 0xe7, 0x75, 0x6d, 0x44, 0xa3, 0x05, 0xe5, 0x47, 0xa8, 0x18, 0x71, 0x1b, 0x3d, 0xcd,
1903 0x72, 0x2f, 0xf7, 0x9b, 0x90, 0x38, 0x84, 0xe2, 0x48, 0x53, 0xef, 0xd5, 0x8d, 0xfb, 0x29, 0xd1,
1904 0x0d, 0x68, 0x89, 0x7d, 0x9c, 0xb3, 0x20, 0x7c, 0xc8, 0x15, 0x43, 0x79, 0x0e, 0x30, 0xd0, 0xb5,
1905 0x58, 0x22, 0x73, 0x14, 0xe5, 0x96, 0x8e, 0x22, 0xa5, 0x0f, 0x80, 0xb6, 0x04, 0xef, 0x21, 0x34,
1906 0xb1, 0x27, 0x57, 0x0d, 0x2c, 0xc3, 0x71, 0x51, 0x3a, 0xa2, 0xc9, 0x23, 0x42, 0xf9, 0x77, 0x01,
1907 0xaa, 0x2d, 0xc7, 0xf4, 0xa7, 0x7c, 0xb3, 0xfc, 0xb3, 0x00, 0x25, 0xfc, 0x08, 0x48, 0x19, 0x0a,
1908 0x7d, 0xdd, 0x90, 0x36, 0x48, 0x03, 0xa0, 0xf3, 0x41, 0xd5, 0x7a, 0xe3, 0x5e, 0xcb, 0x18, 0x48,
1909 0x39, 0x52, 0x87, 0xaa, 0xae, 0x8d, 0xc6, 0xad, 0x7e, 0x8b, 0x9e, 0x49, 0x79, 0xf2, 0x35, 0x7c,
1910 0x85, 0xa4, 0x31, 0x6c, 0xd1, 0xe1, 0x68, 0x30, 0x3e, 0x69, 0xa9, 0xfd, 0x11, 0xed, 0x4a, 0x05,
1911 0xb2, 0x0b, 0x84, 0x2f, 0xa8, 0x3d, 0xad, 0xd5, 0x1f, 0x77, 0xba, 0x3d, 0xda, 0xea, 0x74, 0xa5,
1912 0x62, 0x2c, 0xd0, 0xa1, 0xea, 0xc9, 0x70, 0xac, 0x9f, 0x8c, 0xdf, 0xab, 0x5a, 0x47, 0x7f, 0x2f,
1913 0x95, 0xc8, 0x3e, 0xc8, 0xb8, 0xd0, 0xd7, 0x0d, 0x03, 0x71, 0xfd, 0xac, 0xad, 0x8e, 0xdb, 0xef,
1914 0x5a, 0x9a, 0xd6, 0xed, 0x4b, 0x9b, 0x89, 0x1d, 0xae, 0xce, 0x48, 0xec, 0x94, 0xc9, 0x33, 0xf8,
1915 0x1e, 0x17, 0x86, 0xb4, 0xa5, 0x19, 0x67, 0xaa, 0x61, 0xa8, 0xba, 0x36, 0x56, 0xb5, 0x61, 0x97,
1916 0x9e, 0x74, 0x69, 0x57, 0x6b, 0x77, 0xc7, 0xef, 0x5b, 0x54, 0x53, 0xb5, 0x9e, 0x54, 0x21, 0x7b,
1917 0xb0, 0xcb, 0x5d, 0x6f, 0x0f, 0xd5, 0xf3, 0xd6, 0x10, 0x19, 0x63, 0x35, 0x55, 0x22, 0xf3, 0xe6,
1918 0x1c, 0x0f, 0xa8, 0xde, 0xee, 0x1a, 0x06, 0xc6, 0xdb, 0xa5, 0x54, 0xa7, 0x12, 0x90, 0x03, 0xd8,
1919 0x4f, 0xfb, 0x75, 0xda, 0xfd, 0x30, 0x36, 0x3e, 0x68, 0xed, 0x44, 0xb6, 0x46, 0x76, 0x60, 0x1b,
1920 0x39, 0xd4, 0xe1, 0x68, 0x3c, 0xd0, 0x35, 0xcc, 0xc5, 0xd0, 0x90, 0xb6, 0xc8, 0x36, 0xd4, 0x93,
1921 0x4c, 0xa1, 0xb8, 0x54, 0x5f, 0x86, 0x8e, 0xa5, 0x46, 0x1c, 0x58, 0x0c, 0x0d, 0xda, 0x63, 0x8c,
1922 0x42, 0x6a, 0xc6, 0xf9, 0xc8, 0x2c, 0xb4, 0x85, 0x57, 0x12, 0x21, 0xd0, 0x48, 0xaf, 0x9e, 0xa8,
1923 0xd2, 0x36, 0xf9, 0x0a, 0x9a, 0x69, 0xac, 0x75, 0xa6, 0x4a, 0x44, 0x79, 0x03, 0x0d, 0x5e, 0xdf,
1924 0x81, 0xe9, 0x9b, 0x53, 0x16, 0x32, 0x9f, 0x48, 0x50, 0x38, 0x65, 0x77, 0xa2, 0x4d, 0xf0, 0x13,
1925 0x5b, 0xe3, 0xdc, 0x74, 0xe6, 0xf1, 0x95, 0x35, 0x22, 0x94, 0xbf, 0xe7, 0xb8, 0x3e, 0x2e, 0x9d,
1926 0x6a, 0xcd, 0xa4, 0x5b, 0x84, 0x86, 0x05, 0xf0, 0xa0, 0x3b, 0xc5, 0x2e, 0x6c, 0xe2, 0x90, 0x98,
1927 0x07, 0x62, 0xa4, 0x0a, 0x8a, 0xfc, 0x04, 0x90, 0xb8, 0x18, 0xc8, 0x45, 0xbe, 0xb7, 0x76, 0xc4,
1928 0xde, 0xca, 0x06, 0x40, 0x53, 0x8c, 0xca, 0x47, 0x68, 0xea, 0xfd, 0x61, 0xc6, 0xc7, 0x03, 0xa8,
1929 0xf1, 0x61, 0x75, 0x69, 0x4e, 0x98, 0x38, 0xd0, 0xea, 0x34, 0x0d, 0x25, 0x33, 0x0e, 0x49, 0x1e,
1930 0x49, 0x3e, 0x35, 0xe3, 0x62, 0xf0, 0x3e, 0x4f, 0xf1, 0x7a, 0x5b, 0x3f, 0x67, 0x7e, 0x60, 0x7b,
1931 0xae, 0x88, 0x49, 0x86, 0xf2, 0x4d, 0x04, 0x88, 0x9c, 0xc4, 0x24, 0xe6, 0xeb, 0x62, 0x6e, 0x3b,
1932 0xd6, 0xd0, 0x9e, 0x26, 0x0f, 0x82, 0x04, 0xc0, 0x49, 0x3d, 0xe1, 0x67, 0xf6, 0x3b, 0x33, 0xb8,
1933 0x16, 0x56, 0x52, 0x08, 0x4a, 0x5f, 0xd9, 0xa1, 0x70, 0x22, 0xba, 0x5d, 0x2d, 0x00, 0xe5, 0x0d,
1934 0x54, 0xfa, 0xde, 0x55, 0x9f, 0xdd, 0x30, 0x07, 0x2b, 0xe8, 0xe0, 0x87, 0xb0, 0x1f, 0x11, 0x18,
1935 0xc1, 0xc4, 0x74, 0x1c, 0x51, 0x89, 0x0a, 0x15, 0x94, 0xd2, 0x85, 0x0a, 0x65, 0xc1, 0xcc, 0x73,
1936 0x03, 0x46, 0x9e, 0x40, 0x2d, 0xe0, 0xfa, 0xc6, 0x13, 0xcf, 0x62, 0xe2, 0xf8, 0x87, 0x08, 0x6a,
1937 0x7b, 0x16, 0xc3, 0xe0, 0xa6, 0x2c, 0x08, 0xcc, 0xab, 0x38, 0x80, 0x98, 0x54, 0xfe, 0x96, 0x83,
1938 0x1a, 0x9e, 0x45, 0x71, 0xe2, 0x9f, 0xc1, 0xa6, 0xee, 0xce, 0x29, 0xfb, 0x28, 0xe6, 0xf7, 0x76,
1939 0x6a, 0xec, 0x46, 0x2c, 0x54, 0x30, 0x90, 0xb7, 0xb0, 0x65, 0xcc, 0x2f, 0x5a, 0xfc, 0x2e, 0x74,
1940 0x6e, 0x3a, 0x5c, 0x73, 0x23, 0xa9, 0x77, 0xb2, 0xc4, 0x67, 0x11, 0xcd, 0xb0, 0x62, 0x93, 0xf5,
1941 0x7c, 0x6f, 0x3e, 0x8b, 0xcf, 0xec, 0x28, 0x6d, 0x19, 0x4c, 0x39, 0x85, 0x12, 0x5e, 0xa9, 0x03,
1942 0xf2, 0x0d, 0xc0, 0xa5, 0xe3, 0xdd, 0x8e, 0x27, 0xfc, 0xe5, 0x2b, 0x66, 0x29, 0x22, 0xd1, 0xbb,
1943 0xf7, 0x3b, 0x28, 0x21, 0x81, 0x07, 0x3f, 0xf6, 0x5b, 0xfd, 0x28, 0x7e, 0xba, 0xa3, 0x34, 0x8d,
1944 0xd6, 0x94, 0x27, 0x50, 0xc6, 0x6a, 0x79, 0xf3, 0x10, 0xd3, 0x6c, 0x31, 0xc7, 0xbc, 0x13, 0x9a,
1945 0x22, 0x42, 0x29, 0x43, 0xa9, 0x3b, 0x9d, 0x85, 0x77, 0xcf, 0xf7, 0xa1, 0x2c, 0x2e, 0x1f, 0x38,
1946 0x3f, 0xbb, 0xc3, 0x77, 0xd2, 0x06, 0xa9, 0x40, 0x71, 0xa0, 0x0f, 0x0d, 0x29, 0xf7, 0xfc, 0x25,
1947 0x34, 0xb2, 0x81, 0xe1, 0xda, 0x2f, 0xba, 0x8a, 0xcf, 0x98, 0x2a, 0x94, 0xfa, 0xdd, 0xd6, 0x79,
1948 0x57, 0xca, 0x11, 0x80, 0x4d, 0x04, 0xcf, 0x5f, 0x4b, 0xf9, 0x57, 0xbf, 0x6e, 0x41, 0xe9, 0xf8,
1949 0xd8, 0xb0, 0xa7, 0xe4, 0x05, 0x94, 0x45, 0xcf, 0x91, 0x2d, 0x91, 0x25, 0x6e, 0x73, 0xef, 0x91,
1950 0xa0, 0x32, 0x1d, 0xa9, 0x6c, 0x90, 0x97, 0x50, 0x33, 0x58, 0x98, 0x34, 0x48, 0x53, 0xb0, 0xc5,
1951 0xc0, 0xde, 0x32, 0xa0, 0x6c, 0x90, 0xa7, 0xb0, 0xd9, 0x63, 0x21, 0xbe, 0x50, 0xb3, 0x26, 0x60,
1952 0xf1, 0xd4, 0x50, 0x36, 0xc8, 0x1f, 0x41, 0x8e, 0xb8, 0xd6, 0xbc, 0x53, 0x9e, 0x7c, 0xe6, 0x39,
1953 0xb7, 0xb7, 0xff, 0x09, 0x86, 0x40, 0xd9, 0x20, 0x3f, 0x00, 0x0c, 0xbc, 0x5b, 0xe6, 0x7b, 0xee,
1954 0xaa, 0x1b, 0xb1, 0xc7, 0x71, 0xeb, 0x2a, 0x1b, 0xe4, 0x08, 0x6a, 0xc6, 0xf5, 0x3c, 0xb4, 0xbc,
1955 0xdb, 0x87, 0xf1, 0xff, 0x16, 0xaa, 0x94, 0x5d, 0x78, 0x5e, 0xf8, 0x20, 0x6e, 0x2c, 0x58, 0xe8,
1956 0xcd, 0xae, 0xe8, 0xa0, 0x8d, 0x77, 0x01, 0xe6, 0x7f, 0x5e, 0xe4, 0x15, 0x34, 0x8d, 0xd0, 0xf4,
1957 0xc3, 0x2f, 0x91, 0xf9, 0x19, 0xb6, 0x29, 0x0b, 0x96, 0xa4, 0xe2, 0x4b, 0x88, 0xe8, 0xbc, 0x75,
1958 0x72, 0xcf, 0xa2, 0x72, 0x69, 0x23, 0xb2, 0xba, 0xd1, 0xf6, 0x52, 0x57, 0x1e, 0x65, 0x83, 0xfc,
1959 0x06, 0x2f, 0x8b, 0x21, 0xbf, 0x1a, 0x65, 0xdd, 0xa9, 0x2d, 0xd8, 0x30, 0xfd, 0xaf, 0xa1, 0xd6,
1960 0x63, 0x61, 0x72, 0x31, 0xda, 0x4e, 0xdd, 0x6d, 0x84, 0xde, 0x66, 0xf6, 0x72, 0x14, 0xf0, 0x22,
1961 0x00, 0x2a, 0x77, 0xe7, 0x23, 0xd7, 0x0e, 0xd6, 0xf9, 0x52, 0x5b, 0xa8, 0x11, 0x46, 0x92, 0xa2,
1962 0xad, 0x77, 0xfe, 0x9e, 0xc4, 0x0a, 0xa1, 0x96, 0xe3, 0xac, 0x89, 0x64, 0x8d, 0xcc, 0x5b, 0xd8,
1963 0x4e, 0x19, 0x0a, 0x74, 0x77, 0xa0, 0x6b, 0x89, 0xb9, 0xc5, 0x7d, 0x6b, 0xbd, 0xb9, 0xa4, 0x0f,
1964 0x1f, 0xec, 0xe2, 0x4b, 0x68, 0x08, 0x99, 0x07, 0x7b, 0xf8, 0x06, 0xa4, 0x85, 0x99, 0x2f, 0x72,
1965 0xf0, 0x77, 0xb0, 0x25, 0x9a, 0x26, 0x7a, 0x4a, 0x7c, 0xa2, 0x54, 0x29, 0xa9, 0xd7, 0x50, 0x13,
1966 0x52, 0xfc, 0x85, 0xf1, 0x30, 0xa1, 0x63, 0xd8, 0x31, 0x78, 0x7d, 0xf9, 0x29, 0xab, 0xba, 0x96,
1967 0x3d, 0x31, 0x71, 0x86, 0x91, 0xdd, 0x45, 0x5a, 0xd2, 0x07, 0xf0, 0x27, 0x74, 0xe0, 0xae, 0xbf,
1968 0x47, 0x47, 0xf6, 0x10, 0x5f, 0xa7, 0xe3, 0x07, 0xa8, 0xf4, 0x58, 0x18, 0xcd, 0xf5, 0x35, 0x15,
1969 0x89, 0x93, 0xcd, 0x19, 0x78, 0x6e, 0x9b, 0xed, 0x6b, 0xd3, 0xbd, 0x62, 0x78, 0x44, 0x45, 0xef,
1970 0x12, 0x22, 0x58, 0x52, 0x87, 0xd6, 0x3a, 0x43, 0xa7, 0xf0, 0x75, 0xd4, 0xd0, 0xab, 0x6f, 0x95,
1971 0x35, 0x76, 0x1f, 0x2f, 0xa0, 0x15, 0xfe, 0x64, 0xeb, 0xf1, 0xad, 0xb1, 0x7e, 0xeb, 0x89, 0x5d,
1972 0xf1, 0x13, 0xde, 0x49, 0x6e, 0x4c, 0xc7, 0xb6, 0xcc, 0x90, 0x9d, 0x59, 0xc1, 0xc3, 0x9a, 0xee,
1973 0xf8, 0xfb, 0x3f, 0x7c, 0x77, 0x65, 0x87, 0xd7, 0xf3, 0x8b, 0xa3, 0x89, 0x37, 0xe5, 0xff, 0x3c,
1974 0x4f, 0x3c, 0xdf, 0x12, 0x7f, 0x55, 0x27, 0x7f, 0x5a, 0x5f, 0x6c, 0xf2, 0x7f, 0x9a, 0x5f, 0xff,
1975 0x2f, 0x00, 0x00, 0xff, 0xff, 0x55, 0x04, 0x3c, 0x13, 0xc8, 0x16, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001976}
1977
1978// Reference imports to suppress errors if they are not otherwise used.
1979var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001980var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001981
1982// This is a compile-time assertion to ensure that this generated file
1983// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001984const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001985
1986// BBSimClient is the client API for BBSim service.
1987//
1988// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1989type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001990 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001991 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001992 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301993 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001994 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001995 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001996 GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001997 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001998 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001999 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002000 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002001 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002002 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002003 // Closes the Openolt gRPC server
2004 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
2005 // Start the Openolt gRPC server
2006 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302007 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002008 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002009 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002010 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002011 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302012 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002013 // Get all the Services by Uni ID
2014 GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002015 // Get all the UNIs of an ONU by serial number
2016 GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002017 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002018 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002019 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302020 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002021 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302022 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002023 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002024 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002025 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302026 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002027 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302028 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002029 // Restart EAPOL for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002030 RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002031 // Restart DHCP for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002032 RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002033 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302034 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002035 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302036 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002037 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302038 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002039 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002040 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002041 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302042 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002043 //Return all the UNIs for all the ONUs
2044 GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error)
Elia Battistonfe017662022-01-05 11:43:16 +01002045 //Invalidate the MDS counter for the ONU
2046 InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002047}
2048
2049type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04002050 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002051}
2052
Kent Hagerman60d62302020-03-10 17:02:36 -04002053func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002054 return &bBSimClient{cc}
2055}
2056
2057func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
2058 out := new(VersionNumber)
2059 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
2060 if err != nil {
2061 return nil, err
2062 }
2063 return out, nil
2064}
2065
Pragya Aryabd731ec2020-02-11 16:38:17 +05302066func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
2067 out := new(LogLevel)
2068 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
2069 if err != nil {
2070 return nil, err
2071 }
2072 return out, nil
2073}
2074
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002075func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
2076 out := new(Olt)
2077 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
2078 if err != nil {
2079 return nil, err
2080 }
2081 return out, nil
2082}
2083
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002084func (c *bBSimClient) GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) {
2085 out := new(OltAllocatedResources)
2086 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOltAllocatedResources", in, out, opts...)
2087 if err != nil {
2088 return nil, err
2089 }
2090 return out, nil
2091}
2092
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002093func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2094 out := new(Response)
2095 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
2096 if err != nil {
2097 return nil, err
2098 }
2099 return out, nil
2100}
2101
2102func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2103 out := new(Response)
2104 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
2105 if err != nil {
2106 return nil, err
2107 }
2108 return out, nil
2109}
2110
2111func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2112 out := new(Response)
2113 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
2114 if err != nil {
2115 return nil, err
2116 }
2117 return out, nil
2118}
2119
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002120func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2121 out := new(Response)
2122 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
2123 if err != nil {
2124 return nil, err
2125 }
2126 return out, nil
2127}
2128
2129func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2130 out := new(Response)
2131 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
2132 if err != nil {
2133 return nil, err
2134 }
2135 return out, nil
2136}
2137
2138func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
2139 out := new(Response)
2140 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
2141 if err != nil {
2142 return nil, err
2143 }
2144 return out, nil
2145}
2146
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002147func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
2148 out := new(ONU)
2149 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
2150 if err != nil {
2151 return nil, err
2152 }
2153 return out, nil
2154}
2155
Pragya Aryabd731ec2020-02-11 16:38:17 +05302156func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
2157 out := new(ONUs)
2158 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002159 if err != nil {
2160 return nil, err
2161 }
2162 return out, nil
2163}
2164
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002165func (c *bBSimClient) GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002166 out := new(Services)
2167 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
2168 if err != nil {
2169 return nil, err
2170 }
2171 return out, nil
2172}
2173
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002174func (c *bBSimClient) GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error) {
2175 out := new(UNIs)
2176 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuUnis", in, out, opts...)
2177 if err != nil {
2178 return nil, err
2179 }
2180 return out, nil
2181}
2182
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002183func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2184 out := new(Response)
2185 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
2186 if err != nil {
2187 return nil, err
2188 }
2189 return out, nil
2190}
2191
Pragya Aryabd731ec2020-02-11 16:38:17 +05302192func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2193 out := new(Response)
2194 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
2195 if err != nil {
2196 return nil, err
2197 }
2198 return out, nil
2199}
2200
2201func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2202 out := new(Response)
2203 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
2204 if err != nil {
2205 return nil, err
2206 }
2207 return out, nil
2208}
2209
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002210func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2211 out := new(Response)
2212 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
2213 if err != nil {
2214 return nil, err
2215 }
2216 return out, nil
2217}
2218
Pragya Aryabd731ec2020-02-11 16:38:17 +05302219func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2220 out := new(Response)
2221 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
2222 if err != nil {
2223 return nil, err
2224 }
2225 return out, nil
2226}
2227
2228func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2229 out := new(Response)
2230 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
2231 if err != nil {
2232 return nil, err
2233 }
2234 return out, nil
2235}
2236
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002237func (c *bBSimClient) RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002238 out := new(Response)
2239 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
2240 if err != nil {
2241 return nil, err
2242 }
2243 return out, nil
2244}
2245
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002246func (c *bBSimClient) RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002247 out := new(Response)
2248 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
2249 if err != nil {
2250 return nil, err
2251 }
2252 return out, nil
2253}
2254
Anand S Katti86552f92020-03-03 21:56:32 +05302255func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08002256 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05302257 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
2258 if err != nil {
2259 return nil, err
2260 }
2261 return out, nil
2262}
2263
2264func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
2265 out := new(Response)
2266 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08002267 if err != nil {
2268 return nil, err
2269 }
2270 return out, nil
2271}
2272
Pragya Arya8bdb4532020-03-02 17:08:09 +05302273func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
2274 out := new(Flows)
2275 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
2276 if err != nil {
2277 return nil, err
2278 }
2279 return out, nil
2280}
2281
Arjun E K57a7fcb2020-01-30 06:44:45 +00002282func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
2283 out := new(Response)
2284 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
2285 if err != nil {
2286 return nil, err
2287 }
2288 return out, nil
2289}
2290
Anand S Katti09541352020-01-29 15:54:01 +05302291func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
2292 out := new(ONUTrafficSchedulers)
2293 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
2294 if err != nil {
2295 return nil, err
2296 }
2297 return out, nil
2298}
2299
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002300func (c *bBSimClient) GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error) {
2301 out := new(UNIs)
2302 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetUnis", in, out, opts...)
2303 if err != nil {
2304 return nil, err
2305 }
2306 return out, nil
2307}
2308
Elia Battistonfe017662022-01-05 11:43:16 +01002309func (c *bBSimClient) InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2310 out := new(Response)
2311 err := c.cc.Invoke(ctx, "/bbsim.BBSim/InvalidateMds", in, out, opts...)
2312 if err != nil {
2313 return nil, err
2314 }
2315 return out, nil
2316}
2317
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002318// BBSimServer is the server API for BBSim service.
2319type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002320 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002321 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002322 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302323 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002324 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002325 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002326 GetOltAllocatedResources(context.Context, *OltAllocatedResourceType) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002327 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002328 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002329 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002330 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002331 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002332 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002333 // Closes the Openolt gRPC server
2334 StopgRPCServer(context.Context, *Empty) (*Response, error)
2335 // Start the Openolt gRPC server
2336 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302337 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002338 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002339 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002340 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002341 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302342 GetONUs(context.Context, *Empty) (*ONUs, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002343 // Get all the Services by Uni ID
2344 GetServices(context.Context, *UNIRequest) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002345 // Get all the UNIs of an ONU by serial number
2346 GetOnuUnis(context.Context, *ONURequest) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002347 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002348 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002349 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302350 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002351 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302352 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002353 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002354 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002355 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302356 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002357 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302358 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002359 // Restart EAPOL for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002360 RestartEapol(context.Context, *UNIRequest) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002361 // Restart DHCP for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002362 RestartDhcp(context.Context, *UNIRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002363 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302364 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002365 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302366 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002367 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302368 GetFlows(context.Context, *ONURequest) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002369 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002370 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002371 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302372 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002373 //Return all the UNIs for all the ONUs
2374 GetUnis(context.Context, *Empty) (*UNIs, error)
Elia Battistonfe017662022-01-05 11:43:16 +01002375 //Invalidate the MDS counter for the ONU
2376 InvalidateMds(context.Context, *ONURequest) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002377}
2378
Pragya Aryabd731ec2020-02-11 16:38:17 +05302379// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
2380type UnimplementedBBSimServer struct {
2381}
2382
2383func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
2384 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
2385}
2386func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
2387 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2388}
2389func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
2390 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
2391}
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002392func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error) {
2393 return nil, status.Errorf(codes.Unimplemented, "method GetOltAllocatedResources not implemented")
2394}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302395func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
2396 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
2397}
2398func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
2399 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
2400}
2401func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
2402 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
2403}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002404func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2405 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
2406}
2407func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2408 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
2409}
2410func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
2411 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
2412}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302413func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
2414 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
2415}
2416func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
2417 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
2418}
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002419func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *UNIRequest) (*Services, error) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002420 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
2421}
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002422func (*UnimplementedBBSimServer) GetOnuUnis(ctx context.Context, req *ONURequest) (*UNIs, error) {
2423 return nil, status.Errorf(codes.Unimplemented, "method GetOnuUnis not implemented")
2424}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302425func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
2426 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
2427}
2428func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2429 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
2430}
2431func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2432 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
2433}
2434func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
2435 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
2436}
2437func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2438 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
2439}
2440func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2441 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
2442}
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002443func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *UNIRequest) (*Response, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302444 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
2445}
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002446func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *UNIRequest) (*Response, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302447 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
2448}
2449func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
2450 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
2451}
2452func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
2453 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
2454}
2455func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
2456 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
2457}
2458func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
2459 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
2460}
2461func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
2462 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
2463}
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002464func (*UnimplementedBBSimServer) GetUnis(ctx context.Context, req *Empty) (*UNIs, error) {
2465 return nil, status.Errorf(codes.Unimplemented, "method GetUnis not implemented")
2466}
Elia Battistonfe017662022-01-05 11:43:16 +01002467func (*UnimplementedBBSimServer) InvalidateMds(ctx context.Context, req *ONURequest) (*Response, error) {
2468 return nil, status.Errorf(codes.Unimplemented, "method InvalidateMds not implemented")
2469}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302470
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002471func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
2472 s.RegisterService(&_BBSim_serviceDesc, srv)
2473}
2474
2475func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2476 in := new(Empty)
2477 if err := dec(in); err != nil {
2478 return nil, err
2479 }
2480 if interceptor == nil {
2481 return srv.(BBSimServer).Version(ctx, in)
2482 }
2483 info := &grpc.UnaryServerInfo{
2484 Server: srv,
2485 FullMethod: "/bbsim.BBSim/Version",
2486 }
2487 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2488 return srv.(BBSimServer).Version(ctx, req.(*Empty))
2489 }
2490 return interceptor(ctx, in, info, handler)
2491}
2492
Pragya Aryabd731ec2020-02-11 16:38:17 +05302493func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2494 in := new(LogLevel)
2495 if err := dec(in); err != nil {
2496 return nil, err
2497 }
2498 if interceptor == nil {
2499 return srv.(BBSimServer).SetLogLevel(ctx, in)
2500 }
2501 info := &grpc.UnaryServerInfo{
2502 Server: srv,
2503 FullMethod: "/bbsim.BBSim/SetLogLevel",
2504 }
2505 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2506 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
2507 }
2508 return interceptor(ctx, in, info, handler)
2509}
2510
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002511func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2512 in := new(Empty)
2513 if err := dec(in); err != nil {
2514 return nil, err
2515 }
2516 if interceptor == nil {
2517 return srv.(BBSimServer).GetOlt(ctx, in)
2518 }
2519 info := &grpc.UnaryServerInfo{
2520 Server: srv,
2521 FullMethod: "/bbsim.BBSim/GetOlt",
2522 }
2523 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2524 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
2525 }
2526 return interceptor(ctx, in, info, handler)
2527}
2528
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002529func _BBSim_GetOltAllocatedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2530 in := new(OltAllocatedResourceType)
2531 if err := dec(in); err != nil {
2532 return nil, err
2533 }
2534 if interceptor == nil {
2535 return srv.(BBSimServer).GetOltAllocatedResources(ctx, in)
2536 }
2537 info := &grpc.UnaryServerInfo{
2538 Server: srv,
2539 FullMethod: "/bbsim.BBSim/GetOltAllocatedResources",
2540 }
2541 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2542 return srv.(BBSimServer).GetOltAllocatedResources(ctx, req.(*OltAllocatedResourceType))
2543 }
2544 return interceptor(ctx, in, info, handler)
2545}
2546
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002547func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2548 in := new(Empty)
2549 if err := dec(in); err != nil {
2550 return nil, err
2551 }
2552 if interceptor == nil {
2553 return srv.(BBSimServer).PoweronOlt(ctx, in)
2554 }
2555 info := &grpc.UnaryServerInfo{
2556 Server: srv,
2557 FullMethod: "/bbsim.BBSim/PoweronOlt",
2558 }
2559 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2560 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
2561 }
2562 return interceptor(ctx, in, info, handler)
2563}
2564
2565func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2566 in := new(Empty)
2567 if err := dec(in); err != nil {
2568 return nil, err
2569 }
2570 if interceptor == nil {
2571 return srv.(BBSimServer).ShutdownOlt(ctx, in)
2572 }
2573 info := &grpc.UnaryServerInfo{
2574 Server: srv,
2575 FullMethod: "/bbsim.BBSim/ShutdownOlt",
2576 }
2577 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2578 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
2579 }
2580 return interceptor(ctx, in, info, handler)
2581}
2582
2583func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2584 in := new(Empty)
2585 if err := dec(in); err != nil {
2586 return nil, err
2587 }
2588 if interceptor == nil {
2589 return srv.(BBSimServer).RebootOlt(ctx, in)
2590 }
2591 info := &grpc.UnaryServerInfo{
2592 Server: srv,
2593 FullMethod: "/bbsim.BBSim/RebootOlt",
2594 }
2595 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2596 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
2597 }
2598 return interceptor(ctx, in, info, handler)
2599}
2600
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002601func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2602 in := new(Empty)
2603 if err := dec(in); err != nil {
2604 return nil, err
2605 }
2606 if interceptor == nil {
2607 return srv.(BBSimServer).StopgRPCServer(ctx, in)
2608 }
2609 info := &grpc.UnaryServerInfo{
2610 Server: srv,
2611 FullMethod: "/bbsim.BBSim/StopgRPCServer",
2612 }
2613 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2614 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
2615 }
2616 return interceptor(ctx, in, info, handler)
2617}
2618
2619func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2620 in := new(Empty)
2621 if err := dec(in); err != nil {
2622 return nil, err
2623 }
2624 if interceptor == nil {
2625 return srv.(BBSimServer).StartgRPCServer(ctx, in)
2626 }
2627 info := &grpc.UnaryServerInfo{
2628 Server: srv,
2629 FullMethod: "/bbsim.BBSim/StartgRPCServer",
2630 }
2631 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2632 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
2633 }
2634 return interceptor(ctx, in, info, handler)
2635}
2636
2637func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2638 in := new(Timeout)
2639 if err := dec(in); err != nil {
2640 return nil, err
2641 }
2642 if interceptor == nil {
2643 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
2644 }
2645 info := &grpc.UnaryServerInfo{
2646 Server: srv,
2647 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2648 }
2649 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2650 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2651 }
2652 return interceptor(ctx, in, info, handler)
2653}
2654
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002655func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2656 in := new(ONURequest)
2657 if err := dec(in); err != nil {
2658 return nil, err
2659 }
2660 if interceptor == nil {
2661 return srv.(BBSimServer).GetONU(ctx, in)
2662 }
2663 info := &grpc.UnaryServerInfo{
2664 Server: srv,
2665 FullMethod: "/bbsim.BBSim/GetONU",
2666 }
2667 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2668 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2669 }
2670 return interceptor(ctx, in, info, handler)
2671}
2672
Pragya Aryabd731ec2020-02-11 16:38:17 +05302673func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2674 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002675 if err := dec(in); err != nil {
2676 return nil, err
2677 }
2678 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302679 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002680 }
2681 info := &grpc.UnaryServerInfo{
2682 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302683 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002684 }
2685 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302686 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002687 }
2688 return interceptor(ctx, in, info, handler)
2689}
2690
Matteo Scandolo4a036262020-08-17 15:56:13 -07002691func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002692 in := new(UNIRequest)
Matteo Scandolo4a036262020-08-17 15:56:13 -07002693 if err := dec(in); err != nil {
2694 return nil, err
2695 }
2696 if interceptor == nil {
2697 return srv.(BBSimServer).GetServices(ctx, in)
2698 }
2699 info := &grpc.UnaryServerInfo{
2700 Server: srv,
2701 FullMethod: "/bbsim.BBSim/GetServices",
2702 }
2703 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002704 return srv.(BBSimServer).GetServices(ctx, req.(*UNIRequest))
Matteo Scandolo4a036262020-08-17 15:56:13 -07002705 }
2706 return interceptor(ctx, in, info, handler)
2707}
2708
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002709func _BBSim_GetOnuUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2710 in := new(ONURequest)
2711 if err := dec(in); err != nil {
2712 return nil, err
2713 }
2714 if interceptor == nil {
2715 return srv.(BBSimServer).GetOnuUnis(ctx, in)
2716 }
2717 info := &grpc.UnaryServerInfo{
2718 Server: srv,
2719 FullMethod: "/bbsim.BBSim/GetOnuUnis",
2720 }
2721 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2722 return srv.(BBSimServer).GetOnuUnis(ctx, req.(*ONURequest))
2723 }
2724 return interceptor(ctx, in, info, handler)
2725}
2726
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002727func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2728 in := new(ONURequest)
2729 if err := dec(in); err != nil {
2730 return nil, err
2731 }
2732 if interceptor == nil {
2733 return srv.(BBSimServer).ShutdownONU(ctx, in)
2734 }
2735 info := &grpc.UnaryServerInfo{
2736 Server: srv,
2737 FullMethod: "/bbsim.BBSim/ShutdownONU",
2738 }
2739 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2740 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2741 }
2742 return interceptor(ctx, in, info, handler)
2743}
2744
Pragya Aryabd731ec2020-02-11 16:38:17 +05302745func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2746 in := new(Empty)
2747 if err := dec(in); err != nil {
2748 return nil, err
2749 }
2750 if interceptor == nil {
2751 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2752 }
2753 info := &grpc.UnaryServerInfo{
2754 Server: srv,
2755 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2756 }
2757 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2758 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2759 }
2760 return interceptor(ctx, in, info, handler)
2761}
2762
2763func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2764 in := new(PONRequest)
2765 if err := dec(in); err != nil {
2766 return nil, err
2767 }
2768 if interceptor == nil {
2769 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2770 }
2771 info := &grpc.UnaryServerInfo{
2772 Server: srv,
2773 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2774 }
2775 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2776 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2777 }
2778 return interceptor(ctx, in, info, handler)
2779}
2780
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002781func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2782 in := new(ONURequest)
2783 if err := dec(in); err != nil {
2784 return nil, err
2785 }
2786 if interceptor == nil {
2787 return srv.(BBSimServer).PoweronONU(ctx, in)
2788 }
2789 info := &grpc.UnaryServerInfo{
2790 Server: srv,
2791 FullMethod: "/bbsim.BBSim/PoweronONU",
2792 }
2793 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2794 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2795 }
2796 return interceptor(ctx, in, info, handler)
2797}
2798
Pragya Aryabd731ec2020-02-11 16:38:17 +05302799func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2800 in := new(Empty)
2801 if err := dec(in); err != nil {
2802 return nil, err
2803 }
2804 if interceptor == nil {
2805 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2806 }
2807 info := &grpc.UnaryServerInfo{
2808 Server: srv,
2809 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2810 }
2811 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2812 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2813 }
2814 return interceptor(ctx, in, info, handler)
2815}
2816
2817func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2818 in := new(PONRequest)
2819 if err := dec(in); err != nil {
2820 return nil, err
2821 }
2822 if interceptor == nil {
2823 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2824 }
2825 info := &grpc.UnaryServerInfo{
2826 Server: srv,
2827 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2828 }
2829 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2830 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2831 }
2832 return interceptor(ctx, in, info, handler)
2833}
2834
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002835func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002836 in := new(UNIRequest)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002837 if err := dec(in); err != nil {
2838 return nil, err
2839 }
2840 if interceptor == nil {
2841 return srv.(BBSimServer).RestartEapol(ctx, in)
2842 }
2843 info := &grpc.UnaryServerInfo{
2844 Server: srv,
2845 FullMethod: "/bbsim.BBSim/RestartEapol",
2846 }
2847 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002848 return srv.(BBSimServer).RestartEapol(ctx, req.(*UNIRequest))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002849 }
2850 return interceptor(ctx, in, info, handler)
2851}
2852
2853func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002854 in := new(UNIRequest)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002855 if err := dec(in); err != nil {
2856 return nil, err
2857 }
2858 if interceptor == nil {
2859 return srv.(BBSimServer).RestartDhcp(ctx, in)
2860 }
2861 info := &grpc.UnaryServerInfo{
2862 Server: srv,
2863 FullMethod: "/bbsim.BBSim/RestartDhcp",
2864 }
2865 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002866 return srv.(BBSimServer).RestartDhcp(ctx, req.(*UNIRequest))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002867 }
2868 return interceptor(ctx, in, info, handler)
2869}
2870
Anand S Katti86552f92020-03-03 21:56:32 +05302871func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2872 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002873 if err := dec(in); err != nil {
2874 return nil, err
2875 }
2876 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302877 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002878 }
2879 info := &grpc.UnaryServerInfo{
2880 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302881 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002882 }
2883 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302884 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2885 }
2886 return interceptor(ctx, in, info, handler)
2887}
2888
2889func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2890 in := new(OLTAlarmRequest)
2891 if err := dec(in); err != nil {
2892 return nil, err
2893 }
2894 if interceptor == nil {
2895 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2896 }
2897 info := &grpc.UnaryServerInfo{
2898 Server: srv,
2899 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2900 }
2901 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2902 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002903 }
2904 return interceptor(ctx, in, info, handler)
2905}
2906
Pragya Arya8bdb4532020-03-02 17:08:09 +05302907func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2908 in := new(ONURequest)
2909 if err := dec(in); err != nil {
2910 return nil, err
2911 }
2912 if interceptor == nil {
2913 return srv.(BBSimServer).GetFlows(ctx, in)
2914 }
2915 info := &grpc.UnaryServerInfo{
2916 Server: srv,
2917 FullMethod: "/bbsim.BBSim/GetFlows",
2918 }
2919 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2920 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2921 }
2922 return interceptor(ctx, in, info, handler)
2923}
2924
Arjun E K57a7fcb2020-01-30 06:44:45 +00002925func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2926 in := new(IgmpRequest)
2927 if err := dec(in); err != nil {
2928 return nil, err
2929 }
2930 if interceptor == nil {
2931 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2932 }
2933 info := &grpc.UnaryServerInfo{
2934 Server: srv,
2935 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2936 }
2937 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2938 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2939 }
2940 return interceptor(ctx, in, info, handler)
2941}
2942
Anand S Katti09541352020-01-29 15:54:01 +05302943func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2944 in := new(ONURequest)
2945 if err := dec(in); err != nil {
2946 return nil, err
2947 }
2948 if interceptor == nil {
2949 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2950 }
2951 info := &grpc.UnaryServerInfo{
2952 Server: srv,
2953 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2954 }
2955 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2956 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2957 }
2958 return interceptor(ctx, in, info, handler)
2959}
2960
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002961func _BBSim_GetUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2962 in := new(Empty)
2963 if err := dec(in); err != nil {
2964 return nil, err
2965 }
2966 if interceptor == nil {
2967 return srv.(BBSimServer).GetUnis(ctx, in)
2968 }
2969 info := &grpc.UnaryServerInfo{
2970 Server: srv,
2971 FullMethod: "/bbsim.BBSim/GetUnis",
2972 }
2973 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2974 return srv.(BBSimServer).GetUnis(ctx, req.(*Empty))
2975 }
2976 return interceptor(ctx, in, info, handler)
2977}
2978
Elia Battistonfe017662022-01-05 11:43:16 +01002979func _BBSim_InvalidateMds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2980 in := new(ONURequest)
2981 if err := dec(in); err != nil {
2982 return nil, err
2983 }
2984 if interceptor == nil {
2985 return srv.(BBSimServer).InvalidateMds(ctx, in)
2986 }
2987 info := &grpc.UnaryServerInfo{
2988 Server: srv,
2989 FullMethod: "/bbsim.BBSim/InvalidateMds",
2990 }
2991 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2992 return srv.(BBSimServer).InvalidateMds(ctx, req.(*ONURequest))
2993 }
2994 return interceptor(ctx, in, info, handler)
2995}
2996
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002997var _BBSim_serviceDesc = grpc.ServiceDesc{
2998 ServiceName: "bbsim.BBSim",
2999 HandlerType: (*BBSimServer)(nil),
3000 Methods: []grpc.MethodDesc{
3001 {
3002 MethodName: "Version",
3003 Handler: _BBSim_Version_Handler,
3004 },
3005 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303006 MethodName: "SetLogLevel",
3007 Handler: _BBSim_SetLogLevel_Handler,
3008 },
3009 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003010 MethodName: "GetOlt",
3011 Handler: _BBSim_GetOlt_Handler,
3012 },
3013 {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08003014 MethodName: "GetOltAllocatedResources",
3015 Handler: _BBSim_GetOltAllocatedResources_Handler,
3016 },
3017 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01003018 MethodName: "PoweronOlt",
3019 Handler: _BBSim_PoweronOlt_Handler,
3020 },
3021 {
3022 MethodName: "ShutdownOlt",
3023 Handler: _BBSim_ShutdownOlt_Handler,
3024 },
3025 {
3026 MethodName: "RebootOlt",
3027 Handler: _BBSim_RebootOlt_Handler,
3028 },
3029 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08003030 MethodName: "StopgRPCServer",
3031 Handler: _BBSim_StopgRPCServer_Handler,
3032 },
3033 {
3034 MethodName: "StartgRPCServer",
3035 Handler: _BBSim_StartgRPCServer_Handler,
3036 },
3037 {
3038 MethodName: "RestartgRPCServer",
3039 Handler: _BBSim_RestartgRPCServer_Handler,
3040 },
3041 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003042 MethodName: "GetONU",
3043 Handler: _BBSim_GetONU_Handler,
3044 },
3045 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303046 MethodName: "GetONUs",
3047 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003048 },
3049 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07003050 MethodName: "GetServices",
3051 Handler: _BBSim_GetServices_Handler,
3052 },
3053 {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07003054 MethodName: "GetOnuUnis",
3055 Handler: _BBSim_GetOnuUnis_Handler,
3056 },
3057 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003058 MethodName: "ShutdownONU",
3059 Handler: _BBSim_ShutdownONU_Handler,
3060 },
3061 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303062 MethodName: "ShutdownAllONUs",
3063 Handler: _BBSim_ShutdownAllONUs_Handler,
3064 },
3065 {
3066 MethodName: "ShutdownONUsOnPON",
3067 Handler: _BBSim_ShutdownONUsOnPON_Handler,
3068 },
3069 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003070 MethodName: "PoweronONU",
3071 Handler: _BBSim_PoweronONU_Handler,
3072 },
3073 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303074 MethodName: "PoweronAllONUs",
3075 Handler: _BBSim_PoweronAllONUs_Handler,
3076 },
3077 {
3078 MethodName: "PoweronONUsOnPON",
3079 Handler: _BBSim_PoweronONUsOnPON_Handler,
3080 },
3081 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003082 MethodName: "RestartEapol",
3083 Handler: _BBSim_RestartEapol_Handler,
3084 },
3085 {
3086 MethodName: "RestartDhcp",
3087 Handler: _BBSim_RestartDhcp_Handler,
3088 },
Scott Baker41724b82020-01-21 19:54:53 -08003089 {
Anand S Katti86552f92020-03-03 21:56:32 +05303090 MethodName: "SetOnuAlarmIndication",
3091 Handler: _BBSim_SetOnuAlarmIndication_Handler,
3092 },
3093 {
3094 MethodName: "SetOltAlarmIndication",
3095 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08003096 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00003097 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05303098 MethodName: "GetFlows",
3099 Handler: _BBSim_GetFlows_Handler,
3100 },
3101 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00003102 MethodName: "ChangeIgmpState",
3103 Handler: _BBSim_ChangeIgmpState_Handler,
3104 },
Anand S Katti09541352020-01-29 15:54:01 +05303105 {
3106 MethodName: "GetOnuTrafficSchedulers",
3107 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
3108 },
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07003109 {
3110 MethodName: "GetUnis",
3111 Handler: _BBSim_GetUnis_Handler,
3112 },
Elia Battistonfe017662022-01-05 11:43:16 +01003113 {
3114 MethodName: "InvalidateMds",
3115 Handler: _BBSim_InvalidateMds_Handler,
3116 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003117 },
3118 Streams: []grpc.StreamDesc{},
3119 Metadata: "api/bbsim/bbsim.proto",
3120}