blob: 71d1ee3adb5cff632496e99611376647a3f248c1 [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"`
Andrea Campanella6f5f3552022-03-10 17:14:25 +0100389 NniDhcpTrapVid int32 `protobuf:"varint,8,opt,name=NniDhcpTrapVid,proto3" json:"NniDhcpTrapVid,omitempty"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700390 XXX_NoUnkeyedLiteral struct{} `json:"-"`
391 XXX_unrecognized []byte `json:"-"`
392 XXX_sizecache int32 `json:"-"`
393}
394
395func (m *Olt) Reset() { *m = Olt{} }
396func (m *Olt) String() string { return proto.CompactTextString(m) }
397func (*Olt) ProtoMessage() {}
398func (*Olt) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800399 return fileDescriptor_ef7750073d18011b, []int{3}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700400}
401
402func (m *Olt) XXX_Unmarshal(b []byte) error {
403 return xxx_messageInfo_Olt.Unmarshal(m, b)
404}
405func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
406 return xxx_messageInfo_Olt.Marshal(b, m, deterministic)
407}
408func (m *Olt) XXX_Merge(src proto.Message) {
409 xxx_messageInfo_Olt.Merge(m, src)
410}
411func (m *Olt) XXX_Size() int {
412 return xxx_messageInfo_Olt.Size(m)
413}
414func (m *Olt) XXX_DiscardUnknown() {
415 xxx_messageInfo_Olt.DiscardUnknown(m)
416}
417
418var xxx_messageInfo_Olt proto.InternalMessageInfo
419
420func (m *Olt) GetID() int32 {
421 if m != nil {
422 return m.ID
423 }
424 return 0
425}
426
427func (m *Olt) GetSerialNumber() string {
428 if m != nil {
429 return m.SerialNumber
430 }
431 return ""
432}
433
434func (m *Olt) GetOperState() string {
435 if m != nil {
436 return m.OperState
437 }
438 return ""
439}
440
441func (m *Olt) GetInternalState() string {
442 if m != nil {
443 return m.InternalState
444 }
445 return ""
446}
447
rajeshf921f882020-03-06 18:24:28 +0530448func (m *Olt) GetIP() string {
449 if m != nil {
450 return m.IP
451 }
452 return ""
453}
454
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700455func (m *Olt) GetNNIPorts() []*NNIPort {
456 if m != nil {
457 return m.NNIPorts
458 }
459 return nil
460}
461
462func (m *Olt) GetPONPorts() []*PONPort {
463 if m != nil {
464 return m.PONPorts
465 }
466 return nil
467}
468
Andrea Campanella6f5f3552022-03-10 17:14:25 +0100469func (m *Olt) GetNniDhcpTrapVid() int32 {
470 if m != nil {
471 return m.NniDhcpTrapVid
472 }
473 return 0
474}
475
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800476type OltAllocatedResourceType struct {
477 Type OltAllocatedResourceType_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bbsim.OltAllocatedResourceType_Type" json:"type,omitempty"`
478 XXX_NoUnkeyedLiteral struct{} `json:"-"`
479 XXX_unrecognized []byte `json:"-"`
480 XXX_sizecache int32 `json:"-"`
481}
482
483func (m *OltAllocatedResourceType) Reset() { *m = OltAllocatedResourceType{} }
484func (m *OltAllocatedResourceType) String() string { return proto.CompactTextString(m) }
485func (*OltAllocatedResourceType) ProtoMessage() {}
486func (*OltAllocatedResourceType) Descriptor() ([]byte, []int) {
487 return fileDescriptor_ef7750073d18011b, []int{4}
488}
489
490func (m *OltAllocatedResourceType) XXX_Unmarshal(b []byte) error {
491 return xxx_messageInfo_OltAllocatedResourceType.Unmarshal(m, b)
492}
493func (m *OltAllocatedResourceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
494 return xxx_messageInfo_OltAllocatedResourceType.Marshal(b, m, deterministic)
495}
496func (m *OltAllocatedResourceType) XXX_Merge(src proto.Message) {
497 xxx_messageInfo_OltAllocatedResourceType.Merge(m, src)
498}
499func (m *OltAllocatedResourceType) XXX_Size() int {
500 return xxx_messageInfo_OltAllocatedResourceType.Size(m)
501}
502func (m *OltAllocatedResourceType) XXX_DiscardUnknown() {
503 xxx_messageInfo_OltAllocatedResourceType.DiscardUnknown(m)
504}
505
506var xxx_messageInfo_OltAllocatedResourceType proto.InternalMessageInfo
507
508func (m *OltAllocatedResourceType) GetType() OltAllocatedResourceType_Type {
509 if m != nil {
510 return m.Type
511 }
512 return OltAllocatedResourceType_UNKNOWN
513}
514
515type OltAllocatedResource struct {
516 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
517 PonPortId uint32 `protobuf:"varint,2,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
518 OnuId uint32 `protobuf:"varint,3,opt,name=OnuId,proto3" json:"OnuId,omitempty"`
519 PortNo uint32 `protobuf:"varint,4,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
520 ResourceId int32 `protobuf:"varint,5,opt,name=ResourceId,proto3" json:"ResourceId,omitempty"`
521 FlowId uint64 `protobuf:"varint,6,opt,name=FlowId,proto3" json:"FlowId,omitempty"`
522 XXX_NoUnkeyedLiteral struct{} `json:"-"`
523 XXX_unrecognized []byte `json:"-"`
524 XXX_sizecache int32 `json:"-"`
525}
526
527func (m *OltAllocatedResource) Reset() { *m = OltAllocatedResource{} }
528func (m *OltAllocatedResource) String() string { return proto.CompactTextString(m) }
529func (*OltAllocatedResource) ProtoMessage() {}
530func (*OltAllocatedResource) Descriptor() ([]byte, []int) {
531 return fileDescriptor_ef7750073d18011b, []int{5}
532}
533
534func (m *OltAllocatedResource) XXX_Unmarshal(b []byte) error {
535 return xxx_messageInfo_OltAllocatedResource.Unmarshal(m, b)
536}
537func (m *OltAllocatedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
538 return xxx_messageInfo_OltAllocatedResource.Marshal(b, m, deterministic)
539}
540func (m *OltAllocatedResource) XXX_Merge(src proto.Message) {
541 xxx_messageInfo_OltAllocatedResource.Merge(m, src)
542}
543func (m *OltAllocatedResource) XXX_Size() int {
544 return xxx_messageInfo_OltAllocatedResource.Size(m)
545}
546func (m *OltAllocatedResource) XXX_DiscardUnknown() {
547 xxx_messageInfo_OltAllocatedResource.DiscardUnknown(m)
548}
549
550var xxx_messageInfo_OltAllocatedResource proto.InternalMessageInfo
551
552func (m *OltAllocatedResource) GetType() string {
553 if m != nil {
554 return m.Type
555 }
556 return ""
557}
558
559func (m *OltAllocatedResource) GetPonPortId() uint32 {
560 if m != nil {
561 return m.PonPortId
562 }
563 return 0
564}
565
566func (m *OltAllocatedResource) GetOnuId() uint32 {
567 if m != nil {
568 return m.OnuId
569 }
570 return 0
571}
572
573func (m *OltAllocatedResource) GetPortNo() uint32 {
574 if m != nil {
575 return m.PortNo
576 }
577 return 0
578}
579
580func (m *OltAllocatedResource) GetResourceId() int32 {
581 if m != nil {
582 return m.ResourceId
583 }
584 return 0
585}
586
587func (m *OltAllocatedResource) GetFlowId() uint64 {
588 if m != nil {
589 return m.FlowId
590 }
591 return 0
592}
593
594type OltAllocatedResources struct {
595 Resources []*OltAllocatedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
596 XXX_NoUnkeyedLiteral struct{} `json:"-"`
597 XXX_unrecognized []byte `json:"-"`
598 XXX_sizecache int32 `json:"-"`
599}
600
601func (m *OltAllocatedResources) Reset() { *m = OltAllocatedResources{} }
602func (m *OltAllocatedResources) String() string { return proto.CompactTextString(m) }
603func (*OltAllocatedResources) ProtoMessage() {}
604func (*OltAllocatedResources) Descriptor() ([]byte, []int) {
605 return fileDescriptor_ef7750073d18011b, []int{6}
606}
607
608func (m *OltAllocatedResources) XXX_Unmarshal(b []byte) error {
609 return xxx_messageInfo_OltAllocatedResources.Unmarshal(m, b)
610}
611func (m *OltAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
612 return xxx_messageInfo_OltAllocatedResources.Marshal(b, m, deterministic)
613}
614func (m *OltAllocatedResources) XXX_Merge(src proto.Message) {
615 xxx_messageInfo_OltAllocatedResources.Merge(m, src)
616}
617func (m *OltAllocatedResources) XXX_Size() int {
618 return xxx_messageInfo_OltAllocatedResources.Size(m)
619}
620func (m *OltAllocatedResources) XXX_DiscardUnknown() {
621 xxx_messageInfo_OltAllocatedResources.DiscardUnknown(m)
622}
623
624var xxx_messageInfo_OltAllocatedResources proto.InternalMessageInfo
625
626func (m *OltAllocatedResources) GetResources() []*OltAllocatedResource {
627 if m != nil {
628 return m.Resources
629 }
630 return nil
631}
632
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700633type ONU struct {
Matteo Scandolocedde462021-03-09 17:37:16 -0800634 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
635 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
636 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
637 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
638 PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700639 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` // Deprecated: Do not use.
640 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"` // Deprecated: Do not use.
641 Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"` // Deprecated: Do not use.
Matteo Scandolocedde462021-03-09 17:37:16 -0800642 ImageSoftwareExpectedSections int32 `protobuf:"varint,11,opt,name=ImageSoftwareExpectedSections,proto3" json:"ImageSoftwareExpectedSections,omitempty"`
643 ImageSoftwareReceivedSections int32 `protobuf:"varint,12,opt,name=ImageSoftwareReceivedSections,proto3" json:"ImageSoftwareReceivedSections,omitempty"`
644 ActiveImageEntityId int32 `protobuf:"varint,13,opt,name=ActiveImageEntityId,proto3" json:"ActiveImageEntityId,omitempty"`
645 CommittedImageEntityId int32 `protobuf:"varint,14,opt,name=CommittedImageEntityId,proto3" json:"CommittedImageEntityId,omitempty"`
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700646 Unis []*UNI `protobuf:"bytes,15,rep,name=unis,proto3" json:"unis,omitempty"`
Matteo Scandolocedde462021-03-09 17:37:16 -0800647 XXX_NoUnkeyedLiteral struct{} `json:"-"`
648 XXX_unrecognized []byte `json:"-"`
649 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700650}
651
652func (m *ONU) Reset() { *m = ONU{} }
653func (m *ONU) String() string { return proto.CompactTextString(m) }
654func (*ONU) ProtoMessage() {}
655func (*ONU) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800656 return fileDescriptor_ef7750073d18011b, []int{7}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700657}
658
659func (m *ONU) XXX_Unmarshal(b []byte) error {
660 return xxx_messageInfo_ONU.Unmarshal(m, b)
661}
662func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
663 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
664}
665func (m *ONU) XXX_Merge(src proto.Message) {
666 xxx_messageInfo_ONU.Merge(m, src)
667}
668func (m *ONU) XXX_Size() int {
669 return xxx_messageInfo_ONU.Size(m)
670}
671func (m *ONU) XXX_DiscardUnknown() {
672 xxx_messageInfo_ONU.DiscardUnknown(m)
673}
674
675var xxx_messageInfo_ONU proto.InternalMessageInfo
676
677func (m *ONU) GetID() int32 {
678 if m != nil {
679 return m.ID
680 }
681 return 0
682}
683
684func (m *ONU) GetSerialNumber() string {
685 if m != nil {
686 return m.SerialNumber
687 }
688 return ""
689}
690
691func (m *ONU) GetOperState() string {
692 if m != nil {
693 return m.OperState
694 }
695 return ""
696}
697
698func (m *ONU) GetInternalState() string {
699 if m != nil {
700 return m.InternalState
701 }
702 return ""
703}
704
705func (m *ONU) GetPonPortID() int32 {
706 if m != nil {
707 return m.PonPortID
708 }
709 return 0
710}
711
Matteo Scandolo8a574812021-05-20 15:18:53 -0700712// Deprecated: Do not use.
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700713func (m *ONU) GetHwAddress() string {
714 if m != nil {
715 return m.HwAddress
716 }
717 return ""
718}
719
Matteo Scandolo8a574812021-05-20 15:18:53 -0700720// Deprecated: Do not use.
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700721func (m *ONU) GetPortNo() int32 {
722 if m != nil {
723 return m.PortNo
724 }
725 return 0
726}
727
Matteo Scandolo8a574812021-05-20 15:18:53 -0700728// Deprecated: Do not use.
Matteo Scandolo4a036262020-08-17 15:56:13 -0700729func (m *ONU) GetServices() []*Service {
730 if m != nil {
731 return m.Services
732 }
733 return nil
734}
735
Matteo Scandolocedde462021-03-09 17:37:16 -0800736func (m *ONU) GetImageSoftwareExpectedSections() int32 {
737 if m != nil {
738 return m.ImageSoftwareExpectedSections
739 }
740 return 0
741}
742
743func (m *ONU) GetImageSoftwareReceivedSections() int32 {
744 if m != nil {
745 return m.ImageSoftwareReceivedSections
746 }
747 return 0
748}
749
750func (m *ONU) GetActiveImageEntityId() int32 {
751 if m != nil {
752 return m.ActiveImageEntityId
753 }
754 return 0
755}
756
757func (m *ONU) GetCommittedImageEntityId() int32 {
758 if m != nil {
759 return m.CommittedImageEntityId
760 }
761 return 0
762}
763
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700764func (m *ONU) GetUnis() []*UNI {
765 if m != nil {
766 return m.Unis
767 }
768 return nil
769}
770
771type UNI struct {
Matteo Scandolo8a574812021-05-20 15:18:53 -0700772 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
773 OnuID int32 `protobuf:"varint,2,opt,name=OnuID,proto3" json:"OnuID,omitempty"`
774 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
775 MeID uint32 `protobuf:"varint,4,opt,name=MeID,proto3" json:"MeID,omitempty"`
776 OperState string `protobuf:"bytes,5,opt,name=OperState,proto3" json:"OperState,omitempty"`
777 PortNo int32 `protobuf:"varint,6,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
778 Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"`
Elia Battistonac63b112022-01-12 18:40:49 +0100779 Type UniType `protobuf:"varint,8,opt,name=Type,proto3,enum=bbsim.UniType" json:"Type,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700780 XXX_NoUnkeyedLiteral struct{} `json:"-"`
781 XXX_unrecognized []byte `json:"-"`
782 XXX_sizecache int32 `json:"-"`
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700783}
784
785func (m *UNI) Reset() { *m = UNI{} }
786func (m *UNI) String() string { return proto.CompactTextString(m) }
787func (*UNI) ProtoMessage() {}
788func (*UNI) Descriptor() ([]byte, []int) {
789 return fileDescriptor_ef7750073d18011b, []int{8}
790}
791
792func (m *UNI) XXX_Unmarshal(b []byte) error {
793 return xxx_messageInfo_UNI.Unmarshal(m, b)
794}
795func (m *UNI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
796 return xxx_messageInfo_UNI.Marshal(b, m, deterministic)
797}
798func (m *UNI) XXX_Merge(src proto.Message) {
799 xxx_messageInfo_UNI.Merge(m, src)
800}
801func (m *UNI) XXX_Size() int {
802 return xxx_messageInfo_UNI.Size(m)
803}
804func (m *UNI) XXX_DiscardUnknown() {
805 xxx_messageInfo_UNI.DiscardUnknown(m)
806}
807
808var xxx_messageInfo_UNI proto.InternalMessageInfo
809
810func (m *UNI) GetID() int32 {
811 if m != nil {
812 return m.ID
813 }
814 return 0
815}
816
817func (m *UNI) GetOnuID() int32 {
818 if m != nil {
819 return m.OnuID
820 }
821 return 0
822}
823
824func (m *UNI) GetOnuSn() string {
825 if m != nil {
826 return m.OnuSn
827 }
828 return ""
829}
830
831func (m *UNI) GetMeID() uint32 {
832 if m != nil {
833 return m.MeID
834 }
835 return 0
836}
837
838func (m *UNI) GetOperState() string {
839 if m != nil {
840 return m.OperState
841 }
842 return ""
843}
844
Matteo Scandolo8a574812021-05-20 15:18:53 -0700845func (m *UNI) GetPortNo() int32 {
846 if m != nil {
847 return m.PortNo
848 }
849 return 0
850}
851
852func (m *UNI) GetServices() []*Service {
853 if m != nil {
854 return m.Services
855 }
856 return nil
857}
858
Elia Battistonac63b112022-01-12 18:40:49 +0100859func (m *UNI) GetType() UniType {
860 if m != nil {
861 return m.Type
862 }
863 return UniType_ETH
864}
865
Matteo Scandolo4a036262020-08-17 15:56:13 -0700866type Service struct {
867 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
868 HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
869 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
870 STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"`
871 CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"`
872 NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"`
873 NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"`
874 NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"`
875 GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"`
876 EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"`
877 DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"`
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700878 InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
Matteo Scandolo618a6582020-09-09 12:21:29 -0700879 IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700880 UniId uint32 `protobuf:"varint,14,opt,name=UniId,proto3" json:"UniId,omitempty"`
Elia Battiston9a1da622022-02-09 14:43:52 +0100881 UniTagMatch int32 `protobuf:"varint,15,opt,name=UniTagMatch,proto3" json:"UniTagMatch,omitempty"`
882 UsCTagPriority uint32 `protobuf:"varint,16,opt,name=UsCTagPriority,proto3" json:"UsCTagPriority,omitempty"`
883 UsSTagPriority uint32 `protobuf:"varint,17,opt,name=UsSTagPriority,proto3" json:"UsSTagPriority,omitempty"`
884 DsCTagPriority uint32 `protobuf:"varint,18,opt,name=DsCTagPriority,proto3" json:"DsCTagPriority,omitempty"`
885 DsSTagPriority uint32 `protobuf:"varint,19,opt,name=DsSTagPriority,proto3" json:"DsSTagPriority,omitempty"`
886 NeedsPPPoE bool `protobuf:"varint,20,opt,name=NeedsPPPoE,proto3" json:"NeedsPPPoE,omitempty"`
887 ConfigureMacAddress bool `protobuf:"varint,21,opt,name=ConfigureMacAddress,proto3" json:"ConfigureMacAddress,omitempty"`
888 EnableMacLearning bool `protobuf:"varint,22,opt,name=EnableMacLearning,proto3" json:"EnableMacLearning,omitempty"`
Matteo Scandolo4a036262020-08-17 15:56:13 -0700889 XXX_NoUnkeyedLiteral struct{} `json:"-"`
890 XXX_unrecognized []byte `json:"-"`
891 XXX_sizecache int32 `json:"-"`
892}
893
894func (m *Service) Reset() { *m = Service{} }
895func (m *Service) String() string { return proto.CompactTextString(m) }
896func (*Service) ProtoMessage() {}
897func (*Service) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700898 return fileDescriptor_ef7750073d18011b, []int{9}
Matteo Scandolo4a036262020-08-17 15:56:13 -0700899}
900
901func (m *Service) XXX_Unmarshal(b []byte) error {
902 return xxx_messageInfo_Service.Unmarshal(m, b)
903}
904func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
905 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
906}
907func (m *Service) XXX_Merge(src proto.Message) {
908 xxx_messageInfo_Service.Merge(m, src)
909}
910func (m *Service) XXX_Size() int {
911 return xxx_messageInfo_Service.Size(m)
912}
913func (m *Service) XXX_DiscardUnknown() {
914 xxx_messageInfo_Service.DiscardUnknown(m)
915}
916
917var xxx_messageInfo_Service proto.InternalMessageInfo
918
919func (m *Service) GetName() string {
920 if m != nil {
921 return m.Name
922 }
923 return ""
924}
925
926func (m *Service) GetHwAddress() string {
927 if m != nil {
928 return m.HwAddress
929 }
930 return ""
931}
932
933func (m *Service) GetOnuSn() string {
934 if m != nil {
935 return m.OnuSn
936 }
937 return ""
938}
939
940func (m *Service) GetSTag() int32 {
941 if m != nil {
942 return m.STag
943 }
944 return 0
945}
946
947func (m *Service) GetCTag() int32 {
948 if m != nil {
949 return m.CTag
950 }
951 return 0
952}
953
954func (m *Service) GetNeedsEapol() bool {
955 if m != nil {
956 return m.NeedsEapol
957 }
958 return false
959}
960
961func (m *Service) GetNeedsDhcp() bool {
962 if m != nil {
963 return m.NeedsDhcp
964 }
965 return false
966}
967
968func (m *Service) GetNeedsIgmp() bool {
969 if m != nil {
970 return m.NeedsIgmp
971 }
972 return false
973}
974
975func (m *Service) GetGemPort() int32 {
976 if m != nil {
977 return m.GemPort
978 }
979 return 0
980}
981
982func (m *Service) GetEapolState() string {
983 if m != nil {
984 return m.EapolState
985 }
986 return ""
987}
988
989func (m *Service) GetDhcpState() string {
990 if m != nil {
991 return m.DhcpState
992 }
993 return ""
994}
995
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700996func (m *Service) GetInternalState() string {
997 if m != nil {
998 return m.InternalState
999 }
1000 return ""
1001}
1002
Matteo Scandolo618a6582020-09-09 12:21:29 -07001003func (m *Service) GetIGMPState() string {
1004 if m != nil {
1005 return m.IGMPState
1006 }
1007 return ""
1008}
1009
Matteo Scandolo8a574812021-05-20 15:18:53 -07001010func (m *Service) GetUniId() uint32 {
1011 if m != nil {
1012 return m.UniId
1013 }
1014 return 0
1015}
1016
Elia Battiston9a1da622022-02-09 14:43:52 +01001017func (m *Service) GetUniTagMatch() int32 {
1018 if m != nil {
1019 return m.UniTagMatch
1020 }
1021 return 0
1022}
1023
1024func (m *Service) GetUsCTagPriority() uint32 {
1025 if m != nil {
1026 return m.UsCTagPriority
1027 }
1028 return 0
1029}
1030
1031func (m *Service) GetUsSTagPriority() uint32 {
1032 if m != nil {
1033 return m.UsSTagPriority
1034 }
1035 return 0
1036}
1037
1038func (m *Service) GetDsCTagPriority() uint32 {
1039 if m != nil {
1040 return m.DsCTagPriority
1041 }
1042 return 0
1043}
1044
1045func (m *Service) GetDsSTagPriority() uint32 {
1046 if m != nil {
1047 return m.DsSTagPriority
1048 }
1049 return 0
1050}
1051
1052func (m *Service) GetNeedsPPPoE() bool {
1053 if m != nil {
1054 return m.NeedsPPPoE
1055 }
1056 return false
1057}
1058
1059func (m *Service) GetConfigureMacAddress() bool {
1060 if m != nil {
1061 return m.ConfigureMacAddress
1062 }
1063 return false
1064}
1065
1066func (m *Service) GetEnableMacLearning() bool {
1067 if m != nil {
1068 return m.EnableMacLearning
1069 }
1070 return false
1071}
1072
Anand S Katti09541352020-01-29 15:54:01 +05301073type ONUTrafficSchedulers struct {
1074 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
1075 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1076 XXX_unrecognized []byte `json:"-"`
1077 XXX_sizecache int32 `json:"-"`
1078}
1079
1080func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
1081func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
1082func (*ONUTrafficSchedulers) ProtoMessage() {}
1083func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001084 return fileDescriptor_ef7750073d18011b, []int{10}
Anand S Katti09541352020-01-29 15:54:01 +05301085}
1086
1087func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
1088 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
1089}
1090func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1091 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
1092}
1093func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
1094 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
1095}
1096func (m *ONUTrafficSchedulers) XXX_Size() int {
1097 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
1098}
1099func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
1100 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
1101}
1102
1103var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
1104
1105func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
1106 if m != nil {
1107 return m.TraffSchedulers
1108 }
1109 return nil
1110}
1111
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001112type ONUs struct {
1113 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1114 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1115 XXX_unrecognized []byte `json:"-"`
1116 XXX_sizecache int32 `json:"-"`
1117}
1118
1119func (m *ONUs) Reset() { *m = ONUs{} }
1120func (m *ONUs) String() string { return proto.CompactTextString(m) }
1121func (*ONUs) ProtoMessage() {}
1122func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001123 return fileDescriptor_ef7750073d18011b, []int{11}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001124}
1125
1126func (m *ONUs) XXX_Unmarshal(b []byte) error {
1127 return xxx_messageInfo_ONUs.Unmarshal(m, b)
1128}
1129func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1130 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
1131}
1132func (m *ONUs) XXX_Merge(src proto.Message) {
1133 xxx_messageInfo_ONUs.Merge(m, src)
1134}
1135func (m *ONUs) XXX_Size() int {
1136 return xxx_messageInfo_ONUs.Size(m)
1137}
1138func (m *ONUs) XXX_DiscardUnknown() {
1139 xxx_messageInfo_ONUs.DiscardUnknown(m)
1140}
1141
1142var xxx_messageInfo_ONUs proto.InternalMessageInfo
1143
1144func (m *ONUs) GetItems() []*ONU {
1145 if m != nil {
1146 return m.Items
1147 }
1148 return nil
1149}
1150
Matteo Scandolo4a036262020-08-17 15:56:13 -07001151type Services struct {
1152 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1153 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1154 XXX_unrecognized []byte `json:"-"`
1155 XXX_sizecache int32 `json:"-"`
1156}
1157
1158func (m *Services) Reset() { *m = Services{} }
1159func (m *Services) String() string { return proto.CompactTextString(m) }
1160func (*Services) ProtoMessage() {}
1161func (*Services) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001162 return fileDescriptor_ef7750073d18011b, []int{12}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001163}
1164
1165func (m *Services) XXX_Unmarshal(b []byte) error {
1166 return xxx_messageInfo_Services.Unmarshal(m, b)
1167}
1168func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1169 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
1170}
1171func (m *Services) XXX_Merge(src proto.Message) {
1172 xxx_messageInfo_Services.Merge(m, src)
1173}
1174func (m *Services) XXX_Size() int {
1175 return xxx_messageInfo_Services.Size(m)
1176}
1177func (m *Services) XXX_DiscardUnknown() {
1178 xxx_messageInfo_Services.DiscardUnknown(m)
1179}
1180
1181var xxx_messageInfo_Services proto.InternalMessageInfo
1182
1183func (m *Services) GetItems() []*Service {
1184 if m != nil {
1185 return m.Items
1186 }
1187 return nil
1188}
1189
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001190type UNIs struct {
1191 Items []*UNI `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1192 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1193 XXX_unrecognized []byte `json:"-"`
1194 XXX_sizecache int32 `json:"-"`
1195}
1196
1197func (m *UNIs) Reset() { *m = UNIs{} }
1198func (m *UNIs) String() string { return proto.CompactTextString(m) }
1199func (*UNIs) ProtoMessage() {}
1200func (*UNIs) Descriptor() ([]byte, []int) {
1201 return fileDescriptor_ef7750073d18011b, []int{13}
1202}
1203
1204func (m *UNIs) XXX_Unmarshal(b []byte) error {
1205 return xxx_messageInfo_UNIs.Unmarshal(m, b)
1206}
1207func (m *UNIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1208 return xxx_messageInfo_UNIs.Marshal(b, m, deterministic)
1209}
1210func (m *UNIs) XXX_Merge(src proto.Message) {
1211 xxx_messageInfo_UNIs.Merge(m, src)
1212}
1213func (m *UNIs) XXX_Size() int {
1214 return xxx_messageInfo_UNIs.Size(m)
1215}
1216func (m *UNIs) XXX_DiscardUnknown() {
1217 xxx_messageInfo_UNIs.DiscardUnknown(m)
1218}
1219
1220var xxx_messageInfo_UNIs proto.InternalMessageInfo
1221
1222func (m *UNIs) GetItems() []*UNI {
1223 if m != nil {
1224 return m.Items
1225 }
1226 return nil
1227}
1228
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001229type ONURequest struct {
1230 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1231 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1232 XXX_unrecognized []byte `json:"-"`
1233 XXX_sizecache int32 `json:"-"`
1234}
1235
1236func (m *ONURequest) Reset() { *m = ONURequest{} }
1237func (m *ONURequest) String() string { return proto.CompactTextString(m) }
1238func (*ONURequest) ProtoMessage() {}
1239func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001240 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001241}
1242
1243func (m *ONURequest) XXX_Unmarshal(b []byte) error {
1244 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
1245}
1246func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1247 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
1248}
1249func (m *ONURequest) XXX_Merge(src proto.Message) {
1250 xxx_messageInfo_ONURequest.Merge(m, src)
1251}
1252func (m *ONURequest) XXX_Size() int {
1253 return xxx_messageInfo_ONURequest.Size(m)
1254}
1255func (m *ONURequest) XXX_DiscardUnknown() {
1256 xxx_messageInfo_ONURequest.DiscardUnknown(m)
1257}
1258
1259var xxx_messageInfo_ONURequest proto.InternalMessageInfo
1260
1261func (m *ONURequest) GetSerialNumber() string {
1262 if m != nil {
1263 return m.SerialNumber
1264 }
1265 return ""
1266}
1267
Pragya Aryabd731ec2020-02-11 16:38:17 +05301268type PONRequest struct {
1269 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
1270 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1271 XXX_unrecognized []byte `json:"-"`
1272 XXX_sizecache int32 `json:"-"`
1273}
1274
1275func (m *PONRequest) Reset() { *m = PONRequest{} }
1276func (m *PONRequest) String() string { return proto.CompactTextString(m) }
1277func (*PONRequest) ProtoMessage() {}
1278func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001279 return fileDescriptor_ef7750073d18011b, []int{15}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301280}
1281
1282func (m *PONRequest) XXX_Unmarshal(b []byte) error {
1283 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
1284}
1285func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1286 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
1287}
1288func (m *PONRequest) XXX_Merge(src proto.Message) {
1289 xxx_messageInfo_PONRequest.Merge(m, src)
1290}
1291func (m *PONRequest) XXX_Size() int {
1292 return xxx_messageInfo_PONRequest.Size(m)
1293}
1294func (m *PONRequest) XXX_DiscardUnknown() {
1295 xxx_messageInfo_PONRequest.DiscardUnknown(m)
1296}
1297
1298var xxx_messageInfo_PONRequest proto.InternalMessageInfo
1299
1300func (m *PONRequest) GetPonPortId() uint32 {
1301 if m != nil {
1302 return m.PonPortId
1303 }
1304 return 0
1305}
1306
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001307type UNIRequest struct {
1308 OnuSerialNumber string `protobuf:"bytes,1,opt,name=OnuSerialNumber,proto3" json:"OnuSerialNumber,omitempty"`
1309 UniID string `protobuf:"bytes,2,opt,name=UniID,proto3" json:"UniID,omitempty"`
1310 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1311 XXX_unrecognized []byte `json:"-"`
1312 XXX_sizecache int32 `json:"-"`
1313}
1314
1315func (m *UNIRequest) Reset() { *m = UNIRequest{} }
1316func (m *UNIRequest) String() string { return proto.CompactTextString(m) }
1317func (*UNIRequest) ProtoMessage() {}
1318func (*UNIRequest) Descriptor() ([]byte, []int) {
1319 return fileDescriptor_ef7750073d18011b, []int{16}
1320}
1321
1322func (m *UNIRequest) XXX_Unmarshal(b []byte) error {
1323 return xxx_messageInfo_UNIRequest.Unmarshal(m, b)
1324}
1325func (m *UNIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1326 return xxx_messageInfo_UNIRequest.Marshal(b, m, deterministic)
1327}
1328func (m *UNIRequest) XXX_Merge(src proto.Message) {
1329 xxx_messageInfo_UNIRequest.Merge(m, src)
1330}
1331func (m *UNIRequest) XXX_Size() int {
1332 return xxx_messageInfo_UNIRequest.Size(m)
1333}
1334func (m *UNIRequest) XXX_DiscardUnknown() {
1335 xxx_messageInfo_UNIRequest.DiscardUnknown(m)
1336}
1337
1338var xxx_messageInfo_UNIRequest proto.InternalMessageInfo
1339
1340func (m *UNIRequest) GetOnuSerialNumber() string {
1341 if m != nil {
1342 return m.OnuSerialNumber
1343 }
1344 return ""
1345}
1346
1347func (m *UNIRequest) GetUniID() string {
1348 if m != nil {
1349 return m.UniID
1350 }
1351 return ""
1352}
1353
Scott Baker41724b82020-01-21 19:54:53 -08001354type AlarmType struct {
1355 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1356 XXX_unrecognized []byte `json:"-"`
1357 XXX_sizecache int32 `json:"-"`
1358}
1359
1360func (m *AlarmType) Reset() { *m = AlarmType{} }
1361func (m *AlarmType) String() string { return proto.CompactTextString(m) }
1362func (*AlarmType) ProtoMessage() {}
1363func (*AlarmType) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001364 return fileDescriptor_ef7750073d18011b, []int{17}
Scott Baker41724b82020-01-21 19:54:53 -08001365}
1366
1367func (m *AlarmType) XXX_Unmarshal(b []byte) error {
1368 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
1369}
1370func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1371 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
1372}
1373func (m *AlarmType) XXX_Merge(src proto.Message) {
1374 xxx_messageInfo_AlarmType.Merge(m, src)
1375}
1376func (m *AlarmType) XXX_Size() int {
1377 return xxx_messageInfo_AlarmType.Size(m)
1378}
1379func (m *AlarmType) XXX_DiscardUnknown() {
1380 xxx_messageInfo_AlarmType.DiscardUnknown(m)
1381}
1382
1383var xxx_messageInfo_AlarmType proto.InternalMessageInfo
1384
1385type AlarmParameter struct {
1386 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
1387 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
1388 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1389 XXX_unrecognized []byte `json:"-"`
1390 XXX_sizecache int32 `json:"-"`
1391}
1392
1393func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
1394func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
1395func (*AlarmParameter) ProtoMessage() {}
1396func (*AlarmParameter) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001397 return fileDescriptor_ef7750073d18011b, []int{18}
Scott Baker41724b82020-01-21 19:54:53 -08001398}
1399
1400func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
1401 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
1402}
1403func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1404 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
1405}
1406func (m *AlarmParameter) XXX_Merge(src proto.Message) {
1407 xxx_messageInfo_AlarmParameter.Merge(m, src)
1408}
1409func (m *AlarmParameter) XXX_Size() int {
1410 return xxx_messageInfo_AlarmParameter.Size(m)
1411}
1412func (m *AlarmParameter) XXX_DiscardUnknown() {
1413 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
1414}
1415
1416var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
1417
1418func (m *AlarmParameter) GetKey() string {
1419 if m != nil {
1420 return m.Key
1421 }
1422 return ""
1423}
1424
1425func (m *AlarmParameter) GetValue() string {
1426 if m != nil {
1427 return m.Value
1428 }
1429 return ""
1430}
1431
Anand S Katti86552f92020-03-03 21:56:32 +05301432// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +05301433// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -08001434// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +05301435type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +05301436 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -08001437 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1438 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1439 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
1440 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1441 XXX_unrecognized []byte `json:"-"`
1442 XXX_sizecache int32 `json:"-"`
1443}
1444
Anand S Katti86552f92020-03-03 21:56:32 +05301445func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
1446func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
1447func (*ONUAlarmRequest) ProtoMessage() {}
1448func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001449 return fileDescriptor_ef7750073d18011b, []int{19}
Scott Baker41724b82020-01-21 19:54:53 -08001450}
1451
Anand S Katti86552f92020-03-03 21:56:32 +05301452func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
1453 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -08001454}
Anand S Katti86552f92020-03-03 21:56:32 +05301455func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1456 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -08001457}
Anand S Katti86552f92020-03-03 21:56:32 +05301458func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
1459 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -08001460}
Anand S Katti86552f92020-03-03 21:56:32 +05301461func (m *ONUAlarmRequest) XXX_Size() int {
1462 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -08001463}
Anand S Katti86552f92020-03-03 21:56:32 +05301464func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
1465 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -08001466}
1467
Anand S Katti86552f92020-03-03 21:56:32 +05301468var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -08001469
Anand S Katti86552f92020-03-03 21:56:32 +05301470func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -08001471 if m != nil {
1472 return m.AlarmType
1473 }
Pragya Arya694ece02020-02-07 13:03:47 +05301474 return ""
Scott Baker41724b82020-01-21 19:54:53 -08001475}
1476
Anand S Katti86552f92020-03-03 21:56:32 +05301477func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -08001478 if m != nil {
1479 return m.SerialNumber
1480 }
1481 return ""
1482}
1483
Anand S Katti86552f92020-03-03 21:56:32 +05301484func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -08001485 if m != nil {
1486 return m.Status
1487 }
1488 return ""
1489}
1490
Anand S Katti86552f92020-03-03 21:56:32 +05301491func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -08001492 if m != nil {
1493 return m.Parameters
1494 }
1495 return nil
1496}
1497
Anand S Katti86552f92020-03-03 21:56:32 +05301498// OLT alarm request
1499type OLTAlarmRequest struct {
1500 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
1501 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
1502 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1503 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1504 XXX_unrecognized []byte `json:"-"`
1505 XXX_sizecache int32 `json:"-"`
1506}
1507
1508func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
1509func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
1510func (*OLTAlarmRequest) ProtoMessage() {}
1511func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001512 return fileDescriptor_ef7750073d18011b, []int{20}
Anand S Katti86552f92020-03-03 21:56:32 +05301513}
1514
1515func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
1516 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
1517}
1518func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1519 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
1520}
1521func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
1522 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
1523}
1524func (m *OLTAlarmRequest) XXX_Size() int {
1525 return xxx_messageInfo_OLTAlarmRequest.Size(m)
1526}
1527func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
1528 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
1529}
1530
1531var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
1532
1533func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
1534 if m != nil {
1535 return m.InterfaceID
1536 }
1537 return 0
1538}
1539
1540func (m *OLTAlarmRequest) GetInterfaceType() string {
1541 if m != nil {
1542 return m.InterfaceType
1543 }
1544 return ""
1545}
1546
1547func (m *OLTAlarmRequest) GetStatus() string {
1548 if m != nil {
1549 return m.Status
1550 }
1551 return ""
1552}
1553
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001554type VersionNumber struct {
1555 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1556 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
1557 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
1558 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
1559 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1560 XXX_unrecognized []byte `json:"-"`
1561 XXX_sizecache int32 `json:"-"`
1562}
1563
1564func (m *VersionNumber) Reset() { *m = VersionNumber{} }
1565func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
1566func (*VersionNumber) ProtoMessage() {}
1567func (*VersionNumber) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001568 return fileDescriptor_ef7750073d18011b, []int{21}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001569}
1570
1571func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
1572 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
1573}
1574func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1575 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
1576}
1577func (m *VersionNumber) XXX_Merge(src proto.Message) {
1578 xxx_messageInfo_VersionNumber.Merge(m, src)
1579}
1580func (m *VersionNumber) XXX_Size() int {
1581 return xxx_messageInfo_VersionNumber.Size(m)
1582}
1583func (m *VersionNumber) XXX_DiscardUnknown() {
1584 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
1585}
1586
1587var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
1588
1589func (m *VersionNumber) GetVersion() string {
1590 if m != nil {
1591 return m.Version
1592 }
1593 return ""
1594}
1595
1596func (m *VersionNumber) GetBuildTime() string {
1597 if m != nil {
1598 return m.BuildTime
1599 }
1600 return ""
1601}
1602
1603func (m *VersionNumber) GetCommitHash() string {
1604 if m != nil {
1605 return m.CommitHash
1606 }
1607 return ""
1608}
1609
1610func (m *VersionNumber) GetGitStatus() string {
1611 if m != nil {
1612 return m.GitStatus
1613 }
1614 return ""
1615}
1616
1617type LogLevel struct {
1618 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
1619 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
1620 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1621 XXX_unrecognized []byte `json:"-"`
1622 XXX_sizecache int32 `json:"-"`
1623}
1624
1625func (m *LogLevel) Reset() { *m = LogLevel{} }
1626func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1627func (*LogLevel) ProtoMessage() {}
1628func (*LogLevel) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001629 return fileDescriptor_ef7750073d18011b, []int{22}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001630}
1631
1632func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1633 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1634}
1635func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1636 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1637}
1638func (m *LogLevel) XXX_Merge(src proto.Message) {
1639 xxx_messageInfo_LogLevel.Merge(m, src)
1640}
1641func (m *LogLevel) XXX_Size() int {
1642 return xxx_messageInfo_LogLevel.Size(m)
1643}
1644func (m *LogLevel) XXX_DiscardUnknown() {
1645 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1646}
1647
1648var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1649
1650func (m *LogLevel) GetLevel() string {
1651 if m != nil {
1652 return m.Level
1653 }
1654 return ""
1655}
1656
1657func (m *LogLevel) GetCaller() bool {
1658 if m != nil {
1659 return m.Caller
1660 }
1661 return false
1662}
1663
1664type Response struct {
1665 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1666 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1667 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1668 XXX_unrecognized []byte `json:"-"`
1669 XXX_sizecache int32 `json:"-"`
1670}
1671
1672func (m *Response) Reset() { *m = Response{} }
1673func (m *Response) String() string { return proto.CompactTextString(m) }
1674func (*Response) ProtoMessage() {}
1675func (*Response) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001676 return fileDescriptor_ef7750073d18011b, []int{23}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001677}
1678
1679func (m *Response) XXX_Unmarshal(b []byte) error {
1680 return xxx_messageInfo_Response.Unmarshal(m, b)
1681}
1682func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1683 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1684}
1685func (m *Response) XXX_Merge(src proto.Message) {
1686 xxx_messageInfo_Response.Merge(m, src)
1687}
1688func (m *Response) XXX_Size() int {
1689 return xxx_messageInfo_Response.Size(m)
1690}
1691func (m *Response) XXX_DiscardUnknown() {
1692 xxx_messageInfo_Response.DiscardUnknown(m)
1693}
1694
1695var xxx_messageInfo_Response proto.InternalMessageInfo
1696
1697func (m *Response) GetStatusCode() int32 {
1698 if m != nil {
1699 return m.StatusCode
1700 }
1701 return 0
1702}
1703
1704func (m *Response) GetMessage() string {
1705 if m != nil {
1706 return m.Message
1707 }
1708 return ""
1709}
1710
Arjun E K57a7fcb2020-01-30 06:44:45 +00001711type IgmpRequest struct {
1712 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1713 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001714 GroupAddress string `protobuf:"bytes,3,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"`
Arjun E K57a7fcb2020-01-30 06:44:45 +00001715 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1716 XXX_unrecognized []byte `json:"-"`
1717 XXX_sizecache int32 `json:"-"`
1718}
1719
1720func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1721func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1722func (*IgmpRequest) ProtoMessage() {}
1723func (*IgmpRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001724 return fileDescriptor_ef7750073d18011b, []int{24}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001725}
1726
1727func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1728 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1729}
1730func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1731 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1732}
1733func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1734 xxx_messageInfo_IgmpRequest.Merge(m, src)
1735}
1736func (m *IgmpRequest) XXX_Size() int {
1737 return xxx_messageInfo_IgmpRequest.Size(m)
1738}
1739func (m *IgmpRequest) XXX_DiscardUnknown() {
1740 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1741}
1742
1743var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1744
1745func (m *IgmpRequest) GetOnuReq() *ONURequest {
1746 if m != nil {
1747 return m.OnuReq
1748 }
1749 return nil
1750}
1751
1752func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1753 if m != nil {
1754 return m.SubActionVal
1755 }
1756 return SubActionTypes_JOIN
1757}
1758
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001759func (m *IgmpRequest) GetGroupAddress() string {
1760 if m != nil {
1761 return m.GroupAddress
1762 }
1763 return ""
1764}
1765
Pragya Arya8bdb4532020-03-02 17:08:09 +05301766type Flows struct {
1767 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1768 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1769 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1770 XXX_unrecognized []byte `json:"-"`
1771 XXX_sizecache int32 `json:"-"`
1772}
1773
1774func (m *Flows) Reset() { *m = Flows{} }
1775func (m *Flows) String() string { return proto.CompactTextString(m) }
1776func (*Flows) ProtoMessage() {}
1777func (*Flows) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001778 return fileDescriptor_ef7750073d18011b, []int{25}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301779}
1780
1781func (m *Flows) XXX_Unmarshal(b []byte) error {
1782 return xxx_messageInfo_Flows.Unmarshal(m, b)
1783}
1784func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1785 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1786}
1787func (m *Flows) XXX_Merge(src proto.Message) {
1788 xxx_messageInfo_Flows.Merge(m, src)
1789}
1790func (m *Flows) XXX_Size() int {
1791 return xxx_messageInfo_Flows.Size(m)
1792}
1793func (m *Flows) XXX_DiscardUnknown() {
1794 xxx_messageInfo_Flows.DiscardUnknown(m)
1795}
1796
1797var xxx_messageInfo_Flows proto.InternalMessageInfo
1798
1799func (m *Flows) GetFlowCount() uint32 {
1800 if m != nil {
1801 return m.FlowCount
1802 }
1803 return 0
1804}
1805
1806func (m *Flows) GetFlows() []*openolt.Flow {
1807 if m != nil {
1808 return m.Flows
1809 }
1810 return nil
1811}
1812
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001813type Timeout struct {
1814 Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
1815 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1816 XXX_unrecognized []byte `json:"-"`
1817 XXX_sizecache int32 `json:"-"`
1818}
1819
1820func (m *Timeout) Reset() { *m = Timeout{} }
1821func (m *Timeout) String() string { return proto.CompactTextString(m) }
1822func (*Timeout) ProtoMessage() {}
1823func (*Timeout) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001824 return fileDescriptor_ef7750073d18011b, []int{26}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001825}
1826
1827func (m *Timeout) XXX_Unmarshal(b []byte) error {
1828 return xxx_messageInfo_Timeout.Unmarshal(m, b)
1829}
1830func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1831 return xxx_messageInfo_Timeout.Marshal(b, m, deterministic)
1832}
1833func (m *Timeout) XXX_Merge(src proto.Message) {
1834 xxx_messageInfo_Timeout.Merge(m, src)
1835}
1836func (m *Timeout) XXX_Size() int {
1837 return xxx_messageInfo_Timeout.Size(m)
1838}
1839func (m *Timeout) XXX_DiscardUnknown() {
1840 xxx_messageInfo_Timeout.DiscardUnknown(m)
1841}
1842
1843var xxx_messageInfo_Timeout proto.InternalMessageInfo
1844
1845func (m *Timeout) GetDelay() uint32 {
1846 if m != nil {
1847 return m.Delay
1848 }
1849 return 0
1850}
1851
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001852type Empty struct {
1853 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1854 XXX_unrecognized []byte `json:"-"`
1855 XXX_sizecache int32 `json:"-"`
1856}
1857
1858func (m *Empty) Reset() { *m = Empty{} }
1859func (m *Empty) String() string { return proto.CompactTextString(m) }
1860func (*Empty) ProtoMessage() {}
1861func (*Empty) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001862 return fileDescriptor_ef7750073d18011b, []int{27}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001863}
1864
1865func (m *Empty) XXX_Unmarshal(b []byte) error {
1866 return xxx_messageInfo_Empty.Unmarshal(m, b)
1867}
1868func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1869 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1870}
1871func (m *Empty) XXX_Merge(src proto.Message) {
1872 xxx_messageInfo_Empty.Merge(m, src)
1873}
1874func (m *Empty) XXX_Size() int {
1875 return xxx_messageInfo_Empty.Size(m)
1876}
1877func (m *Empty) XXX_DiscardUnknown() {
1878 xxx_messageInfo_Empty.DiscardUnknown(m)
1879}
1880
1881var xxx_messageInfo_Empty proto.InternalMessageInfo
1882
1883func init() {
Elia Battistonac63b112022-01-12 18:40:49 +01001884 proto.RegisterEnum("bbsim.UniType", UniType_name, UniType_value)
Arjun E K57a7fcb2020-01-30 06:44:45 +00001885 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001886 proto.RegisterEnum("bbsim.OltAllocatedResourceType_Type", OltAllocatedResourceType_Type_name, OltAllocatedResourceType_Type_value)
Scott Baker41724b82020-01-21 19:54:53 -08001887 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001888 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001889 proto.RegisterType((*PonAllocatedResources)(nil), "bbsim.PonAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001890 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1891 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001892 proto.RegisterType((*OltAllocatedResourceType)(nil), "bbsim.OltAllocatedResourceType")
1893 proto.RegisterType((*OltAllocatedResource)(nil), "bbsim.OltAllocatedResource")
1894 proto.RegisterType((*OltAllocatedResources)(nil), "bbsim.OltAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001895 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001896 proto.RegisterType((*UNI)(nil), "bbsim.UNI")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001897 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301898 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001899 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001900 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001901 proto.RegisterType((*UNIs)(nil), "bbsim.UNIs")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001902 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301903 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001904 proto.RegisterType((*UNIRequest)(nil), "bbsim.UNIRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001905 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1906 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301907 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1908 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001909 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1910 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1911 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001912 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301913 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001914 proto.RegisterType((*Timeout)(nil), "bbsim.Timeout")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001915 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1916}
1917
Matteo Scandolof65e6872020-04-15 15:18:43 -07001918func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001919
1920var fileDescriptor_ef7750073d18011b = []byte{
Andrea Campanella6f5f3552022-03-10 17:14:25 +01001921 // 2290 bytes of a gzipped FileDescriptorProto
1922 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0x4f, 0x6f, 0xdb, 0xc8,
1923 0x15, 0xb7, 0xfe, 0x59, 0xd2, 0x93, 0x25, 0xd1, 0x93, 0xd8, 0x4b, 0x38, 0xde, 0x8d, 0xc1, 0xcd,
1924 0x2e, 0x9c, 0x60, 0xd7, 0xd9, 0x24, 0xdd, 0x6d, 0x72, 0x94, 0x25, 0x5a, 0xe1, 0x5a, 0x26, 0x89,
1925 0xa1, 0xe4, 0x20, 0xed, 0x41, 0xa0, 0xc9, 0xb1, 0x4c, 0x94, 0x22, 0x15, 0x92, 0xb2, 0xeb, 0x0f,
1926 0xd0, 0x63, 0xcf, 0x3d, 0x2e, 0xd0, 0x0f, 0xd0, 0xef, 0xd1, 0x5b, 0xef, 0x05, 0xfa, 0x55, 0x5a,
1927 0xcc, 0x70, 0x48, 0x91, 0x92, 0xec, 0x38, 0xa7, 0x5e, 0x0c, 0xbe, 0xdf, 0xfb, 0x33, 0x6f, 0xde,
1928 0x9f, 0x99, 0x37, 0x32, 0xec, 0x98, 0x33, 0xe7, 0xe5, 0xc5, 0x45, 0xe8, 0x4c, 0xe3, 0xbf, 0x47,
1929 0xb3, 0xc0, 0x8f, 0x7c, 0x54, 0x61, 0xc4, 0xde, 0x93, 0x6b, 0xdf, 0x8d, 0xae, 0xcc, 0x31, 0x03,
1930 0xc3, 0x97, 0xfe, 0x8c, 0x78, 0xbe, 0x1b, 0xc5, 0x32, 0x7b, 0x07, 0x79, 0x66, 0x44, 0xac, 0x2b,
1931 0xfa, 0x7d, 0xe9, 0xb8, 0x24, 0x96, 0x90, 0xfe, 0x5b, 0x84, 0xaa, 0xae, 0xa9, 0xba, 0x1f, 0x44,
1932 0xa8, 0x05, 0x45, 0xa5, 0x27, 0x16, 0x0e, 0x0a, 0x87, 0x15, 0x5c, 0x54, 0x7a, 0x68, 0x1f, 0xea,
1933 0xda, 0x8c, 0x04, 0x46, 0x64, 0x46, 0x44, 0x2c, 0x1e, 0x14, 0x0e, 0xeb, 0x78, 0x01, 0xa0, 0x67,
1934 0xd0, 0x54, 0xbc, 0x88, 0x04, 0x9e, 0xe9, 0xc6, 0x12, 0x25, 0x26, 0x91, 0x07, 0xd1, 0x01, 0x34,
1935 0x74, 0xd3, 0xfa, 0x13, 0x89, 0xba, 0xfe, 0xdc, 0x8b, 0xc4, 0xf2, 0x41, 0xe1, 0xb0, 0x8c, 0xb3,
1936 0x10, 0x3a, 0x81, 0x76, 0xc7, 0x75, 0x7d, 0xcb, 0x8c, 0x88, 0xad, 0x79, 0x73, 0xc5, 0x0e, 0xc5,
1937 0xca, 0x41, 0xe9, 0xb0, 0xf1, 0x7a, 0xff, 0x28, 0xde, 0xae, 0xee, 0x7b, 0xa9, 0x00, 0x26, 0xa1,
1938 0x3f, 0x0f, 0x2c, 0x12, 0xe2, 0x65, 0x25, 0xf4, 0x2b, 0x6c, 0xa7, 0x50, 0x9f, 0x4c, 0xe9, 0x8e,
1939 0x42, 0x71, 0xf3, 0x01, 0x96, 0x56, 0xd5, 0x72, 0xb6, 0xd8, 0x07, 0xf5, 0xaa, 0xfa, 0x45, 0xb6,
1940 0x12, 0x35, 0xf4, 0x0d, 0xc0, 0x90, 0x58, 0x57, 0x9e, 0xef, 0xfa, 0x93, 0x5b, 0xb1, 0xc6, 0x82,
1941 0x94, 0x41, 0xa4, 0x53, 0xd8, 0x59, 0x6b, 0x0b, 0x49, 0xb0, 0x65, 0x90, 0xc0, 0x31, 0x5d, 0x75,
1942 0x3e, 0xbd, 0x20, 0x01, 0x4b, 0x4c, 0x1d, 0xe7, 0x30, 0x96, 0x32, 0x9b, 0xe5, 0x86, 0xa6, 0xcc,
1943 0x96, 0x7e, 0x0f, 0x55, 0x55, 0x55, 0xbe, 0x3c, 0x9b, 0xd2, 0x5f, 0x8b, 0x50, 0xd2, 0xdc, 0x55,
1944 0xad, 0x65, 0x27, 0x8a, 0x6b, 0x9c, 0xc8, 0x59, 0x2e, 0x7d, 0xb6, 0x4e, 0xca, 0xeb, 0xea, 0x84,
1945 0xae, 0xab, 0x8b, 0x55, 0xc6, 0x2a, 0x2a, 0x3a, 0x7a, 0x01, 0x35, 0xbe, 0x91, 0xa4, 0x1c, 0x5a,
1946 0x3c, 0xf0, 0x1c, 0xc6, 0x29, 0x9f, 0xca, 0xf2, 0x12, 0x4e, 0x12, 0x9e, 0xc8, 0x72, 0x18, 0xa7,
1947 0x7c, 0xf4, 0x3d, 0xb4, 0x54, 0xcf, 0xe9, 0x5d, 0x59, 0xb3, 0x61, 0x60, 0xce, 0xce, 0x1d, 0x9b,
1948 0x65, 0xa4, 0x82, 0x97, 0x50, 0xe9, 0x2f, 0x05, 0x10, 0x35, 0x37, 0x5a, 0x49, 0xcb, 0xf0, 0x76,
1949 0x46, 0xd0, 0x5b, 0x28, 0x47, 0xb7, 0x33, 0xc2, 0xc2, 0xd4, 0x7a, 0xfd, 0x8c, 0x2f, 0x76, 0x97,
1950 0xf8, 0x11, 0xfd, 0x83, 0x99, 0x86, 0xf4, 0x12, 0xca, 0xcc, 0x42, 0x03, 0xaa, 0x23, 0xf5, 0x54,
1951 0xd5, 0x3e, 0xa8, 0xc2, 0x06, 0xda, 0x82, 0x5a, 0x67, 0x30, 0xd0, 0xba, 0x63, 0xa5, 0x27, 0x14,
1952 0x28, 0xd5, 0x97, 0xcf, 0xc6, 0xba, 0x86, 0x87, 0x42, 0x51, 0xfa, 0x47, 0x01, 0x1e, 0xaf, 0x33,
1953 0x8c, 0x50, 0x6c, 0x89, 0x57, 0x45, 0x6c, 0x75, 0x1f, 0xea, 0xba, 0xef, 0xd1, 0x8d, 0xf2, 0xa2,
1954 0x68, 0xe2, 0x05, 0x80, 0x1e, 0x43, 0x85, 0xb5, 0x0a, 0x4b, 0x51, 0x13, 0xc7, 0x04, 0xda, 0x85,
1955 0x4d, 0xca, 0x57, 0x7d, 0x96, 0x97, 0x26, 0xe6, 0x14, 0x2d, 0xdb, 0x64, 0x2d, 0xc5, 0x16, 0x2b,
1956 0x2c, 0x48, 0x19, 0x84, 0xea, 0x9d, 0xb8, 0xfe, 0x8d, 0x62, 0x8b, 0x9b, 0xac, 0xa7, 0x39, 0x25,
1957 0x61, 0xd8, 0x59, 0xe7, 0x6f, 0x88, 0xde, 0x41, 0x3d, 0x48, 0x08, 0xb1, 0xc0, 0xd2, 0xf4, 0xe4,
1958 0x9e, 0xc8, 0xe1, 0x85, 0xb4, 0xf4, 0x5b, 0x19, 0x4a, 0x9a, 0x3a, 0xfa, 0xbf, 0x15, 0x67, 0x26,
1959 0xae, 0x3d, 0x1e, 0x8a, 0x05, 0x80, 0x0e, 0xa0, 0xfe, 0xfe, 0xa6, 0x63, 0xdb, 0x01, 0x09, 0xc3,
1960 0xb8, 0xbf, 0x8f, 0x8b, 0x62, 0x01, 0x2f, 0x40, 0xb4, 0x97, 0xc6, 0xb8, 0x4e, 0x95, 0x19, 0x3b,
1961 0x89, 0xf3, 0x11, 0xd4, 0x42, 0x12, 0x5c, 0x3b, 0x34, 0x2a, 0x90, 0x2b, 0x5e, 0x23, 0x86, 0x99,
1962 0x74, 0x2a, 0x83, 0x7a, 0xf0, 0xb5, 0x32, 0x35, 0x27, 0xc4, 0xf0, 0x2f, 0xa3, 0x1b, 0x33, 0x20,
1963 0xf2, 0x9f, 0x67, 0xc4, 0x8a, 0x88, 0x6d, 0x10, 0x2b, 0x72, 0x7c, 0x2f, 0x14, 0x1b, 0xcc, 0xbf,
1964 0xfb, 0x85, 0x56, 0xac, 0x60, 0x62, 0x11, 0xe7, 0x3a, 0x63, 0x65, 0x6b, 0x8d, 0x95, 0x65, 0x21,
1965 0xf4, 0x13, 0x3c, 0xea, 0x58, 0x91, 0x73, 0x4d, 0x98, 0x98, 0xec, 0x45, 0x4e, 0x74, 0xab, 0xd8,
1966 0x62, 0x93, 0xe9, 0xae, 0x63, 0xa1, 0x5f, 0x60, 0xb7, 0xeb, 0x4f, 0xa7, 0x4e, 0x14, 0x11, 0x3b,
1967 0xaf, 0xd4, 0x62, 0x4a, 0x77, 0x70, 0xd1, 0x37, 0x50, 0x9e, 0x7b, 0x4e, 0x28, 0xb6, 0x59, 0x84,
1968 0x80, 0x47, 0x68, 0xa4, 0x2a, 0x98, 0xe1, 0xd2, 0xbf, 0x0b, 0x50, 0x1a, 0xa9, 0xca, 0x4a, 0x85,
1969 0xf0, 0x9a, 0xef, 0xf1, 0x23, 0x32, 0x26, 0x38, 0x6a, 0x78, 0xbc, 0x1e, 0x62, 0x82, 0x76, 0xd4,
1970 0x19, 0x51, 0x7a, 0xbc, 0x0f, 0xd8, 0x77, 0xbe, 0x7a, 0x2a, 0xcb, 0xd5, 0xb3, 0xe8, 0x9d, 0x4d,
1971 0x66, 0x3e, 0xc9, 0xe9, 0x8b, 0x4c, 0x4e, 0xab, 0xeb, 0x72, 0x9a, 0xc9, 0xa7, 0xc4, 0xfb, 0xb8,
1972 0xc6, 0xce, 0x92, 0x44, 0x6e, 0xe4, 0x39, 0xf1, 0xa9, 0x41, 0xff, 0x4a, 0xff, 0xac, 0x40, 0x95,
1973 0x6b, 0x52, 0x2f, 0x55, 0x73, 0x9a, 0xf6, 0x3d, 0xfd, 0xa6, 0x5e, 0x2e, 0x2a, 0x90, 0x1f, 0xed,
1974 0x8b, 0xea, 0xbb, 0x73, 0xb7, 0xc6, 0xd0, 0x9c, 0xb0, 0xdd, 0x56, 0x30, 0xfb, 0xa6, 0x58, 0x97,
1975 0x62, 0x71, 0x89, 0xb3, 0x6f, 0x7a, 0x0e, 0xa8, 0x84, 0xd8, 0xa1, 0x6c, 0xce, 0x7c, 0x97, 0xed,
1976 0xb3, 0x86, 0x33, 0x08, 0x5d, 0x9b, 0x51, 0xf4, 0xf0, 0x64, 0xe7, 0x77, 0x0d, 0x2f, 0x80, 0x94,
1977 0xab, 0x4c, 0xa6, 0x33, 0xb6, 0xc5, 0x84, 0x4b, 0x01, 0x24, 0x42, 0x95, 0x5f, 0xb9, 0x71, 0x63,
1978 0xe0, 0x84, 0xa4, 0xab, 0x32, 0xf3, 0x71, 0xe0, 0x21, 0xbe, 0x34, 0x17, 0x08, 0xb5, 0x4b, 0xed,
1979 0xc7, 0xec, 0x46, 0xbc, 0xe3, 0x14, 0x58, 0xed, 0xea, 0xad, 0x3b, 0xba, 0x5a, 0xe9, 0x9f, 0xe9,
1980 0xb1, 0x44, 0x33, 0xb6, 0x91, 0x02, 0x34, 0x6a, 0x23, 0xcf, 0xe1, 0x85, 0xd9, 0xc4, 0x31, 0x41,
1981 0xc7, 0x19, 0x9a, 0x1a, 0x73, 0x72, 0x66, 0x46, 0xd6, 0x95, 0xd8, 0x66, 0x5e, 0x67, 0x21, 0x7a,
1982 0xc1, 0x8c, 0x42, 0x1a, 0x39, 0x3d, 0x70, 0xfc, 0xc0, 0x89, 0x6e, 0x45, 0x81, 0x19, 0x58, 0x42,
1983 0x63, 0x39, 0x23, 0x2b, 0xb7, 0x9d, 0xc8, 0x19, 0x4b, 0x72, 0xbd, 0xbc, 0x3d, 0x14, 0xcb, 0xf5,
1984 0x56, 0xec, 0xf5, 0xf2, 0xf6, 0x1e, 0x25, 0x72, 0x39, 0x7b, 0x49, 0x3e, 0x75, 0x5d, 0xf7, 0x65,
1985 0xf1, 0x71, 0x26, 0x9f, 0x0c, 0xa1, 0x3d, 0xdd, 0xf5, 0xbd, 0x4b, 0x67, 0x32, 0x0f, 0xc8, 0x99,
1986 0x69, 0x25, 0x55, 0xb5, 0xc3, 0x04, 0xd7, 0xb1, 0xd0, 0x0f, 0xb0, 0x2d, 0x7b, 0xe6, 0x85, 0x4b,
1987 0xb1, 0x01, 0x31, 0x03, 0xcf, 0xf1, 0x26, 0xe2, 0x2e, 0x93, 0x5f, 0x65, 0x48, 0x26, 0x3c, 0xd6,
1988 0xd4, 0xd1, 0x30, 0x30, 0x2f, 0x2f, 0x1d, 0xcb, 0xb0, 0xae, 0x88, 0x3d, 0x77, 0x49, 0x10, 0x22,
1989 0x05, 0xda, 0x11, 0x05, 0x17, 0x10, 0x2b, 0xf1, 0xc6, 0xeb, 0xa7, 0x47, 0xb9, 0xb1, 0x75, 0x45,
1990 0x13, 0x2f, 0xeb, 0x49, 0x87, 0x50, 0xd6, 0xd4, 0x51, 0x88, 0x0e, 0xa0, 0xe2, 0x44, 0x64, 0x9a,
1991 0xdc, 0x36, 0xc9, 0xa9, 0xa1, 0xa9, 0x23, 0x1c, 0x33, 0xa4, 0x9f, 0xa0, 0x66, 0x24, 0x8d, 0xf8,
1992 0x2c, 0x2f, 0xbd, 0xdc, 0xb1, 0x5c, 0xe3, 0x10, 0xca, 0x23, 0x55, 0xb9, 0xd3, 0x36, 0x3d, 0x91,
1993 0x52, 0xdb, 0x40, 0x57, 0x22, 0x9f, 0xe6, 0x24, 0x8c, 0x1e, 0x32, 0xcc, 0x49, 0x2f, 0x00, 0x74,
1994 0x4d, 0x4d, 0x34, 0x72, 0x97, 0x79, 0x61, 0xe9, 0x32, 0x97, 0x06, 0x00, 0x74, 0x2d, 0x2e, 0x7b,
1995 0x08, 0x6d, 0xda, 0xd5, 0xab, 0x0b, 0x2c, 0xc3, 0x49, 0x59, 0xf7, 0xf8, 0x31, 0x11, 0x13, 0xd2,
1996 0x7f, 0x4a, 0x50, 0xef, 0xb8, 0x66, 0x30, 0x65, 0xc7, 0xcd, 0xbf, 0x4a, 0x50, 0xa1, 0x1f, 0x21,
1997 0xaa, 0x42, 0x69, 0xa0, 0x19, 0xc2, 0x06, 0x6a, 0x01, 0xf4, 0x3e, 0x2a, 0x6a, 0x7f, 0xdc, 0xef,
1998 0x18, 0xba, 0x50, 0x40, 0x4d, 0xa8, 0x6b, 0xea, 0x68, 0xdc, 0x19, 0x74, 0xf0, 0x99, 0x50, 0x44,
1999 0x5f, 0xc1, 0x23, 0x4a, 0x1a, 0xc3, 0x0e, 0x1e, 0x8e, 0xf4, 0xf1, 0x49, 0x47, 0x19, 0x8c, 0xb0,
2000 0x2c, 0x94, 0xd0, 0x2e, 0x20, 0xc6, 0x50, 0xfa, 0x6a, 0x67, 0x30, 0xee, 0xc9, 0x7d, 0xdc, 0xe9,
2001 0xc9, 0x42, 0x39, 0x51, 0xe8, 0x61, 0xe5, 0x64, 0x38, 0xd6, 0x4e, 0xc6, 0x1f, 0x14, 0xb5, 0xa7,
2002 0x7d, 0x10, 0x2a, 0x68, 0x1f, 0x44, 0xca, 0x18, 0x68, 0x86, 0x41, 0x71, 0xed, 0xac, 0xab, 0x8c,
2003 0xbb, 0xef, 0x3b, 0xaa, 0x2a, 0x0f, 0x84, 0xcd, 0x74, 0x1d, 0x66, 0xce, 0x48, 0xd7, 0xa9, 0xa2,
2004 0xe7, 0xf0, 0x1d, 0x65, 0x0c, 0x71, 0x47, 0x35, 0xce, 0x14, 0xc3, 0x50, 0x34, 0x75, 0xac, 0xa8,
2005 0x43, 0x19, 0x9f, 0xc8, 0x58, 0x56, 0xbb, 0xf2, 0xf8, 0x43, 0x07, 0xab, 0x8a, 0xda, 0x17, 0x6a,
2006 0x68, 0x0f, 0x76, 0x99, 0xeb, 0xdd, 0xa1, 0x72, 0xde, 0x19, 0x52, 0xc1, 0xc4, 0x4c, 0x1d, 0x89,
2007 0xac, 0x38, 0xc7, 0x3a, 0xd6, 0xba, 0xb2, 0x61, 0xd0, 0xfd, 0xca, 0x18, 0x6b, 0x58, 0x00, 0x74,
2008 0x00, 0xfb, 0x59, 0xbf, 0x4e, 0xe5, 0x8f, 0x63, 0xe3, 0xa3, 0xda, 0x4d, 0x75, 0x1b, 0x68, 0x07,
2009 0xb6, 0xa9, 0x84, 0x32, 0x1c, 0x8d, 0x75, 0x4d, 0xa5, 0xb1, 0x18, 0x1a, 0xc2, 0x16, 0xda, 0x86,
2010 0x66, 0x1a, 0x29, 0xaa, 0x2e, 0x34, 0x97, 0xa1, 0x63, 0xa1, 0x95, 0x6c, 0x2c, 0x81, 0xf4, 0xee,
2011 0x98, 0xee, 0x42, 0x68, 0x27, 0xf1, 0xc8, 0x31, 0xba, 0xdc, 0x2b, 0x01, 0x21, 0x68, 0x65, 0xb9,
2012 0x27, 0x8a, 0xb0, 0x8d, 0x1e, 0x41, 0x3b, 0x8b, 0x75, 0xce, 0x14, 0x01, 0x49, 0x6f, 0xa1, 0xc5,
2013 0xf2, 0xab, 0x9b, 0x81, 0x39, 0x25, 0x11, 0x09, 0x90, 0x00, 0xa5, 0x53, 0x72, 0xcb, 0xcb, 0x84,
2014 0x7e, 0xd2, 0xd2, 0x38, 0x37, 0xdd, 0x79, 0xf2, 0x38, 0x88, 0x09, 0xe9, 0xef, 0x05, 0x66, 0x8f,
2015 0x69, 0x67, 0x4a, 0x33, 0xad, 0x16, 0x6e, 0x61, 0x01, 0x3c, 0x68, 0x2a, 0xdb, 0x85, 0x4d, 0x7a,
2016 0xcc, 0xce, 0x43, 0x7e, 0x29, 0x71, 0x0a, 0xfd, 0x0c, 0x90, 0xba, 0x18, 0x8a, 0x65, 0xd6, 0x5b,
2017 0x3b, 0xbc, 0xb7, 0xf2, 0x1b, 0xc0, 0x19, 0x41, 0xe9, 0x13, 0xb4, 0xb5, 0xc1, 0x30, 0xe7, 0xe3,
2018 0x01, 0x34, 0xd8, 0x71, 0x7f, 0x69, 0x5a, 0x84, 0x8f, 0x04, 0x4d, 0x9c, 0x85, 0xd2, 0x5b, 0x82,
2019 0x92, 0x6c, 0x27, 0xc5, 0xcc, 0x2d, 0x91, 0x80, 0x77, 0x79, 0x4a, 0x1f, 0x08, 0xcd, 0x73, 0x12,
2020 0x84, 0x8e, 0xef, 0xf1, 0x3d, 0x89, 0x50, 0xbd, 0x8e, 0x01, 0x1e, 0x93, 0x84, 0xa4, 0xf1, 0xba,
2021 0x98, 0x3b, 0xae, 0x3d, 0x74, 0xa6, 0xe9, 0xd3, 0x2b, 0x05, 0xe8, 0x89, 0x6c, 0xb1, 0xa9, 0xe7,
2022 0xbd, 0x19, 0x5e, 0xf1, 0x55, 0x32, 0x08, 0xd5, 0x9e, 0x38, 0x11, 0x77, 0x22, 0x9e, 0x4f, 0x17,
2023 0x80, 0xf4, 0x16, 0x6a, 0x03, 0x7f, 0x32, 0x20, 0xd7, 0xc4, 0xa5, 0x19, 0x74, 0xe9, 0x07, 0x5f,
2024 0x3f, 0x26, 0xe8, 0x0e, 0x2c, 0xd3, 0x75, 0x79, 0x26, 0x6a, 0x98, 0x53, 0x92, 0x0c, 0x35, 0x4c,
2025 0xc2, 0x99, 0xef, 0x85, 0x04, 0x3d, 0x85, 0x46, 0xc8, 0xec, 0x8d, 0x2d, 0xdf, 0x26, 0x7c, 0x80,
2026 0x82, 0x18, 0xea, 0xfa, 0x36, 0xa1, 0x9b, 0x9b, 0x92, 0x30, 0x34, 0x27, 0xc9, 0x06, 0x12, 0x52,
2027 0xfa, 0x5b, 0x01, 0x1a, 0xf4, 0x36, 0x4f, 0x02, 0xff, 0x1c, 0x36, 0x35, 0x6f, 0x8e, 0xc9, 0x27,
2028 0x7e, 0x7e, 0x6f, 0x67, 0x8e, 0xdd, 0x58, 0x04, 0x73, 0x01, 0xf4, 0x0e, 0xb6, 0x8c, 0xf9, 0x45,
2029 0x87, 0x4d, 0x93, 0xe7, 0xa6, 0xcb, 0x2c, 0xb7, 0xd2, 0x7c, 0xa7, 0x2c, 0x76, 0x16, 0xe1, 0x9c,
2030 0x28, 0x2d, 0xb2, 0x7e, 0xe0, 0xcf, 0x67, 0xc9, 0xfd, 0x14, 0x87, 0x2d, 0x87, 0x49, 0xa7, 0x50,
2031 0xa1, 0x8f, 0x92, 0x10, 0x7d, 0x0d, 0x70, 0xe9, 0xfa, 0x37, 0x63, 0x8b, 0xfd, 0x06, 0xc1, 0xcf,
2032 0x52, 0x8a, 0xc4, 0xbf, 0x40, 0x7c, 0x0b, 0x15, 0x4a, 0xd0, 0xd1, 0x89, 0xd6, 0x5b, 0xf3, 0x28,
2033 0xf9, 0x11, 0x85, 0x6a, 0xe3, 0x98, 0x27, 0x3d, 0x85, 0x2a, 0xcd, 0x96, 0x3f, 0x8f, 0x68, 0x98,
2034 0x6d, 0xe2, 0x9a, 0xb7, 0xdc, 0x52, 0x4c, 0x48, 0x55, 0xa8, 0xc8, 0xd3, 0x59, 0x74, 0xfb, 0x62,
2035 0x1f, 0xaa, 0x7c, 0x7c, 0xa3, 0xe7, 0xa7, 0x3c, 0x7c, 0x2f, 0x6c, 0xa0, 0x1a, 0x94, 0x75, 0x6d,
2036 0x68, 0x08, 0x85, 0x17, 0xaf, 0xa0, 0x95, 0xdf, 0x18, 0xe5, 0xfd, 0xaa, 0x29, 0xf4, 0x21, 0x58,
2037 0x87, 0xca, 0x40, 0xee, 0x9c, 0xcb, 0x42, 0x01, 0x01, 0x6c, 0x52, 0xf0, 0xfc, 0x8d, 0x50, 0x7c,
2038 0xfd, 0xdb, 0x16, 0x54, 0x8e, 0x8f, 0x0d, 0x67, 0x8a, 0x5e, 0x42, 0x95, 0xd7, 0x1c, 0xda, 0xe2,
2039 0x51, 0x62, 0x6b, 0xee, 0x3d, 0xe6, 0x54, 0xae, 0x22, 0xa5, 0x0d, 0xf4, 0x0a, 0x1a, 0x06, 0x89,
2040 0xd2, 0x02, 0x69, 0x73, 0xb1, 0x04, 0xd8, 0x5b, 0x06, 0xa4, 0x0d, 0xf4, 0x0c, 0x36, 0xfb, 0x24,
2041 0xd2, 0xdc, 0x68, 0x69, 0x09, 0x58, 0x3c, 0xd6, 0xa4, 0x0d, 0xf4, 0x47, 0x10, 0x63, 0xa9, 0x35,
2042 0x2f, 0xbd, 0xa7, 0x9f, 0x79, 0x10, 0xef, 0xed, 0xdf, 0x23, 0x10, 0x4a, 0x1b, 0xe8, 0x47, 0x00,
2043 0xdd, 0xbf, 0x21, 0x81, 0xef, 0xad, 0xba, 0x91, 0x78, 0x9c, 0x94, 0xae, 0xb4, 0x81, 0x8e, 0xa0,
2044 0x61, 0x5c, 0xcd, 0x23, 0xdb, 0xbf, 0x79, 0x98, 0xfc, 0x0f, 0x50, 0xc7, 0xe4, 0xc2, 0xf7, 0xa3,
2045 0x07, 0x49, 0xd3, 0x84, 0x45, 0xfe, 0x6c, 0x82, 0xf5, 0x2e, 0x9d, 0x05, 0x48, 0xf0, 0x79, 0x95,
2046 0xd7, 0xd0, 0x36, 0x22, 0x33, 0x88, 0xbe, 0x44, 0xe7, 0x17, 0xd8, 0xc6, 0x24, 0x5c, 0xd2, 0x4a,
2047 0x86, 0x10, 0x5e, 0x79, 0xeb, 0xf4, 0x9e, 0xc7, 0xe9, 0x52, 0x47, 0x68, 0xb5, 0xd1, 0xf6, 0x32,
2048 0x23, 0x8f, 0xb4, 0x81, 0xbe, 0xa7, 0xe3, 0x76, 0xc4, 0x46, 0xa3, 0xbc, 0x3b, 0x8d, 0x85, 0x18,
2049 0x0d, 0xff, 0x1b, 0x68, 0xf4, 0x49, 0x94, 0x0e, 0x46, 0xdb, 0x99, 0xd9, 0x86, 0xdb, 0x6d, 0xe7,
2050 0x87, 0xa3, 0x90, 0x25, 0x01, 0xa8, 0x71, 0x6f, 0x3e, 0xf2, 0x9c, 0x70, 0x9d, 0x2f, 0x8d, 0x85,
2051 0x19, 0xbe, 0x48, 0x9a, 0xb4, 0xf5, 0xce, 0xdf, 0x11, 0x58, 0xae, 0xd4, 0x71, 0xdd, 0x35, 0x3b,
2052 0x59, 0xa3, 0xf3, 0x0e, 0xb6, 0x33, 0x0b, 0x85, 0x9a, 0xa7, 0x6b, 0x6a, 0xba, 0xdc, 0x62, 0xde,
2053 0x5a, 0xbf, 0x5c, 0x5a, 0x87, 0x0f, 0x76, 0xf1, 0x15, 0xb4, 0xb8, 0xce, 0x83, 0x3d, 0x7c, 0x0b,
2054 0xc2, 0x62, 0x99, 0x2f, 0x72, 0xf0, 0x77, 0xb0, 0xc5, 0x8b, 0x26, 0x7e, 0x8c, 0xdd, 0x93, 0xaa,
2055 0x8c, 0xd6, 0x1b, 0x68, 0x70, 0x2d, 0xf6, 0x46, 0x7b, 0x98, 0xd2, 0x31, 0xec, 0x18, 0x2c, 0xbf,
2056 0xec, 0x96, 0x55, 0x3c, 0xdb, 0xb1, 0x4c, 0x7a, 0x86, 0xa1, 0xdd, 0x45, 0x58, 0xb2, 0x17, 0xf0,
2057 0x3d, 0x36, 0x68, 0xd7, 0xdf, 0x61, 0x23, 0x7f, 0x89, 0xaf, 0xb3, 0xf1, 0x23, 0xd4, 0xfa, 0x24,
2058 0x8a, 0xcf, 0xf5, 0x35, 0x19, 0x49, 0x82, 0xcd, 0x04, 0x58, 0x6c, 0xdb, 0xdd, 0x2b, 0xd3, 0x9b,
2059 0x10, 0x7a, 0x45, 0xc5, 0x2f, 0x3b, 0xc4, 0x45, 0x32, 0x97, 0xd6, 0xba, 0x85, 0x4e, 0xe1, 0xab,
2060 0xb8, 0xa0, 0x57, 0xdf, 0x2a, 0x6b, 0xd6, 0x7d, 0xb2, 0x80, 0x56, 0xe4, 0xd3, 0xd6, 0x63, 0xad,
2061 0xb1, 0xbe, 0xf5, 0x78, 0x57, 0xfc, 0x4c, 0x67, 0x92, 0x6b, 0xd3, 0x75, 0x6c, 0x33, 0x22, 0x67,
2062 0x76, 0xf8, 0xb0, 0xa2, 0x3b, 0xfe, 0xee, 0x0f, 0xdf, 0x4e, 0x9c, 0xe8, 0x6a, 0x7e, 0x71, 0x64,
2063 0xf9, 0x53, 0xf6, 0x3f, 0x00, 0xcb, 0x0f, 0x6c, 0xfe, 0x4f, 0x83, 0xf4, 0xdf, 0x07, 0x17, 0x9b,
2064 0xec, 0x37, 0xff, 0x37, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x75, 0xfb, 0x84, 0x52, 0x18,
2065 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002066}
2067
2068// Reference imports to suppress errors if they are not otherwise used.
2069var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04002070var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002071
2072// This is a compile-time assertion to ensure that this generated file
2073// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04002074const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002075
2076// BBSimClient is the client API for BBSim service.
2077//
2078// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2079type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002080 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002081 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002082 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302083 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002084 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002085 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002086 GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002087 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002088 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002089 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002090 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002091 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002092 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002093 // Closes the Openolt gRPC server
2094 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
2095 // Start the Openolt gRPC server
2096 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302097 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002098 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002099 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002100 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002101 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302102 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002103 // Get all the Services by Uni ID
2104 GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002105 // Get all the UNIs of an ONU by serial number
2106 GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002107 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002108 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002109 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302110 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002111 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302112 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002113 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002114 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002115 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302116 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002117 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302118 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002119 // Restart EAPOL for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002120 RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002121 // Restart DHCP for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002122 RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002123 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302124 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002125 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302126 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002127 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302128 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002129 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002130 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002131 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302132 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002133 //Return all the UNIs for all the ONUs
2134 GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error)
Elia Battistonfe017662022-01-05 11:43:16 +01002135 //Invalidate the MDS counter for the ONU
2136 InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002137}
2138
2139type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04002140 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002141}
2142
Kent Hagerman60d62302020-03-10 17:02:36 -04002143func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002144 return &bBSimClient{cc}
2145}
2146
2147func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
2148 out := new(VersionNumber)
2149 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
2150 if err != nil {
2151 return nil, err
2152 }
2153 return out, nil
2154}
2155
Pragya Aryabd731ec2020-02-11 16:38:17 +05302156func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
2157 out := new(LogLevel)
2158 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
2159 if err != nil {
2160 return nil, err
2161 }
2162 return out, nil
2163}
2164
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002165func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
2166 out := new(Olt)
2167 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
2168 if err != nil {
2169 return nil, err
2170 }
2171 return out, nil
2172}
2173
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002174func (c *bBSimClient) GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) {
2175 out := new(OltAllocatedResources)
2176 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOltAllocatedResources", in, out, opts...)
2177 if err != nil {
2178 return nil, err
2179 }
2180 return out, nil
2181}
2182
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002183func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2184 out := new(Response)
2185 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
2186 if err != nil {
2187 return nil, err
2188 }
2189 return out, nil
2190}
2191
2192func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2193 out := new(Response)
2194 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
2195 if err != nil {
2196 return nil, err
2197 }
2198 return out, nil
2199}
2200
2201func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2202 out := new(Response)
2203 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
2204 if err != nil {
2205 return nil, err
2206 }
2207 return out, nil
2208}
2209
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002210func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2211 out := new(Response)
2212 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
2213 if err != nil {
2214 return nil, err
2215 }
2216 return out, nil
2217}
2218
2219func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2220 out := new(Response)
2221 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
2222 if err != nil {
2223 return nil, err
2224 }
2225 return out, nil
2226}
2227
2228func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
2229 out := new(Response)
2230 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
2231 if err != nil {
2232 return nil, err
2233 }
2234 return out, nil
2235}
2236
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002237func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
2238 out := new(ONU)
2239 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
2240 if err != nil {
2241 return nil, err
2242 }
2243 return out, nil
2244}
2245
Pragya Aryabd731ec2020-02-11 16:38:17 +05302246func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
2247 out := new(ONUs)
2248 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002249 if err != nil {
2250 return nil, err
2251 }
2252 return out, nil
2253}
2254
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002255func (c *bBSimClient) GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002256 out := new(Services)
2257 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
2258 if err != nil {
2259 return nil, err
2260 }
2261 return out, nil
2262}
2263
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002264func (c *bBSimClient) GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error) {
2265 out := new(UNIs)
2266 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuUnis", in, out, opts...)
2267 if err != nil {
2268 return nil, err
2269 }
2270 return out, nil
2271}
2272
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002273func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2274 out := new(Response)
2275 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
2276 if err != nil {
2277 return nil, err
2278 }
2279 return out, nil
2280}
2281
Pragya Aryabd731ec2020-02-11 16:38:17 +05302282func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2283 out := new(Response)
2284 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
2285 if err != nil {
2286 return nil, err
2287 }
2288 return out, nil
2289}
2290
2291func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2292 out := new(Response)
2293 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
2294 if err != nil {
2295 return nil, err
2296 }
2297 return out, nil
2298}
2299
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002300func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2301 out := new(Response)
2302 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
2303 if err != nil {
2304 return nil, err
2305 }
2306 return out, nil
2307}
2308
Pragya Aryabd731ec2020-02-11 16:38:17 +05302309func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2310 out := new(Response)
2311 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
2312 if err != nil {
2313 return nil, err
2314 }
2315 return out, nil
2316}
2317
2318func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2319 out := new(Response)
2320 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
2321 if err != nil {
2322 return nil, err
2323 }
2324 return out, nil
2325}
2326
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002327func (c *bBSimClient) RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002328 out := new(Response)
2329 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
2330 if err != nil {
2331 return nil, err
2332 }
2333 return out, nil
2334}
2335
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002336func (c *bBSimClient) RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002337 out := new(Response)
2338 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
2339 if err != nil {
2340 return nil, err
2341 }
2342 return out, nil
2343}
2344
Anand S Katti86552f92020-03-03 21:56:32 +05302345func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08002346 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05302347 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
2348 if err != nil {
2349 return nil, err
2350 }
2351 return out, nil
2352}
2353
2354func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
2355 out := new(Response)
2356 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08002357 if err != nil {
2358 return nil, err
2359 }
2360 return out, nil
2361}
2362
Pragya Arya8bdb4532020-03-02 17:08:09 +05302363func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
2364 out := new(Flows)
2365 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
2366 if err != nil {
2367 return nil, err
2368 }
2369 return out, nil
2370}
2371
Arjun E K57a7fcb2020-01-30 06:44:45 +00002372func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
2373 out := new(Response)
2374 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
2375 if err != nil {
2376 return nil, err
2377 }
2378 return out, nil
2379}
2380
Anand S Katti09541352020-01-29 15:54:01 +05302381func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
2382 out := new(ONUTrafficSchedulers)
2383 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
2384 if err != nil {
2385 return nil, err
2386 }
2387 return out, nil
2388}
2389
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002390func (c *bBSimClient) GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error) {
2391 out := new(UNIs)
2392 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetUnis", in, out, opts...)
2393 if err != nil {
2394 return nil, err
2395 }
2396 return out, nil
2397}
2398
Elia Battistonfe017662022-01-05 11:43:16 +01002399func (c *bBSimClient) InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2400 out := new(Response)
2401 err := c.cc.Invoke(ctx, "/bbsim.BBSim/InvalidateMds", in, out, opts...)
2402 if err != nil {
2403 return nil, err
2404 }
2405 return out, nil
2406}
2407
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002408// BBSimServer is the server API for BBSim service.
2409type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002410 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002411 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002412 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302413 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002414 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002415 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002416 GetOltAllocatedResources(context.Context, *OltAllocatedResourceType) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002417 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002418 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002419 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002420 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002421 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002422 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002423 // Closes the Openolt gRPC server
2424 StopgRPCServer(context.Context, *Empty) (*Response, error)
2425 // Start the Openolt gRPC server
2426 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302427 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002428 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002429 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002430 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002431 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302432 GetONUs(context.Context, *Empty) (*ONUs, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002433 // Get all the Services by Uni ID
2434 GetServices(context.Context, *UNIRequest) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002435 // Get all the UNIs of an ONU by serial number
2436 GetOnuUnis(context.Context, *ONURequest) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002437 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002438 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002439 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302440 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002441 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302442 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002443 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002444 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002445 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302446 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002447 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302448 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002449 // Restart EAPOL for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002450 RestartEapol(context.Context, *UNIRequest) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002451 // Restart DHCP for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002452 RestartDhcp(context.Context, *UNIRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002453 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302454 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002455 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302456 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002457 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302458 GetFlows(context.Context, *ONURequest) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002459 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002460 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002461 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302462 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002463 //Return all the UNIs for all the ONUs
2464 GetUnis(context.Context, *Empty) (*UNIs, error)
Elia Battistonfe017662022-01-05 11:43:16 +01002465 //Invalidate the MDS counter for the ONU
2466 InvalidateMds(context.Context, *ONURequest) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002467}
2468
Pragya Aryabd731ec2020-02-11 16:38:17 +05302469// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
2470type UnimplementedBBSimServer struct {
2471}
2472
2473func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
2474 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
2475}
2476func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
2477 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2478}
2479func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
2480 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
2481}
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002482func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error) {
2483 return nil, status.Errorf(codes.Unimplemented, "method GetOltAllocatedResources not implemented")
2484}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302485func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
2486 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
2487}
2488func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
2489 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
2490}
2491func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
2492 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
2493}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002494func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2495 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
2496}
2497func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2498 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
2499}
2500func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
2501 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
2502}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302503func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
2504 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
2505}
2506func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
2507 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
2508}
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002509func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *UNIRequest) (*Services, error) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002510 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
2511}
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002512func (*UnimplementedBBSimServer) GetOnuUnis(ctx context.Context, req *ONURequest) (*UNIs, error) {
2513 return nil, status.Errorf(codes.Unimplemented, "method GetOnuUnis not implemented")
2514}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302515func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
2516 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
2517}
2518func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2519 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
2520}
2521func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2522 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
2523}
2524func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
2525 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
2526}
2527func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2528 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
2529}
2530func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2531 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
2532}
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002533func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *UNIRequest) (*Response, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302534 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
2535}
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002536func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *UNIRequest) (*Response, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302537 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
2538}
2539func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
2540 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
2541}
2542func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
2543 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
2544}
2545func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
2546 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
2547}
2548func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
2549 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
2550}
2551func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
2552 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
2553}
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002554func (*UnimplementedBBSimServer) GetUnis(ctx context.Context, req *Empty) (*UNIs, error) {
2555 return nil, status.Errorf(codes.Unimplemented, "method GetUnis not implemented")
2556}
Elia Battistonfe017662022-01-05 11:43:16 +01002557func (*UnimplementedBBSimServer) InvalidateMds(ctx context.Context, req *ONURequest) (*Response, error) {
2558 return nil, status.Errorf(codes.Unimplemented, "method InvalidateMds not implemented")
2559}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302560
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002561func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
2562 s.RegisterService(&_BBSim_serviceDesc, srv)
2563}
2564
2565func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2566 in := new(Empty)
2567 if err := dec(in); err != nil {
2568 return nil, err
2569 }
2570 if interceptor == nil {
2571 return srv.(BBSimServer).Version(ctx, in)
2572 }
2573 info := &grpc.UnaryServerInfo{
2574 Server: srv,
2575 FullMethod: "/bbsim.BBSim/Version",
2576 }
2577 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2578 return srv.(BBSimServer).Version(ctx, req.(*Empty))
2579 }
2580 return interceptor(ctx, in, info, handler)
2581}
2582
Pragya Aryabd731ec2020-02-11 16:38:17 +05302583func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2584 in := new(LogLevel)
2585 if err := dec(in); err != nil {
2586 return nil, err
2587 }
2588 if interceptor == nil {
2589 return srv.(BBSimServer).SetLogLevel(ctx, in)
2590 }
2591 info := &grpc.UnaryServerInfo{
2592 Server: srv,
2593 FullMethod: "/bbsim.BBSim/SetLogLevel",
2594 }
2595 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2596 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
2597 }
2598 return interceptor(ctx, in, info, handler)
2599}
2600
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002601func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2602 in := new(Empty)
2603 if err := dec(in); err != nil {
2604 return nil, err
2605 }
2606 if interceptor == nil {
2607 return srv.(BBSimServer).GetOlt(ctx, in)
2608 }
2609 info := &grpc.UnaryServerInfo{
2610 Server: srv,
2611 FullMethod: "/bbsim.BBSim/GetOlt",
2612 }
2613 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2614 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
2615 }
2616 return interceptor(ctx, in, info, handler)
2617}
2618
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002619func _BBSim_GetOltAllocatedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2620 in := new(OltAllocatedResourceType)
2621 if err := dec(in); err != nil {
2622 return nil, err
2623 }
2624 if interceptor == nil {
2625 return srv.(BBSimServer).GetOltAllocatedResources(ctx, in)
2626 }
2627 info := &grpc.UnaryServerInfo{
2628 Server: srv,
2629 FullMethod: "/bbsim.BBSim/GetOltAllocatedResources",
2630 }
2631 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2632 return srv.(BBSimServer).GetOltAllocatedResources(ctx, req.(*OltAllocatedResourceType))
2633 }
2634 return interceptor(ctx, in, info, handler)
2635}
2636
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002637func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2638 in := new(Empty)
2639 if err := dec(in); err != nil {
2640 return nil, err
2641 }
2642 if interceptor == nil {
2643 return srv.(BBSimServer).PoweronOlt(ctx, in)
2644 }
2645 info := &grpc.UnaryServerInfo{
2646 Server: srv,
2647 FullMethod: "/bbsim.BBSim/PoweronOlt",
2648 }
2649 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2650 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
2651 }
2652 return interceptor(ctx, in, info, handler)
2653}
2654
2655func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2656 in := new(Empty)
2657 if err := dec(in); err != nil {
2658 return nil, err
2659 }
2660 if interceptor == nil {
2661 return srv.(BBSimServer).ShutdownOlt(ctx, in)
2662 }
2663 info := &grpc.UnaryServerInfo{
2664 Server: srv,
2665 FullMethod: "/bbsim.BBSim/ShutdownOlt",
2666 }
2667 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2668 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
2669 }
2670 return interceptor(ctx, in, info, handler)
2671}
2672
2673func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2674 in := new(Empty)
2675 if err := dec(in); err != nil {
2676 return nil, err
2677 }
2678 if interceptor == nil {
2679 return srv.(BBSimServer).RebootOlt(ctx, in)
2680 }
2681 info := &grpc.UnaryServerInfo{
2682 Server: srv,
2683 FullMethod: "/bbsim.BBSim/RebootOlt",
2684 }
2685 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2686 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
2687 }
2688 return interceptor(ctx, in, info, handler)
2689}
2690
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002691func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2692 in := new(Empty)
2693 if err := dec(in); err != nil {
2694 return nil, err
2695 }
2696 if interceptor == nil {
2697 return srv.(BBSimServer).StopgRPCServer(ctx, in)
2698 }
2699 info := &grpc.UnaryServerInfo{
2700 Server: srv,
2701 FullMethod: "/bbsim.BBSim/StopgRPCServer",
2702 }
2703 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2704 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
2705 }
2706 return interceptor(ctx, in, info, handler)
2707}
2708
2709func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2710 in := new(Empty)
2711 if err := dec(in); err != nil {
2712 return nil, err
2713 }
2714 if interceptor == nil {
2715 return srv.(BBSimServer).StartgRPCServer(ctx, in)
2716 }
2717 info := &grpc.UnaryServerInfo{
2718 Server: srv,
2719 FullMethod: "/bbsim.BBSim/StartgRPCServer",
2720 }
2721 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2722 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
2723 }
2724 return interceptor(ctx, in, info, handler)
2725}
2726
2727func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2728 in := new(Timeout)
2729 if err := dec(in); err != nil {
2730 return nil, err
2731 }
2732 if interceptor == nil {
2733 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
2734 }
2735 info := &grpc.UnaryServerInfo{
2736 Server: srv,
2737 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2738 }
2739 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2740 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2741 }
2742 return interceptor(ctx, in, info, handler)
2743}
2744
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002745func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2746 in := new(ONURequest)
2747 if err := dec(in); err != nil {
2748 return nil, err
2749 }
2750 if interceptor == nil {
2751 return srv.(BBSimServer).GetONU(ctx, in)
2752 }
2753 info := &grpc.UnaryServerInfo{
2754 Server: srv,
2755 FullMethod: "/bbsim.BBSim/GetONU",
2756 }
2757 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2758 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2759 }
2760 return interceptor(ctx, in, info, handler)
2761}
2762
Pragya Aryabd731ec2020-02-11 16:38:17 +05302763func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2764 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002765 if err := dec(in); err != nil {
2766 return nil, err
2767 }
2768 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302769 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002770 }
2771 info := &grpc.UnaryServerInfo{
2772 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302773 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002774 }
2775 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302776 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002777 }
2778 return interceptor(ctx, in, info, handler)
2779}
2780
Matteo Scandolo4a036262020-08-17 15:56:13 -07002781func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002782 in := new(UNIRequest)
Matteo Scandolo4a036262020-08-17 15:56:13 -07002783 if err := dec(in); err != nil {
2784 return nil, err
2785 }
2786 if interceptor == nil {
2787 return srv.(BBSimServer).GetServices(ctx, in)
2788 }
2789 info := &grpc.UnaryServerInfo{
2790 Server: srv,
2791 FullMethod: "/bbsim.BBSim/GetServices",
2792 }
2793 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002794 return srv.(BBSimServer).GetServices(ctx, req.(*UNIRequest))
Matteo Scandolo4a036262020-08-17 15:56:13 -07002795 }
2796 return interceptor(ctx, in, info, handler)
2797}
2798
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002799func _BBSim_GetOnuUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2800 in := new(ONURequest)
2801 if err := dec(in); err != nil {
2802 return nil, err
2803 }
2804 if interceptor == nil {
2805 return srv.(BBSimServer).GetOnuUnis(ctx, in)
2806 }
2807 info := &grpc.UnaryServerInfo{
2808 Server: srv,
2809 FullMethod: "/bbsim.BBSim/GetOnuUnis",
2810 }
2811 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2812 return srv.(BBSimServer).GetOnuUnis(ctx, req.(*ONURequest))
2813 }
2814 return interceptor(ctx, in, info, handler)
2815}
2816
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002817func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2818 in := new(ONURequest)
2819 if err := dec(in); err != nil {
2820 return nil, err
2821 }
2822 if interceptor == nil {
2823 return srv.(BBSimServer).ShutdownONU(ctx, in)
2824 }
2825 info := &grpc.UnaryServerInfo{
2826 Server: srv,
2827 FullMethod: "/bbsim.BBSim/ShutdownONU",
2828 }
2829 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2830 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2831 }
2832 return interceptor(ctx, in, info, handler)
2833}
2834
Pragya Aryabd731ec2020-02-11 16:38:17 +05302835func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2836 in := new(Empty)
2837 if err := dec(in); err != nil {
2838 return nil, err
2839 }
2840 if interceptor == nil {
2841 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2842 }
2843 info := &grpc.UnaryServerInfo{
2844 Server: srv,
2845 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2846 }
2847 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2848 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2849 }
2850 return interceptor(ctx, in, info, handler)
2851}
2852
2853func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2854 in := new(PONRequest)
2855 if err := dec(in); err != nil {
2856 return nil, err
2857 }
2858 if interceptor == nil {
2859 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2860 }
2861 info := &grpc.UnaryServerInfo{
2862 Server: srv,
2863 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2864 }
2865 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2866 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2867 }
2868 return interceptor(ctx, in, info, handler)
2869}
2870
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002871func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2872 in := new(ONURequest)
2873 if err := dec(in); err != nil {
2874 return nil, err
2875 }
2876 if interceptor == nil {
2877 return srv.(BBSimServer).PoweronONU(ctx, in)
2878 }
2879 info := &grpc.UnaryServerInfo{
2880 Server: srv,
2881 FullMethod: "/bbsim.BBSim/PoweronONU",
2882 }
2883 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2884 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2885 }
2886 return interceptor(ctx, in, info, handler)
2887}
2888
Pragya Aryabd731ec2020-02-11 16:38:17 +05302889func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2890 in := new(Empty)
2891 if err := dec(in); err != nil {
2892 return nil, err
2893 }
2894 if interceptor == nil {
2895 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2896 }
2897 info := &grpc.UnaryServerInfo{
2898 Server: srv,
2899 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2900 }
2901 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2902 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2903 }
2904 return interceptor(ctx, in, info, handler)
2905}
2906
2907func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2908 in := new(PONRequest)
2909 if err := dec(in); err != nil {
2910 return nil, err
2911 }
2912 if interceptor == nil {
2913 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2914 }
2915 info := &grpc.UnaryServerInfo{
2916 Server: srv,
2917 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2918 }
2919 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2920 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2921 }
2922 return interceptor(ctx, in, info, handler)
2923}
2924
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002925func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002926 in := new(UNIRequest)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002927 if err := dec(in); err != nil {
2928 return nil, err
2929 }
2930 if interceptor == nil {
2931 return srv.(BBSimServer).RestartEapol(ctx, in)
2932 }
2933 info := &grpc.UnaryServerInfo{
2934 Server: srv,
2935 FullMethod: "/bbsim.BBSim/RestartEapol",
2936 }
2937 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002938 return srv.(BBSimServer).RestartEapol(ctx, req.(*UNIRequest))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002939 }
2940 return interceptor(ctx, in, info, handler)
2941}
2942
2943func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002944 in := new(UNIRequest)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002945 if err := dec(in); err != nil {
2946 return nil, err
2947 }
2948 if interceptor == nil {
2949 return srv.(BBSimServer).RestartDhcp(ctx, in)
2950 }
2951 info := &grpc.UnaryServerInfo{
2952 Server: srv,
2953 FullMethod: "/bbsim.BBSim/RestartDhcp",
2954 }
2955 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002956 return srv.(BBSimServer).RestartDhcp(ctx, req.(*UNIRequest))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002957 }
2958 return interceptor(ctx, in, info, handler)
2959}
2960
Anand S Katti86552f92020-03-03 21:56:32 +05302961func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2962 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002963 if err := dec(in); err != nil {
2964 return nil, err
2965 }
2966 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302967 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002968 }
2969 info := &grpc.UnaryServerInfo{
2970 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302971 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002972 }
2973 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302974 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2975 }
2976 return interceptor(ctx, in, info, handler)
2977}
2978
2979func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2980 in := new(OLTAlarmRequest)
2981 if err := dec(in); err != nil {
2982 return nil, err
2983 }
2984 if interceptor == nil {
2985 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2986 }
2987 info := &grpc.UnaryServerInfo{
2988 Server: srv,
2989 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2990 }
2991 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2992 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002993 }
2994 return interceptor(ctx, in, info, handler)
2995}
2996
Pragya Arya8bdb4532020-03-02 17:08:09 +05302997func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2998 in := new(ONURequest)
2999 if err := dec(in); err != nil {
3000 return nil, err
3001 }
3002 if interceptor == nil {
3003 return srv.(BBSimServer).GetFlows(ctx, in)
3004 }
3005 info := &grpc.UnaryServerInfo{
3006 Server: srv,
3007 FullMethod: "/bbsim.BBSim/GetFlows",
3008 }
3009 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3010 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
3011 }
3012 return interceptor(ctx, in, info, handler)
3013}
3014
Arjun E K57a7fcb2020-01-30 06:44:45 +00003015func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3016 in := new(IgmpRequest)
3017 if err := dec(in); err != nil {
3018 return nil, err
3019 }
3020 if interceptor == nil {
3021 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
3022 }
3023 info := &grpc.UnaryServerInfo{
3024 Server: srv,
3025 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
3026 }
3027 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3028 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
3029 }
3030 return interceptor(ctx, in, info, handler)
3031}
3032
Anand S Katti09541352020-01-29 15:54:01 +05303033func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3034 in := new(ONURequest)
3035 if err := dec(in); err != nil {
3036 return nil, err
3037 }
3038 if interceptor == nil {
3039 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
3040 }
3041 info := &grpc.UnaryServerInfo{
3042 Server: srv,
3043 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
3044 }
3045 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3046 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
3047 }
3048 return interceptor(ctx, in, info, handler)
3049}
3050
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07003051func _BBSim_GetUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3052 in := new(Empty)
3053 if err := dec(in); err != nil {
3054 return nil, err
3055 }
3056 if interceptor == nil {
3057 return srv.(BBSimServer).GetUnis(ctx, in)
3058 }
3059 info := &grpc.UnaryServerInfo{
3060 Server: srv,
3061 FullMethod: "/bbsim.BBSim/GetUnis",
3062 }
3063 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3064 return srv.(BBSimServer).GetUnis(ctx, req.(*Empty))
3065 }
3066 return interceptor(ctx, in, info, handler)
3067}
3068
Elia Battistonfe017662022-01-05 11:43:16 +01003069func _BBSim_InvalidateMds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3070 in := new(ONURequest)
3071 if err := dec(in); err != nil {
3072 return nil, err
3073 }
3074 if interceptor == nil {
3075 return srv.(BBSimServer).InvalidateMds(ctx, in)
3076 }
3077 info := &grpc.UnaryServerInfo{
3078 Server: srv,
3079 FullMethod: "/bbsim.BBSim/InvalidateMds",
3080 }
3081 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3082 return srv.(BBSimServer).InvalidateMds(ctx, req.(*ONURequest))
3083 }
3084 return interceptor(ctx, in, info, handler)
3085}
3086
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003087var _BBSim_serviceDesc = grpc.ServiceDesc{
3088 ServiceName: "bbsim.BBSim",
3089 HandlerType: (*BBSimServer)(nil),
3090 Methods: []grpc.MethodDesc{
3091 {
3092 MethodName: "Version",
3093 Handler: _BBSim_Version_Handler,
3094 },
3095 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303096 MethodName: "SetLogLevel",
3097 Handler: _BBSim_SetLogLevel_Handler,
3098 },
3099 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003100 MethodName: "GetOlt",
3101 Handler: _BBSim_GetOlt_Handler,
3102 },
3103 {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08003104 MethodName: "GetOltAllocatedResources",
3105 Handler: _BBSim_GetOltAllocatedResources_Handler,
3106 },
3107 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01003108 MethodName: "PoweronOlt",
3109 Handler: _BBSim_PoweronOlt_Handler,
3110 },
3111 {
3112 MethodName: "ShutdownOlt",
3113 Handler: _BBSim_ShutdownOlt_Handler,
3114 },
3115 {
3116 MethodName: "RebootOlt",
3117 Handler: _BBSim_RebootOlt_Handler,
3118 },
3119 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08003120 MethodName: "StopgRPCServer",
3121 Handler: _BBSim_StopgRPCServer_Handler,
3122 },
3123 {
3124 MethodName: "StartgRPCServer",
3125 Handler: _BBSim_StartgRPCServer_Handler,
3126 },
3127 {
3128 MethodName: "RestartgRPCServer",
3129 Handler: _BBSim_RestartgRPCServer_Handler,
3130 },
3131 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003132 MethodName: "GetONU",
3133 Handler: _BBSim_GetONU_Handler,
3134 },
3135 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303136 MethodName: "GetONUs",
3137 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003138 },
3139 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07003140 MethodName: "GetServices",
3141 Handler: _BBSim_GetServices_Handler,
3142 },
3143 {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07003144 MethodName: "GetOnuUnis",
3145 Handler: _BBSim_GetOnuUnis_Handler,
3146 },
3147 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003148 MethodName: "ShutdownONU",
3149 Handler: _BBSim_ShutdownONU_Handler,
3150 },
3151 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303152 MethodName: "ShutdownAllONUs",
3153 Handler: _BBSim_ShutdownAllONUs_Handler,
3154 },
3155 {
3156 MethodName: "ShutdownONUsOnPON",
3157 Handler: _BBSim_ShutdownONUsOnPON_Handler,
3158 },
3159 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003160 MethodName: "PoweronONU",
3161 Handler: _BBSim_PoweronONU_Handler,
3162 },
3163 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303164 MethodName: "PoweronAllONUs",
3165 Handler: _BBSim_PoweronAllONUs_Handler,
3166 },
3167 {
3168 MethodName: "PoweronONUsOnPON",
3169 Handler: _BBSim_PoweronONUsOnPON_Handler,
3170 },
3171 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003172 MethodName: "RestartEapol",
3173 Handler: _BBSim_RestartEapol_Handler,
3174 },
3175 {
3176 MethodName: "RestartDhcp",
3177 Handler: _BBSim_RestartDhcp_Handler,
3178 },
Scott Baker41724b82020-01-21 19:54:53 -08003179 {
Anand S Katti86552f92020-03-03 21:56:32 +05303180 MethodName: "SetOnuAlarmIndication",
3181 Handler: _BBSim_SetOnuAlarmIndication_Handler,
3182 },
3183 {
3184 MethodName: "SetOltAlarmIndication",
3185 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08003186 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00003187 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05303188 MethodName: "GetFlows",
3189 Handler: _BBSim_GetFlows_Handler,
3190 },
3191 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00003192 MethodName: "ChangeIgmpState",
3193 Handler: _BBSim_ChangeIgmpState_Handler,
3194 },
Anand S Katti09541352020-01-29 15:54:01 +05303195 {
3196 MethodName: "GetOnuTrafficSchedulers",
3197 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
3198 },
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07003199 {
3200 MethodName: "GetUnis",
3201 Handler: _BBSim_GetUnis_Handler,
3202 },
Elia Battistonfe017662022-01-05 11:43:16 +01003203 {
3204 MethodName: "InvalidateMds",
3205 Handler: _BBSim_InvalidateMds_Handler,
3206 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003207 },
3208 Streams: []grpc.StreamDesc{},
3209 Metadata: "api/bbsim/bbsim.proto",
3210}