blob: b31a4dbc727a979d3ce9cdd0450bcb37da8cabee [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"`
Elia Battistonb7bea222022-02-18 16:25:00 +0100200 Technology string `protobuf:"bytes,8,opt,name=Technology,proto3" json:"Technology,omitempty"`
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800201 XXX_NoUnkeyedLiteral struct{} `json:"-"`
202 XXX_unrecognized []byte `json:"-"`
203 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700204}
205
206func (m *PONPort) Reset() { *m = PONPort{} }
207func (m *PONPort) String() string { return proto.CompactTextString(m) }
208func (*PONPort) ProtoMessage() {}
209func (*PONPort) Descriptor() ([]byte, []int) {
210 return fileDescriptor_ef7750073d18011b, []int{0}
211}
212
213func (m *PONPort) XXX_Unmarshal(b []byte) error {
214 return xxx_messageInfo_PONPort.Unmarshal(m, b)
215}
216func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
217 return xxx_messageInfo_PONPort.Marshal(b, m, deterministic)
218}
219func (m *PONPort) XXX_Merge(src proto.Message) {
220 xxx_messageInfo_PONPort.Merge(m, src)
221}
222func (m *PONPort) XXX_Size() int {
223 return xxx_messageInfo_PONPort.Size(m)
224}
225func (m *PONPort) XXX_DiscardUnknown() {
226 xxx_messageInfo_PONPort.DiscardUnknown(m)
227}
228
229var xxx_messageInfo_PONPort proto.InternalMessageInfo
230
231func (m *PONPort) GetID() int32 {
232 if m != nil {
233 return m.ID
234 }
235 return 0
236}
237
238func (m *PONPort) GetOperState() string {
239 if m != nil {
240 return m.OperState
241 }
242 return ""
243}
244
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800245func (m *PONPort) GetInternalState() string {
246 if m != nil {
247 return m.InternalState
248 }
249 return ""
250}
251
252func (m *PONPort) GetPacketCount() uint64 {
253 if m != nil {
254 return m.PacketCount
255 }
256 return 0
257}
258
259func (m *PONPort) GetAllocatedOnuIds() []*PonAllocatedResources {
260 if m != nil {
261 return m.AllocatedOnuIds
262 }
263 return nil
264}
265
266func (m *PONPort) GetAllocatedGemPorts() []*PonAllocatedResources {
267 if m != nil {
268 return m.AllocatedGemPorts
269 }
270 return nil
271}
272
273func (m *PONPort) GetAllocatedAllocIds() []*PonAllocatedResources {
274 if m != nil {
275 return m.AllocatedAllocIds
276 }
277 return nil
278}
279
Elia Battistonb7bea222022-02-18 16:25:00 +0100280func (m *PONPort) GetTechnology() string {
281 if m != nil {
282 return m.Technology
283 }
284 return ""
285}
286
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800287type PonAllocatedResources struct {
288 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
289 Id int32 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"`
290 XXX_NoUnkeyedLiteral struct{} `json:"-"`
291 XXX_unrecognized []byte `json:"-"`
292 XXX_sizecache int32 `json:"-"`
293}
294
295func (m *PonAllocatedResources) Reset() { *m = PonAllocatedResources{} }
296func (m *PonAllocatedResources) String() string { return proto.CompactTextString(m) }
297func (*PonAllocatedResources) ProtoMessage() {}
298func (*PonAllocatedResources) Descriptor() ([]byte, []int) {
299 return fileDescriptor_ef7750073d18011b, []int{1}
300}
301
302func (m *PonAllocatedResources) XXX_Unmarshal(b []byte) error {
303 return xxx_messageInfo_PonAllocatedResources.Unmarshal(m, b)
304}
305func (m *PonAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
306 return xxx_messageInfo_PonAllocatedResources.Marshal(b, m, deterministic)
307}
308func (m *PonAllocatedResources) XXX_Merge(src proto.Message) {
309 xxx_messageInfo_PonAllocatedResources.Merge(m, src)
310}
311func (m *PonAllocatedResources) XXX_Size() int {
312 return xxx_messageInfo_PonAllocatedResources.Size(m)
313}
314func (m *PonAllocatedResources) XXX_DiscardUnknown() {
315 xxx_messageInfo_PonAllocatedResources.DiscardUnknown(m)
316}
317
318var xxx_messageInfo_PonAllocatedResources proto.InternalMessageInfo
319
320func (m *PonAllocatedResources) GetSerialNumber() string {
321 if m != nil {
322 return m.SerialNumber
323 }
324 return ""
325}
326
327func (m *PonAllocatedResources) GetId() int32 {
328 if m != nil {
329 return m.Id
330 }
331 return 0
332}
333
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700334type NNIPort struct {
335 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
336 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
337 XXX_NoUnkeyedLiteral struct{} `json:"-"`
338 XXX_unrecognized []byte `json:"-"`
339 XXX_sizecache int32 `json:"-"`
340}
341
342func (m *NNIPort) Reset() { *m = NNIPort{} }
343func (m *NNIPort) String() string { return proto.CompactTextString(m) }
344func (*NNIPort) ProtoMessage() {}
345func (*NNIPort) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800346 return fileDescriptor_ef7750073d18011b, []int{2}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700347}
348
349func (m *NNIPort) XXX_Unmarshal(b []byte) error {
350 return xxx_messageInfo_NNIPort.Unmarshal(m, b)
351}
352func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
353 return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic)
354}
355func (m *NNIPort) XXX_Merge(src proto.Message) {
356 xxx_messageInfo_NNIPort.Merge(m, src)
357}
358func (m *NNIPort) XXX_Size() int {
359 return xxx_messageInfo_NNIPort.Size(m)
360}
361func (m *NNIPort) XXX_DiscardUnknown() {
362 xxx_messageInfo_NNIPort.DiscardUnknown(m)
363}
364
365var xxx_messageInfo_NNIPort proto.InternalMessageInfo
366
367func (m *NNIPort) GetID() int32 {
368 if m != nil {
369 return m.ID
370 }
371 return 0
372}
373
374func (m *NNIPort) GetOperState() string {
375 if m != nil {
376 return m.OperState
377 }
378 return ""
379}
380
381type Olt struct {
382 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
383 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
384 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
385 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
rajeshf921f882020-03-06 18:24:28 +0530386 IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700387 NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"`
388 PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"`
389 XXX_NoUnkeyedLiteral struct{} `json:"-"`
390 XXX_unrecognized []byte `json:"-"`
391 XXX_sizecache int32 `json:"-"`
392}
393
394func (m *Olt) Reset() { *m = Olt{} }
395func (m *Olt) String() string { return proto.CompactTextString(m) }
396func (*Olt) ProtoMessage() {}
397func (*Olt) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800398 return fileDescriptor_ef7750073d18011b, []int{3}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700399}
400
401func (m *Olt) XXX_Unmarshal(b []byte) error {
402 return xxx_messageInfo_Olt.Unmarshal(m, b)
403}
404func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
405 return xxx_messageInfo_Olt.Marshal(b, m, deterministic)
406}
407func (m *Olt) XXX_Merge(src proto.Message) {
408 xxx_messageInfo_Olt.Merge(m, src)
409}
410func (m *Olt) XXX_Size() int {
411 return xxx_messageInfo_Olt.Size(m)
412}
413func (m *Olt) XXX_DiscardUnknown() {
414 xxx_messageInfo_Olt.DiscardUnknown(m)
415}
416
417var xxx_messageInfo_Olt proto.InternalMessageInfo
418
419func (m *Olt) GetID() int32 {
420 if m != nil {
421 return m.ID
422 }
423 return 0
424}
425
426func (m *Olt) GetSerialNumber() string {
427 if m != nil {
428 return m.SerialNumber
429 }
430 return ""
431}
432
433func (m *Olt) GetOperState() string {
434 if m != nil {
435 return m.OperState
436 }
437 return ""
438}
439
440func (m *Olt) GetInternalState() string {
441 if m != nil {
442 return m.InternalState
443 }
444 return ""
445}
446
rajeshf921f882020-03-06 18:24:28 +0530447func (m *Olt) GetIP() string {
448 if m != nil {
449 return m.IP
450 }
451 return ""
452}
453
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700454func (m *Olt) GetNNIPorts() []*NNIPort {
455 if m != nil {
456 return m.NNIPorts
457 }
458 return nil
459}
460
461func (m *Olt) GetPONPorts() []*PONPort {
462 if m != nil {
463 return m.PONPorts
464 }
465 return nil
466}
467
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800468type OltAllocatedResourceType struct {
469 Type OltAllocatedResourceType_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bbsim.OltAllocatedResourceType_Type" json:"type,omitempty"`
470 XXX_NoUnkeyedLiteral struct{} `json:"-"`
471 XXX_unrecognized []byte `json:"-"`
472 XXX_sizecache int32 `json:"-"`
473}
474
475func (m *OltAllocatedResourceType) Reset() { *m = OltAllocatedResourceType{} }
476func (m *OltAllocatedResourceType) String() string { return proto.CompactTextString(m) }
477func (*OltAllocatedResourceType) ProtoMessage() {}
478func (*OltAllocatedResourceType) Descriptor() ([]byte, []int) {
479 return fileDescriptor_ef7750073d18011b, []int{4}
480}
481
482func (m *OltAllocatedResourceType) XXX_Unmarshal(b []byte) error {
483 return xxx_messageInfo_OltAllocatedResourceType.Unmarshal(m, b)
484}
485func (m *OltAllocatedResourceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
486 return xxx_messageInfo_OltAllocatedResourceType.Marshal(b, m, deterministic)
487}
488func (m *OltAllocatedResourceType) XXX_Merge(src proto.Message) {
489 xxx_messageInfo_OltAllocatedResourceType.Merge(m, src)
490}
491func (m *OltAllocatedResourceType) XXX_Size() int {
492 return xxx_messageInfo_OltAllocatedResourceType.Size(m)
493}
494func (m *OltAllocatedResourceType) XXX_DiscardUnknown() {
495 xxx_messageInfo_OltAllocatedResourceType.DiscardUnknown(m)
496}
497
498var xxx_messageInfo_OltAllocatedResourceType proto.InternalMessageInfo
499
500func (m *OltAllocatedResourceType) GetType() OltAllocatedResourceType_Type {
501 if m != nil {
502 return m.Type
503 }
504 return OltAllocatedResourceType_UNKNOWN
505}
506
507type OltAllocatedResource struct {
508 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
509 PonPortId uint32 `protobuf:"varint,2,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
510 OnuId uint32 `protobuf:"varint,3,opt,name=OnuId,proto3" json:"OnuId,omitempty"`
511 PortNo uint32 `protobuf:"varint,4,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
512 ResourceId int32 `protobuf:"varint,5,opt,name=ResourceId,proto3" json:"ResourceId,omitempty"`
513 FlowId uint64 `protobuf:"varint,6,opt,name=FlowId,proto3" json:"FlowId,omitempty"`
514 XXX_NoUnkeyedLiteral struct{} `json:"-"`
515 XXX_unrecognized []byte `json:"-"`
516 XXX_sizecache int32 `json:"-"`
517}
518
519func (m *OltAllocatedResource) Reset() { *m = OltAllocatedResource{} }
520func (m *OltAllocatedResource) String() string { return proto.CompactTextString(m) }
521func (*OltAllocatedResource) ProtoMessage() {}
522func (*OltAllocatedResource) Descriptor() ([]byte, []int) {
523 return fileDescriptor_ef7750073d18011b, []int{5}
524}
525
526func (m *OltAllocatedResource) XXX_Unmarshal(b []byte) error {
527 return xxx_messageInfo_OltAllocatedResource.Unmarshal(m, b)
528}
529func (m *OltAllocatedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
530 return xxx_messageInfo_OltAllocatedResource.Marshal(b, m, deterministic)
531}
532func (m *OltAllocatedResource) XXX_Merge(src proto.Message) {
533 xxx_messageInfo_OltAllocatedResource.Merge(m, src)
534}
535func (m *OltAllocatedResource) XXX_Size() int {
536 return xxx_messageInfo_OltAllocatedResource.Size(m)
537}
538func (m *OltAllocatedResource) XXX_DiscardUnknown() {
539 xxx_messageInfo_OltAllocatedResource.DiscardUnknown(m)
540}
541
542var xxx_messageInfo_OltAllocatedResource proto.InternalMessageInfo
543
544func (m *OltAllocatedResource) GetType() string {
545 if m != nil {
546 return m.Type
547 }
548 return ""
549}
550
551func (m *OltAllocatedResource) GetPonPortId() uint32 {
552 if m != nil {
553 return m.PonPortId
554 }
555 return 0
556}
557
558func (m *OltAllocatedResource) GetOnuId() uint32 {
559 if m != nil {
560 return m.OnuId
561 }
562 return 0
563}
564
565func (m *OltAllocatedResource) GetPortNo() uint32 {
566 if m != nil {
567 return m.PortNo
568 }
569 return 0
570}
571
572func (m *OltAllocatedResource) GetResourceId() int32 {
573 if m != nil {
574 return m.ResourceId
575 }
576 return 0
577}
578
579func (m *OltAllocatedResource) GetFlowId() uint64 {
580 if m != nil {
581 return m.FlowId
582 }
583 return 0
584}
585
586type OltAllocatedResources struct {
587 Resources []*OltAllocatedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
588 XXX_NoUnkeyedLiteral struct{} `json:"-"`
589 XXX_unrecognized []byte `json:"-"`
590 XXX_sizecache int32 `json:"-"`
591}
592
593func (m *OltAllocatedResources) Reset() { *m = OltAllocatedResources{} }
594func (m *OltAllocatedResources) String() string { return proto.CompactTextString(m) }
595func (*OltAllocatedResources) ProtoMessage() {}
596func (*OltAllocatedResources) Descriptor() ([]byte, []int) {
597 return fileDescriptor_ef7750073d18011b, []int{6}
598}
599
600func (m *OltAllocatedResources) XXX_Unmarshal(b []byte) error {
601 return xxx_messageInfo_OltAllocatedResources.Unmarshal(m, b)
602}
603func (m *OltAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
604 return xxx_messageInfo_OltAllocatedResources.Marshal(b, m, deterministic)
605}
606func (m *OltAllocatedResources) XXX_Merge(src proto.Message) {
607 xxx_messageInfo_OltAllocatedResources.Merge(m, src)
608}
609func (m *OltAllocatedResources) XXX_Size() int {
610 return xxx_messageInfo_OltAllocatedResources.Size(m)
611}
612func (m *OltAllocatedResources) XXX_DiscardUnknown() {
613 xxx_messageInfo_OltAllocatedResources.DiscardUnknown(m)
614}
615
616var xxx_messageInfo_OltAllocatedResources proto.InternalMessageInfo
617
618func (m *OltAllocatedResources) GetResources() []*OltAllocatedResource {
619 if m != nil {
620 return m.Resources
621 }
622 return nil
623}
624
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700625type ONU struct {
Matteo Scandolocedde462021-03-09 17:37:16 -0800626 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
627 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
628 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
629 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
630 PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700631 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` // Deprecated: Do not use.
632 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"` // Deprecated: Do not use.
633 Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"` // Deprecated: Do not use.
Matteo Scandolocedde462021-03-09 17:37:16 -0800634 ImageSoftwareExpectedSections int32 `protobuf:"varint,11,opt,name=ImageSoftwareExpectedSections,proto3" json:"ImageSoftwareExpectedSections,omitempty"`
635 ImageSoftwareReceivedSections int32 `protobuf:"varint,12,opt,name=ImageSoftwareReceivedSections,proto3" json:"ImageSoftwareReceivedSections,omitempty"`
636 ActiveImageEntityId int32 `protobuf:"varint,13,opt,name=ActiveImageEntityId,proto3" json:"ActiveImageEntityId,omitempty"`
637 CommittedImageEntityId int32 `protobuf:"varint,14,opt,name=CommittedImageEntityId,proto3" json:"CommittedImageEntityId,omitempty"`
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700638 Unis []*UNI `protobuf:"bytes,15,rep,name=unis,proto3" json:"unis,omitempty"`
Matteo Scandolocedde462021-03-09 17:37:16 -0800639 XXX_NoUnkeyedLiteral struct{} `json:"-"`
640 XXX_unrecognized []byte `json:"-"`
641 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700642}
643
644func (m *ONU) Reset() { *m = ONU{} }
645func (m *ONU) String() string { return proto.CompactTextString(m) }
646func (*ONU) ProtoMessage() {}
647func (*ONU) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800648 return fileDescriptor_ef7750073d18011b, []int{7}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700649}
650
651func (m *ONU) XXX_Unmarshal(b []byte) error {
652 return xxx_messageInfo_ONU.Unmarshal(m, b)
653}
654func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
655 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
656}
657func (m *ONU) XXX_Merge(src proto.Message) {
658 xxx_messageInfo_ONU.Merge(m, src)
659}
660func (m *ONU) XXX_Size() int {
661 return xxx_messageInfo_ONU.Size(m)
662}
663func (m *ONU) XXX_DiscardUnknown() {
664 xxx_messageInfo_ONU.DiscardUnknown(m)
665}
666
667var xxx_messageInfo_ONU proto.InternalMessageInfo
668
669func (m *ONU) GetID() int32 {
670 if m != nil {
671 return m.ID
672 }
673 return 0
674}
675
676func (m *ONU) GetSerialNumber() string {
677 if m != nil {
678 return m.SerialNumber
679 }
680 return ""
681}
682
683func (m *ONU) GetOperState() string {
684 if m != nil {
685 return m.OperState
686 }
687 return ""
688}
689
690func (m *ONU) GetInternalState() string {
691 if m != nil {
692 return m.InternalState
693 }
694 return ""
695}
696
697func (m *ONU) GetPonPortID() int32 {
698 if m != nil {
699 return m.PonPortID
700 }
701 return 0
702}
703
Matteo Scandolo8a574812021-05-20 15:18:53 -0700704// Deprecated: Do not use.
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700705func (m *ONU) GetHwAddress() string {
706 if m != nil {
707 return m.HwAddress
708 }
709 return ""
710}
711
Matteo Scandolo8a574812021-05-20 15:18:53 -0700712// Deprecated: Do not use.
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700713func (m *ONU) GetPortNo() int32 {
714 if m != nil {
715 return m.PortNo
716 }
717 return 0
718}
719
Matteo Scandolo8a574812021-05-20 15:18:53 -0700720// Deprecated: Do not use.
Matteo Scandolo4a036262020-08-17 15:56:13 -0700721func (m *ONU) GetServices() []*Service {
722 if m != nil {
723 return m.Services
724 }
725 return nil
726}
727
Matteo Scandolocedde462021-03-09 17:37:16 -0800728func (m *ONU) GetImageSoftwareExpectedSections() int32 {
729 if m != nil {
730 return m.ImageSoftwareExpectedSections
731 }
732 return 0
733}
734
735func (m *ONU) GetImageSoftwareReceivedSections() int32 {
736 if m != nil {
737 return m.ImageSoftwareReceivedSections
738 }
739 return 0
740}
741
742func (m *ONU) GetActiveImageEntityId() int32 {
743 if m != nil {
744 return m.ActiveImageEntityId
745 }
746 return 0
747}
748
749func (m *ONU) GetCommittedImageEntityId() int32 {
750 if m != nil {
751 return m.CommittedImageEntityId
752 }
753 return 0
754}
755
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700756func (m *ONU) GetUnis() []*UNI {
757 if m != nil {
758 return m.Unis
759 }
760 return nil
761}
762
763type UNI struct {
Matteo Scandolo8a574812021-05-20 15:18:53 -0700764 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
765 OnuID int32 `protobuf:"varint,2,opt,name=OnuID,proto3" json:"OnuID,omitempty"`
766 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
767 MeID uint32 `protobuf:"varint,4,opt,name=MeID,proto3" json:"MeID,omitempty"`
768 OperState string `protobuf:"bytes,5,opt,name=OperState,proto3" json:"OperState,omitempty"`
769 PortNo int32 `protobuf:"varint,6,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
770 Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"`
Elia Battistonac63b112022-01-12 18:40:49 +0100771 Type UniType `protobuf:"varint,8,opt,name=Type,proto3,enum=bbsim.UniType" json:"Type,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700772 XXX_NoUnkeyedLiteral struct{} `json:"-"`
773 XXX_unrecognized []byte `json:"-"`
774 XXX_sizecache int32 `json:"-"`
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700775}
776
777func (m *UNI) Reset() { *m = UNI{} }
778func (m *UNI) String() string { return proto.CompactTextString(m) }
779func (*UNI) ProtoMessage() {}
780func (*UNI) Descriptor() ([]byte, []int) {
781 return fileDescriptor_ef7750073d18011b, []int{8}
782}
783
784func (m *UNI) XXX_Unmarshal(b []byte) error {
785 return xxx_messageInfo_UNI.Unmarshal(m, b)
786}
787func (m *UNI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
788 return xxx_messageInfo_UNI.Marshal(b, m, deterministic)
789}
790func (m *UNI) XXX_Merge(src proto.Message) {
791 xxx_messageInfo_UNI.Merge(m, src)
792}
793func (m *UNI) XXX_Size() int {
794 return xxx_messageInfo_UNI.Size(m)
795}
796func (m *UNI) XXX_DiscardUnknown() {
797 xxx_messageInfo_UNI.DiscardUnknown(m)
798}
799
800var xxx_messageInfo_UNI proto.InternalMessageInfo
801
802func (m *UNI) GetID() int32 {
803 if m != nil {
804 return m.ID
805 }
806 return 0
807}
808
809func (m *UNI) GetOnuID() int32 {
810 if m != nil {
811 return m.OnuID
812 }
813 return 0
814}
815
816func (m *UNI) GetOnuSn() string {
817 if m != nil {
818 return m.OnuSn
819 }
820 return ""
821}
822
823func (m *UNI) GetMeID() uint32 {
824 if m != nil {
825 return m.MeID
826 }
827 return 0
828}
829
830func (m *UNI) GetOperState() string {
831 if m != nil {
832 return m.OperState
833 }
834 return ""
835}
836
Matteo Scandolo8a574812021-05-20 15:18:53 -0700837func (m *UNI) GetPortNo() int32 {
838 if m != nil {
839 return m.PortNo
840 }
841 return 0
842}
843
844func (m *UNI) GetServices() []*Service {
845 if m != nil {
846 return m.Services
847 }
848 return nil
849}
850
Elia Battistonac63b112022-01-12 18:40:49 +0100851func (m *UNI) GetType() UniType {
852 if m != nil {
853 return m.Type
854 }
855 return UniType_ETH
856}
857
Matteo Scandolo4a036262020-08-17 15:56:13 -0700858type Service struct {
859 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
860 HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
861 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
862 STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"`
863 CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"`
864 NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"`
865 NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"`
866 NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"`
867 GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"`
868 EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"`
869 DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"`
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700870 InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
Matteo Scandolo618a6582020-09-09 12:21:29 -0700871 IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700872 UniId uint32 `protobuf:"varint,14,opt,name=UniId,proto3" json:"UniId,omitempty"`
Elia Battiston9a1da622022-02-09 14:43:52 +0100873 UniTagMatch int32 `protobuf:"varint,15,opt,name=UniTagMatch,proto3" json:"UniTagMatch,omitempty"`
874 UsCTagPriority uint32 `protobuf:"varint,16,opt,name=UsCTagPriority,proto3" json:"UsCTagPriority,omitempty"`
875 UsSTagPriority uint32 `protobuf:"varint,17,opt,name=UsSTagPriority,proto3" json:"UsSTagPriority,omitempty"`
876 DsCTagPriority uint32 `protobuf:"varint,18,opt,name=DsCTagPriority,proto3" json:"DsCTagPriority,omitempty"`
877 DsSTagPriority uint32 `protobuf:"varint,19,opt,name=DsSTagPriority,proto3" json:"DsSTagPriority,omitempty"`
878 NeedsPPPoE bool `protobuf:"varint,20,opt,name=NeedsPPPoE,proto3" json:"NeedsPPPoE,omitempty"`
879 ConfigureMacAddress bool `protobuf:"varint,21,opt,name=ConfigureMacAddress,proto3" json:"ConfigureMacAddress,omitempty"`
880 EnableMacLearning bool `protobuf:"varint,22,opt,name=EnableMacLearning,proto3" json:"EnableMacLearning,omitempty"`
Matteo Scandolo4a036262020-08-17 15:56:13 -0700881 XXX_NoUnkeyedLiteral struct{} `json:"-"`
882 XXX_unrecognized []byte `json:"-"`
883 XXX_sizecache int32 `json:"-"`
884}
885
886func (m *Service) Reset() { *m = Service{} }
887func (m *Service) String() string { return proto.CompactTextString(m) }
888func (*Service) ProtoMessage() {}
889func (*Service) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700890 return fileDescriptor_ef7750073d18011b, []int{9}
Matteo Scandolo4a036262020-08-17 15:56:13 -0700891}
892
893func (m *Service) XXX_Unmarshal(b []byte) error {
894 return xxx_messageInfo_Service.Unmarshal(m, b)
895}
896func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
897 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
898}
899func (m *Service) XXX_Merge(src proto.Message) {
900 xxx_messageInfo_Service.Merge(m, src)
901}
902func (m *Service) XXX_Size() int {
903 return xxx_messageInfo_Service.Size(m)
904}
905func (m *Service) XXX_DiscardUnknown() {
906 xxx_messageInfo_Service.DiscardUnknown(m)
907}
908
909var xxx_messageInfo_Service proto.InternalMessageInfo
910
911func (m *Service) GetName() string {
912 if m != nil {
913 return m.Name
914 }
915 return ""
916}
917
918func (m *Service) GetHwAddress() string {
919 if m != nil {
920 return m.HwAddress
921 }
922 return ""
923}
924
925func (m *Service) GetOnuSn() string {
926 if m != nil {
927 return m.OnuSn
928 }
929 return ""
930}
931
932func (m *Service) GetSTag() int32 {
933 if m != nil {
934 return m.STag
935 }
936 return 0
937}
938
939func (m *Service) GetCTag() int32 {
940 if m != nil {
941 return m.CTag
942 }
943 return 0
944}
945
946func (m *Service) GetNeedsEapol() bool {
947 if m != nil {
948 return m.NeedsEapol
949 }
950 return false
951}
952
953func (m *Service) GetNeedsDhcp() bool {
954 if m != nil {
955 return m.NeedsDhcp
956 }
957 return false
958}
959
960func (m *Service) GetNeedsIgmp() bool {
961 if m != nil {
962 return m.NeedsIgmp
963 }
964 return false
965}
966
967func (m *Service) GetGemPort() int32 {
968 if m != nil {
969 return m.GemPort
970 }
971 return 0
972}
973
974func (m *Service) GetEapolState() string {
975 if m != nil {
976 return m.EapolState
977 }
978 return ""
979}
980
981func (m *Service) GetDhcpState() string {
982 if m != nil {
983 return m.DhcpState
984 }
985 return ""
986}
987
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700988func (m *Service) GetInternalState() string {
989 if m != nil {
990 return m.InternalState
991 }
992 return ""
993}
994
Matteo Scandolo618a6582020-09-09 12:21:29 -0700995func (m *Service) GetIGMPState() string {
996 if m != nil {
997 return m.IGMPState
998 }
999 return ""
1000}
1001
Matteo Scandolo8a574812021-05-20 15:18:53 -07001002func (m *Service) GetUniId() uint32 {
1003 if m != nil {
1004 return m.UniId
1005 }
1006 return 0
1007}
1008
Elia Battiston9a1da622022-02-09 14:43:52 +01001009func (m *Service) GetUniTagMatch() int32 {
1010 if m != nil {
1011 return m.UniTagMatch
1012 }
1013 return 0
1014}
1015
1016func (m *Service) GetUsCTagPriority() uint32 {
1017 if m != nil {
1018 return m.UsCTagPriority
1019 }
1020 return 0
1021}
1022
1023func (m *Service) GetUsSTagPriority() uint32 {
1024 if m != nil {
1025 return m.UsSTagPriority
1026 }
1027 return 0
1028}
1029
1030func (m *Service) GetDsCTagPriority() uint32 {
1031 if m != nil {
1032 return m.DsCTagPriority
1033 }
1034 return 0
1035}
1036
1037func (m *Service) GetDsSTagPriority() uint32 {
1038 if m != nil {
1039 return m.DsSTagPriority
1040 }
1041 return 0
1042}
1043
1044func (m *Service) GetNeedsPPPoE() bool {
1045 if m != nil {
1046 return m.NeedsPPPoE
1047 }
1048 return false
1049}
1050
1051func (m *Service) GetConfigureMacAddress() bool {
1052 if m != nil {
1053 return m.ConfigureMacAddress
1054 }
1055 return false
1056}
1057
1058func (m *Service) GetEnableMacLearning() bool {
1059 if m != nil {
1060 return m.EnableMacLearning
1061 }
1062 return false
1063}
1064
Anand S Katti09541352020-01-29 15:54:01 +05301065type ONUTrafficSchedulers struct {
1066 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
1067 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1068 XXX_unrecognized []byte `json:"-"`
1069 XXX_sizecache int32 `json:"-"`
1070}
1071
1072func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
1073func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
1074func (*ONUTrafficSchedulers) ProtoMessage() {}
1075func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001076 return fileDescriptor_ef7750073d18011b, []int{10}
Anand S Katti09541352020-01-29 15:54:01 +05301077}
1078
1079func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
1080 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
1081}
1082func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1083 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
1084}
1085func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
1086 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
1087}
1088func (m *ONUTrafficSchedulers) XXX_Size() int {
1089 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
1090}
1091func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
1092 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
1093}
1094
1095var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
1096
1097func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
1098 if m != nil {
1099 return m.TraffSchedulers
1100 }
1101 return nil
1102}
1103
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001104type ONUs struct {
1105 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1106 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1107 XXX_unrecognized []byte `json:"-"`
1108 XXX_sizecache int32 `json:"-"`
1109}
1110
1111func (m *ONUs) Reset() { *m = ONUs{} }
1112func (m *ONUs) String() string { return proto.CompactTextString(m) }
1113func (*ONUs) ProtoMessage() {}
1114func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001115 return fileDescriptor_ef7750073d18011b, []int{11}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001116}
1117
1118func (m *ONUs) XXX_Unmarshal(b []byte) error {
1119 return xxx_messageInfo_ONUs.Unmarshal(m, b)
1120}
1121func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1122 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
1123}
1124func (m *ONUs) XXX_Merge(src proto.Message) {
1125 xxx_messageInfo_ONUs.Merge(m, src)
1126}
1127func (m *ONUs) XXX_Size() int {
1128 return xxx_messageInfo_ONUs.Size(m)
1129}
1130func (m *ONUs) XXX_DiscardUnknown() {
1131 xxx_messageInfo_ONUs.DiscardUnknown(m)
1132}
1133
1134var xxx_messageInfo_ONUs proto.InternalMessageInfo
1135
1136func (m *ONUs) GetItems() []*ONU {
1137 if m != nil {
1138 return m.Items
1139 }
1140 return nil
1141}
1142
Matteo Scandolo4a036262020-08-17 15:56:13 -07001143type Services struct {
1144 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1145 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1146 XXX_unrecognized []byte `json:"-"`
1147 XXX_sizecache int32 `json:"-"`
1148}
1149
1150func (m *Services) Reset() { *m = Services{} }
1151func (m *Services) String() string { return proto.CompactTextString(m) }
1152func (*Services) ProtoMessage() {}
1153func (*Services) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001154 return fileDescriptor_ef7750073d18011b, []int{12}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001155}
1156
1157func (m *Services) XXX_Unmarshal(b []byte) error {
1158 return xxx_messageInfo_Services.Unmarshal(m, b)
1159}
1160func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1161 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
1162}
1163func (m *Services) XXX_Merge(src proto.Message) {
1164 xxx_messageInfo_Services.Merge(m, src)
1165}
1166func (m *Services) XXX_Size() int {
1167 return xxx_messageInfo_Services.Size(m)
1168}
1169func (m *Services) XXX_DiscardUnknown() {
1170 xxx_messageInfo_Services.DiscardUnknown(m)
1171}
1172
1173var xxx_messageInfo_Services proto.InternalMessageInfo
1174
1175func (m *Services) GetItems() []*Service {
1176 if m != nil {
1177 return m.Items
1178 }
1179 return nil
1180}
1181
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001182type UNIs struct {
1183 Items []*UNI `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1184 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1185 XXX_unrecognized []byte `json:"-"`
1186 XXX_sizecache int32 `json:"-"`
1187}
1188
1189func (m *UNIs) Reset() { *m = UNIs{} }
1190func (m *UNIs) String() string { return proto.CompactTextString(m) }
1191func (*UNIs) ProtoMessage() {}
1192func (*UNIs) Descriptor() ([]byte, []int) {
1193 return fileDescriptor_ef7750073d18011b, []int{13}
1194}
1195
1196func (m *UNIs) XXX_Unmarshal(b []byte) error {
1197 return xxx_messageInfo_UNIs.Unmarshal(m, b)
1198}
1199func (m *UNIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1200 return xxx_messageInfo_UNIs.Marshal(b, m, deterministic)
1201}
1202func (m *UNIs) XXX_Merge(src proto.Message) {
1203 xxx_messageInfo_UNIs.Merge(m, src)
1204}
1205func (m *UNIs) XXX_Size() int {
1206 return xxx_messageInfo_UNIs.Size(m)
1207}
1208func (m *UNIs) XXX_DiscardUnknown() {
1209 xxx_messageInfo_UNIs.DiscardUnknown(m)
1210}
1211
1212var xxx_messageInfo_UNIs proto.InternalMessageInfo
1213
1214func (m *UNIs) GetItems() []*UNI {
1215 if m != nil {
1216 return m.Items
1217 }
1218 return nil
1219}
1220
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001221type ONURequest struct {
1222 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1223 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1224 XXX_unrecognized []byte `json:"-"`
1225 XXX_sizecache int32 `json:"-"`
1226}
1227
1228func (m *ONURequest) Reset() { *m = ONURequest{} }
1229func (m *ONURequest) String() string { return proto.CompactTextString(m) }
1230func (*ONURequest) ProtoMessage() {}
1231func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001232 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001233}
1234
1235func (m *ONURequest) XXX_Unmarshal(b []byte) error {
1236 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
1237}
1238func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1239 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
1240}
1241func (m *ONURequest) XXX_Merge(src proto.Message) {
1242 xxx_messageInfo_ONURequest.Merge(m, src)
1243}
1244func (m *ONURequest) XXX_Size() int {
1245 return xxx_messageInfo_ONURequest.Size(m)
1246}
1247func (m *ONURequest) XXX_DiscardUnknown() {
1248 xxx_messageInfo_ONURequest.DiscardUnknown(m)
1249}
1250
1251var xxx_messageInfo_ONURequest proto.InternalMessageInfo
1252
1253func (m *ONURequest) GetSerialNumber() string {
1254 if m != nil {
1255 return m.SerialNumber
1256 }
1257 return ""
1258}
1259
Pragya Aryabd731ec2020-02-11 16:38:17 +05301260type PONRequest struct {
1261 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
1262 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1263 XXX_unrecognized []byte `json:"-"`
1264 XXX_sizecache int32 `json:"-"`
1265}
1266
1267func (m *PONRequest) Reset() { *m = PONRequest{} }
1268func (m *PONRequest) String() string { return proto.CompactTextString(m) }
1269func (*PONRequest) ProtoMessage() {}
1270func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001271 return fileDescriptor_ef7750073d18011b, []int{15}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301272}
1273
1274func (m *PONRequest) XXX_Unmarshal(b []byte) error {
1275 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
1276}
1277func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1278 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
1279}
1280func (m *PONRequest) XXX_Merge(src proto.Message) {
1281 xxx_messageInfo_PONRequest.Merge(m, src)
1282}
1283func (m *PONRequest) XXX_Size() int {
1284 return xxx_messageInfo_PONRequest.Size(m)
1285}
1286func (m *PONRequest) XXX_DiscardUnknown() {
1287 xxx_messageInfo_PONRequest.DiscardUnknown(m)
1288}
1289
1290var xxx_messageInfo_PONRequest proto.InternalMessageInfo
1291
1292func (m *PONRequest) GetPonPortId() uint32 {
1293 if m != nil {
1294 return m.PonPortId
1295 }
1296 return 0
1297}
1298
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001299type UNIRequest struct {
1300 OnuSerialNumber string `protobuf:"bytes,1,opt,name=OnuSerialNumber,proto3" json:"OnuSerialNumber,omitempty"`
1301 UniID string `protobuf:"bytes,2,opt,name=UniID,proto3" json:"UniID,omitempty"`
1302 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1303 XXX_unrecognized []byte `json:"-"`
1304 XXX_sizecache int32 `json:"-"`
1305}
1306
1307func (m *UNIRequest) Reset() { *m = UNIRequest{} }
1308func (m *UNIRequest) String() string { return proto.CompactTextString(m) }
1309func (*UNIRequest) ProtoMessage() {}
1310func (*UNIRequest) Descriptor() ([]byte, []int) {
1311 return fileDescriptor_ef7750073d18011b, []int{16}
1312}
1313
1314func (m *UNIRequest) XXX_Unmarshal(b []byte) error {
1315 return xxx_messageInfo_UNIRequest.Unmarshal(m, b)
1316}
1317func (m *UNIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1318 return xxx_messageInfo_UNIRequest.Marshal(b, m, deterministic)
1319}
1320func (m *UNIRequest) XXX_Merge(src proto.Message) {
1321 xxx_messageInfo_UNIRequest.Merge(m, src)
1322}
1323func (m *UNIRequest) XXX_Size() int {
1324 return xxx_messageInfo_UNIRequest.Size(m)
1325}
1326func (m *UNIRequest) XXX_DiscardUnknown() {
1327 xxx_messageInfo_UNIRequest.DiscardUnknown(m)
1328}
1329
1330var xxx_messageInfo_UNIRequest proto.InternalMessageInfo
1331
1332func (m *UNIRequest) GetOnuSerialNumber() string {
1333 if m != nil {
1334 return m.OnuSerialNumber
1335 }
1336 return ""
1337}
1338
1339func (m *UNIRequest) GetUniID() string {
1340 if m != nil {
1341 return m.UniID
1342 }
1343 return ""
1344}
1345
Scott Baker41724b82020-01-21 19:54:53 -08001346type AlarmType struct {
1347 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1348 XXX_unrecognized []byte `json:"-"`
1349 XXX_sizecache int32 `json:"-"`
1350}
1351
1352func (m *AlarmType) Reset() { *m = AlarmType{} }
1353func (m *AlarmType) String() string { return proto.CompactTextString(m) }
1354func (*AlarmType) ProtoMessage() {}
1355func (*AlarmType) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001356 return fileDescriptor_ef7750073d18011b, []int{17}
Scott Baker41724b82020-01-21 19:54:53 -08001357}
1358
1359func (m *AlarmType) XXX_Unmarshal(b []byte) error {
1360 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
1361}
1362func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1363 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
1364}
1365func (m *AlarmType) XXX_Merge(src proto.Message) {
1366 xxx_messageInfo_AlarmType.Merge(m, src)
1367}
1368func (m *AlarmType) XXX_Size() int {
1369 return xxx_messageInfo_AlarmType.Size(m)
1370}
1371func (m *AlarmType) XXX_DiscardUnknown() {
1372 xxx_messageInfo_AlarmType.DiscardUnknown(m)
1373}
1374
1375var xxx_messageInfo_AlarmType proto.InternalMessageInfo
1376
1377type AlarmParameter struct {
1378 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
1379 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
1380 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1381 XXX_unrecognized []byte `json:"-"`
1382 XXX_sizecache int32 `json:"-"`
1383}
1384
1385func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
1386func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
1387func (*AlarmParameter) ProtoMessage() {}
1388func (*AlarmParameter) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001389 return fileDescriptor_ef7750073d18011b, []int{18}
Scott Baker41724b82020-01-21 19:54:53 -08001390}
1391
1392func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
1393 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
1394}
1395func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1396 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
1397}
1398func (m *AlarmParameter) XXX_Merge(src proto.Message) {
1399 xxx_messageInfo_AlarmParameter.Merge(m, src)
1400}
1401func (m *AlarmParameter) XXX_Size() int {
1402 return xxx_messageInfo_AlarmParameter.Size(m)
1403}
1404func (m *AlarmParameter) XXX_DiscardUnknown() {
1405 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
1406}
1407
1408var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
1409
1410func (m *AlarmParameter) GetKey() string {
1411 if m != nil {
1412 return m.Key
1413 }
1414 return ""
1415}
1416
1417func (m *AlarmParameter) GetValue() string {
1418 if m != nil {
1419 return m.Value
1420 }
1421 return ""
1422}
1423
Anand S Katti86552f92020-03-03 21:56:32 +05301424// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +05301425// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -08001426// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +05301427type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +05301428 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -08001429 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1430 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1431 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
1432 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1433 XXX_unrecognized []byte `json:"-"`
1434 XXX_sizecache int32 `json:"-"`
1435}
1436
Anand S Katti86552f92020-03-03 21:56:32 +05301437func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
1438func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
1439func (*ONUAlarmRequest) ProtoMessage() {}
1440func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001441 return fileDescriptor_ef7750073d18011b, []int{19}
Scott Baker41724b82020-01-21 19:54:53 -08001442}
1443
Anand S Katti86552f92020-03-03 21:56:32 +05301444func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
1445 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -08001446}
Anand S Katti86552f92020-03-03 21:56:32 +05301447func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1448 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -08001449}
Anand S Katti86552f92020-03-03 21:56:32 +05301450func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
1451 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -08001452}
Anand S Katti86552f92020-03-03 21:56:32 +05301453func (m *ONUAlarmRequest) XXX_Size() int {
1454 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -08001455}
Anand S Katti86552f92020-03-03 21:56:32 +05301456func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
1457 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -08001458}
1459
Anand S Katti86552f92020-03-03 21:56:32 +05301460var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -08001461
Anand S Katti86552f92020-03-03 21:56:32 +05301462func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -08001463 if m != nil {
1464 return m.AlarmType
1465 }
Pragya Arya694ece02020-02-07 13:03:47 +05301466 return ""
Scott Baker41724b82020-01-21 19:54:53 -08001467}
1468
Anand S Katti86552f92020-03-03 21:56:32 +05301469func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -08001470 if m != nil {
1471 return m.SerialNumber
1472 }
1473 return ""
1474}
1475
Anand S Katti86552f92020-03-03 21:56:32 +05301476func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -08001477 if m != nil {
1478 return m.Status
1479 }
1480 return ""
1481}
1482
Anand S Katti86552f92020-03-03 21:56:32 +05301483func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -08001484 if m != nil {
1485 return m.Parameters
1486 }
1487 return nil
1488}
1489
Anand S Katti86552f92020-03-03 21:56:32 +05301490// OLT alarm request
1491type OLTAlarmRequest struct {
1492 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
1493 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
1494 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1495 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1496 XXX_unrecognized []byte `json:"-"`
1497 XXX_sizecache int32 `json:"-"`
1498}
1499
1500func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
1501func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
1502func (*OLTAlarmRequest) ProtoMessage() {}
1503func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001504 return fileDescriptor_ef7750073d18011b, []int{20}
Anand S Katti86552f92020-03-03 21:56:32 +05301505}
1506
1507func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
1508 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
1509}
1510func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1511 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
1512}
1513func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
1514 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
1515}
1516func (m *OLTAlarmRequest) XXX_Size() int {
1517 return xxx_messageInfo_OLTAlarmRequest.Size(m)
1518}
1519func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
1520 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
1521}
1522
1523var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
1524
1525func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
1526 if m != nil {
1527 return m.InterfaceID
1528 }
1529 return 0
1530}
1531
1532func (m *OLTAlarmRequest) GetInterfaceType() string {
1533 if m != nil {
1534 return m.InterfaceType
1535 }
1536 return ""
1537}
1538
1539func (m *OLTAlarmRequest) GetStatus() string {
1540 if m != nil {
1541 return m.Status
1542 }
1543 return ""
1544}
1545
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001546type VersionNumber struct {
1547 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1548 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
1549 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
1550 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
1551 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1552 XXX_unrecognized []byte `json:"-"`
1553 XXX_sizecache int32 `json:"-"`
1554}
1555
1556func (m *VersionNumber) Reset() { *m = VersionNumber{} }
1557func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
1558func (*VersionNumber) ProtoMessage() {}
1559func (*VersionNumber) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001560 return fileDescriptor_ef7750073d18011b, []int{21}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001561}
1562
1563func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
1564 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
1565}
1566func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1567 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
1568}
1569func (m *VersionNumber) XXX_Merge(src proto.Message) {
1570 xxx_messageInfo_VersionNumber.Merge(m, src)
1571}
1572func (m *VersionNumber) XXX_Size() int {
1573 return xxx_messageInfo_VersionNumber.Size(m)
1574}
1575func (m *VersionNumber) XXX_DiscardUnknown() {
1576 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
1577}
1578
1579var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
1580
1581func (m *VersionNumber) GetVersion() string {
1582 if m != nil {
1583 return m.Version
1584 }
1585 return ""
1586}
1587
1588func (m *VersionNumber) GetBuildTime() string {
1589 if m != nil {
1590 return m.BuildTime
1591 }
1592 return ""
1593}
1594
1595func (m *VersionNumber) GetCommitHash() string {
1596 if m != nil {
1597 return m.CommitHash
1598 }
1599 return ""
1600}
1601
1602func (m *VersionNumber) GetGitStatus() string {
1603 if m != nil {
1604 return m.GitStatus
1605 }
1606 return ""
1607}
1608
1609type LogLevel struct {
1610 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
1611 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
1612 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1613 XXX_unrecognized []byte `json:"-"`
1614 XXX_sizecache int32 `json:"-"`
1615}
1616
1617func (m *LogLevel) Reset() { *m = LogLevel{} }
1618func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1619func (*LogLevel) ProtoMessage() {}
1620func (*LogLevel) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001621 return fileDescriptor_ef7750073d18011b, []int{22}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001622}
1623
1624func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1625 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1626}
1627func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1628 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1629}
1630func (m *LogLevel) XXX_Merge(src proto.Message) {
1631 xxx_messageInfo_LogLevel.Merge(m, src)
1632}
1633func (m *LogLevel) XXX_Size() int {
1634 return xxx_messageInfo_LogLevel.Size(m)
1635}
1636func (m *LogLevel) XXX_DiscardUnknown() {
1637 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1638}
1639
1640var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1641
1642func (m *LogLevel) GetLevel() string {
1643 if m != nil {
1644 return m.Level
1645 }
1646 return ""
1647}
1648
1649func (m *LogLevel) GetCaller() bool {
1650 if m != nil {
1651 return m.Caller
1652 }
1653 return false
1654}
1655
1656type Response struct {
1657 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1658 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1659 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1660 XXX_unrecognized []byte `json:"-"`
1661 XXX_sizecache int32 `json:"-"`
1662}
1663
1664func (m *Response) Reset() { *m = Response{} }
1665func (m *Response) String() string { return proto.CompactTextString(m) }
1666func (*Response) ProtoMessage() {}
1667func (*Response) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001668 return fileDescriptor_ef7750073d18011b, []int{23}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001669}
1670
1671func (m *Response) XXX_Unmarshal(b []byte) error {
1672 return xxx_messageInfo_Response.Unmarshal(m, b)
1673}
1674func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1675 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1676}
1677func (m *Response) XXX_Merge(src proto.Message) {
1678 xxx_messageInfo_Response.Merge(m, src)
1679}
1680func (m *Response) XXX_Size() int {
1681 return xxx_messageInfo_Response.Size(m)
1682}
1683func (m *Response) XXX_DiscardUnknown() {
1684 xxx_messageInfo_Response.DiscardUnknown(m)
1685}
1686
1687var xxx_messageInfo_Response proto.InternalMessageInfo
1688
1689func (m *Response) GetStatusCode() int32 {
1690 if m != nil {
1691 return m.StatusCode
1692 }
1693 return 0
1694}
1695
1696func (m *Response) GetMessage() string {
1697 if m != nil {
1698 return m.Message
1699 }
1700 return ""
1701}
1702
Arjun E K57a7fcb2020-01-30 06:44:45 +00001703type IgmpRequest struct {
1704 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1705 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001706 GroupAddress string `protobuf:"bytes,3,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"`
Arjun E K57a7fcb2020-01-30 06:44:45 +00001707 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1708 XXX_unrecognized []byte `json:"-"`
1709 XXX_sizecache int32 `json:"-"`
1710}
1711
1712func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1713func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1714func (*IgmpRequest) ProtoMessage() {}
1715func (*IgmpRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001716 return fileDescriptor_ef7750073d18011b, []int{24}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001717}
1718
1719func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1720 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1721}
1722func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1723 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1724}
1725func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1726 xxx_messageInfo_IgmpRequest.Merge(m, src)
1727}
1728func (m *IgmpRequest) XXX_Size() int {
1729 return xxx_messageInfo_IgmpRequest.Size(m)
1730}
1731func (m *IgmpRequest) XXX_DiscardUnknown() {
1732 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1733}
1734
1735var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1736
1737func (m *IgmpRequest) GetOnuReq() *ONURequest {
1738 if m != nil {
1739 return m.OnuReq
1740 }
1741 return nil
1742}
1743
1744func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1745 if m != nil {
1746 return m.SubActionVal
1747 }
1748 return SubActionTypes_JOIN
1749}
1750
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001751func (m *IgmpRequest) GetGroupAddress() string {
1752 if m != nil {
1753 return m.GroupAddress
1754 }
1755 return ""
1756}
1757
Pragya Arya8bdb4532020-03-02 17:08:09 +05301758type Flows struct {
1759 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1760 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1761 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1762 XXX_unrecognized []byte `json:"-"`
1763 XXX_sizecache int32 `json:"-"`
1764}
1765
1766func (m *Flows) Reset() { *m = Flows{} }
1767func (m *Flows) String() string { return proto.CompactTextString(m) }
1768func (*Flows) ProtoMessage() {}
1769func (*Flows) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001770 return fileDescriptor_ef7750073d18011b, []int{25}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301771}
1772
1773func (m *Flows) XXX_Unmarshal(b []byte) error {
1774 return xxx_messageInfo_Flows.Unmarshal(m, b)
1775}
1776func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1777 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1778}
1779func (m *Flows) XXX_Merge(src proto.Message) {
1780 xxx_messageInfo_Flows.Merge(m, src)
1781}
1782func (m *Flows) XXX_Size() int {
1783 return xxx_messageInfo_Flows.Size(m)
1784}
1785func (m *Flows) XXX_DiscardUnknown() {
1786 xxx_messageInfo_Flows.DiscardUnknown(m)
1787}
1788
1789var xxx_messageInfo_Flows proto.InternalMessageInfo
1790
1791func (m *Flows) GetFlowCount() uint32 {
1792 if m != nil {
1793 return m.FlowCount
1794 }
1795 return 0
1796}
1797
1798func (m *Flows) GetFlows() []*openolt.Flow {
1799 if m != nil {
1800 return m.Flows
1801 }
1802 return nil
1803}
1804
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001805type Timeout struct {
1806 Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
1807 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1808 XXX_unrecognized []byte `json:"-"`
1809 XXX_sizecache int32 `json:"-"`
1810}
1811
1812func (m *Timeout) Reset() { *m = Timeout{} }
1813func (m *Timeout) String() string { return proto.CompactTextString(m) }
1814func (*Timeout) ProtoMessage() {}
1815func (*Timeout) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001816 return fileDescriptor_ef7750073d18011b, []int{26}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001817}
1818
1819func (m *Timeout) XXX_Unmarshal(b []byte) error {
1820 return xxx_messageInfo_Timeout.Unmarshal(m, b)
1821}
1822func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1823 return xxx_messageInfo_Timeout.Marshal(b, m, deterministic)
1824}
1825func (m *Timeout) XXX_Merge(src proto.Message) {
1826 xxx_messageInfo_Timeout.Merge(m, src)
1827}
1828func (m *Timeout) XXX_Size() int {
1829 return xxx_messageInfo_Timeout.Size(m)
1830}
1831func (m *Timeout) XXX_DiscardUnknown() {
1832 xxx_messageInfo_Timeout.DiscardUnknown(m)
1833}
1834
1835var xxx_messageInfo_Timeout proto.InternalMessageInfo
1836
1837func (m *Timeout) GetDelay() uint32 {
1838 if m != nil {
1839 return m.Delay
1840 }
1841 return 0
1842}
1843
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001844type Empty struct {
1845 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1846 XXX_unrecognized []byte `json:"-"`
1847 XXX_sizecache int32 `json:"-"`
1848}
1849
1850func (m *Empty) Reset() { *m = Empty{} }
1851func (m *Empty) String() string { return proto.CompactTextString(m) }
1852func (*Empty) ProtoMessage() {}
1853func (*Empty) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001854 return fileDescriptor_ef7750073d18011b, []int{27}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001855}
1856
1857func (m *Empty) XXX_Unmarshal(b []byte) error {
1858 return xxx_messageInfo_Empty.Unmarshal(m, b)
1859}
1860func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1861 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1862}
1863func (m *Empty) XXX_Merge(src proto.Message) {
1864 xxx_messageInfo_Empty.Merge(m, src)
1865}
1866func (m *Empty) XXX_Size() int {
1867 return xxx_messageInfo_Empty.Size(m)
1868}
1869func (m *Empty) XXX_DiscardUnknown() {
1870 xxx_messageInfo_Empty.DiscardUnknown(m)
1871}
1872
1873var xxx_messageInfo_Empty proto.InternalMessageInfo
1874
1875func init() {
Elia Battistonac63b112022-01-12 18:40:49 +01001876 proto.RegisterEnum("bbsim.UniType", UniType_name, UniType_value)
Arjun E K57a7fcb2020-01-30 06:44:45 +00001877 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001878 proto.RegisterEnum("bbsim.OltAllocatedResourceType_Type", OltAllocatedResourceType_Type_name, OltAllocatedResourceType_Type_value)
Scott Baker41724b82020-01-21 19:54:53 -08001879 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001880 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001881 proto.RegisterType((*PonAllocatedResources)(nil), "bbsim.PonAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001882 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1883 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001884 proto.RegisterType((*OltAllocatedResourceType)(nil), "bbsim.OltAllocatedResourceType")
1885 proto.RegisterType((*OltAllocatedResource)(nil), "bbsim.OltAllocatedResource")
1886 proto.RegisterType((*OltAllocatedResources)(nil), "bbsim.OltAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001887 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001888 proto.RegisterType((*UNI)(nil), "bbsim.UNI")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001889 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301890 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001891 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001892 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001893 proto.RegisterType((*UNIs)(nil), "bbsim.UNIs")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001894 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301895 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001896 proto.RegisterType((*UNIRequest)(nil), "bbsim.UNIRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001897 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1898 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301899 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1900 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001901 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1902 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1903 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001904 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301905 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001906 proto.RegisterType((*Timeout)(nil), "bbsim.Timeout")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001907 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1908}
1909
Matteo Scandolof65e6872020-04-15 15:18:43 -07001910func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001911
1912var fileDescriptor_ef7750073d18011b = []byte{
Elia Battistonb7bea222022-02-18 16:25:00 +01001913 // 2272 bytes of a gzipped FileDescriptorProto
1914 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0xdd, 0x6e, 0xdb, 0xc8,
Elia Battiston9a1da622022-02-09 14:43:52 +01001915 0x15, 0xb6, 0xfe, 0x2c, 0xe9, 0xc8, 0x92, 0xe8, 0x49, 0xec, 0x25, 0x1c, 0xef, 0xc6, 0xe0, 0x66,
1916 0x17, 0x4e, 0xb0, 0xeb, 0x6c, 0x92, 0xee, 0x36, 0xb9, 0x94, 0x25, 0x5a, 0xe1, 0x5a, 0x26, 0x89,
Elia Battistonb7bea222022-02-18 16:25:00 +01001917 0xa1, 0xe4, 0x20, 0xed, 0x85, 0x40, 0x93, 0x63, 0x99, 0x28, 0x45, 0x2a, 0x24, 0x65, 0xd7, 0x0f,
1918 0xd0, 0x67, 0xe8, 0xe5, 0x02, 0x7d, 0x80, 0xbe, 0x47, 0xef, 0x7a, 0x5f, 0xa0, 0x77, 0x7d, 0x8e,
1919 0x16, 0x33, 0x1c, 0x52, 0xa4, 0x24, 0x3b, 0xce, 0x55, 0x6f, 0x0c, 0x9e, 0xef, 0xfc, 0xcc, 0x99,
1920 0xf3, 0x33, 0x73, 0x46, 0x86, 0x1d, 0x73, 0xe6, 0xbc, 0xbc, 0xb8, 0x08, 0x9d, 0x69, 0xfc, 0xf7,
1921 0x68, 0x16, 0xf8, 0x91, 0x8f, 0x2a, 0x8c, 0xd8, 0x7b, 0x72, 0xed, 0xbb, 0xd1, 0x95, 0x39, 0x66,
1922 0x60, 0xf8, 0xd2, 0x9f, 0x11, 0xcf, 0x77, 0xa3, 0x58, 0x66, 0xef, 0x20, 0xcf, 0x8c, 0x88, 0x75,
1923 0x45, 0xbf, 0x2f, 0x1d, 0x97, 0xc4, 0x12, 0xd2, 0x7f, 0x8b, 0x50, 0xd5, 0x35, 0x55, 0xf7, 0x83,
1924 0x08, 0xb5, 0xa0, 0xa8, 0xf4, 0xc4, 0xc2, 0x41, 0xe1, 0xb0, 0x82, 0x8b, 0x4a, 0x0f, 0xed, 0x43,
1925 0x5d, 0x9b, 0x91, 0xc0, 0x88, 0xcc, 0x88, 0x88, 0xc5, 0x83, 0xc2, 0x61, 0x1d, 0x2f, 0x00, 0xf4,
1926 0x0c, 0x9a, 0x8a, 0x17, 0x91, 0xc0, 0x33, 0xdd, 0x58, 0xa2, 0xc4, 0x24, 0xf2, 0x20, 0x3a, 0x80,
1927 0x86, 0x6e, 0x5a, 0x7f, 0x22, 0x51, 0xd7, 0x9f, 0x7b, 0x91, 0x58, 0x3e, 0x28, 0x1c, 0x96, 0x71,
1928 0x16, 0x42, 0x27, 0xd0, 0xee, 0xb8, 0xae, 0x6f, 0x99, 0x11, 0xb1, 0x35, 0x6f, 0xae, 0xd8, 0xa1,
1929 0x58, 0x39, 0x28, 0x1d, 0x36, 0x5e, 0xef, 0x1f, 0xc5, 0xdb, 0xd5, 0x7d, 0x2f, 0x15, 0xc0, 0x24,
1930 0xf4, 0xe7, 0x81, 0x45, 0x42, 0xbc, 0xac, 0x84, 0x7e, 0x85, 0xed, 0x14, 0xea, 0x93, 0x29, 0xdd,
1931 0x51, 0x28, 0x6e, 0x3e, 0xc0, 0xd2, 0xaa, 0x5a, 0xce, 0x16, 0xfb, 0xa0, 0x5e, 0x55, 0xbf, 0xc8,
1932 0x56, 0xa2, 0x86, 0xbe, 0x01, 0x18, 0x12, 0xeb, 0xca, 0xf3, 0x5d, 0x7f, 0x72, 0x2b, 0xd6, 0x58,
1933 0x90, 0x32, 0x88, 0x74, 0x0a, 0x3b, 0x6b, 0x6d, 0x21, 0x09, 0xb6, 0x0c, 0x12, 0x38, 0xa6, 0xab,
1934 0xce, 0xa7, 0x17, 0x24, 0x60, 0x89, 0xa9, 0xe3, 0x1c, 0xc6, 0x52, 0x66, 0xb3, 0xdc, 0xd0, 0x94,
1935 0xd9, 0xd2, 0xef, 0xa1, 0xaa, 0xaa, 0xca, 0x97, 0x67, 0x53, 0xfa, 0x4f, 0x01, 0x4a, 0x9a, 0xbb,
1936 0xaa, 0xb5, 0xec, 0x44, 0x71, 0x8d, 0x13, 0x39, 0xcb, 0xa5, 0xcf, 0xd6, 0x49, 0x79, 0x5d, 0x9d,
1937 0xd0, 0x75, 0x75, 0xb1, 0xca, 0x58, 0x45, 0x45, 0x47, 0x2f, 0xa0, 0xc6, 0x37, 0x92, 0x94, 0x43,
1938 0x8b, 0x07, 0x9e, 0xc3, 0x38, 0xe5, 0x53, 0x59, 0x5e, 0xc2, 0x49, 0xc2, 0x13, 0x59, 0x0e, 0xe3,
1939 0x94, 0x2f, 0xfd, 0xa5, 0x00, 0xa2, 0xe6, 0x46, 0x2b, 0xe1, 0x1e, 0xde, 0xce, 0x08, 0x7a, 0x0b,
1940 0xe5, 0xe8, 0x76, 0x46, 0xd8, 0xf6, 0x5b, 0xaf, 0x9f, 0x71, 0x23, 0x77, 0x89, 0x1f, 0xd1, 0x3f,
1941 0x98, 0x69, 0x48, 0x2f, 0xa1, 0xcc, 0x2c, 0x34, 0xa0, 0x3a, 0x52, 0x4f, 0x55, 0xed, 0x83, 0x2a,
1942 0x6c, 0xa0, 0x2d, 0xa8, 0x75, 0x06, 0x03, 0xad, 0x3b, 0x56, 0x7a, 0x42, 0x81, 0x52, 0x7d, 0xf9,
1943 0x6c, 0xac, 0x6b, 0x78, 0x28, 0x14, 0xa5, 0xbf, 0x17, 0xe0, 0xf1, 0x3a, 0xc3, 0x08, 0xc5, 0x96,
1944 0x78, 0xb6, 0x63, 0xab, 0xfb, 0x50, 0xd7, 0x7d, 0x8f, 0x6e, 0x80, 0x27, 0xbb, 0x89, 0x17, 0x00,
1945 0x7a, 0x0c, 0x15, 0xd6, 0x02, 0x2c, 0xf4, 0x4d, 0x1c, 0x13, 0x68, 0x17, 0x36, 0x29, 0x5f, 0xf5,
1946 0x59, 0xbc, 0x9b, 0x98, 0x53, 0xb4, 0x1c, 0x93, 0xb5, 0x14, 0x5b, 0xac, 0xb0, 0x44, 0x67, 0x10,
1947 0xaa, 0x77, 0xe2, 0xfa, 0x37, 0x8a, 0x2d, 0x6e, 0xb2, 0x5e, 0xe5, 0x94, 0x84, 0x61, 0x67, 0x9d,
1948 0xbf, 0x21, 0x7a, 0x07, 0xf5, 0x20, 0x21, 0xc4, 0x02, 0x0b, 0xff, 0x93, 0x7b, 0x22, 0x87, 0x17,
1949 0xd2, 0xd2, 0x6f, 0x65, 0x28, 0x69, 0xea, 0xe8, 0xff, 0x56, 0x74, 0x99, 0xb8, 0xf6, 0x78, 0x28,
1950 0x16, 0x00, 0x3a, 0x80, 0xfa, 0xfb, 0x9b, 0x8e, 0x6d, 0x07, 0x24, 0x0c, 0xe3, 0xbe, 0x3d, 0x2e,
1951 0x8a, 0x05, 0xbc, 0x00, 0xd1, 0x5e, 0x1a, 0xe3, 0x3a, 0x55, 0x66, 0xec, 0x24, 0xce, 0x47, 0x50,
1952 0x0b, 0x49, 0x70, 0xed, 0xd0, 0xa8, 0x40, 0xae, 0x28, 0x8d, 0x18, 0x66, 0xd2, 0xa9, 0x0c, 0xea,
1953 0xc1, 0xd7, 0xca, 0xd4, 0x9c, 0x10, 0xc3, 0xbf, 0x8c, 0x6e, 0xcc, 0x80, 0xc8, 0x7f, 0x9e, 0x11,
1954 0x2b, 0x22, 0xb6, 0x41, 0xac, 0xc8, 0xf1, 0xbd, 0x50, 0x6c, 0x30, 0xff, 0xee, 0x17, 0x5a, 0xb1,
1955 0x82, 0x89, 0x45, 0x9c, 0xeb, 0x8c, 0x95, 0xad, 0x35, 0x56, 0x96, 0x85, 0xd0, 0x4f, 0xf0, 0xa8,
1956 0x63, 0x45, 0xce, 0x35, 0x61, 0x62, 0xb2, 0x17, 0x39, 0xd1, 0xad, 0x62, 0x8b, 0x4d, 0xa6, 0xbb,
1957 0x8e, 0x85, 0x7e, 0x81, 0xdd, 0xae, 0x3f, 0x9d, 0x3a, 0x51, 0x44, 0xec, 0xbc, 0x52, 0x8b, 0x29,
1958 0xdd, 0xc1, 0x45, 0xdf, 0x40, 0x79, 0xee, 0x39, 0xa1, 0xd8, 0x66, 0x11, 0x02, 0x1e, 0xa1, 0x91,
1959 0xaa, 0x60, 0x86, 0x4b, 0xff, 0x2a, 0x40, 0x69, 0xa4, 0x2a, 0x2b, 0x15, 0xc2, 0x6b, 0xbe, 0xc7,
1960 0x8f, 0xbe, 0x98, 0xe0, 0xa8, 0xe1, 0xf1, 0x7a, 0x88, 0x09, 0xda, 0x51, 0x67, 0x44, 0xe9, 0xf1,
1961 0x3e, 0x60, 0xdf, 0xf9, 0xea, 0xa9, 0x2c, 0x57, 0xcf, 0xa2, 0x77, 0x36, 0x99, 0xf9, 0x24, 0xa7,
1962 0x2f, 0x32, 0x39, 0xad, 0xae, 0xcb, 0x69, 0x26, 0x9f, 0x12, 0xef, 0xe3, 0x1a, 0x3b, 0x4b, 0x12,
1963 0xb9, 0x91, 0xe7, 0xc4, 0xa7, 0x06, 0xfd, 0x2b, 0xfd, 0xa3, 0x02, 0x55, 0xae, 0x49, 0xbd, 0x54,
1964 0xcd, 0x69, 0xda, 0xf7, 0xf4, 0x9b, 0x7a, 0xb9, 0xa8, 0x40, 0x7e, 0x64, 0x2f, 0xaa, 0xef, 0xce,
1965 0xdd, 0x1a, 0x43, 0x73, 0xc2, 0x76, 0x5b, 0xc1, 0xec, 0x9b, 0x62, 0x5d, 0x8a, 0xc5, 0x25, 0xce,
1966 0xbe, 0xe9, 0x39, 0xa0, 0x12, 0x62, 0x87, 0xb2, 0x39, 0xf3, 0x5d, 0xb6, 0xcf, 0x1a, 0xce, 0x20,
1967 0x74, 0x6d, 0x46, 0xf5, 0xae, 0xac, 0x19, 0x3b, 0x97, 0x6b, 0x78, 0x01, 0xa4, 0x5c, 0x65, 0x32,
1968 0x9d, 0xb1, 0x2d, 0x26, 0x5c, 0x0a, 0x20, 0x11, 0xaa, 0xfc, 0x2a, 0x8d, 0x1b, 0x03, 0x27, 0x24,
1969 0x5d, 0x95, 0x99, 0x8f, 0x03, 0x0f, 0xf1, 0x65, 0xb8, 0x40, 0xa8, 0x5d, 0x6a, 0x3f, 0x66, 0x37,
1970 0xe2, 0x1d, 0xa7, 0xc0, 0x6a, 0x57, 0x6f, 0xdd, 0xd1, 0xd5, 0x4a, 0xff, 0x4c, 0x8f, 0x25, 0x9a,
1971 0xb1, 0x8d, 0x14, 0xa0, 0x51, 0x1b, 0x79, 0x0e, 0x2f, 0xcc, 0x26, 0x8e, 0x09, 0x3a, 0xa6, 0xd0,
1972 0xd4, 0x98, 0x93, 0x33, 0x33, 0xb2, 0xae, 0xc4, 0x36, 0xf3, 0x3a, 0x0b, 0xa1, 0xef, 0xa1, 0x35,
1973 0x0a, 0x69, 0xe4, 0xf4, 0xc0, 0xf1, 0x03, 0x27, 0xba, 0x15, 0x05, 0x66, 0x60, 0x09, 0x8d, 0xe5,
1974 0x8c, 0xac, 0xdc, 0x76, 0x22, 0x67, 0x2c, 0xc9, 0xf5, 0xf2, 0xf6, 0x50, 0x2c, 0xd7, 0x5b, 0xb1,
1975 0xd7, 0xcb, 0xdb, 0x7b, 0x94, 0xc8, 0xe5, 0xec, 0x25, 0xf9, 0xd4, 0x75, 0xdd, 0x97, 0xc5, 0xc7,
1976 0x99, 0x7c, 0x32, 0x84, 0xf6, 0x74, 0xd7, 0xf7, 0x2e, 0x9d, 0xc9, 0x3c, 0x20, 0x67, 0xa6, 0x95,
1977 0x54, 0xd5, 0x0e, 0x13, 0x5c, 0xc7, 0x42, 0x3f, 0xc0, 0xb6, 0xec, 0x99, 0x17, 0x2e, 0xc5, 0x06,
1978 0xc4, 0x0c, 0x3c, 0xc7, 0x9b, 0x88, 0xbb, 0x4c, 0x7e, 0x95, 0x21, 0x99, 0xf0, 0x58, 0x53, 0x47,
1979 0xc3, 0xc0, 0xbc, 0xbc, 0x74, 0x2c, 0xc3, 0xba, 0x22, 0xf6, 0xdc, 0x25, 0x41, 0x88, 0x14, 0x68,
1980 0x47, 0x14, 0x5c, 0x40, 0xac, 0xc4, 0x1b, 0xaf, 0x9f, 0x1e, 0xe5, 0xc6, 0xd1, 0x15, 0x4d, 0xbc,
1981 0xac, 0x27, 0x1d, 0x42, 0x59, 0x53, 0x47, 0x21, 0x3a, 0x80, 0x8a, 0x13, 0x91, 0x69, 0x72, 0xdb,
1982 0x24, 0xa7, 0x86, 0xa6, 0x8e, 0x70, 0xcc, 0x90, 0x7e, 0x82, 0x9a, 0x91, 0x34, 0xe2, 0xb3, 0xbc,
1983 0xf4, 0x72, 0xc7, 0x72, 0x8d, 0x43, 0x28, 0x8f, 0x54, 0xe5, 0x4e, 0xdb, 0xf4, 0x44, 0x4a, 0x6d,
1984 0x03, 0x5d, 0x89, 0x7c, 0x9a, 0x93, 0x30, 0x7a, 0xc8, 0x90, 0x26, 0xbd, 0x00, 0xd0, 0x35, 0x35,
1985 0xd1, 0xc8, 0x5d, 0xe6, 0x85, 0xa5, 0xcb, 0x5c, 0x1a, 0x00, 0xd0, 0xb5, 0xb8, 0xec, 0x21, 0xb4,
1986 0x69, 0x57, 0xaf, 0x2e, 0xb0, 0x0c, 0x27, 0x65, 0xdd, 0xe3, 0xc7, 0x44, 0x4c, 0x48, 0xff, 0x2e,
1987 0x41, 0xbd, 0xe3, 0x9a, 0xc1, 0x94, 0x1d, 0x37, 0xff, 0x2c, 0x41, 0x85, 0x7e, 0x84, 0xa8, 0x0a,
1988 0xa5, 0x81, 0x66, 0x08, 0x1b, 0xa8, 0x05, 0xd0, 0xfb, 0xa8, 0xa8, 0xfd, 0x71, 0xbf, 0x63, 0xe8,
1989 0x42, 0x01, 0x35, 0xa1, 0xae, 0xa9, 0xa3, 0x71, 0x67, 0xd0, 0xc1, 0x67, 0x42, 0x11, 0x7d, 0x05,
1990 0x8f, 0x28, 0x69, 0x0c, 0x3b, 0x78, 0x38, 0xd2, 0xc7, 0x27, 0x1d, 0x65, 0x30, 0xc2, 0xb2, 0x50,
1991 0x42, 0xbb, 0x80, 0x18, 0x43, 0xe9, 0xab, 0x9d, 0xc1, 0xb8, 0x27, 0xf7, 0x71, 0xa7, 0x27, 0x0b,
1992 0xe5, 0x44, 0xa1, 0x87, 0x95, 0x93, 0xe1, 0x58, 0x3b, 0x19, 0x7f, 0x50, 0xd4, 0x9e, 0xf6, 0x41,
1993 0xa8, 0xa0, 0x7d, 0x10, 0x29, 0x63, 0xa0, 0x19, 0x06, 0xc5, 0xb5, 0xb3, 0xae, 0x32, 0xee, 0xbe,
1994 0xef, 0xa8, 0xaa, 0x3c, 0x10, 0x36, 0xd3, 0x75, 0x98, 0x39, 0x23, 0x5d, 0xa7, 0x8a, 0x9e, 0xc3,
1995 0x77, 0x94, 0x31, 0xc4, 0x1d, 0xd5, 0x38, 0x53, 0x0c, 0x43, 0xd1, 0xd4, 0xb1, 0xa2, 0x0e, 0x65,
1996 0x7c, 0x22, 0x63, 0x59, 0xed, 0xca, 0xe3, 0x0f, 0x1d, 0xac, 0x2a, 0x6a, 0x5f, 0xa8, 0xa1, 0x3d,
1997 0xd8, 0x65, 0xae, 0x77, 0x87, 0xca, 0x79, 0x67, 0x48, 0x05, 0x13, 0x33, 0x75, 0x24, 0xb2, 0xe2,
1998 0x1c, 0xeb, 0x58, 0xeb, 0xca, 0x86, 0x41, 0xf7, 0x2b, 0x63, 0xac, 0x61, 0x01, 0xd0, 0x01, 0xec,
1999 0x67, 0xfd, 0x3a, 0x95, 0x3f, 0x8e, 0x8d, 0x8f, 0x6a, 0x37, 0xd5, 0x6d, 0xa0, 0x1d, 0xd8, 0xa6,
2000 0x12, 0xca, 0x70, 0x34, 0xd6, 0x35, 0x95, 0xc6, 0x62, 0x68, 0x08, 0x5b, 0x68, 0x1b, 0x9a, 0x69,
2001 0xa4, 0xa8, 0xba, 0xd0, 0x5c, 0x86, 0x8e, 0x85, 0x56, 0xb2, 0xb1, 0x04, 0xd2, 0xbb, 0x63, 0xba,
2002 0x0b, 0xa1, 0x9d, 0xc4, 0x23, 0xc7, 0xe8, 0x72, 0xaf, 0x04, 0x84, 0xa0, 0x95, 0xe5, 0x9e, 0x28,
2003 0xc2, 0x36, 0x7a, 0x04, 0xed, 0x2c, 0xd6, 0x39, 0x53, 0x04, 0x24, 0xbd, 0x85, 0x16, 0xcb, 0xaf,
2004 0x6e, 0x06, 0xe6, 0x94, 0x44, 0x24, 0x40, 0x02, 0x94, 0x4e, 0xc9, 0x2d, 0x2f, 0x13, 0xfa, 0x49,
2005 0x4b, 0xe3, 0xdc, 0x74, 0xe7, 0xc9, 0xd0, 0x1f, 0x13, 0xd2, 0xdf, 0x0a, 0xcc, 0x1e, 0xd3, 0xce,
2006 0x94, 0x66, 0x5a, 0x2d, 0xdc, 0xc2, 0x02, 0x78, 0xd0, 0x54, 0xb6, 0x0b, 0x9b, 0xf4, 0x98, 0x9d,
2007 0x87, 0xfc, 0x52, 0xe2, 0x14, 0xfa, 0x19, 0x20, 0x75, 0x31, 0x14, 0xcb, 0xac, 0xb7, 0x76, 0x78,
2008 0x6f, 0xe5, 0x37, 0x80, 0x33, 0x82, 0xd2, 0x27, 0x68, 0x6b, 0x83, 0x61, 0xce, 0xc7, 0x03, 0x68,
2009 0xb0, 0xe3, 0xfe, 0xd2, 0xb4, 0x08, 0x1f, 0x09, 0x9a, 0x38, 0x0b, 0xa5, 0xb7, 0x04, 0x25, 0xd9,
2010 0x4e, 0x8a, 0x99, 0x5b, 0x22, 0x01, 0xef, 0xf2, 0x94, 0x3e, 0x10, 0x9a, 0xe7, 0x24, 0x08, 0x1d,
2011 0xdf, 0xe3, 0x7b, 0x12, 0xa1, 0x7a, 0x1d, 0x03, 0x3c, 0x26, 0x09, 0x49, 0xe3, 0x75, 0x31, 0x77,
2012 0x5c, 0x7b, 0xe8, 0x4c, 0xd3, 0x27, 0x55, 0x0a, 0xd0, 0x13, 0xd9, 0x62, 0x53, 0xcf, 0x7b, 0x33,
2013 0xbc, 0xe2, 0xab, 0x64, 0x10, 0xaa, 0x3d, 0x71, 0x22, 0xee, 0x44, 0x3c, 0x9f, 0x2e, 0x00, 0xe9,
2014 0x2d, 0xd4, 0x06, 0xfe, 0x64, 0x40, 0xae, 0x89, 0x4b, 0x33, 0xe8, 0xd2, 0x0f, 0xbe, 0x7e, 0x4c,
2015 0xd0, 0x1d, 0x58, 0xa6, 0xeb, 0xf2, 0x4c, 0xd4, 0x30, 0xa7, 0x24, 0x19, 0x6a, 0x98, 0x84, 0x33,
2016 0xdf, 0x0b, 0x09, 0x7a, 0x0a, 0x8d, 0x90, 0xd9, 0x1b, 0x5b, 0xbe, 0x4d, 0xf8, 0x00, 0x05, 0x31,
2017 0xd4, 0xf5, 0x6d, 0x42, 0x37, 0x37, 0x25, 0x61, 0x68, 0x4e, 0x92, 0x0d, 0x24, 0xa4, 0xf4, 0xd7,
2018 0x02, 0x34, 0xe8, 0x6d, 0x9e, 0x04, 0xfe, 0x39, 0x6c, 0x6a, 0xde, 0x1c, 0x93, 0x4f, 0xfc, 0xfc,
2019 0xde, 0xce, 0x1c, 0xbb, 0xb1, 0x08, 0xe6, 0x02, 0xe8, 0x1d, 0x6c, 0x19, 0xf3, 0x8b, 0x0e, 0x9b,
2020 0x26, 0xcf, 0x4d, 0x97, 0x59, 0x6e, 0xa5, 0xf9, 0x4e, 0x59, 0xec, 0x2c, 0xc2, 0x39, 0x51, 0x5a,
2021 0x64, 0xfd, 0xc0, 0x9f, 0xcf, 0x92, 0xfb, 0x29, 0x0e, 0x5b, 0x0e, 0x93, 0x4e, 0xa1, 0x42, 0x1f,
2022 0x25, 0x21, 0xfa, 0x1a, 0xe0, 0xd2, 0xf5, 0x6f, 0xc6, 0x16, 0xfb, 0x6d, 0x81, 0x9f, 0xa5, 0x14,
2023 0x89, 0x7f, 0x59, 0xf8, 0x16, 0x2a, 0x94, 0xa0, 0xa3, 0x13, 0xad, 0xb7, 0xe6, 0x51, 0xf2, 0xe3,
2024 0x08, 0xd5, 0xc6, 0x31, 0x4f, 0x7a, 0x0a, 0x55, 0x9a, 0x2d, 0x7f, 0x1e, 0xd1, 0x30, 0xdb, 0xc4,
2025 0x35, 0x6f, 0xb9, 0xa5, 0x98, 0x90, 0xaa, 0x50, 0x91, 0xa7, 0xb3, 0xe8, 0xf6, 0xc5, 0x3e, 0x54,
2026 0xf9, 0xf8, 0x46, 0xcf, 0x4f, 0x79, 0xf8, 0x5e, 0xd8, 0x40, 0x35, 0x28, 0xeb, 0xda, 0xd0, 0x10,
2027 0x0a, 0x2f, 0x5e, 0x41, 0x2b, 0xbf, 0x31, 0xca, 0xfb, 0x55, 0x53, 0xe8, 0x43, 0xb0, 0x0e, 0x95,
2028 0x81, 0xdc, 0x39, 0x97, 0x85, 0x02, 0x02, 0xd8, 0xa4, 0xe0, 0xf9, 0x1b, 0xa1, 0xf8, 0xfa, 0xb7,
2029 0x2d, 0xa8, 0x1c, 0x1f, 0x1b, 0xce, 0x14, 0xbd, 0x84, 0x2a, 0xaf, 0x39, 0xb4, 0xc5, 0xa3, 0xc4,
2030 0xd6, 0xdc, 0x7b, 0xcc, 0xa9, 0x5c, 0x45, 0x4a, 0x1b, 0xe8, 0x15, 0x34, 0x0c, 0x12, 0xa5, 0x05,
2031 0xd2, 0xe6, 0x62, 0x09, 0xb0, 0xb7, 0x0c, 0x48, 0x1b, 0xe8, 0x19, 0x6c, 0xf6, 0x49, 0x44, 0xdf,
2032 0xf8, 0xf9, 0x25, 0x60, 0xf1, 0x58, 0x93, 0x36, 0xd0, 0x1f, 0x41, 0x8c, 0xa5, 0xd6, 0xbc, 0xf4,
2033 0x9e, 0x7e, 0xe6, 0x41, 0xbc, 0xb7, 0x7f, 0x8f, 0x40, 0x28, 0x6d, 0xa0, 0x1f, 0x01, 0x74, 0xff,
2034 0x86, 0x04, 0xbe, 0xb7, 0xea, 0x46, 0xe2, 0x71, 0x52, 0xba, 0xd2, 0x06, 0x3a, 0x82, 0x86, 0x71,
2035 0x35, 0x8f, 0x6c, 0xff, 0xe6, 0x61, 0xf2, 0x3f, 0x40, 0x1d, 0x93, 0x0b, 0xdf, 0x8f, 0x1e, 0x24,
2036 0x4d, 0x13, 0x16, 0xf9, 0xb3, 0x09, 0xd6, 0xbb, 0x74, 0x16, 0x20, 0xc1, 0xe7, 0x55, 0x5e, 0x43,
2037 0xdb, 0x88, 0xcc, 0x20, 0xfa, 0x12, 0x9d, 0x5f, 0x60, 0x1b, 0x93, 0x70, 0x49, 0x2b, 0x19, 0x42,
2038 0x78, 0xe5, 0xad, 0xd3, 0x7b, 0x1e, 0xa7, 0x4b, 0x1d, 0xa1, 0xd5, 0x46, 0xdb, 0xcb, 0x8c, 0x3c,
2039 0xd2, 0x06, 0xfa, 0x9e, 0x8e, 0xdb, 0x11, 0x1b, 0x8d, 0xf2, 0xee, 0x34, 0x16, 0x62, 0x34, 0xfc,
2040 0x6f, 0xa0, 0xd1, 0x27, 0x51, 0x3a, 0x18, 0x6d, 0x67, 0x66, 0x1b, 0x6e, 0xb7, 0x9d, 0x1f, 0x8e,
2041 0x42, 0x96, 0x04, 0xa0, 0xc6, 0xbd, 0xf9, 0xc8, 0x73, 0xc2, 0x75, 0xbe, 0x34, 0x16, 0x66, 0xf8,
2042 0x22, 0x69, 0xd2, 0xd6, 0x3b, 0x7f, 0x47, 0x60, 0xb9, 0x52, 0xc7, 0x75, 0xd7, 0xec, 0x64, 0x8d,
2043 0xce, 0x3b, 0xd8, 0xce, 0x2c, 0x14, 0x6a, 0x9e, 0xae, 0xa9, 0xe9, 0x72, 0x8b, 0x79, 0x6b, 0xfd,
2044 0x72, 0x69, 0x1d, 0x3e, 0xd8, 0xc5, 0x57, 0xd0, 0xe2, 0x3a, 0x0f, 0xf6, 0xf0, 0x2d, 0x08, 0x8b,
2045 0x65, 0xbe, 0xc8, 0xc1, 0xdf, 0xc1, 0x16, 0x2f, 0x9a, 0xf8, 0x31, 0x76, 0x4f, 0xaa, 0x32, 0x5a,
2046 0x6f, 0xa0, 0xc1, 0xb5, 0xd8, 0x1b, 0xed, 0x61, 0x4a, 0xc7, 0xb0, 0x63, 0xb0, 0xfc, 0xb2, 0x5b,
2047 0x56, 0xf1, 0x6c, 0xc7, 0x32, 0xe9, 0x19, 0x86, 0x76, 0x17, 0x61, 0xc9, 0x5e, 0xc0, 0xf7, 0xd8,
2048 0xa0, 0x5d, 0x7f, 0x87, 0x8d, 0xfc, 0x25, 0xbe, 0xce, 0xc6, 0x8f, 0x50, 0xeb, 0x93, 0x28, 0x3e,
2049 0xd7, 0xd7, 0x64, 0x24, 0x09, 0x36, 0x13, 0x60, 0xb1, 0x6d, 0x77, 0xaf, 0x4c, 0x6f, 0x42, 0xe8,
2050 0x15, 0x15, 0xbf, 0xec, 0x10, 0x17, 0xc9, 0x5c, 0x5a, 0xeb, 0x16, 0x3a, 0x85, 0xaf, 0xe2, 0x82,
2051 0x5e, 0x7d, 0xab, 0xac, 0x59, 0xf7, 0xc9, 0x02, 0x5a, 0x91, 0x4f, 0x5b, 0x8f, 0xb5, 0xc6, 0xfa,
2052 0xd6, 0xe3, 0x5d, 0xf1, 0x33, 0x9d, 0x49, 0xae, 0x4d, 0xd7, 0xb1, 0xcd, 0x88, 0x9c, 0xd9, 0xe1,
2053 0xc3, 0x8a, 0xee, 0xf8, 0xbb, 0x3f, 0x7c, 0x3b, 0x71, 0xa2, 0xab, 0xf9, 0xc5, 0x91, 0xe5, 0x4f,
2054 0xd9, 0x6f, 0xfb, 0x96, 0x1f, 0xd8, 0xfc, 0x9f, 0x01, 0xe9, 0xbf, 0x05, 0x2e, 0x36, 0xd9, 0x6f,
2055 0xf9, 0x6f, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x7c, 0x64, 0x8c, 0x7f, 0x2a, 0x18, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002056}
2057
2058// Reference imports to suppress errors if they are not otherwise used.
2059var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04002060var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002061
2062// This is a compile-time assertion to ensure that this generated file
2063// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04002064const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002065
2066// BBSimClient is the client API for BBSim service.
2067//
2068// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2069type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002070 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002071 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002072 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302073 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002074 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002075 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002076 GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002077 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002078 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002079 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002080 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002081 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002082 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002083 // Closes the Openolt gRPC server
2084 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
2085 // Start the Openolt gRPC server
2086 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302087 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002088 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002089 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002090 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002091 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302092 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002093 // Get all the Services by Uni ID
2094 GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002095 // Get all the UNIs of an ONU by serial number
2096 GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002097 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002098 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002099 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302100 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002101 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302102 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002103 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002104 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002105 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302106 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002107 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302108 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002109 // Restart EAPOL for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002110 RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002111 // Restart DHCP for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002112 RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002113 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302114 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002115 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302116 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002117 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302118 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002119 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002120 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002121 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302122 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002123 //Return all the UNIs for all the ONUs
2124 GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error)
Elia Battistonfe017662022-01-05 11:43:16 +01002125 //Invalidate the MDS counter for the ONU
2126 InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002127}
2128
2129type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04002130 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002131}
2132
Kent Hagerman60d62302020-03-10 17:02:36 -04002133func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002134 return &bBSimClient{cc}
2135}
2136
2137func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
2138 out := new(VersionNumber)
2139 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
2140 if err != nil {
2141 return nil, err
2142 }
2143 return out, nil
2144}
2145
Pragya Aryabd731ec2020-02-11 16:38:17 +05302146func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
2147 out := new(LogLevel)
2148 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
2149 if err != nil {
2150 return nil, err
2151 }
2152 return out, nil
2153}
2154
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002155func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
2156 out := new(Olt)
2157 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
2158 if err != nil {
2159 return nil, err
2160 }
2161 return out, nil
2162}
2163
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002164func (c *bBSimClient) GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) {
2165 out := new(OltAllocatedResources)
2166 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOltAllocatedResources", in, out, opts...)
2167 if err != nil {
2168 return nil, err
2169 }
2170 return out, nil
2171}
2172
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002173func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2174 out := new(Response)
2175 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
2176 if err != nil {
2177 return nil, err
2178 }
2179 return out, nil
2180}
2181
2182func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2183 out := new(Response)
2184 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
2185 if err != nil {
2186 return nil, err
2187 }
2188 return out, nil
2189}
2190
2191func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2192 out := new(Response)
2193 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
2194 if err != nil {
2195 return nil, err
2196 }
2197 return out, nil
2198}
2199
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002200func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2201 out := new(Response)
2202 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
2203 if err != nil {
2204 return nil, err
2205 }
2206 return out, nil
2207}
2208
2209func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2210 out := new(Response)
2211 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
2212 if err != nil {
2213 return nil, err
2214 }
2215 return out, nil
2216}
2217
2218func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
2219 out := new(Response)
2220 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
2221 if err != nil {
2222 return nil, err
2223 }
2224 return out, nil
2225}
2226
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002227func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
2228 out := new(ONU)
2229 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
2230 if err != nil {
2231 return nil, err
2232 }
2233 return out, nil
2234}
2235
Pragya Aryabd731ec2020-02-11 16:38:17 +05302236func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
2237 out := new(ONUs)
2238 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002239 if err != nil {
2240 return nil, err
2241 }
2242 return out, nil
2243}
2244
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002245func (c *bBSimClient) GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002246 out := new(Services)
2247 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
2248 if err != nil {
2249 return nil, err
2250 }
2251 return out, nil
2252}
2253
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002254func (c *bBSimClient) GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error) {
2255 out := new(UNIs)
2256 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuUnis", in, out, opts...)
2257 if err != nil {
2258 return nil, err
2259 }
2260 return out, nil
2261}
2262
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002263func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2264 out := new(Response)
2265 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
2266 if err != nil {
2267 return nil, err
2268 }
2269 return out, nil
2270}
2271
Pragya Aryabd731ec2020-02-11 16:38:17 +05302272func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2273 out := new(Response)
2274 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
2275 if err != nil {
2276 return nil, err
2277 }
2278 return out, nil
2279}
2280
2281func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2282 out := new(Response)
2283 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
2284 if err != nil {
2285 return nil, err
2286 }
2287 return out, nil
2288}
2289
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002290func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2291 out := new(Response)
2292 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
2293 if err != nil {
2294 return nil, err
2295 }
2296 return out, nil
2297}
2298
Pragya Aryabd731ec2020-02-11 16:38:17 +05302299func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2300 out := new(Response)
2301 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
2302 if err != nil {
2303 return nil, err
2304 }
2305 return out, nil
2306}
2307
2308func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2309 out := new(Response)
2310 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
2311 if err != nil {
2312 return nil, err
2313 }
2314 return out, nil
2315}
2316
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002317func (c *bBSimClient) RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002318 out := new(Response)
2319 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
2320 if err != nil {
2321 return nil, err
2322 }
2323 return out, nil
2324}
2325
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002326func (c *bBSimClient) RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002327 out := new(Response)
2328 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
2329 if err != nil {
2330 return nil, err
2331 }
2332 return out, nil
2333}
2334
Anand S Katti86552f92020-03-03 21:56:32 +05302335func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08002336 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05302337 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
2338 if err != nil {
2339 return nil, err
2340 }
2341 return out, nil
2342}
2343
2344func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
2345 out := new(Response)
2346 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08002347 if err != nil {
2348 return nil, err
2349 }
2350 return out, nil
2351}
2352
Pragya Arya8bdb4532020-03-02 17:08:09 +05302353func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
2354 out := new(Flows)
2355 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
2356 if err != nil {
2357 return nil, err
2358 }
2359 return out, nil
2360}
2361
Arjun E K57a7fcb2020-01-30 06:44:45 +00002362func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
2363 out := new(Response)
2364 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
2365 if err != nil {
2366 return nil, err
2367 }
2368 return out, nil
2369}
2370
Anand S Katti09541352020-01-29 15:54:01 +05302371func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
2372 out := new(ONUTrafficSchedulers)
2373 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
2374 if err != nil {
2375 return nil, err
2376 }
2377 return out, nil
2378}
2379
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002380func (c *bBSimClient) GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error) {
2381 out := new(UNIs)
2382 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetUnis", in, out, opts...)
2383 if err != nil {
2384 return nil, err
2385 }
2386 return out, nil
2387}
2388
Elia Battistonfe017662022-01-05 11:43:16 +01002389func (c *bBSimClient) InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2390 out := new(Response)
2391 err := c.cc.Invoke(ctx, "/bbsim.BBSim/InvalidateMds", in, out, opts...)
2392 if err != nil {
2393 return nil, err
2394 }
2395 return out, nil
2396}
2397
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002398// BBSimServer is the server API for BBSim service.
2399type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002400 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002401 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002402 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302403 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002404 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002405 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002406 GetOltAllocatedResources(context.Context, *OltAllocatedResourceType) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002407 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002408 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002409 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002410 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002411 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002412 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002413 // Closes the Openolt gRPC server
2414 StopgRPCServer(context.Context, *Empty) (*Response, error)
2415 // Start the Openolt gRPC server
2416 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302417 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002418 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002419 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002420 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002421 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302422 GetONUs(context.Context, *Empty) (*ONUs, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002423 // Get all the Services by Uni ID
2424 GetServices(context.Context, *UNIRequest) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002425 // Get all the UNIs of an ONU by serial number
2426 GetOnuUnis(context.Context, *ONURequest) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002427 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002428 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002429 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302430 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002431 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302432 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002433 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002434 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002435 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302436 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002437 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302438 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002439 // Restart EAPOL for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002440 RestartEapol(context.Context, *UNIRequest) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002441 // Restart DHCP for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002442 RestartDhcp(context.Context, *UNIRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002443 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302444 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002445 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302446 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002447 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302448 GetFlows(context.Context, *ONURequest) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002449 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002450 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002451 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302452 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002453 //Return all the UNIs for all the ONUs
2454 GetUnis(context.Context, *Empty) (*UNIs, error)
Elia Battistonfe017662022-01-05 11:43:16 +01002455 //Invalidate the MDS counter for the ONU
2456 InvalidateMds(context.Context, *ONURequest) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002457}
2458
Pragya Aryabd731ec2020-02-11 16:38:17 +05302459// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
2460type UnimplementedBBSimServer struct {
2461}
2462
2463func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
2464 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
2465}
2466func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
2467 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2468}
2469func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
2470 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
2471}
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002472func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error) {
2473 return nil, status.Errorf(codes.Unimplemented, "method GetOltAllocatedResources not implemented")
2474}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302475func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
2476 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
2477}
2478func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
2479 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
2480}
2481func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
2482 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
2483}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002484func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2485 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
2486}
2487func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2488 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
2489}
2490func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
2491 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
2492}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302493func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
2494 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
2495}
2496func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
2497 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
2498}
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002499func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *UNIRequest) (*Services, error) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002500 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
2501}
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002502func (*UnimplementedBBSimServer) GetOnuUnis(ctx context.Context, req *ONURequest) (*UNIs, error) {
2503 return nil, status.Errorf(codes.Unimplemented, "method GetOnuUnis not implemented")
2504}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302505func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
2506 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
2507}
2508func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2509 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
2510}
2511func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2512 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
2513}
2514func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
2515 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
2516}
2517func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2518 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
2519}
2520func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2521 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
2522}
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002523func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *UNIRequest) (*Response, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302524 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
2525}
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002526func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *UNIRequest) (*Response, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302527 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
2528}
2529func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
2530 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
2531}
2532func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
2533 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
2534}
2535func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
2536 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
2537}
2538func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
2539 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
2540}
2541func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
2542 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
2543}
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002544func (*UnimplementedBBSimServer) GetUnis(ctx context.Context, req *Empty) (*UNIs, error) {
2545 return nil, status.Errorf(codes.Unimplemented, "method GetUnis not implemented")
2546}
Elia Battistonfe017662022-01-05 11:43:16 +01002547func (*UnimplementedBBSimServer) InvalidateMds(ctx context.Context, req *ONURequest) (*Response, error) {
2548 return nil, status.Errorf(codes.Unimplemented, "method InvalidateMds not implemented")
2549}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302550
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002551func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
2552 s.RegisterService(&_BBSim_serviceDesc, srv)
2553}
2554
2555func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2556 in := new(Empty)
2557 if err := dec(in); err != nil {
2558 return nil, err
2559 }
2560 if interceptor == nil {
2561 return srv.(BBSimServer).Version(ctx, in)
2562 }
2563 info := &grpc.UnaryServerInfo{
2564 Server: srv,
2565 FullMethod: "/bbsim.BBSim/Version",
2566 }
2567 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2568 return srv.(BBSimServer).Version(ctx, req.(*Empty))
2569 }
2570 return interceptor(ctx, in, info, handler)
2571}
2572
Pragya Aryabd731ec2020-02-11 16:38:17 +05302573func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2574 in := new(LogLevel)
2575 if err := dec(in); err != nil {
2576 return nil, err
2577 }
2578 if interceptor == nil {
2579 return srv.(BBSimServer).SetLogLevel(ctx, in)
2580 }
2581 info := &grpc.UnaryServerInfo{
2582 Server: srv,
2583 FullMethod: "/bbsim.BBSim/SetLogLevel",
2584 }
2585 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2586 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
2587 }
2588 return interceptor(ctx, in, info, handler)
2589}
2590
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002591func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2592 in := new(Empty)
2593 if err := dec(in); err != nil {
2594 return nil, err
2595 }
2596 if interceptor == nil {
2597 return srv.(BBSimServer).GetOlt(ctx, in)
2598 }
2599 info := &grpc.UnaryServerInfo{
2600 Server: srv,
2601 FullMethod: "/bbsim.BBSim/GetOlt",
2602 }
2603 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2604 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
2605 }
2606 return interceptor(ctx, in, info, handler)
2607}
2608
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002609func _BBSim_GetOltAllocatedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2610 in := new(OltAllocatedResourceType)
2611 if err := dec(in); err != nil {
2612 return nil, err
2613 }
2614 if interceptor == nil {
2615 return srv.(BBSimServer).GetOltAllocatedResources(ctx, in)
2616 }
2617 info := &grpc.UnaryServerInfo{
2618 Server: srv,
2619 FullMethod: "/bbsim.BBSim/GetOltAllocatedResources",
2620 }
2621 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2622 return srv.(BBSimServer).GetOltAllocatedResources(ctx, req.(*OltAllocatedResourceType))
2623 }
2624 return interceptor(ctx, in, info, handler)
2625}
2626
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002627func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2628 in := new(Empty)
2629 if err := dec(in); err != nil {
2630 return nil, err
2631 }
2632 if interceptor == nil {
2633 return srv.(BBSimServer).PoweronOlt(ctx, in)
2634 }
2635 info := &grpc.UnaryServerInfo{
2636 Server: srv,
2637 FullMethod: "/bbsim.BBSim/PoweronOlt",
2638 }
2639 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2640 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
2641 }
2642 return interceptor(ctx, in, info, handler)
2643}
2644
2645func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2646 in := new(Empty)
2647 if err := dec(in); err != nil {
2648 return nil, err
2649 }
2650 if interceptor == nil {
2651 return srv.(BBSimServer).ShutdownOlt(ctx, in)
2652 }
2653 info := &grpc.UnaryServerInfo{
2654 Server: srv,
2655 FullMethod: "/bbsim.BBSim/ShutdownOlt",
2656 }
2657 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2658 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
2659 }
2660 return interceptor(ctx, in, info, handler)
2661}
2662
2663func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2664 in := new(Empty)
2665 if err := dec(in); err != nil {
2666 return nil, err
2667 }
2668 if interceptor == nil {
2669 return srv.(BBSimServer).RebootOlt(ctx, in)
2670 }
2671 info := &grpc.UnaryServerInfo{
2672 Server: srv,
2673 FullMethod: "/bbsim.BBSim/RebootOlt",
2674 }
2675 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2676 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
2677 }
2678 return interceptor(ctx, in, info, handler)
2679}
2680
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002681func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2682 in := new(Empty)
2683 if err := dec(in); err != nil {
2684 return nil, err
2685 }
2686 if interceptor == nil {
2687 return srv.(BBSimServer).StopgRPCServer(ctx, in)
2688 }
2689 info := &grpc.UnaryServerInfo{
2690 Server: srv,
2691 FullMethod: "/bbsim.BBSim/StopgRPCServer",
2692 }
2693 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2694 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
2695 }
2696 return interceptor(ctx, in, info, handler)
2697}
2698
2699func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2700 in := new(Empty)
2701 if err := dec(in); err != nil {
2702 return nil, err
2703 }
2704 if interceptor == nil {
2705 return srv.(BBSimServer).StartgRPCServer(ctx, in)
2706 }
2707 info := &grpc.UnaryServerInfo{
2708 Server: srv,
2709 FullMethod: "/bbsim.BBSim/StartgRPCServer",
2710 }
2711 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2712 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
2713 }
2714 return interceptor(ctx, in, info, handler)
2715}
2716
2717func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2718 in := new(Timeout)
2719 if err := dec(in); err != nil {
2720 return nil, err
2721 }
2722 if interceptor == nil {
2723 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
2724 }
2725 info := &grpc.UnaryServerInfo{
2726 Server: srv,
2727 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2728 }
2729 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2730 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2731 }
2732 return interceptor(ctx, in, info, handler)
2733}
2734
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002735func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2736 in := new(ONURequest)
2737 if err := dec(in); err != nil {
2738 return nil, err
2739 }
2740 if interceptor == nil {
2741 return srv.(BBSimServer).GetONU(ctx, in)
2742 }
2743 info := &grpc.UnaryServerInfo{
2744 Server: srv,
2745 FullMethod: "/bbsim.BBSim/GetONU",
2746 }
2747 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2748 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2749 }
2750 return interceptor(ctx, in, info, handler)
2751}
2752
Pragya Aryabd731ec2020-02-11 16:38:17 +05302753func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2754 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002755 if err := dec(in); err != nil {
2756 return nil, err
2757 }
2758 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302759 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002760 }
2761 info := &grpc.UnaryServerInfo{
2762 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302763 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002764 }
2765 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302766 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002767 }
2768 return interceptor(ctx, in, info, handler)
2769}
2770
Matteo Scandolo4a036262020-08-17 15:56:13 -07002771func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002772 in := new(UNIRequest)
Matteo Scandolo4a036262020-08-17 15:56:13 -07002773 if err := dec(in); err != nil {
2774 return nil, err
2775 }
2776 if interceptor == nil {
2777 return srv.(BBSimServer).GetServices(ctx, in)
2778 }
2779 info := &grpc.UnaryServerInfo{
2780 Server: srv,
2781 FullMethod: "/bbsim.BBSim/GetServices",
2782 }
2783 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002784 return srv.(BBSimServer).GetServices(ctx, req.(*UNIRequest))
Matteo Scandolo4a036262020-08-17 15:56:13 -07002785 }
2786 return interceptor(ctx, in, info, handler)
2787}
2788
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002789func _BBSim_GetOnuUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2790 in := new(ONURequest)
2791 if err := dec(in); err != nil {
2792 return nil, err
2793 }
2794 if interceptor == nil {
2795 return srv.(BBSimServer).GetOnuUnis(ctx, in)
2796 }
2797 info := &grpc.UnaryServerInfo{
2798 Server: srv,
2799 FullMethod: "/bbsim.BBSim/GetOnuUnis",
2800 }
2801 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2802 return srv.(BBSimServer).GetOnuUnis(ctx, req.(*ONURequest))
2803 }
2804 return interceptor(ctx, in, info, handler)
2805}
2806
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002807func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2808 in := new(ONURequest)
2809 if err := dec(in); err != nil {
2810 return nil, err
2811 }
2812 if interceptor == nil {
2813 return srv.(BBSimServer).ShutdownONU(ctx, in)
2814 }
2815 info := &grpc.UnaryServerInfo{
2816 Server: srv,
2817 FullMethod: "/bbsim.BBSim/ShutdownONU",
2818 }
2819 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2820 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2821 }
2822 return interceptor(ctx, in, info, handler)
2823}
2824
Pragya Aryabd731ec2020-02-11 16:38:17 +05302825func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2826 in := new(Empty)
2827 if err := dec(in); err != nil {
2828 return nil, err
2829 }
2830 if interceptor == nil {
2831 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2832 }
2833 info := &grpc.UnaryServerInfo{
2834 Server: srv,
2835 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2836 }
2837 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2838 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2839 }
2840 return interceptor(ctx, in, info, handler)
2841}
2842
2843func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2844 in := new(PONRequest)
2845 if err := dec(in); err != nil {
2846 return nil, err
2847 }
2848 if interceptor == nil {
2849 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2850 }
2851 info := &grpc.UnaryServerInfo{
2852 Server: srv,
2853 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2854 }
2855 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2856 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2857 }
2858 return interceptor(ctx, in, info, handler)
2859}
2860
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002861func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2862 in := new(ONURequest)
2863 if err := dec(in); err != nil {
2864 return nil, err
2865 }
2866 if interceptor == nil {
2867 return srv.(BBSimServer).PoweronONU(ctx, in)
2868 }
2869 info := &grpc.UnaryServerInfo{
2870 Server: srv,
2871 FullMethod: "/bbsim.BBSim/PoweronONU",
2872 }
2873 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2874 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2875 }
2876 return interceptor(ctx, in, info, handler)
2877}
2878
Pragya Aryabd731ec2020-02-11 16:38:17 +05302879func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2880 in := new(Empty)
2881 if err := dec(in); err != nil {
2882 return nil, err
2883 }
2884 if interceptor == nil {
2885 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2886 }
2887 info := &grpc.UnaryServerInfo{
2888 Server: srv,
2889 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2890 }
2891 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2892 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2893 }
2894 return interceptor(ctx, in, info, handler)
2895}
2896
2897func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2898 in := new(PONRequest)
2899 if err := dec(in); err != nil {
2900 return nil, err
2901 }
2902 if interceptor == nil {
2903 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2904 }
2905 info := &grpc.UnaryServerInfo{
2906 Server: srv,
2907 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2908 }
2909 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2910 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2911 }
2912 return interceptor(ctx, in, info, handler)
2913}
2914
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002915func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002916 in := new(UNIRequest)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002917 if err := dec(in); err != nil {
2918 return nil, err
2919 }
2920 if interceptor == nil {
2921 return srv.(BBSimServer).RestartEapol(ctx, in)
2922 }
2923 info := &grpc.UnaryServerInfo{
2924 Server: srv,
2925 FullMethod: "/bbsim.BBSim/RestartEapol",
2926 }
2927 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002928 return srv.(BBSimServer).RestartEapol(ctx, req.(*UNIRequest))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002929 }
2930 return interceptor(ctx, in, info, handler)
2931}
2932
2933func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002934 in := new(UNIRequest)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002935 if err := dec(in); err != nil {
2936 return nil, err
2937 }
2938 if interceptor == nil {
2939 return srv.(BBSimServer).RestartDhcp(ctx, in)
2940 }
2941 info := &grpc.UnaryServerInfo{
2942 Server: srv,
2943 FullMethod: "/bbsim.BBSim/RestartDhcp",
2944 }
2945 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002946 return srv.(BBSimServer).RestartDhcp(ctx, req.(*UNIRequest))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002947 }
2948 return interceptor(ctx, in, info, handler)
2949}
2950
Anand S Katti86552f92020-03-03 21:56:32 +05302951func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2952 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002953 if err := dec(in); err != nil {
2954 return nil, err
2955 }
2956 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302957 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002958 }
2959 info := &grpc.UnaryServerInfo{
2960 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302961 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002962 }
2963 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302964 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2965 }
2966 return interceptor(ctx, in, info, handler)
2967}
2968
2969func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2970 in := new(OLTAlarmRequest)
2971 if err := dec(in); err != nil {
2972 return nil, err
2973 }
2974 if interceptor == nil {
2975 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2976 }
2977 info := &grpc.UnaryServerInfo{
2978 Server: srv,
2979 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2980 }
2981 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2982 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002983 }
2984 return interceptor(ctx, in, info, handler)
2985}
2986
Pragya Arya8bdb4532020-03-02 17:08:09 +05302987func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2988 in := new(ONURequest)
2989 if err := dec(in); err != nil {
2990 return nil, err
2991 }
2992 if interceptor == nil {
2993 return srv.(BBSimServer).GetFlows(ctx, in)
2994 }
2995 info := &grpc.UnaryServerInfo{
2996 Server: srv,
2997 FullMethod: "/bbsim.BBSim/GetFlows",
2998 }
2999 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3000 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
3001 }
3002 return interceptor(ctx, in, info, handler)
3003}
3004
Arjun E K57a7fcb2020-01-30 06:44:45 +00003005func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3006 in := new(IgmpRequest)
3007 if err := dec(in); err != nil {
3008 return nil, err
3009 }
3010 if interceptor == nil {
3011 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
3012 }
3013 info := &grpc.UnaryServerInfo{
3014 Server: srv,
3015 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
3016 }
3017 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3018 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
3019 }
3020 return interceptor(ctx, in, info, handler)
3021}
3022
Anand S Katti09541352020-01-29 15:54:01 +05303023func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3024 in := new(ONURequest)
3025 if err := dec(in); err != nil {
3026 return nil, err
3027 }
3028 if interceptor == nil {
3029 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
3030 }
3031 info := &grpc.UnaryServerInfo{
3032 Server: srv,
3033 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
3034 }
3035 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3036 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
3037 }
3038 return interceptor(ctx, in, info, handler)
3039}
3040
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07003041func _BBSim_GetUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3042 in := new(Empty)
3043 if err := dec(in); err != nil {
3044 return nil, err
3045 }
3046 if interceptor == nil {
3047 return srv.(BBSimServer).GetUnis(ctx, in)
3048 }
3049 info := &grpc.UnaryServerInfo{
3050 Server: srv,
3051 FullMethod: "/bbsim.BBSim/GetUnis",
3052 }
3053 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3054 return srv.(BBSimServer).GetUnis(ctx, req.(*Empty))
3055 }
3056 return interceptor(ctx, in, info, handler)
3057}
3058
Elia Battistonfe017662022-01-05 11:43:16 +01003059func _BBSim_InvalidateMds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3060 in := new(ONURequest)
3061 if err := dec(in); err != nil {
3062 return nil, err
3063 }
3064 if interceptor == nil {
3065 return srv.(BBSimServer).InvalidateMds(ctx, in)
3066 }
3067 info := &grpc.UnaryServerInfo{
3068 Server: srv,
3069 FullMethod: "/bbsim.BBSim/InvalidateMds",
3070 }
3071 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3072 return srv.(BBSimServer).InvalidateMds(ctx, req.(*ONURequest))
3073 }
3074 return interceptor(ctx, in, info, handler)
3075}
3076
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003077var _BBSim_serviceDesc = grpc.ServiceDesc{
3078 ServiceName: "bbsim.BBSim",
3079 HandlerType: (*BBSimServer)(nil),
3080 Methods: []grpc.MethodDesc{
3081 {
3082 MethodName: "Version",
3083 Handler: _BBSim_Version_Handler,
3084 },
3085 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303086 MethodName: "SetLogLevel",
3087 Handler: _BBSim_SetLogLevel_Handler,
3088 },
3089 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003090 MethodName: "GetOlt",
3091 Handler: _BBSim_GetOlt_Handler,
3092 },
3093 {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08003094 MethodName: "GetOltAllocatedResources",
3095 Handler: _BBSim_GetOltAllocatedResources_Handler,
3096 },
3097 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01003098 MethodName: "PoweronOlt",
3099 Handler: _BBSim_PoweronOlt_Handler,
3100 },
3101 {
3102 MethodName: "ShutdownOlt",
3103 Handler: _BBSim_ShutdownOlt_Handler,
3104 },
3105 {
3106 MethodName: "RebootOlt",
3107 Handler: _BBSim_RebootOlt_Handler,
3108 },
3109 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08003110 MethodName: "StopgRPCServer",
3111 Handler: _BBSim_StopgRPCServer_Handler,
3112 },
3113 {
3114 MethodName: "StartgRPCServer",
3115 Handler: _BBSim_StartgRPCServer_Handler,
3116 },
3117 {
3118 MethodName: "RestartgRPCServer",
3119 Handler: _BBSim_RestartgRPCServer_Handler,
3120 },
3121 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003122 MethodName: "GetONU",
3123 Handler: _BBSim_GetONU_Handler,
3124 },
3125 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303126 MethodName: "GetONUs",
3127 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003128 },
3129 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07003130 MethodName: "GetServices",
3131 Handler: _BBSim_GetServices_Handler,
3132 },
3133 {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07003134 MethodName: "GetOnuUnis",
3135 Handler: _BBSim_GetOnuUnis_Handler,
3136 },
3137 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003138 MethodName: "ShutdownONU",
3139 Handler: _BBSim_ShutdownONU_Handler,
3140 },
3141 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303142 MethodName: "ShutdownAllONUs",
3143 Handler: _BBSim_ShutdownAllONUs_Handler,
3144 },
3145 {
3146 MethodName: "ShutdownONUsOnPON",
3147 Handler: _BBSim_ShutdownONUsOnPON_Handler,
3148 },
3149 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003150 MethodName: "PoweronONU",
3151 Handler: _BBSim_PoweronONU_Handler,
3152 },
3153 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303154 MethodName: "PoweronAllONUs",
3155 Handler: _BBSim_PoweronAllONUs_Handler,
3156 },
3157 {
3158 MethodName: "PoweronONUsOnPON",
3159 Handler: _BBSim_PoweronONUsOnPON_Handler,
3160 },
3161 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003162 MethodName: "RestartEapol",
3163 Handler: _BBSim_RestartEapol_Handler,
3164 },
3165 {
3166 MethodName: "RestartDhcp",
3167 Handler: _BBSim_RestartDhcp_Handler,
3168 },
Scott Baker41724b82020-01-21 19:54:53 -08003169 {
Anand S Katti86552f92020-03-03 21:56:32 +05303170 MethodName: "SetOnuAlarmIndication",
3171 Handler: _BBSim_SetOnuAlarmIndication_Handler,
3172 },
3173 {
3174 MethodName: "SetOltAlarmIndication",
3175 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08003176 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00003177 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05303178 MethodName: "GetFlows",
3179 Handler: _BBSim_GetFlows_Handler,
3180 },
3181 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00003182 MethodName: "ChangeIgmpState",
3183 Handler: _BBSim_ChangeIgmpState_Handler,
3184 },
Anand S Katti09541352020-01-29 15:54:01 +05303185 {
3186 MethodName: "GetOnuTrafficSchedulers",
3187 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
3188 },
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07003189 {
3190 MethodName: "GetUnis",
3191 Handler: _BBSim_GetUnis_Handler,
3192 },
Elia Battistonfe017662022-01-05 11:43:16 +01003193 {
3194 MethodName: "InvalidateMds",
3195 Handler: _BBSim_InvalidateMds_Handler,
3196 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003197 },
3198 Streams: []grpc.StreamDesc{},
3199 Metadata: "api/bbsim/bbsim.proto",
3200}