blob: 132c8b4193b85841d70400e9d5fae57c4462aa83 [file] [log] [blame]
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: api/bbsim/bbsim.proto
3
4package bbsim
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
Matteo Scandolo4f4ac792020-10-01 16:33:21 -070010 openolt "github.com/opencord/voltha-protos/v4/go/openolt"
11 tech_profile "github.com/opencord/voltha-protos/v4/go/tech_profile"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070012 grpc "google.golang.org/grpc"
Pragya Aryabd731ec2020-02-11 16:38:17 +053013 codes "google.golang.org/grpc/codes"
14 status "google.golang.org/grpc/status"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070015 math "math"
16)
17
18// Reference imports to suppress errors if they are not otherwise used.
19var _ = proto.Marshal
20var _ = fmt.Errorf
21var _ = math.Inf
22
23// This is a compile-time assertion to ensure that this generated file
24// is compatible with the proto package it is being compiled against.
25// A compilation error at this line likely means your copy of the
26// proto package needs to be updated.
27const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
28
Arjun E K57a7fcb2020-01-30 06:44:45 +000029type SubActionTypes int32
30
31const (
Arjun E Kdd443f02020-02-07 15:24:01 +000032 SubActionTypes_JOIN SubActionTypes = 0
33 SubActionTypes_LEAVE SubActionTypes = 1
34 SubActionTypes_JOINV3 SubActionTypes = 2
Arjun E K57a7fcb2020-01-30 06:44:45 +000035)
36
37var SubActionTypes_name = map[int32]string{
38 0: "JOIN",
39 1: "LEAVE",
Arjun E Kdd443f02020-02-07 15:24:01 +000040 2: "JOINV3",
Arjun E K57a7fcb2020-01-30 06:44:45 +000041}
42
43var SubActionTypes_value = map[string]int32{
Arjun E Kdd443f02020-02-07 15:24:01 +000044 "JOIN": 0,
45 "LEAVE": 1,
46 "JOINV3": 2,
Arjun E K57a7fcb2020-01-30 06:44:45 +000047}
48
49func (x SubActionTypes) String() string {
50 return proto.EnumName(SubActionTypes_name, int32(x))
51}
52
53func (SubActionTypes) EnumDescriptor() ([]byte, []int) {
54 return fileDescriptor_ef7750073d18011b, []int{0}
55}
56
Matteo Scandolo4b077aa2021-02-16 17:33:37 -080057type OltAllocatedResourceType_Type int32
58
59const (
60 OltAllocatedResourceType_UNKNOWN OltAllocatedResourceType_Type = 0
61 OltAllocatedResourceType_ALLOC_ID OltAllocatedResourceType_Type = 1
62 OltAllocatedResourceType_GEM_PORT OltAllocatedResourceType_Type = 2
63)
64
65var OltAllocatedResourceType_Type_name = map[int32]string{
66 0: "UNKNOWN",
67 1: "ALLOC_ID",
68 2: "GEM_PORT",
69}
70
71var OltAllocatedResourceType_Type_value = map[string]int32{
72 "UNKNOWN": 0,
73 "ALLOC_ID": 1,
74 "GEM_PORT": 2,
75}
76
77func (x OltAllocatedResourceType_Type) String() string {
78 return proto.EnumName(OltAllocatedResourceType_Type_name, int32(x))
79}
80
81func (OltAllocatedResourceType_Type) EnumDescriptor() ([]byte, []int) {
82 return fileDescriptor_ef7750073d18011b, []int{4, 0}
83}
84
Scott Baker41724b82020-01-21 19:54:53 -080085// These types correspond to the messages permitted in the oneof
86// in AlarmIndication in the openolt protos
87type AlarmType_Types int32
88
89const (
90 AlarmType_LOS AlarmType_Types = 0
91 AlarmType_DYING_GASP AlarmType_Types = 1
92 AlarmType_ONU_ALARM AlarmType_Types = 2
93 AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3
94 AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4
95 AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5
96 AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6
97 AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7
98 AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8
99 AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9
100 AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10
101 AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11
102 AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12
103 // These break out ONU_ALARM, which is a single message, but
104 // includes statuses for these six alarms.
105 AlarmType_ONU_ALARM_LOS AlarmType_Types = 13
106 AlarmType_ONU_ALARM_LOB AlarmType_Types = 14
107 AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15
108 AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16
109 AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17
110 AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18
111)
112
113var AlarmType_Types_name = map[int32]string{
114 0: "LOS",
115 1: "DYING_GASP",
116 2: "ONU_ALARM",
117 3: "ONU_STARTUP_FAILURE",
118 4: "ONU_SIGNAL_DEGRADE",
119 5: "ONU_DRIFT_OF_WINDOW",
120 6: "ONU_LOSS_OF_OMCI_CHANNEL",
121 7: "ONU_SIGNALS_FAILURE",
122 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING",
123 9: "ONU_ACTIVATION_FAILURE",
124 10: "ONU_PROCESSING_ERROR",
125 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE",
126 12: "ONU_ITU_PON_STATS",
127 13: "ONU_ALARM_LOS",
128 14: "ONU_ALARM_LOB",
129 15: "ONU_ALARM_LOPC_MISS",
130 16: "ONU_ALARM_LOPC_MIC_ERROR",
131 17: "ONU_ALARM_LOFI",
132 18: "ONU_ALARM_LOAMI",
133}
134
135var AlarmType_Types_value = map[string]int32{
136 "LOS": 0,
137 "DYING_GASP": 1,
138 "ONU_ALARM": 2,
139 "ONU_STARTUP_FAILURE": 3,
140 "ONU_SIGNAL_DEGRADE": 4,
141 "ONU_DRIFT_OF_WINDOW": 5,
142 "ONU_LOSS_OF_OMCI_CHANNEL": 6,
143 "ONU_SIGNALS_FAILURE": 7,
144 "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8,
145 "ONU_ACTIVATION_FAILURE": 9,
146 "ONU_PROCESSING_ERROR": 10,
147 "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11,
148 "ONU_ITU_PON_STATS": 12,
149 "ONU_ALARM_LOS": 13,
150 "ONU_ALARM_LOB": 14,
151 "ONU_ALARM_LOPC_MISS": 15,
152 "ONU_ALARM_LOPC_MIC_ERROR": 16,
153 "ONU_ALARM_LOFI": 17,
154 "ONU_ALARM_LOAMI": 18,
155}
156
157func (x AlarmType_Types) String() string {
158 return proto.EnumName(AlarmType_Types_name, int32(x))
159}
160
161func (AlarmType_Types) EnumDescriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -0700162 return fileDescriptor_ef7750073d18011b, []int{17, 0}
Scott Baker41724b82020-01-21 19:54:53 -0800163}
164
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700165type PONPort struct {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800166 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
167 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
168 InternalState string `protobuf:"bytes,3,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
169 PacketCount uint64 `protobuf:"varint,4,opt,name=PacketCount,proto3" json:"PacketCount,omitempty"`
170 // ONU ID are reported by VOLTHA in the ActivateOnu call
171 AllocatedOnuIds []*PonAllocatedResources `protobuf:"bytes,5,rep,name=AllocatedOnuIds,proto3" json:"AllocatedOnuIds,omitempty"`
172 // these are the stored resource IDs as reported via OMCI
173 AllocatedGemPorts []*PonAllocatedResources `protobuf:"bytes,6,rep,name=AllocatedGemPorts,proto3" json:"AllocatedGemPorts,omitempty"`
174 AllocatedAllocIds []*PonAllocatedResources `protobuf:"bytes,7,rep,name=AllocatedAllocIds,proto3" json:"AllocatedAllocIds,omitempty"`
175 XXX_NoUnkeyedLiteral struct{} `json:"-"`
176 XXX_unrecognized []byte `json:"-"`
177 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700178}
179
180func (m *PONPort) Reset() { *m = PONPort{} }
181func (m *PONPort) String() string { return proto.CompactTextString(m) }
182func (*PONPort) ProtoMessage() {}
183func (*PONPort) Descriptor() ([]byte, []int) {
184 return fileDescriptor_ef7750073d18011b, []int{0}
185}
186
187func (m *PONPort) XXX_Unmarshal(b []byte) error {
188 return xxx_messageInfo_PONPort.Unmarshal(m, b)
189}
190func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
191 return xxx_messageInfo_PONPort.Marshal(b, m, deterministic)
192}
193func (m *PONPort) XXX_Merge(src proto.Message) {
194 xxx_messageInfo_PONPort.Merge(m, src)
195}
196func (m *PONPort) XXX_Size() int {
197 return xxx_messageInfo_PONPort.Size(m)
198}
199func (m *PONPort) XXX_DiscardUnknown() {
200 xxx_messageInfo_PONPort.DiscardUnknown(m)
201}
202
203var xxx_messageInfo_PONPort proto.InternalMessageInfo
204
205func (m *PONPort) GetID() int32 {
206 if m != nil {
207 return m.ID
208 }
209 return 0
210}
211
212func (m *PONPort) GetOperState() string {
213 if m != nil {
214 return m.OperState
215 }
216 return ""
217}
218
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800219func (m *PONPort) GetInternalState() string {
220 if m != nil {
221 return m.InternalState
222 }
223 return ""
224}
225
226func (m *PONPort) GetPacketCount() uint64 {
227 if m != nil {
228 return m.PacketCount
229 }
230 return 0
231}
232
233func (m *PONPort) GetAllocatedOnuIds() []*PonAllocatedResources {
234 if m != nil {
235 return m.AllocatedOnuIds
236 }
237 return nil
238}
239
240func (m *PONPort) GetAllocatedGemPorts() []*PonAllocatedResources {
241 if m != nil {
242 return m.AllocatedGemPorts
243 }
244 return nil
245}
246
247func (m *PONPort) GetAllocatedAllocIds() []*PonAllocatedResources {
248 if m != nil {
249 return m.AllocatedAllocIds
250 }
251 return nil
252}
253
254type PonAllocatedResources struct {
255 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
256 Id int32 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"`
257 XXX_NoUnkeyedLiteral struct{} `json:"-"`
258 XXX_unrecognized []byte `json:"-"`
259 XXX_sizecache int32 `json:"-"`
260}
261
262func (m *PonAllocatedResources) Reset() { *m = PonAllocatedResources{} }
263func (m *PonAllocatedResources) String() string { return proto.CompactTextString(m) }
264func (*PonAllocatedResources) ProtoMessage() {}
265func (*PonAllocatedResources) Descriptor() ([]byte, []int) {
266 return fileDescriptor_ef7750073d18011b, []int{1}
267}
268
269func (m *PonAllocatedResources) XXX_Unmarshal(b []byte) error {
270 return xxx_messageInfo_PonAllocatedResources.Unmarshal(m, b)
271}
272func (m *PonAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
273 return xxx_messageInfo_PonAllocatedResources.Marshal(b, m, deterministic)
274}
275func (m *PonAllocatedResources) XXX_Merge(src proto.Message) {
276 xxx_messageInfo_PonAllocatedResources.Merge(m, src)
277}
278func (m *PonAllocatedResources) XXX_Size() int {
279 return xxx_messageInfo_PonAllocatedResources.Size(m)
280}
281func (m *PonAllocatedResources) XXX_DiscardUnknown() {
282 xxx_messageInfo_PonAllocatedResources.DiscardUnknown(m)
283}
284
285var xxx_messageInfo_PonAllocatedResources proto.InternalMessageInfo
286
287func (m *PonAllocatedResources) GetSerialNumber() string {
288 if m != nil {
289 return m.SerialNumber
290 }
291 return ""
292}
293
294func (m *PonAllocatedResources) GetId() int32 {
295 if m != nil {
296 return m.Id
297 }
298 return 0
299}
300
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700301type NNIPort struct {
302 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
303 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
304 XXX_NoUnkeyedLiteral struct{} `json:"-"`
305 XXX_unrecognized []byte `json:"-"`
306 XXX_sizecache int32 `json:"-"`
307}
308
309func (m *NNIPort) Reset() { *m = NNIPort{} }
310func (m *NNIPort) String() string { return proto.CompactTextString(m) }
311func (*NNIPort) ProtoMessage() {}
312func (*NNIPort) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800313 return fileDescriptor_ef7750073d18011b, []int{2}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700314}
315
316func (m *NNIPort) XXX_Unmarshal(b []byte) error {
317 return xxx_messageInfo_NNIPort.Unmarshal(m, b)
318}
319func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
320 return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic)
321}
322func (m *NNIPort) XXX_Merge(src proto.Message) {
323 xxx_messageInfo_NNIPort.Merge(m, src)
324}
325func (m *NNIPort) XXX_Size() int {
326 return xxx_messageInfo_NNIPort.Size(m)
327}
328func (m *NNIPort) XXX_DiscardUnknown() {
329 xxx_messageInfo_NNIPort.DiscardUnknown(m)
330}
331
332var xxx_messageInfo_NNIPort proto.InternalMessageInfo
333
334func (m *NNIPort) GetID() int32 {
335 if m != nil {
336 return m.ID
337 }
338 return 0
339}
340
341func (m *NNIPort) GetOperState() string {
342 if m != nil {
343 return m.OperState
344 }
345 return ""
346}
347
348type Olt struct {
349 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
350 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
351 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
352 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
rajeshf921f882020-03-06 18:24:28 +0530353 IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700354 NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"`
355 PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"`
356 XXX_NoUnkeyedLiteral struct{} `json:"-"`
357 XXX_unrecognized []byte `json:"-"`
358 XXX_sizecache int32 `json:"-"`
359}
360
361func (m *Olt) Reset() { *m = Olt{} }
362func (m *Olt) String() string { return proto.CompactTextString(m) }
363func (*Olt) ProtoMessage() {}
364func (*Olt) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800365 return fileDescriptor_ef7750073d18011b, []int{3}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700366}
367
368func (m *Olt) XXX_Unmarshal(b []byte) error {
369 return xxx_messageInfo_Olt.Unmarshal(m, b)
370}
371func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
372 return xxx_messageInfo_Olt.Marshal(b, m, deterministic)
373}
374func (m *Olt) XXX_Merge(src proto.Message) {
375 xxx_messageInfo_Olt.Merge(m, src)
376}
377func (m *Olt) XXX_Size() int {
378 return xxx_messageInfo_Olt.Size(m)
379}
380func (m *Olt) XXX_DiscardUnknown() {
381 xxx_messageInfo_Olt.DiscardUnknown(m)
382}
383
384var xxx_messageInfo_Olt proto.InternalMessageInfo
385
386func (m *Olt) GetID() int32 {
387 if m != nil {
388 return m.ID
389 }
390 return 0
391}
392
393func (m *Olt) GetSerialNumber() string {
394 if m != nil {
395 return m.SerialNumber
396 }
397 return ""
398}
399
400func (m *Olt) GetOperState() string {
401 if m != nil {
402 return m.OperState
403 }
404 return ""
405}
406
407func (m *Olt) GetInternalState() string {
408 if m != nil {
409 return m.InternalState
410 }
411 return ""
412}
413
rajeshf921f882020-03-06 18:24:28 +0530414func (m *Olt) GetIP() string {
415 if m != nil {
416 return m.IP
417 }
418 return ""
419}
420
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700421func (m *Olt) GetNNIPorts() []*NNIPort {
422 if m != nil {
423 return m.NNIPorts
424 }
425 return nil
426}
427
428func (m *Olt) GetPONPorts() []*PONPort {
429 if m != nil {
430 return m.PONPorts
431 }
432 return nil
433}
434
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800435type OltAllocatedResourceType struct {
436 Type OltAllocatedResourceType_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bbsim.OltAllocatedResourceType_Type" json:"type,omitempty"`
437 XXX_NoUnkeyedLiteral struct{} `json:"-"`
438 XXX_unrecognized []byte `json:"-"`
439 XXX_sizecache int32 `json:"-"`
440}
441
442func (m *OltAllocatedResourceType) Reset() { *m = OltAllocatedResourceType{} }
443func (m *OltAllocatedResourceType) String() string { return proto.CompactTextString(m) }
444func (*OltAllocatedResourceType) ProtoMessage() {}
445func (*OltAllocatedResourceType) Descriptor() ([]byte, []int) {
446 return fileDescriptor_ef7750073d18011b, []int{4}
447}
448
449func (m *OltAllocatedResourceType) XXX_Unmarshal(b []byte) error {
450 return xxx_messageInfo_OltAllocatedResourceType.Unmarshal(m, b)
451}
452func (m *OltAllocatedResourceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
453 return xxx_messageInfo_OltAllocatedResourceType.Marshal(b, m, deterministic)
454}
455func (m *OltAllocatedResourceType) XXX_Merge(src proto.Message) {
456 xxx_messageInfo_OltAllocatedResourceType.Merge(m, src)
457}
458func (m *OltAllocatedResourceType) XXX_Size() int {
459 return xxx_messageInfo_OltAllocatedResourceType.Size(m)
460}
461func (m *OltAllocatedResourceType) XXX_DiscardUnknown() {
462 xxx_messageInfo_OltAllocatedResourceType.DiscardUnknown(m)
463}
464
465var xxx_messageInfo_OltAllocatedResourceType proto.InternalMessageInfo
466
467func (m *OltAllocatedResourceType) GetType() OltAllocatedResourceType_Type {
468 if m != nil {
469 return m.Type
470 }
471 return OltAllocatedResourceType_UNKNOWN
472}
473
474type OltAllocatedResource struct {
475 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
476 PonPortId uint32 `protobuf:"varint,2,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
477 OnuId uint32 `protobuf:"varint,3,opt,name=OnuId,proto3" json:"OnuId,omitempty"`
478 PortNo uint32 `protobuf:"varint,4,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
479 ResourceId int32 `protobuf:"varint,5,opt,name=ResourceId,proto3" json:"ResourceId,omitempty"`
480 FlowId uint64 `protobuf:"varint,6,opt,name=FlowId,proto3" json:"FlowId,omitempty"`
481 XXX_NoUnkeyedLiteral struct{} `json:"-"`
482 XXX_unrecognized []byte `json:"-"`
483 XXX_sizecache int32 `json:"-"`
484}
485
486func (m *OltAllocatedResource) Reset() { *m = OltAllocatedResource{} }
487func (m *OltAllocatedResource) String() string { return proto.CompactTextString(m) }
488func (*OltAllocatedResource) ProtoMessage() {}
489func (*OltAllocatedResource) Descriptor() ([]byte, []int) {
490 return fileDescriptor_ef7750073d18011b, []int{5}
491}
492
493func (m *OltAllocatedResource) XXX_Unmarshal(b []byte) error {
494 return xxx_messageInfo_OltAllocatedResource.Unmarshal(m, b)
495}
496func (m *OltAllocatedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
497 return xxx_messageInfo_OltAllocatedResource.Marshal(b, m, deterministic)
498}
499func (m *OltAllocatedResource) XXX_Merge(src proto.Message) {
500 xxx_messageInfo_OltAllocatedResource.Merge(m, src)
501}
502func (m *OltAllocatedResource) XXX_Size() int {
503 return xxx_messageInfo_OltAllocatedResource.Size(m)
504}
505func (m *OltAllocatedResource) XXX_DiscardUnknown() {
506 xxx_messageInfo_OltAllocatedResource.DiscardUnknown(m)
507}
508
509var xxx_messageInfo_OltAllocatedResource proto.InternalMessageInfo
510
511func (m *OltAllocatedResource) GetType() string {
512 if m != nil {
513 return m.Type
514 }
515 return ""
516}
517
518func (m *OltAllocatedResource) GetPonPortId() uint32 {
519 if m != nil {
520 return m.PonPortId
521 }
522 return 0
523}
524
525func (m *OltAllocatedResource) GetOnuId() uint32 {
526 if m != nil {
527 return m.OnuId
528 }
529 return 0
530}
531
532func (m *OltAllocatedResource) GetPortNo() uint32 {
533 if m != nil {
534 return m.PortNo
535 }
536 return 0
537}
538
539func (m *OltAllocatedResource) GetResourceId() int32 {
540 if m != nil {
541 return m.ResourceId
542 }
543 return 0
544}
545
546func (m *OltAllocatedResource) GetFlowId() uint64 {
547 if m != nil {
548 return m.FlowId
549 }
550 return 0
551}
552
553type OltAllocatedResources struct {
554 Resources []*OltAllocatedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
555 XXX_NoUnkeyedLiteral struct{} `json:"-"`
556 XXX_unrecognized []byte `json:"-"`
557 XXX_sizecache int32 `json:"-"`
558}
559
560func (m *OltAllocatedResources) Reset() { *m = OltAllocatedResources{} }
561func (m *OltAllocatedResources) String() string { return proto.CompactTextString(m) }
562func (*OltAllocatedResources) ProtoMessage() {}
563func (*OltAllocatedResources) Descriptor() ([]byte, []int) {
564 return fileDescriptor_ef7750073d18011b, []int{6}
565}
566
567func (m *OltAllocatedResources) XXX_Unmarshal(b []byte) error {
568 return xxx_messageInfo_OltAllocatedResources.Unmarshal(m, b)
569}
570func (m *OltAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
571 return xxx_messageInfo_OltAllocatedResources.Marshal(b, m, deterministic)
572}
573func (m *OltAllocatedResources) XXX_Merge(src proto.Message) {
574 xxx_messageInfo_OltAllocatedResources.Merge(m, src)
575}
576func (m *OltAllocatedResources) XXX_Size() int {
577 return xxx_messageInfo_OltAllocatedResources.Size(m)
578}
579func (m *OltAllocatedResources) XXX_DiscardUnknown() {
580 xxx_messageInfo_OltAllocatedResources.DiscardUnknown(m)
581}
582
583var xxx_messageInfo_OltAllocatedResources proto.InternalMessageInfo
584
585func (m *OltAllocatedResources) GetResources() []*OltAllocatedResource {
586 if m != nil {
587 return m.Resources
588 }
589 return nil
590}
591
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700592type ONU struct {
Matteo Scandolocedde462021-03-09 17:37:16 -0800593 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
594 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
595 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
596 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
597 PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700598 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` // Deprecated: Do not use.
599 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"` // Deprecated: Do not use.
600 Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"` // Deprecated: Do not use.
Matteo Scandolocedde462021-03-09 17:37:16 -0800601 ImageSoftwareExpectedSections int32 `protobuf:"varint,11,opt,name=ImageSoftwareExpectedSections,proto3" json:"ImageSoftwareExpectedSections,omitempty"`
602 ImageSoftwareReceivedSections int32 `protobuf:"varint,12,opt,name=ImageSoftwareReceivedSections,proto3" json:"ImageSoftwareReceivedSections,omitempty"`
603 ActiveImageEntityId int32 `protobuf:"varint,13,opt,name=ActiveImageEntityId,proto3" json:"ActiveImageEntityId,omitempty"`
604 CommittedImageEntityId int32 `protobuf:"varint,14,opt,name=CommittedImageEntityId,proto3" json:"CommittedImageEntityId,omitempty"`
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700605 Unis []*UNI `protobuf:"bytes,15,rep,name=unis,proto3" json:"unis,omitempty"`
Matteo Scandolocedde462021-03-09 17:37:16 -0800606 XXX_NoUnkeyedLiteral struct{} `json:"-"`
607 XXX_unrecognized []byte `json:"-"`
608 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700609}
610
611func (m *ONU) Reset() { *m = ONU{} }
612func (m *ONU) String() string { return proto.CompactTextString(m) }
613func (*ONU) ProtoMessage() {}
614func (*ONU) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800615 return fileDescriptor_ef7750073d18011b, []int{7}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700616}
617
618func (m *ONU) XXX_Unmarshal(b []byte) error {
619 return xxx_messageInfo_ONU.Unmarshal(m, b)
620}
621func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
622 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
623}
624func (m *ONU) XXX_Merge(src proto.Message) {
625 xxx_messageInfo_ONU.Merge(m, src)
626}
627func (m *ONU) XXX_Size() int {
628 return xxx_messageInfo_ONU.Size(m)
629}
630func (m *ONU) XXX_DiscardUnknown() {
631 xxx_messageInfo_ONU.DiscardUnknown(m)
632}
633
634var xxx_messageInfo_ONU proto.InternalMessageInfo
635
636func (m *ONU) GetID() int32 {
637 if m != nil {
638 return m.ID
639 }
640 return 0
641}
642
643func (m *ONU) GetSerialNumber() string {
644 if m != nil {
645 return m.SerialNumber
646 }
647 return ""
648}
649
650func (m *ONU) GetOperState() string {
651 if m != nil {
652 return m.OperState
653 }
654 return ""
655}
656
657func (m *ONU) GetInternalState() string {
658 if m != nil {
659 return m.InternalState
660 }
661 return ""
662}
663
664func (m *ONU) GetPonPortID() int32 {
665 if m != nil {
666 return m.PonPortID
667 }
668 return 0
669}
670
Matteo Scandolo8a574812021-05-20 15:18:53 -0700671// Deprecated: Do not use.
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700672func (m *ONU) GetHwAddress() string {
673 if m != nil {
674 return m.HwAddress
675 }
676 return ""
677}
678
Matteo Scandolo8a574812021-05-20 15:18:53 -0700679// Deprecated: Do not use.
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700680func (m *ONU) GetPortNo() int32 {
681 if m != nil {
682 return m.PortNo
683 }
684 return 0
685}
686
Matteo Scandolo8a574812021-05-20 15:18:53 -0700687// Deprecated: Do not use.
Matteo Scandolo4a036262020-08-17 15:56:13 -0700688func (m *ONU) GetServices() []*Service {
689 if m != nil {
690 return m.Services
691 }
692 return nil
693}
694
Matteo Scandolocedde462021-03-09 17:37:16 -0800695func (m *ONU) GetImageSoftwareExpectedSections() int32 {
696 if m != nil {
697 return m.ImageSoftwareExpectedSections
698 }
699 return 0
700}
701
702func (m *ONU) GetImageSoftwareReceivedSections() int32 {
703 if m != nil {
704 return m.ImageSoftwareReceivedSections
705 }
706 return 0
707}
708
709func (m *ONU) GetActiveImageEntityId() int32 {
710 if m != nil {
711 return m.ActiveImageEntityId
712 }
713 return 0
714}
715
716func (m *ONU) GetCommittedImageEntityId() int32 {
717 if m != nil {
718 return m.CommittedImageEntityId
719 }
720 return 0
721}
722
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700723func (m *ONU) GetUnis() []*UNI {
724 if m != nil {
725 return m.Unis
726 }
727 return nil
728}
729
730type UNI struct {
Matteo Scandolo8a574812021-05-20 15:18:53 -0700731 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
732 OnuID int32 `protobuf:"varint,2,opt,name=OnuID,proto3" json:"OnuID,omitempty"`
733 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
734 MeID uint32 `protobuf:"varint,4,opt,name=MeID,proto3" json:"MeID,omitempty"`
735 OperState string `protobuf:"bytes,5,opt,name=OperState,proto3" json:"OperState,omitempty"`
736 PortNo int32 `protobuf:"varint,6,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
737 Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"`
738 XXX_NoUnkeyedLiteral struct{} `json:"-"`
739 XXX_unrecognized []byte `json:"-"`
740 XXX_sizecache int32 `json:"-"`
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700741}
742
743func (m *UNI) Reset() { *m = UNI{} }
744func (m *UNI) String() string { return proto.CompactTextString(m) }
745func (*UNI) ProtoMessage() {}
746func (*UNI) Descriptor() ([]byte, []int) {
747 return fileDescriptor_ef7750073d18011b, []int{8}
748}
749
750func (m *UNI) XXX_Unmarshal(b []byte) error {
751 return xxx_messageInfo_UNI.Unmarshal(m, b)
752}
753func (m *UNI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
754 return xxx_messageInfo_UNI.Marshal(b, m, deterministic)
755}
756func (m *UNI) XXX_Merge(src proto.Message) {
757 xxx_messageInfo_UNI.Merge(m, src)
758}
759func (m *UNI) XXX_Size() int {
760 return xxx_messageInfo_UNI.Size(m)
761}
762func (m *UNI) XXX_DiscardUnknown() {
763 xxx_messageInfo_UNI.DiscardUnknown(m)
764}
765
766var xxx_messageInfo_UNI proto.InternalMessageInfo
767
768func (m *UNI) GetID() int32 {
769 if m != nil {
770 return m.ID
771 }
772 return 0
773}
774
775func (m *UNI) GetOnuID() int32 {
776 if m != nil {
777 return m.OnuID
778 }
779 return 0
780}
781
782func (m *UNI) GetOnuSn() string {
783 if m != nil {
784 return m.OnuSn
785 }
786 return ""
787}
788
789func (m *UNI) GetMeID() uint32 {
790 if m != nil {
791 return m.MeID
792 }
793 return 0
794}
795
796func (m *UNI) GetOperState() string {
797 if m != nil {
798 return m.OperState
799 }
800 return ""
801}
802
Matteo Scandolo8a574812021-05-20 15:18:53 -0700803func (m *UNI) GetPortNo() int32 {
804 if m != nil {
805 return m.PortNo
806 }
807 return 0
808}
809
810func (m *UNI) GetServices() []*Service {
811 if m != nil {
812 return m.Services
813 }
814 return nil
815}
816
Matteo Scandolo4a036262020-08-17 15:56:13 -0700817type Service struct {
818 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
819 HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
820 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
821 STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"`
822 CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"`
823 NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"`
824 NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"`
825 NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"`
826 GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"`
827 EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"`
828 DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"`
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700829 InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
Matteo Scandolo618a6582020-09-09 12:21:29 -0700830 IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700831 UniId uint32 `protobuf:"varint,14,opt,name=UniId,proto3" json:"UniId,omitempty"`
Matteo Scandolo4a036262020-08-17 15:56:13 -0700832 XXX_NoUnkeyedLiteral struct{} `json:"-"`
833 XXX_unrecognized []byte `json:"-"`
834 XXX_sizecache int32 `json:"-"`
835}
836
837func (m *Service) Reset() { *m = Service{} }
838func (m *Service) String() string { return proto.CompactTextString(m) }
839func (*Service) ProtoMessage() {}
840func (*Service) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700841 return fileDescriptor_ef7750073d18011b, []int{9}
Matteo Scandolo4a036262020-08-17 15:56:13 -0700842}
843
844func (m *Service) XXX_Unmarshal(b []byte) error {
845 return xxx_messageInfo_Service.Unmarshal(m, b)
846}
847func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
848 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
849}
850func (m *Service) XXX_Merge(src proto.Message) {
851 xxx_messageInfo_Service.Merge(m, src)
852}
853func (m *Service) XXX_Size() int {
854 return xxx_messageInfo_Service.Size(m)
855}
856func (m *Service) XXX_DiscardUnknown() {
857 xxx_messageInfo_Service.DiscardUnknown(m)
858}
859
860var xxx_messageInfo_Service proto.InternalMessageInfo
861
862func (m *Service) GetName() string {
863 if m != nil {
864 return m.Name
865 }
866 return ""
867}
868
869func (m *Service) GetHwAddress() string {
870 if m != nil {
871 return m.HwAddress
872 }
873 return ""
874}
875
876func (m *Service) GetOnuSn() string {
877 if m != nil {
878 return m.OnuSn
879 }
880 return ""
881}
882
883func (m *Service) GetSTag() int32 {
884 if m != nil {
885 return m.STag
886 }
887 return 0
888}
889
890func (m *Service) GetCTag() int32 {
891 if m != nil {
892 return m.CTag
893 }
894 return 0
895}
896
897func (m *Service) GetNeedsEapol() bool {
898 if m != nil {
899 return m.NeedsEapol
900 }
901 return false
902}
903
904func (m *Service) GetNeedsDhcp() bool {
905 if m != nil {
906 return m.NeedsDhcp
907 }
908 return false
909}
910
911func (m *Service) GetNeedsIgmp() bool {
912 if m != nil {
913 return m.NeedsIgmp
914 }
915 return false
916}
917
918func (m *Service) GetGemPort() int32 {
919 if m != nil {
920 return m.GemPort
921 }
922 return 0
923}
924
925func (m *Service) GetEapolState() string {
926 if m != nil {
927 return m.EapolState
928 }
929 return ""
930}
931
932func (m *Service) GetDhcpState() string {
933 if m != nil {
934 return m.DhcpState
935 }
936 return ""
937}
938
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700939func (m *Service) GetInternalState() string {
940 if m != nil {
941 return m.InternalState
942 }
943 return ""
944}
945
Matteo Scandolo618a6582020-09-09 12:21:29 -0700946func (m *Service) GetIGMPState() string {
947 if m != nil {
948 return m.IGMPState
949 }
950 return ""
951}
952
Matteo Scandolo8a574812021-05-20 15:18:53 -0700953func (m *Service) GetUniId() uint32 {
954 if m != nil {
955 return m.UniId
956 }
957 return 0
958}
959
Anand S Katti09541352020-01-29 15:54:01 +0530960type ONUTrafficSchedulers struct {
961 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
962 XXX_NoUnkeyedLiteral struct{} `json:"-"`
963 XXX_unrecognized []byte `json:"-"`
964 XXX_sizecache int32 `json:"-"`
965}
966
967func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
968func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
969func (*ONUTrafficSchedulers) ProtoMessage() {}
970func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700971 return fileDescriptor_ef7750073d18011b, []int{10}
Anand S Katti09541352020-01-29 15:54:01 +0530972}
973
974func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
975 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
976}
977func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
978 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
979}
980func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
981 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
982}
983func (m *ONUTrafficSchedulers) XXX_Size() int {
984 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
985}
986func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
987 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
988}
989
990var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
991
992func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
993 if m != nil {
994 return m.TraffSchedulers
995 }
996 return nil
997}
998
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700999type ONUs struct {
1000 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1001 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1002 XXX_unrecognized []byte `json:"-"`
1003 XXX_sizecache int32 `json:"-"`
1004}
1005
1006func (m *ONUs) Reset() { *m = ONUs{} }
1007func (m *ONUs) String() string { return proto.CompactTextString(m) }
1008func (*ONUs) ProtoMessage() {}
1009func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001010 return fileDescriptor_ef7750073d18011b, []int{11}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001011}
1012
1013func (m *ONUs) XXX_Unmarshal(b []byte) error {
1014 return xxx_messageInfo_ONUs.Unmarshal(m, b)
1015}
1016func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1017 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
1018}
1019func (m *ONUs) XXX_Merge(src proto.Message) {
1020 xxx_messageInfo_ONUs.Merge(m, src)
1021}
1022func (m *ONUs) XXX_Size() int {
1023 return xxx_messageInfo_ONUs.Size(m)
1024}
1025func (m *ONUs) XXX_DiscardUnknown() {
1026 xxx_messageInfo_ONUs.DiscardUnknown(m)
1027}
1028
1029var xxx_messageInfo_ONUs proto.InternalMessageInfo
1030
1031func (m *ONUs) GetItems() []*ONU {
1032 if m != nil {
1033 return m.Items
1034 }
1035 return nil
1036}
1037
Matteo Scandolo4a036262020-08-17 15:56:13 -07001038type Services struct {
1039 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1040 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1041 XXX_unrecognized []byte `json:"-"`
1042 XXX_sizecache int32 `json:"-"`
1043}
1044
1045func (m *Services) Reset() { *m = Services{} }
1046func (m *Services) String() string { return proto.CompactTextString(m) }
1047func (*Services) ProtoMessage() {}
1048func (*Services) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001049 return fileDescriptor_ef7750073d18011b, []int{12}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001050}
1051
1052func (m *Services) XXX_Unmarshal(b []byte) error {
1053 return xxx_messageInfo_Services.Unmarshal(m, b)
1054}
1055func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1056 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
1057}
1058func (m *Services) XXX_Merge(src proto.Message) {
1059 xxx_messageInfo_Services.Merge(m, src)
1060}
1061func (m *Services) XXX_Size() int {
1062 return xxx_messageInfo_Services.Size(m)
1063}
1064func (m *Services) XXX_DiscardUnknown() {
1065 xxx_messageInfo_Services.DiscardUnknown(m)
1066}
1067
1068var xxx_messageInfo_Services proto.InternalMessageInfo
1069
1070func (m *Services) GetItems() []*Service {
1071 if m != nil {
1072 return m.Items
1073 }
1074 return nil
1075}
1076
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001077type UNIs struct {
1078 Items []*UNI `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1079 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1080 XXX_unrecognized []byte `json:"-"`
1081 XXX_sizecache int32 `json:"-"`
1082}
1083
1084func (m *UNIs) Reset() { *m = UNIs{} }
1085func (m *UNIs) String() string { return proto.CompactTextString(m) }
1086func (*UNIs) ProtoMessage() {}
1087func (*UNIs) Descriptor() ([]byte, []int) {
1088 return fileDescriptor_ef7750073d18011b, []int{13}
1089}
1090
1091func (m *UNIs) XXX_Unmarshal(b []byte) error {
1092 return xxx_messageInfo_UNIs.Unmarshal(m, b)
1093}
1094func (m *UNIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1095 return xxx_messageInfo_UNIs.Marshal(b, m, deterministic)
1096}
1097func (m *UNIs) XXX_Merge(src proto.Message) {
1098 xxx_messageInfo_UNIs.Merge(m, src)
1099}
1100func (m *UNIs) XXX_Size() int {
1101 return xxx_messageInfo_UNIs.Size(m)
1102}
1103func (m *UNIs) XXX_DiscardUnknown() {
1104 xxx_messageInfo_UNIs.DiscardUnknown(m)
1105}
1106
1107var xxx_messageInfo_UNIs proto.InternalMessageInfo
1108
1109func (m *UNIs) GetItems() []*UNI {
1110 if m != nil {
1111 return m.Items
1112 }
1113 return nil
1114}
1115
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001116type ONURequest struct {
1117 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1118 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1119 XXX_unrecognized []byte `json:"-"`
1120 XXX_sizecache int32 `json:"-"`
1121}
1122
1123func (m *ONURequest) Reset() { *m = ONURequest{} }
1124func (m *ONURequest) String() string { return proto.CompactTextString(m) }
1125func (*ONURequest) ProtoMessage() {}
1126func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001127 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001128}
1129
1130func (m *ONURequest) XXX_Unmarshal(b []byte) error {
1131 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
1132}
1133func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1134 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
1135}
1136func (m *ONURequest) XXX_Merge(src proto.Message) {
1137 xxx_messageInfo_ONURequest.Merge(m, src)
1138}
1139func (m *ONURequest) XXX_Size() int {
1140 return xxx_messageInfo_ONURequest.Size(m)
1141}
1142func (m *ONURequest) XXX_DiscardUnknown() {
1143 xxx_messageInfo_ONURequest.DiscardUnknown(m)
1144}
1145
1146var xxx_messageInfo_ONURequest proto.InternalMessageInfo
1147
1148func (m *ONURequest) GetSerialNumber() string {
1149 if m != nil {
1150 return m.SerialNumber
1151 }
1152 return ""
1153}
1154
Pragya Aryabd731ec2020-02-11 16:38:17 +05301155type PONRequest struct {
1156 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
1157 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1158 XXX_unrecognized []byte `json:"-"`
1159 XXX_sizecache int32 `json:"-"`
1160}
1161
1162func (m *PONRequest) Reset() { *m = PONRequest{} }
1163func (m *PONRequest) String() string { return proto.CompactTextString(m) }
1164func (*PONRequest) ProtoMessage() {}
1165func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001166 return fileDescriptor_ef7750073d18011b, []int{15}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301167}
1168
1169func (m *PONRequest) XXX_Unmarshal(b []byte) error {
1170 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
1171}
1172func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1173 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
1174}
1175func (m *PONRequest) XXX_Merge(src proto.Message) {
1176 xxx_messageInfo_PONRequest.Merge(m, src)
1177}
1178func (m *PONRequest) XXX_Size() int {
1179 return xxx_messageInfo_PONRequest.Size(m)
1180}
1181func (m *PONRequest) XXX_DiscardUnknown() {
1182 xxx_messageInfo_PONRequest.DiscardUnknown(m)
1183}
1184
1185var xxx_messageInfo_PONRequest proto.InternalMessageInfo
1186
1187func (m *PONRequest) GetPonPortId() uint32 {
1188 if m != nil {
1189 return m.PonPortId
1190 }
1191 return 0
1192}
1193
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001194type UNIRequest struct {
1195 OnuSerialNumber string `protobuf:"bytes,1,opt,name=OnuSerialNumber,proto3" json:"OnuSerialNumber,omitempty"`
1196 UniID string `protobuf:"bytes,2,opt,name=UniID,proto3" json:"UniID,omitempty"`
1197 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1198 XXX_unrecognized []byte `json:"-"`
1199 XXX_sizecache int32 `json:"-"`
1200}
1201
1202func (m *UNIRequest) Reset() { *m = UNIRequest{} }
1203func (m *UNIRequest) String() string { return proto.CompactTextString(m) }
1204func (*UNIRequest) ProtoMessage() {}
1205func (*UNIRequest) Descriptor() ([]byte, []int) {
1206 return fileDescriptor_ef7750073d18011b, []int{16}
1207}
1208
1209func (m *UNIRequest) XXX_Unmarshal(b []byte) error {
1210 return xxx_messageInfo_UNIRequest.Unmarshal(m, b)
1211}
1212func (m *UNIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1213 return xxx_messageInfo_UNIRequest.Marshal(b, m, deterministic)
1214}
1215func (m *UNIRequest) XXX_Merge(src proto.Message) {
1216 xxx_messageInfo_UNIRequest.Merge(m, src)
1217}
1218func (m *UNIRequest) XXX_Size() int {
1219 return xxx_messageInfo_UNIRequest.Size(m)
1220}
1221func (m *UNIRequest) XXX_DiscardUnknown() {
1222 xxx_messageInfo_UNIRequest.DiscardUnknown(m)
1223}
1224
1225var xxx_messageInfo_UNIRequest proto.InternalMessageInfo
1226
1227func (m *UNIRequest) GetOnuSerialNumber() string {
1228 if m != nil {
1229 return m.OnuSerialNumber
1230 }
1231 return ""
1232}
1233
1234func (m *UNIRequest) GetUniID() string {
1235 if m != nil {
1236 return m.UniID
1237 }
1238 return ""
1239}
1240
Scott Baker41724b82020-01-21 19:54:53 -08001241type AlarmType struct {
1242 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1243 XXX_unrecognized []byte `json:"-"`
1244 XXX_sizecache int32 `json:"-"`
1245}
1246
1247func (m *AlarmType) Reset() { *m = AlarmType{} }
1248func (m *AlarmType) String() string { return proto.CompactTextString(m) }
1249func (*AlarmType) ProtoMessage() {}
1250func (*AlarmType) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001251 return fileDescriptor_ef7750073d18011b, []int{17}
Scott Baker41724b82020-01-21 19:54:53 -08001252}
1253
1254func (m *AlarmType) XXX_Unmarshal(b []byte) error {
1255 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
1256}
1257func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1258 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
1259}
1260func (m *AlarmType) XXX_Merge(src proto.Message) {
1261 xxx_messageInfo_AlarmType.Merge(m, src)
1262}
1263func (m *AlarmType) XXX_Size() int {
1264 return xxx_messageInfo_AlarmType.Size(m)
1265}
1266func (m *AlarmType) XXX_DiscardUnknown() {
1267 xxx_messageInfo_AlarmType.DiscardUnknown(m)
1268}
1269
1270var xxx_messageInfo_AlarmType proto.InternalMessageInfo
1271
1272type AlarmParameter struct {
1273 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
1274 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
1275 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1276 XXX_unrecognized []byte `json:"-"`
1277 XXX_sizecache int32 `json:"-"`
1278}
1279
1280func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
1281func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
1282func (*AlarmParameter) ProtoMessage() {}
1283func (*AlarmParameter) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001284 return fileDescriptor_ef7750073d18011b, []int{18}
Scott Baker41724b82020-01-21 19:54:53 -08001285}
1286
1287func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
1288 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
1289}
1290func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1291 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
1292}
1293func (m *AlarmParameter) XXX_Merge(src proto.Message) {
1294 xxx_messageInfo_AlarmParameter.Merge(m, src)
1295}
1296func (m *AlarmParameter) XXX_Size() int {
1297 return xxx_messageInfo_AlarmParameter.Size(m)
1298}
1299func (m *AlarmParameter) XXX_DiscardUnknown() {
1300 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
1301}
1302
1303var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
1304
1305func (m *AlarmParameter) GetKey() string {
1306 if m != nil {
1307 return m.Key
1308 }
1309 return ""
1310}
1311
1312func (m *AlarmParameter) GetValue() string {
1313 if m != nil {
1314 return m.Value
1315 }
1316 return ""
1317}
1318
Anand S Katti86552f92020-03-03 21:56:32 +05301319// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +05301320// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -08001321// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +05301322type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +05301323 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -08001324 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1325 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1326 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
1327 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1328 XXX_unrecognized []byte `json:"-"`
1329 XXX_sizecache int32 `json:"-"`
1330}
1331
Anand S Katti86552f92020-03-03 21:56:32 +05301332func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
1333func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
1334func (*ONUAlarmRequest) ProtoMessage() {}
1335func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001336 return fileDescriptor_ef7750073d18011b, []int{19}
Scott Baker41724b82020-01-21 19:54:53 -08001337}
1338
Anand S Katti86552f92020-03-03 21:56:32 +05301339func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
1340 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -08001341}
Anand S Katti86552f92020-03-03 21:56:32 +05301342func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1343 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -08001344}
Anand S Katti86552f92020-03-03 21:56:32 +05301345func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
1346 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -08001347}
Anand S Katti86552f92020-03-03 21:56:32 +05301348func (m *ONUAlarmRequest) XXX_Size() int {
1349 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -08001350}
Anand S Katti86552f92020-03-03 21:56:32 +05301351func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
1352 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -08001353}
1354
Anand S Katti86552f92020-03-03 21:56:32 +05301355var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -08001356
Anand S Katti86552f92020-03-03 21:56:32 +05301357func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -08001358 if m != nil {
1359 return m.AlarmType
1360 }
Pragya Arya694ece02020-02-07 13:03:47 +05301361 return ""
Scott Baker41724b82020-01-21 19:54:53 -08001362}
1363
Anand S Katti86552f92020-03-03 21:56:32 +05301364func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -08001365 if m != nil {
1366 return m.SerialNumber
1367 }
1368 return ""
1369}
1370
Anand S Katti86552f92020-03-03 21:56:32 +05301371func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -08001372 if m != nil {
1373 return m.Status
1374 }
1375 return ""
1376}
1377
Anand S Katti86552f92020-03-03 21:56:32 +05301378func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -08001379 if m != nil {
1380 return m.Parameters
1381 }
1382 return nil
1383}
1384
Anand S Katti86552f92020-03-03 21:56:32 +05301385// OLT alarm request
1386type OLTAlarmRequest struct {
1387 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
1388 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
1389 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1390 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1391 XXX_unrecognized []byte `json:"-"`
1392 XXX_sizecache int32 `json:"-"`
1393}
1394
1395func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
1396func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
1397func (*OLTAlarmRequest) ProtoMessage() {}
1398func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001399 return fileDescriptor_ef7750073d18011b, []int{20}
Anand S Katti86552f92020-03-03 21:56:32 +05301400}
1401
1402func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
1403 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
1404}
1405func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1406 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
1407}
1408func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
1409 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
1410}
1411func (m *OLTAlarmRequest) XXX_Size() int {
1412 return xxx_messageInfo_OLTAlarmRequest.Size(m)
1413}
1414func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
1415 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
1416}
1417
1418var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
1419
1420func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
1421 if m != nil {
1422 return m.InterfaceID
1423 }
1424 return 0
1425}
1426
1427func (m *OLTAlarmRequest) GetInterfaceType() string {
1428 if m != nil {
1429 return m.InterfaceType
1430 }
1431 return ""
1432}
1433
1434func (m *OLTAlarmRequest) GetStatus() string {
1435 if m != nil {
1436 return m.Status
1437 }
1438 return ""
1439}
1440
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001441type VersionNumber struct {
1442 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1443 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
1444 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
1445 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
1446 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1447 XXX_unrecognized []byte `json:"-"`
1448 XXX_sizecache int32 `json:"-"`
1449}
1450
1451func (m *VersionNumber) Reset() { *m = VersionNumber{} }
1452func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
1453func (*VersionNumber) ProtoMessage() {}
1454func (*VersionNumber) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001455 return fileDescriptor_ef7750073d18011b, []int{21}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001456}
1457
1458func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
1459 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
1460}
1461func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1462 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
1463}
1464func (m *VersionNumber) XXX_Merge(src proto.Message) {
1465 xxx_messageInfo_VersionNumber.Merge(m, src)
1466}
1467func (m *VersionNumber) XXX_Size() int {
1468 return xxx_messageInfo_VersionNumber.Size(m)
1469}
1470func (m *VersionNumber) XXX_DiscardUnknown() {
1471 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
1472}
1473
1474var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
1475
1476func (m *VersionNumber) GetVersion() string {
1477 if m != nil {
1478 return m.Version
1479 }
1480 return ""
1481}
1482
1483func (m *VersionNumber) GetBuildTime() string {
1484 if m != nil {
1485 return m.BuildTime
1486 }
1487 return ""
1488}
1489
1490func (m *VersionNumber) GetCommitHash() string {
1491 if m != nil {
1492 return m.CommitHash
1493 }
1494 return ""
1495}
1496
1497func (m *VersionNumber) GetGitStatus() string {
1498 if m != nil {
1499 return m.GitStatus
1500 }
1501 return ""
1502}
1503
1504type LogLevel struct {
1505 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
1506 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
1507 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1508 XXX_unrecognized []byte `json:"-"`
1509 XXX_sizecache int32 `json:"-"`
1510}
1511
1512func (m *LogLevel) Reset() { *m = LogLevel{} }
1513func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1514func (*LogLevel) ProtoMessage() {}
1515func (*LogLevel) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001516 return fileDescriptor_ef7750073d18011b, []int{22}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001517}
1518
1519func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1520 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1521}
1522func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1523 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1524}
1525func (m *LogLevel) XXX_Merge(src proto.Message) {
1526 xxx_messageInfo_LogLevel.Merge(m, src)
1527}
1528func (m *LogLevel) XXX_Size() int {
1529 return xxx_messageInfo_LogLevel.Size(m)
1530}
1531func (m *LogLevel) XXX_DiscardUnknown() {
1532 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1533}
1534
1535var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1536
1537func (m *LogLevel) GetLevel() string {
1538 if m != nil {
1539 return m.Level
1540 }
1541 return ""
1542}
1543
1544func (m *LogLevel) GetCaller() bool {
1545 if m != nil {
1546 return m.Caller
1547 }
1548 return false
1549}
1550
1551type Response struct {
1552 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1553 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1554 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1555 XXX_unrecognized []byte `json:"-"`
1556 XXX_sizecache int32 `json:"-"`
1557}
1558
1559func (m *Response) Reset() { *m = Response{} }
1560func (m *Response) String() string { return proto.CompactTextString(m) }
1561func (*Response) ProtoMessage() {}
1562func (*Response) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001563 return fileDescriptor_ef7750073d18011b, []int{23}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001564}
1565
1566func (m *Response) XXX_Unmarshal(b []byte) error {
1567 return xxx_messageInfo_Response.Unmarshal(m, b)
1568}
1569func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1570 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1571}
1572func (m *Response) XXX_Merge(src proto.Message) {
1573 xxx_messageInfo_Response.Merge(m, src)
1574}
1575func (m *Response) XXX_Size() int {
1576 return xxx_messageInfo_Response.Size(m)
1577}
1578func (m *Response) XXX_DiscardUnknown() {
1579 xxx_messageInfo_Response.DiscardUnknown(m)
1580}
1581
1582var xxx_messageInfo_Response proto.InternalMessageInfo
1583
1584func (m *Response) GetStatusCode() int32 {
1585 if m != nil {
1586 return m.StatusCode
1587 }
1588 return 0
1589}
1590
1591func (m *Response) GetMessage() string {
1592 if m != nil {
1593 return m.Message
1594 }
1595 return ""
1596}
1597
Arjun E K57a7fcb2020-01-30 06:44:45 +00001598type IgmpRequest struct {
1599 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1600 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001601 GroupAddress string `protobuf:"bytes,3,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"`
Arjun E K57a7fcb2020-01-30 06:44:45 +00001602 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1603 XXX_unrecognized []byte `json:"-"`
1604 XXX_sizecache int32 `json:"-"`
1605}
1606
1607func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1608func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1609func (*IgmpRequest) ProtoMessage() {}
1610func (*IgmpRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001611 return fileDescriptor_ef7750073d18011b, []int{24}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001612}
1613
1614func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1615 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1616}
1617func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1618 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1619}
1620func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1621 xxx_messageInfo_IgmpRequest.Merge(m, src)
1622}
1623func (m *IgmpRequest) XXX_Size() int {
1624 return xxx_messageInfo_IgmpRequest.Size(m)
1625}
1626func (m *IgmpRequest) XXX_DiscardUnknown() {
1627 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1628}
1629
1630var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1631
1632func (m *IgmpRequest) GetOnuReq() *ONURequest {
1633 if m != nil {
1634 return m.OnuReq
1635 }
1636 return nil
1637}
1638
1639func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1640 if m != nil {
1641 return m.SubActionVal
1642 }
1643 return SubActionTypes_JOIN
1644}
1645
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001646func (m *IgmpRequest) GetGroupAddress() string {
1647 if m != nil {
1648 return m.GroupAddress
1649 }
1650 return ""
1651}
1652
Pragya Arya8bdb4532020-03-02 17:08:09 +05301653type Flows struct {
1654 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1655 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1656 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1657 XXX_unrecognized []byte `json:"-"`
1658 XXX_sizecache int32 `json:"-"`
1659}
1660
1661func (m *Flows) Reset() { *m = Flows{} }
1662func (m *Flows) String() string { return proto.CompactTextString(m) }
1663func (*Flows) ProtoMessage() {}
1664func (*Flows) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001665 return fileDescriptor_ef7750073d18011b, []int{25}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301666}
1667
1668func (m *Flows) XXX_Unmarshal(b []byte) error {
1669 return xxx_messageInfo_Flows.Unmarshal(m, b)
1670}
1671func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1672 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1673}
1674func (m *Flows) XXX_Merge(src proto.Message) {
1675 xxx_messageInfo_Flows.Merge(m, src)
1676}
1677func (m *Flows) XXX_Size() int {
1678 return xxx_messageInfo_Flows.Size(m)
1679}
1680func (m *Flows) XXX_DiscardUnknown() {
1681 xxx_messageInfo_Flows.DiscardUnknown(m)
1682}
1683
1684var xxx_messageInfo_Flows proto.InternalMessageInfo
1685
1686func (m *Flows) GetFlowCount() uint32 {
1687 if m != nil {
1688 return m.FlowCount
1689 }
1690 return 0
1691}
1692
1693func (m *Flows) GetFlows() []*openolt.Flow {
1694 if m != nil {
1695 return m.Flows
1696 }
1697 return nil
1698}
1699
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001700type Timeout struct {
1701 Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
1702 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1703 XXX_unrecognized []byte `json:"-"`
1704 XXX_sizecache int32 `json:"-"`
1705}
1706
1707func (m *Timeout) Reset() { *m = Timeout{} }
1708func (m *Timeout) String() string { return proto.CompactTextString(m) }
1709func (*Timeout) ProtoMessage() {}
1710func (*Timeout) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001711 return fileDescriptor_ef7750073d18011b, []int{26}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001712}
1713
1714func (m *Timeout) XXX_Unmarshal(b []byte) error {
1715 return xxx_messageInfo_Timeout.Unmarshal(m, b)
1716}
1717func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1718 return xxx_messageInfo_Timeout.Marshal(b, m, deterministic)
1719}
1720func (m *Timeout) XXX_Merge(src proto.Message) {
1721 xxx_messageInfo_Timeout.Merge(m, src)
1722}
1723func (m *Timeout) XXX_Size() int {
1724 return xxx_messageInfo_Timeout.Size(m)
1725}
1726func (m *Timeout) XXX_DiscardUnknown() {
1727 xxx_messageInfo_Timeout.DiscardUnknown(m)
1728}
1729
1730var xxx_messageInfo_Timeout proto.InternalMessageInfo
1731
1732func (m *Timeout) GetDelay() uint32 {
1733 if m != nil {
1734 return m.Delay
1735 }
1736 return 0
1737}
1738
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001739type Empty struct {
1740 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1741 XXX_unrecognized []byte `json:"-"`
1742 XXX_sizecache int32 `json:"-"`
1743}
1744
1745func (m *Empty) Reset() { *m = Empty{} }
1746func (m *Empty) String() string { return proto.CompactTextString(m) }
1747func (*Empty) ProtoMessage() {}
1748func (*Empty) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001749 return fileDescriptor_ef7750073d18011b, []int{27}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001750}
1751
1752func (m *Empty) XXX_Unmarshal(b []byte) error {
1753 return xxx_messageInfo_Empty.Unmarshal(m, b)
1754}
1755func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1756 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1757}
1758func (m *Empty) XXX_Merge(src proto.Message) {
1759 xxx_messageInfo_Empty.Merge(m, src)
1760}
1761func (m *Empty) XXX_Size() int {
1762 return xxx_messageInfo_Empty.Size(m)
1763}
1764func (m *Empty) XXX_DiscardUnknown() {
1765 xxx_messageInfo_Empty.DiscardUnknown(m)
1766}
1767
1768var xxx_messageInfo_Empty proto.InternalMessageInfo
1769
1770func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001771 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001772 proto.RegisterEnum("bbsim.OltAllocatedResourceType_Type", OltAllocatedResourceType_Type_name, OltAllocatedResourceType_Type_value)
Scott Baker41724b82020-01-21 19:54:53 -08001773 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001774 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001775 proto.RegisterType((*PonAllocatedResources)(nil), "bbsim.PonAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001776 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1777 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001778 proto.RegisterType((*OltAllocatedResourceType)(nil), "bbsim.OltAllocatedResourceType")
1779 proto.RegisterType((*OltAllocatedResource)(nil), "bbsim.OltAllocatedResource")
1780 proto.RegisterType((*OltAllocatedResources)(nil), "bbsim.OltAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001781 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001782 proto.RegisterType((*UNI)(nil), "bbsim.UNI")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001783 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301784 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001785 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001786 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001787 proto.RegisterType((*UNIs)(nil), "bbsim.UNIs")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001788 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301789 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001790 proto.RegisterType((*UNIRequest)(nil), "bbsim.UNIRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001791 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1792 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301793 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1794 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001795 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1796 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1797 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001798 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301799 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001800 proto.RegisterType((*Timeout)(nil), "bbsim.Timeout")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001801 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1802}
1803
Matteo Scandolof65e6872020-04-15 15:18:43 -07001804func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001805
1806var fileDescriptor_ef7750073d18011b = []byte{
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07001807 // 2092 bytes of a gzipped FileDescriptorProto
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001808 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcb, 0x6e, 0xdb, 0xd8,
1809 0xf9, 0xb7, 0xee, 0xd2, 0x27, 0x4b, 0xa2, 0x4f, 0x62, 0x0f, 0xe1, 0x78, 0x26, 0x02, 0x27, 0xf3,
1810 0x87, 0x13, 0xfc, 0xc7, 0x99, 0x24, 0xed, 0x34, 0x59, 0xd2, 0x92, 0xac, 0x70, 0x2c, 0x93, 0xc2,
1811 0xa1, 0xe4, 0x20, 0xed, 0x42, 0xa0, 0xc5, 0x63, 0x9b, 0x28, 0x45, 0x2a, 0x24, 0x65, 0xd7, 0x0f,
1812 0x50, 0xf4, 0x11, 0xba, 0x2c, 0xd0, 0x07, 0xe8, 0xb6, 0xaf, 0xd1, 0x27, 0x68, 0x57, 0x05, 0xfa,
1813 0x18, 0xc5, 0x39, 0x3c, 0xbc, 0x49, 0x74, 0xe2, 0xac, 0xba, 0x11, 0xf8, 0xfd, 0xbe, 0xfb, 0xe5,
1814 0xdc, 0x04, 0xbb, 0xc6, 0xd2, 0x7a, 0x79, 0x71, 0xe1, 0x5b, 0x8b, 0xf0, 0xf7, 0x68, 0xe9, 0xb9,
1815 0x81, 0x8b, 0x2a, 0x8c, 0xd8, 0x7f, 0x72, 0xe3, 0xda, 0xc1, 0xb5, 0x31, 0x63, 0xa0, 0xff, 0xd2,
1816 0x5d, 0x12, 0xc7, 0xb5, 0x83, 0x50, 0x66, 0xbf, 0x9b, 0x65, 0x06, 0x64, 0x7e, 0x4d, 0xbf, 0x2f,
1817 0x2d, 0x9b, 0x84, 0x12, 0xd2, 0xbf, 0x8a, 0x50, 0x1b, 0x6b, 0xea, 0xd8, 0xf5, 0x02, 0xd4, 0x86,
1818 0xa2, 0xd2, 0x17, 0x0b, 0xdd, 0xc2, 0x61, 0x05, 0x17, 0x95, 0x3e, 0x3a, 0x80, 0x86, 0xb6, 0x24,
1819 0x9e, 0x1e, 0x18, 0x01, 0x11, 0x8b, 0xdd, 0xc2, 0x61, 0x03, 0x27, 0x00, 0x7a, 0x06, 0x2d, 0xc5,
1820 0x09, 0x88, 0xe7, 0x18, 0x76, 0x28, 0x51, 0x62, 0x12, 0x59, 0x10, 0x75, 0xa1, 0x39, 0x36, 0xe6,
1821 0xbf, 0x27, 0x41, 0xcf, 0x5d, 0x39, 0x81, 0x58, 0xee, 0x16, 0x0e, 0xcb, 0x38, 0x0d, 0xa1, 0x13,
1822 0xe8, 0xc8, 0xb6, 0xed, 0xce, 0x8d, 0x80, 0x98, 0x9a, 0xb3, 0x52, 0x4c, 0x5f, 0xac, 0x74, 0x4b,
1823 0x87, 0xcd, 0xd7, 0x07, 0x47, 0x61, 0xba, 0x63, 0xd7, 0x89, 0x05, 0x30, 0xf1, 0xdd, 0x95, 0x37,
1824 0x27, 0x3e, 0x5e, 0x57, 0x42, 0xbf, 0xc0, 0x4e, 0x0c, 0x0d, 0xc9, 0x82, 0x66, 0xe4, 0x8b, 0xd5,
1825 0x07, 0x58, 0xda, 0x54, 0xcb, 0xd8, 0x62, 0x1f, 0x34, 0xaa, 0xda, 0x57, 0xd9, 0x8a, 0xd4, 0xa4,
1826 0x53, 0xd8, 0xcd, 0x95, 0x45, 0x12, 0x6c, 0xeb, 0xc4, 0xb3, 0x0c, 0x5b, 0x5d, 0x2d, 0x2e, 0x88,
1827 0xc7, 0x0a, 0xdf, 0xc0, 0x19, 0x8c, 0xb5, 0xc4, 0x64, 0xb5, 0xa7, 0x2d, 0x31, 0xa5, 0xdf, 0x40,
1828 0x4d, 0x55, 0x95, 0xaf, 0xef, 0x96, 0xf4, 0xef, 0x02, 0x94, 0x34, 0x7b, 0x53, 0x6b, 0x3d, 0x88,
1829 0x62, 0x4e, 0x10, 0x19, 0xcb, 0xa5, 0x2f, 0xce, 0x41, 0x39, 0x6f, 0x0e, 0xa8, 0xdf, 0xb1, 0x58,
1830 0x63, 0xac, 0xa2, 0x32, 0x46, 0x2f, 0xa0, 0xce, 0x13, 0x89, 0xda, 0xdd, 0xe6, 0x85, 0xe5, 0x30,
1831 0x8e, 0xf9, 0x54, 0x96, 0x8f, 0x68, 0xd4, 0xd0, 0x48, 0x96, 0xc3, 0x38, 0xe6, 0x4b, 0x7f, 0x2c,
1832 0x80, 0xa8, 0xd9, 0xc1, 0x46, 0xb9, 0x27, 0x77, 0x4b, 0x82, 0xde, 0x42, 0x39, 0xb8, 0x5b, 0x12,
1833 0x96, 0x7e, 0xfb, 0xf5, 0x33, 0x6e, 0xe4, 0x3e, 0xf1, 0x23, 0xfa, 0x83, 0x99, 0x86, 0xf4, 0x12,
1834 0xca, 0xcc, 0x42, 0x13, 0x6a, 0x53, 0xf5, 0x54, 0xd5, 0x3e, 0xa8, 0xc2, 0x16, 0xda, 0x86, 0xba,
1835 0x3c, 0x1a, 0x69, 0xbd, 0x99, 0xd2, 0x17, 0x0a, 0x94, 0x1a, 0x0e, 0xce, 0x66, 0x63, 0x0d, 0x4f,
1836 0x84, 0xa2, 0xf4, 0xb7, 0x02, 0x3c, 0xce, 0x33, 0x8c, 0x50, 0x68, 0x89, 0x77, 0x3b, 0xb4, 0x7a,
1837 0x00, 0x8d, 0xb1, 0xeb, 0xd0, 0x04, 0x78, 0xb3, 0x5b, 0x38, 0x01, 0xd0, 0x63, 0xa8, 0xb0, 0x11,
1838 0x67, 0xa5, 0x6f, 0xe1, 0x90, 0x40, 0x7b, 0x50, 0xa5, 0x7c, 0xd5, 0x65, 0xf5, 0x6e, 0x61, 0x4e,
1839 0xa1, 0xef, 0x00, 0x22, 0x5f, 0x8a, 0x29, 0x56, 0x58, 0xa3, 0x53, 0x08, 0xd5, 0x3b, 0xb1, 0xdd,
1840 0x5b, 0xc5, 0x14, 0xab, 0x6c, 0x2d, 0x72, 0x4a, 0xc2, 0xb0, 0x9b, 0x17, 0xaf, 0x8f, 0xde, 0x41,
1841 0xc3, 0x8b, 0x08, 0xb1, 0xc0, 0xca, 0xff, 0xe4, 0x33, 0x95, 0xc3, 0x89, 0xb4, 0xf4, 0x97, 0x32,
1842 0x94, 0x34, 0x75, 0xfa, 0x3f, 0x1b, 0xba, 0x54, 0x5d, 0xfb, 0xbc, 0x14, 0x09, 0x80, 0xba, 0xd0,
1843 0x78, 0x7f, 0x2b, 0x9b, 0xa6, 0x47, 0x7c, 0x5f, 0xac, 0x53, 0xfd, 0xe3, 0xa2, 0x58, 0xc0, 0x09,
1844 0x88, 0xf6, 0xe3, 0x1a, 0x37, 0xa8, 0x32, 0x63, 0x47, 0x75, 0x3e, 0x82, 0xba, 0x4f, 0xbc, 0x1b,
1845 0x8b, 0x56, 0x05, 0x32, 0x43, 0xa9, 0x87, 0x30, 0x93, 0x8e, 0x65, 0x50, 0x1f, 0xbe, 0x55, 0x16,
1846 0xc6, 0x15, 0xd1, 0xdd, 0xcb, 0xe0, 0xd6, 0xf0, 0xc8, 0xe0, 0x0f, 0x4b, 0x32, 0x0f, 0x88, 0xa9,
1847 0x93, 0x79, 0x60, 0xb9, 0x8e, 0x2f, 0x36, 0x59, 0x7c, 0x9f, 0x17, 0xda, 0xb0, 0x82, 0xc9, 0x9c,
1848 0x58, 0x37, 0x29, 0x2b, 0xdb, 0x39, 0x56, 0xd6, 0x85, 0xd0, 0x4f, 0xf0, 0x48, 0x9e, 0x07, 0xd6,
1849 0x0d, 0x61, 0x62, 0x03, 0x27, 0xb0, 0x82, 0x3b, 0xc5, 0x14, 0x5b, 0x4c, 0x37, 0x8f, 0x85, 0x7e,
1850 0x86, 0xbd, 0x9e, 0xbb, 0x58, 0x58, 0x41, 0x40, 0xcc, 0xac, 0x52, 0x9b, 0x29, 0xdd, 0xc3, 0x45,
1851 0xdf, 0x41, 0x79, 0xe5, 0x58, 0xbe, 0xd8, 0x61, 0x15, 0x02, 0x5e, 0xa1, 0xa9, 0xaa, 0x60, 0x86,
1852 0x4b, 0x7f, 0x2f, 0x40, 0x69, 0xaa, 0x2a, 0x1b, 0x13, 0xc2, 0x67, 0xbe, 0xcf, 0xb7, 0xbe, 0x90,
1853 0xe0, 0xa8, 0xee, 0xf0, 0x79, 0x08, 0x09, 0xba, 0xa2, 0xce, 0x88, 0xd2, 0xe7, 0xeb, 0x80, 0x7d,
1854 0x67, 0xa7, 0xa7, 0xb2, 0x3e, 0x3d, 0xc9, 0xda, 0xa9, 0x32, 0xf3, 0x51, 0x4f, 0x5f, 0xa4, 0x7a,
1855 0x5a, 0xcb, 0xeb, 0x69, 0xd2, 0x4f, 0xe9, 0x4f, 0x25, 0xa8, 0x71, 0x94, 0x46, 0xa0, 0x1a, 0x8b,
1856 0x78, 0x4d, 0xd3, 0x6f, 0x1a, 0x41, 0x32, 0x5d, 0x7c, 0x3b, 0x4e, 0x26, 0xeb, 0xde, 0x4c, 0xf4,
1857 0x89, 0x71, 0xc5, 0x32, 0xa9, 0x60, 0xf6, 0x4d, 0xb1, 0x1e, 0xc5, 0xc2, 0xf1, 0x65, 0xdf, 0x74,
1858 0x8d, 0xab, 0x84, 0x98, 0xfe, 0xc0, 0x58, 0xba, 0x36, 0xcb, 0xa1, 0x8e, 0x53, 0x08, 0xf5, 0xcd,
1859 0xa8, 0xfe, 0xf5, 0x7c, 0xc9, 0xf6, 0xdc, 0x3a, 0x4e, 0x80, 0x98, 0xab, 0x5c, 0x2d, 0x96, 0x6c,
1860 0xee, 0x23, 0x2e, 0x05, 0x90, 0x08, 0x35, 0x7e, 0x0c, 0x86, 0x43, 0x8f, 0x23, 0x92, 0x7a, 0x65,
1861 0xe6, 0xc3, 0xa2, 0x02, 0x0b, 0x3c, 0x85, 0x50, 0xbb, 0xd4, 0x7e, 0xc8, 0x6e, 0x86, 0x19, 0xc7,
1862 0xc0, 0xe6, 0x8a, 0xdd, 0xbe, 0x67, 0xc5, 0x2a, 0xc3, 0xb3, 0x71, 0x28, 0xd1, 0x0a, 0x6d, 0xc4,
1863 0x00, 0xad, 0xda, 0xd4, 0xb1, 0xf8, 0xd0, 0xb5, 0x70, 0x48, 0x48, 0x06, 0x3c, 0xd6, 0xd4, 0xe9,
1864 0xc4, 0x33, 0x2e, 0x2f, 0xad, 0xb9, 0x3e, 0xbf, 0x26, 0xe6, 0xca, 0x26, 0x9e, 0x8f, 0x14, 0xe8,
1865 0x04, 0x14, 0x4c, 0x20, 0xd6, 0xa0, 0xe6, 0xeb, 0xa7, 0x47, 0x99, 0x8b, 0xd0, 0x86, 0x26, 0x5e,
1866 0xd7, 0x93, 0x0e, 0xa1, 0xac, 0xa9, 0x53, 0x1f, 0x75, 0xa1, 0x62, 0x05, 0x64, 0x11, 0xed, 0x83,
1867 0xd1, 0x3c, 0x6b, 0xea, 0x14, 0x87, 0x0c, 0xe9, 0x27, 0xa8, 0xeb, 0xd1, 0x92, 0x7f, 0x96, 0x95,
1868 0x5e, 0x9f, 0x25, 0xae, 0x71, 0x08, 0xe5, 0xa9, 0xaa, 0xdc, 0x6b, 0x9b, 0xae, 0x95, 0xd8, 0x36,
1869 0x50, 0x4f, 0xe4, 0xd3, 0x8a, 0xf8, 0xc1, 0x43, 0xae, 0x0f, 0xd2, 0x0b, 0x80, 0xb1, 0xa6, 0x46,
1870 0x1a, 0x99, 0x63, 0xa6, 0xb0, 0x76, 0xcc, 0x48, 0x23, 0x00, 0xea, 0x8b, 0xcb, 0x1e, 0x42, 0x87,
1871 0xce, 0xe4, 0xa6, 0x83, 0x75, 0x38, 0x6a, 0x4a, 0x9f, 0x0f, 0x79, 0x48, 0x48, 0xff, 0x2c, 0x41,
1872 0x43, 0xb6, 0x0d, 0x6f, 0x41, 0x0f, 0x38, 0xe9, 0x1f, 0x25, 0xa8, 0xd0, 0x0f, 0x1f, 0xd5, 0xa0,
1873 0x34, 0xd2, 0x74, 0x61, 0x0b, 0xb5, 0x01, 0xfa, 0x1f, 0x15, 0x75, 0x38, 0x1b, 0xca, 0xfa, 0x58,
1874 0x28, 0xa0, 0x16, 0x34, 0x34, 0x75, 0x3a, 0x93, 0x47, 0x32, 0x3e, 0x13, 0x8a, 0xe8, 0x1b, 0x78,
1875 0x44, 0x49, 0x7d, 0x22, 0xe3, 0xc9, 0x74, 0x3c, 0x3b, 0x91, 0x95, 0xd1, 0x14, 0x0f, 0x84, 0x12,
1876 0xda, 0x03, 0xc4, 0x18, 0xca, 0x50, 0x95, 0x47, 0xb3, 0xfe, 0x60, 0x88, 0xe5, 0xfe, 0x40, 0x28,
1877 0x47, 0x0a, 0x7d, 0xac, 0x9c, 0x4c, 0x66, 0xda, 0xc9, 0xec, 0x83, 0xa2, 0xf6, 0xb5, 0x0f, 0x42,
1878 0x05, 0x1d, 0x80, 0x48, 0x19, 0x23, 0x4d, 0xd7, 0x29, 0xae, 0x9d, 0xf5, 0x94, 0x59, 0xef, 0xbd,
1879 0xac, 0xaa, 0x83, 0x91, 0x50, 0x8d, 0xfd, 0x30, 0x73, 0x7a, 0xec, 0xa7, 0x86, 0x9e, 0xc3, 0x0f,
1880 0x94, 0x31, 0xc1, 0xb2, 0xaa, 0x9f, 0x29, 0xba, 0xae, 0x68, 0xea, 0x4c, 0x51, 0x27, 0x03, 0x7c,
1881 0x32, 0xc0, 0x03, 0xb5, 0x37, 0x98, 0x7d, 0x90, 0xb1, 0xaa, 0xa8, 0x43, 0xa1, 0x8e, 0xf6, 0x61,
1882 0x8f, 0x85, 0xde, 0x9b, 0x28, 0xe7, 0xf2, 0x84, 0x0a, 0x46, 0x66, 0x1a, 0x48, 0x64, 0xc3, 0x39,
1883 0x1b, 0x63, 0xad, 0x37, 0xd0, 0x75, 0x9a, 0xef, 0x00, 0x63, 0x0d, 0x0b, 0x80, 0xba, 0x70, 0x90,
1884 0x8e, 0xeb, 0x74, 0xf0, 0x71, 0xa6, 0x7f, 0x54, 0x7b, 0xb1, 0x6e, 0x13, 0xed, 0xc2, 0x0e, 0x95,
1885 0x50, 0x26, 0xd3, 0xd9, 0x58, 0x53, 0x69, 0x2d, 0x26, 0xba, 0xb0, 0x8d, 0x76, 0xa0, 0x15, 0x57,
1886 0x8a, 0xaa, 0x0b, 0xad, 0x75, 0xe8, 0x58, 0x68, 0x47, 0x89, 0x45, 0xd0, 0xb8, 0x37, 0xa3, 0x59,
1887 0x08, 0x9d, 0xa8, 0x1e, 0x19, 0x46, 0x8f, 0x47, 0x25, 0x20, 0x04, 0xed, 0x34, 0xf7, 0x44, 0x11,
1888 0x76, 0xd0, 0x23, 0xe8, 0xa4, 0x31, 0xf9, 0x4c, 0x11, 0x90, 0xf4, 0x16, 0xda, 0xac, 0xbf, 0x63,
1889 0xc3, 0x33, 0x16, 0x24, 0x20, 0x1e, 0x12, 0xa0, 0x74, 0x4a, 0xee, 0xf8, 0x98, 0xd0, 0x4f, 0x3a,
1890 0x1a, 0xe7, 0x86, 0xbd, 0x8a, 0xae, 0xa3, 0x21, 0x21, 0xfd, 0xb5, 0xc0, 0xec, 0x31, 0xed, 0xd4,
1891 0x68, 0xc6, 0xd3, 0xc2, 0x2d, 0x24, 0xc0, 0x83, 0xee, 0x0b, 0x7b, 0x50, 0xa5, 0x9b, 0xc4, 0xca,
1892 0xe7, 0x5b, 0x2a, 0xa7, 0xd0, 0xaf, 0x01, 0xe2, 0x10, 0x7d, 0xb1, 0xcc, 0xd6, 0xd6, 0x2e, 0x5f,
1893 0x5b, 0xd9, 0x04, 0x70, 0x4a, 0x50, 0xfa, 0x04, 0x1d, 0x6d, 0x34, 0xc9, 0xc4, 0xd8, 0x85, 0x26,
1894 0xdb, 0xac, 0x2e, 0x8d, 0x39, 0xe1, 0x87, 0x55, 0x0b, 0xa7, 0xa1, 0x78, 0x8f, 0xa3, 0x24, 0xcb,
1895 0xa4, 0x98, 0xda, 0xe3, 0x22, 0xf0, 0xbe, 0x48, 0xe9, 0xd5, 0xb5, 0x75, 0x4e, 0x3c, 0xdf, 0x72,
1896 0x1d, 0x9e, 0x93, 0x08, 0xb5, 0x9b, 0x10, 0xe0, 0x35, 0x89, 0x48, 0x5a, 0xaf, 0x8b, 0x95, 0x65,
1897 0x9b, 0x13, 0x6b, 0x11, 0x5f, 0xf6, 0x63, 0x80, 0xee, 0xd4, 0x73, 0x76, 0x1e, 0xbf, 0x37, 0xfc,
1898 0x6b, 0xee, 0x25, 0x85, 0x50, 0xed, 0x2b, 0x2b, 0xe0, 0x41, 0x84, 0x37, 0xa7, 0x04, 0x90, 0xde,
1899 0x42, 0x7d, 0xe4, 0x5e, 0x8d, 0xc8, 0x0d, 0xb1, 0x69, 0x07, 0x6d, 0xfa, 0xc1, 0xfd, 0x87, 0x04,
1900 0xcd, 0x60, 0x6e, 0xd8, 0x36, 0xef, 0x44, 0x1d, 0x73, 0x4a, 0x1a, 0x40, 0x1d, 0x13, 0x7f, 0xe9,
1901 0x3a, 0x3e, 0x41, 0x4f, 0xa1, 0xe9, 0x33, 0x7b, 0xb3, 0xb9, 0x6b, 0x12, 0x7e, 0xb4, 0x43, 0x08,
1902 0xf5, 0x5c, 0x93, 0xd0, 0xe4, 0x16, 0xc4, 0xf7, 0x8d, 0xab, 0x28, 0x81, 0x88, 0x94, 0xfe, 0x5c,
1903 0x80, 0x26, 0x3d, 0x8b, 0xa2, 0xc2, 0x3f, 0x87, 0xaa, 0xe6, 0xac, 0x30, 0xf9, 0xc4, 0xf7, 0xef,
1904 0x9d, 0xd4, 0xb6, 0x1b, 0x8a, 0x60, 0x2e, 0x80, 0xde, 0xc1, 0xb6, 0xbe, 0xba, 0x90, 0xd9, 0x3d,
1905 0xe7, 0xdc, 0xb0, 0x99, 0xe5, 0x76, 0xdc, 0xef, 0x98, 0xc5, 0xf6, 0x22, 0x9c, 0x11, 0xa5, 0x43,
1906 0x36, 0xf4, 0xdc, 0xd5, 0x32, 0x3a, 0xb3, 0xc3, 0xb2, 0x65, 0x30, 0xe9, 0x14, 0x2a, 0xf4, 0xba,
1907 0xec, 0xa3, 0x6f, 0x01, 0x2e, 0x6d, 0xf7, 0x76, 0x36, 0x67, 0xaf, 0x5a, 0xbe, 0x97, 0x52, 0x24,
1908 0x7c, 0xd3, 0x7e, 0x0f, 0x15, 0x4a, 0xd0, 0x83, 0x9f, 0xce, 0x5b, 0xeb, 0x28, 0x7a, 0x96, 0x53,
1909 0x6d, 0x1c, 0xf2, 0xa4, 0xa7, 0x50, 0xa3, 0xdd, 0x72, 0x57, 0x01, 0x2d, 0xb3, 0x49, 0x6c, 0xe3,
1910 0x8e, 0x5b, 0x0a, 0x09, 0xa9, 0x06, 0x95, 0xc1, 0x62, 0x19, 0xdc, 0xbd, 0x78, 0x05, 0xed, 0x6c,
1911 0xe8, 0xa8, 0x0e, 0xe5, 0x5f, 0x34, 0x85, 0x3e, 0x42, 0x1a, 0x50, 0x19, 0x0d, 0xe4, 0xf3, 0x81,
1912 0x50, 0x40, 0x00, 0x55, 0x0a, 0x9e, 0xbf, 0x11, 0x8a, 0xaf, 0xff, 0xd3, 0x84, 0xca, 0xf1, 0xb1,
1913 0x6e, 0x2d, 0xd0, 0x4b, 0xa8, 0xf1, 0xa9, 0x42, 0xdb, 0xbc, 0x0e, 0xcc, 0xea, 0xfe, 0x63, 0x4e,
1914 0x65, 0x66, 0x4e, 0xda, 0x42, 0xaf, 0xa0, 0xa9, 0x93, 0x20, 0x1e, 0x81, 0x0e, 0x17, 0x8b, 0x80,
1915 0xfd, 0x75, 0x40, 0xda, 0x42, 0xcf, 0xa0, 0x3a, 0x24, 0x01, 0x7d, 0x5f, 0x66, 0x5d, 0x40, 0xf2,
1916 0x50, 0x90, 0xb6, 0xd0, 0xef, 0x40, 0x0c, 0xa5, 0x72, 0x5e, 0x19, 0x4f, 0xbf, 0xf0, 0x18, 0xdb,
1917 0x3f, 0xf8, 0x8c, 0x80, 0x2f, 0x6d, 0xa1, 0x1f, 0x01, 0xc6, 0xee, 0x2d, 0xf1, 0x5c, 0x67, 0x33,
1918 0x8c, 0x28, 0xe2, 0x68, 0x38, 0xa5, 0x2d, 0x74, 0x04, 0x4d, 0xfd, 0x7a, 0x15, 0x98, 0xee, 0xed,
1919 0xc3, 0xe4, 0xff, 0x1f, 0x1a, 0x98, 0x5c, 0xb8, 0x6e, 0xf0, 0x20, 0x69, 0xda, 0xb0, 0xc0, 0x5d,
1920 0x5e, 0xe1, 0x71, 0x8f, 0x9e, 0xf6, 0xc4, 0xfb, 0xb2, 0xca, 0x6b, 0xe8, 0xe8, 0x81, 0xe1, 0x05,
1921 0x5f, 0xa3, 0xf3, 0x33, 0xec, 0x60, 0xe2, 0xaf, 0x69, 0x45, 0xd7, 0x0c, 0x3e, 0x5b, 0x79, 0x7a,
1922 0xcf, 0xc3, 0x76, 0xa9, 0x53, 0xb4, 0xb9, 0x94, 0xf6, 0x53, 0x97, 0x1a, 0x69, 0x0b, 0xfd, 0x1f,
1923 0xbd, 0x0e, 0x06, 0xec, 0xf2, 0x93, 0x0d, 0xa7, 0x99, 0x88, 0xd1, 0xf2, 0xbf, 0x81, 0xe6, 0x90,
1924 0x04, 0xf1, 0xd5, 0x67, 0x27, 0x75, 0x7b, 0xe1, 0x76, 0x3b, 0xd9, 0xeb, 0x8f, 0xcf, 0x9a, 0x00,
1925 0xd4, 0xb8, 0xb3, 0x9a, 0x3a, 0x96, 0x9f, 0x17, 0x4b, 0x33, 0x31, 0xc3, 0x9d, 0xc4, 0x4d, 0xcb,
1926 0x0f, 0xfe, 0x9e, 0xc2, 0x72, 0x25, 0xd9, 0xb6, 0x73, 0x32, 0xc9, 0xd1, 0x79, 0x07, 0x3b, 0x29,
1927 0x47, 0xbe, 0xe6, 0x8c, 0x35, 0x35, 0x76, 0x97, 0xdc, 0xa8, 0xf2, 0xdd, 0xc5, 0x73, 0xf8, 0xe0,
1928 0x10, 0x5f, 0x41, 0x9b, 0xeb, 0x3c, 0x38, 0xc2, 0xb7, 0x20, 0x24, 0x6e, 0xbe, 0x2a, 0xc0, 0x5f,
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07001929 0xc1, 0x36, 0x1f, 0x9a, 0xf0, 0xb1, 0xf0, 0x99, 0x56, 0xa5, 0xb4, 0xde, 0x40, 0x93, 0x6b, 0xb1,
1930 0x37, 0xc4, 0xc3, 0x94, 0x8e, 0x61, 0x57, 0x67, 0xfd, 0x65, 0xe7, 0xa8, 0xe2, 0x98, 0xd6, 0xdc,
1931 0xa0, 0x7b, 0x18, 0xda, 0x4b, 0xca, 0x92, 0x3e, 0x62, 0x3f, 0x63, 0x83, 0xae, 0xfa, 0x7b, 0x6c,
1932 0x64, 0x8f, 0xe9, 0x3c, 0x1b, 0x3f, 0x42, 0x7d, 0x48, 0x82, 0x70, 0xe7, 0xce, 0xe9, 0x48, 0x54,
1933 0x6c, 0x26, 0xc0, 0x6a, 0xdb, 0xe9, 0x5d, 0x1b, 0xce, 0x15, 0xa1, 0x87, 0x50, 0xf8, 0xf2, 0x40,
1934 0x5c, 0x24, 0x75, 0x2c, 0xe5, 0x39, 0x3a, 0x85, 0x6f, 0xc2, 0x81, 0xde, 0x7c, 0x8d, 0xe4, 0xf8,
1935 0x7d, 0x92, 0x40, 0x1b, 0xf2, 0xf1, 0xd2, 0x63, 0x4b, 0x23, 0x7f, 0xe9, 0x85, 0xab, 0xe2, 0xf8,
1936 0x87, 0xdf, 0x7e, 0x7f, 0x65, 0x05, 0xd7, 0xab, 0x8b, 0xa3, 0xb9, 0xbb, 0x60, 0x7f, 0x00, 0xcf,
1937 0x5d, 0xcf, 0xe4, 0xff, 0x18, 0xc7, 0xff, 0x1d, 0x5f, 0x54, 0xd9, 0x1f, 0xbe, 0x6f, 0xfe, 0x1b,
1938 0x00, 0x00, 0xff, 0xff, 0x2d, 0xf0, 0xfb, 0x77, 0x4f, 0x16, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001939}
1940
1941// Reference imports to suppress errors if they are not otherwise used.
1942var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001943var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001944
1945// This is a compile-time assertion to ensure that this generated file
1946// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001947const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001948
1949// BBSimClient is the client API for BBSim service.
1950//
1951// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1952type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001953 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001954 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001955 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301956 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001957 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001958 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001959 GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001960 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001961 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001962 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001963 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001964 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001965 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001966 // Closes the Openolt gRPC server
1967 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1968 // Start the Openolt gRPC server
1969 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05301970 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001971 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001972 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001973 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001974 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301975 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001976 // Get all the Services by Uni ID
1977 GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001978 // Get all the UNIs of an ONU by serial number
1979 GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001980 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001981 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001982 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301983 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001984 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301985 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001986 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001987 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001988 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301989 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001990 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301991 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001992 // Restart EAPOL for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07001993 RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001994 // Restart DHCP for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07001995 RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001996 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301997 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001998 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05301999 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002000 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302001 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002002 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002003 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002004 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302005 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002006 //Return all the UNIs for all the ONUs
2007 GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002008}
2009
2010type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04002011 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002012}
2013
Kent Hagerman60d62302020-03-10 17:02:36 -04002014func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002015 return &bBSimClient{cc}
2016}
2017
2018func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
2019 out := new(VersionNumber)
2020 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
2021 if err != nil {
2022 return nil, err
2023 }
2024 return out, nil
2025}
2026
Pragya Aryabd731ec2020-02-11 16:38:17 +05302027func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
2028 out := new(LogLevel)
2029 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
2030 if err != nil {
2031 return nil, err
2032 }
2033 return out, nil
2034}
2035
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002036func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
2037 out := new(Olt)
2038 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
2039 if err != nil {
2040 return nil, err
2041 }
2042 return out, nil
2043}
2044
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002045func (c *bBSimClient) GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) {
2046 out := new(OltAllocatedResources)
2047 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOltAllocatedResources", in, out, opts...)
2048 if err != nil {
2049 return nil, err
2050 }
2051 return out, nil
2052}
2053
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002054func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2055 out := new(Response)
2056 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
2057 if err != nil {
2058 return nil, err
2059 }
2060 return out, nil
2061}
2062
2063func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2064 out := new(Response)
2065 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
2066 if err != nil {
2067 return nil, err
2068 }
2069 return out, nil
2070}
2071
2072func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2073 out := new(Response)
2074 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
2075 if err != nil {
2076 return nil, err
2077 }
2078 return out, nil
2079}
2080
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002081func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2082 out := new(Response)
2083 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
2084 if err != nil {
2085 return nil, err
2086 }
2087 return out, nil
2088}
2089
2090func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2091 out := new(Response)
2092 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
2093 if err != nil {
2094 return nil, err
2095 }
2096 return out, nil
2097}
2098
2099func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
2100 out := new(Response)
2101 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
2102 if err != nil {
2103 return nil, err
2104 }
2105 return out, nil
2106}
2107
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002108func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
2109 out := new(ONU)
2110 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
2111 if err != nil {
2112 return nil, err
2113 }
2114 return out, nil
2115}
2116
Pragya Aryabd731ec2020-02-11 16:38:17 +05302117func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
2118 out := new(ONUs)
2119 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002120 if err != nil {
2121 return nil, err
2122 }
2123 return out, nil
2124}
2125
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002126func (c *bBSimClient) GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002127 out := new(Services)
2128 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
2129 if err != nil {
2130 return nil, err
2131 }
2132 return out, nil
2133}
2134
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002135func (c *bBSimClient) GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error) {
2136 out := new(UNIs)
2137 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuUnis", in, out, opts...)
2138 if err != nil {
2139 return nil, err
2140 }
2141 return out, nil
2142}
2143
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002144func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2145 out := new(Response)
2146 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
2147 if err != nil {
2148 return nil, err
2149 }
2150 return out, nil
2151}
2152
Pragya Aryabd731ec2020-02-11 16:38:17 +05302153func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2154 out := new(Response)
2155 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
2156 if err != nil {
2157 return nil, err
2158 }
2159 return out, nil
2160}
2161
2162func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2163 out := new(Response)
2164 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
2165 if err != nil {
2166 return nil, err
2167 }
2168 return out, nil
2169}
2170
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002171func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2172 out := new(Response)
2173 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
2174 if err != nil {
2175 return nil, err
2176 }
2177 return out, nil
2178}
2179
Pragya Aryabd731ec2020-02-11 16:38:17 +05302180func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2181 out := new(Response)
2182 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
2183 if err != nil {
2184 return nil, err
2185 }
2186 return out, nil
2187}
2188
2189func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2190 out := new(Response)
2191 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
2192 if err != nil {
2193 return nil, err
2194 }
2195 return out, nil
2196}
2197
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002198func (c *bBSimClient) RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002199 out := new(Response)
2200 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
2201 if err != nil {
2202 return nil, err
2203 }
2204 return out, nil
2205}
2206
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002207func (c *bBSimClient) RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002208 out := new(Response)
2209 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
2210 if err != nil {
2211 return nil, err
2212 }
2213 return out, nil
2214}
2215
Anand S Katti86552f92020-03-03 21:56:32 +05302216func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08002217 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05302218 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
2219 if err != nil {
2220 return nil, err
2221 }
2222 return out, nil
2223}
2224
2225func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
2226 out := new(Response)
2227 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08002228 if err != nil {
2229 return nil, err
2230 }
2231 return out, nil
2232}
2233
Pragya Arya8bdb4532020-03-02 17:08:09 +05302234func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
2235 out := new(Flows)
2236 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
2237 if err != nil {
2238 return nil, err
2239 }
2240 return out, nil
2241}
2242
Arjun E K57a7fcb2020-01-30 06:44:45 +00002243func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
2244 out := new(Response)
2245 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
2246 if err != nil {
2247 return nil, err
2248 }
2249 return out, nil
2250}
2251
Anand S Katti09541352020-01-29 15:54:01 +05302252func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
2253 out := new(ONUTrafficSchedulers)
2254 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
2255 if err != nil {
2256 return nil, err
2257 }
2258 return out, nil
2259}
2260
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002261func (c *bBSimClient) GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error) {
2262 out := new(UNIs)
2263 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetUnis", in, out, opts...)
2264 if err != nil {
2265 return nil, err
2266 }
2267 return out, nil
2268}
2269
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002270// BBSimServer is the server API for BBSim service.
2271type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002272 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002273 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002274 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302275 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002276 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002277 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002278 GetOltAllocatedResources(context.Context, *OltAllocatedResourceType) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002279 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002280 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002281 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002282 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002283 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002284 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002285 // Closes the Openolt gRPC server
2286 StopgRPCServer(context.Context, *Empty) (*Response, error)
2287 // Start the Openolt gRPC server
2288 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302289 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002290 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002291 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002292 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002293 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302294 GetONUs(context.Context, *Empty) (*ONUs, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002295 // Get all the Services by Uni ID
2296 GetServices(context.Context, *UNIRequest) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002297 // Get all the UNIs of an ONU by serial number
2298 GetOnuUnis(context.Context, *ONURequest) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002299 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002300 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002301 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302302 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002303 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302304 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002305 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002306 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002307 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302308 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002309 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302310 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002311 // Restart EAPOL for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002312 RestartEapol(context.Context, *UNIRequest) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002313 // Restart DHCP for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002314 RestartDhcp(context.Context, *UNIRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002315 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302316 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002317 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302318 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002319 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302320 GetFlows(context.Context, *ONURequest) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002321 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002322 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002323 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302324 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002325 //Return all the UNIs for all the ONUs
2326 GetUnis(context.Context, *Empty) (*UNIs, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002327}
2328
Pragya Aryabd731ec2020-02-11 16:38:17 +05302329// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
2330type UnimplementedBBSimServer struct {
2331}
2332
2333func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
2334 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
2335}
2336func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
2337 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2338}
2339func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
2340 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
2341}
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002342func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error) {
2343 return nil, status.Errorf(codes.Unimplemented, "method GetOltAllocatedResources not implemented")
2344}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302345func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
2346 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
2347}
2348func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
2349 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
2350}
2351func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
2352 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
2353}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002354func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2355 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
2356}
2357func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2358 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
2359}
2360func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
2361 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
2362}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302363func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
2364 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
2365}
2366func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
2367 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
2368}
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002369func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *UNIRequest) (*Services, error) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002370 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
2371}
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002372func (*UnimplementedBBSimServer) GetOnuUnis(ctx context.Context, req *ONURequest) (*UNIs, error) {
2373 return nil, status.Errorf(codes.Unimplemented, "method GetOnuUnis not implemented")
2374}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302375func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
2376 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
2377}
2378func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2379 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
2380}
2381func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2382 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
2383}
2384func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
2385 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
2386}
2387func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2388 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
2389}
2390func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2391 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
2392}
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002393func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *UNIRequest) (*Response, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302394 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
2395}
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002396func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *UNIRequest) (*Response, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302397 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
2398}
2399func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
2400 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
2401}
2402func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
2403 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
2404}
2405func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
2406 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
2407}
2408func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
2409 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
2410}
2411func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
2412 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
2413}
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002414func (*UnimplementedBBSimServer) GetUnis(ctx context.Context, req *Empty) (*UNIs, error) {
2415 return nil, status.Errorf(codes.Unimplemented, "method GetUnis not implemented")
2416}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302417
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002418func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
2419 s.RegisterService(&_BBSim_serviceDesc, srv)
2420}
2421
2422func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2423 in := new(Empty)
2424 if err := dec(in); err != nil {
2425 return nil, err
2426 }
2427 if interceptor == nil {
2428 return srv.(BBSimServer).Version(ctx, in)
2429 }
2430 info := &grpc.UnaryServerInfo{
2431 Server: srv,
2432 FullMethod: "/bbsim.BBSim/Version",
2433 }
2434 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2435 return srv.(BBSimServer).Version(ctx, req.(*Empty))
2436 }
2437 return interceptor(ctx, in, info, handler)
2438}
2439
Pragya Aryabd731ec2020-02-11 16:38:17 +05302440func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2441 in := new(LogLevel)
2442 if err := dec(in); err != nil {
2443 return nil, err
2444 }
2445 if interceptor == nil {
2446 return srv.(BBSimServer).SetLogLevel(ctx, in)
2447 }
2448 info := &grpc.UnaryServerInfo{
2449 Server: srv,
2450 FullMethod: "/bbsim.BBSim/SetLogLevel",
2451 }
2452 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2453 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
2454 }
2455 return interceptor(ctx, in, info, handler)
2456}
2457
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002458func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2459 in := new(Empty)
2460 if err := dec(in); err != nil {
2461 return nil, err
2462 }
2463 if interceptor == nil {
2464 return srv.(BBSimServer).GetOlt(ctx, in)
2465 }
2466 info := &grpc.UnaryServerInfo{
2467 Server: srv,
2468 FullMethod: "/bbsim.BBSim/GetOlt",
2469 }
2470 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2471 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
2472 }
2473 return interceptor(ctx, in, info, handler)
2474}
2475
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002476func _BBSim_GetOltAllocatedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2477 in := new(OltAllocatedResourceType)
2478 if err := dec(in); err != nil {
2479 return nil, err
2480 }
2481 if interceptor == nil {
2482 return srv.(BBSimServer).GetOltAllocatedResources(ctx, in)
2483 }
2484 info := &grpc.UnaryServerInfo{
2485 Server: srv,
2486 FullMethod: "/bbsim.BBSim/GetOltAllocatedResources",
2487 }
2488 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2489 return srv.(BBSimServer).GetOltAllocatedResources(ctx, req.(*OltAllocatedResourceType))
2490 }
2491 return interceptor(ctx, in, info, handler)
2492}
2493
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002494func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2495 in := new(Empty)
2496 if err := dec(in); err != nil {
2497 return nil, err
2498 }
2499 if interceptor == nil {
2500 return srv.(BBSimServer).PoweronOlt(ctx, in)
2501 }
2502 info := &grpc.UnaryServerInfo{
2503 Server: srv,
2504 FullMethod: "/bbsim.BBSim/PoweronOlt",
2505 }
2506 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2507 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
2508 }
2509 return interceptor(ctx, in, info, handler)
2510}
2511
2512func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2513 in := new(Empty)
2514 if err := dec(in); err != nil {
2515 return nil, err
2516 }
2517 if interceptor == nil {
2518 return srv.(BBSimServer).ShutdownOlt(ctx, in)
2519 }
2520 info := &grpc.UnaryServerInfo{
2521 Server: srv,
2522 FullMethod: "/bbsim.BBSim/ShutdownOlt",
2523 }
2524 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2525 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
2526 }
2527 return interceptor(ctx, in, info, handler)
2528}
2529
2530func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2531 in := new(Empty)
2532 if err := dec(in); err != nil {
2533 return nil, err
2534 }
2535 if interceptor == nil {
2536 return srv.(BBSimServer).RebootOlt(ctx, in)
2537 }
2538 info := &grpc.UnaryServerInfo{
2539 Server: srv,
2540 FullMethod: "/bbsim.BBSim/RebootOlt",
2541 }
2542 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2543 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
2544 }
2545 return interceptor(ctx, in, info, handler)
2546}
2547
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002548func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2549 in := new(Empty)
2550 if err := dec(in); err != nil {
2551 return nil, err
2552 }
2553 if interceptor == nil {
2554 return srv.(BBSimServer).StopgRPCServer(ctx, in)
2555 }
2556 info := &grpc.UnaryServerInfo{
2557 Server: srv,
2558 FullMethod: "/bbsim.BBSim/StopgRPCServer",
2559 }
2560 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2561 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
2562 }
2563 return interceptor(ctx, in, info, handler)
2564}
2565
2566func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2567 in := new(Empty)
2568 if err := dec(in); err != nil {
2569 return nil, err
2570 }
2571 if interceptor == nil {
2572 return srv.(BBSimServer).StartgRPCServer(ctx, in)
2573 }
2574 info := &grpc.UnaryServerInfo{
2575 Server: srv,
2576 FullMethod: "/bbsim.BBSim/StartgRPCServer",
2577 }
2578 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2579 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
2580 }
2581 return interceptor(ctx, in, info, handler)
2582}
2583
2584func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2585 in := new(Timeout)
2586 if err := dec(in); err != nil {
2587 return nil, err
2588 }
2589 if interceptor == nil {
2590 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
2591 }
2592 info := &grpc.UnaryServerInfo{
2593 Server: srv,
2594 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2595 }
2596 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2597 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2598 }
2599 return interceptor(ctx, in, info, handler)
2600}
2601
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002602func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2603 in := new(ONURequest)
2604 if err := dec(in); err != nil {
2605 return nil, err
2606 }
2607 if interceptor == nil {
2608 return srv.(BBSimServer).GetONU(ctx, in)
2609 }
2610 info := &grpc.UnaryServerInfo{
2611 Server: srv,
2612 FullMethod: "/bbsim.BBSim/GetONU",
2613 }
2614 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2615 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2616 }
2617 return interceptor(ctx, in, info, handler)
2618}
2619
Pragya Aryabd731ec2020-02-11 16:38:17 +05302620func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2621 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002622 if err := dec(in); err != nil {
2623 return nil, err
2624 }
2625 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302626 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002627 }
2628 info := &grpc.UnaryServerInfo{
2629 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302630 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002631 }
2632 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302633 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002634 }
2635 return interceptor(ctx, in, info, handler)
2636}
2637
Matteo Scandolo4a036262020-08-17 15:56:13 -07002638func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002639 in := new(UNIRequest)
Matteo Scandolo4a036262020-08-17 15:56:13 -07002640 if err := dec(in); err != nil {
2641 return nil, err
2642 }
2643 if interceptor == nil {
2644 return srv.(BBSimServer).GetServices(ctx, in)
2645 }
2646 info := &grpc.UnaryServerInfo{
2647 Server: srv,
2648 FullMethod: "/bbsim.BBSim/GetServices",
2649 }
2650 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002651 return srv.(BBSimServer).GetServices(ctx, req.(*UNIRequest))
Matteo Scandolo4a036262020-08-17 15:56:13 -07002652 }
2653 return interceptor(ctx, in, info, handler)
2654}
2655
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002656func _BBSim_GetOnuUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2657 in := new(ONURequest)
2658 if err := dec(in); err != nil {
2659 return nil, err
2660 }
2661 if interceptor == nil {
2662 return srv.(BBSimServer).GetOnuUnis(ctx, in)
2663 }
2664 info := &grpc.UnaryServerInfo{
2665 Server: srv,
2666 FullMethod: "/bbsim.BBSim/GetOnuUnis",
2667 }
2668 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2669 return srv.(BBSimServer).GetOnuUnis(ctx, req.(*ONURequest))
2670 }
2671 return interceptor(ctx, in, info, handler)
2672}
2673
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002674func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2675 in := new(ONURequest)
2676 if err := dec(in); err != nil {
2677 return nil, err
2678 }
2679 if interceptor == nil {
2680 return srv.(BBSimServer).ShutdownONU(ctx, in)
2681 }
2682 info := &grpc.UnaryServerInfo{
2683 Server: srv,
2684 FullMethod: "/bbsim.BBSim/ShutdownONU",
2685 }
2686 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2687 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2688 }
2689 return interceptor(ctx, in, info, handler)
2690}
2691
Pragya Aryabd731ec2020-02-11 16:38:17 +05302692func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2693 in := new(Empty)
2694 if err := dec(in); err != nil {
2695 return nil, err
2696 }
2697 if interceptor == nil {
2698 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2699 }
2700 info := &grpc.UnaryServerInfo{
2701 Server: srv,
2702 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2703 }
2704 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2705 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2706 }
2707 return interceptor(ctx, in, info, handler)
2708}
2709
2710func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2711 in := new(PONRequest)
2712 if err := dec(in); err != nil {
2713 return nil, err
2714 }
2715 if interceptor == nil {
2716 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2717 }
2718 info := &grpc.UnaryServerInfo{
2719 Server: srv,
2720 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2721 }
2722 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2723 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2724 }
2725 return interceptor(ctx, in, info, handler)
2726}
2727
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002728func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2729 in := new(ONURequest)
2730 if err := dec(in); err != nil {
2731 return nil, err
2732 }
2733 if interceptor == nil {
2734 return srv.(BBSimServer).PoweronONU(ctx, in)
2735 }
2736 info := &grpc.UnaryServerInfo{
2737 Server: srv,
2738 FullMethod: "/bbsim.BBSim/PoweronONU",
2739 }
2740 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2741 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2742 }
2743 return interceptor(ctx, in, info, handler)
2744}
2745
Pragya Aryabd731ec2020-02-11 16:38:17 +05302746func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2747 in := new(Empty)
2748 if err := dec(in); err != nil {
2749 return nil, err
2750 }
2751 if interceptor == nil {
2752 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2753 }
2754 info := &grpc.UnaryServerInfo{
2755 Server: srv,
2756 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2757 }
2758 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2759 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2760 }
2761 return interceptor(ctx, in, info, handler)
2762}
2763
2764func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2765 in := new(PONRequest)
2766 if err := dec(in); err != nil {
2767 return nil, err
2768 }
2769 if interceptor == nil {
2770 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2771 }
2772 info := &grpc.UnaryServerInfo{
2773 Server: srv,
2774 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2775 }
2776 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2777 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2778 }
2779 return interceptor(ctx, in, info, handler)
2780}
2781
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002782func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002783 in := new(UNIRequest)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002784 if err := dec(in); err != nil {
2785 return nil, err
2786 }
2787 if interceptor == nil {
2788 return srv.(BBSimServer).RestartEapol(ctx, in)
2789 }
2790 info := &grpc.UnaryServerInfo{
2791 Server: srv,
2792 FullMethod: "/bbsim.BBSim/RestartEapol",
2793 }
2794 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002795 return srv.(BBSimServer).RestartEapol(ctx, req.(*UNIRequest))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002796 }
2797 return interceptor(ctx, in, info, handler)
2798}
2799
2800func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002801 in := new(UNIRequest)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002802 if err := dec(in); err != nil {
2803 return nil, err
2804 }
2805 if interceptor == nil {
2806 return srv.(BBSimServer).RestartDhcp(ctx, in)
2807 }
2808 info := &grpc.UnaryServerInfo{
2809 Server: srv,
2810 FullMethod: "/bbsim.BBSim/RestartDhcp",
2811 }
2812 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002813 return srv.(BBSimServer).RestartDhcp(ctx, req.(*UNIRequest))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002814 }
2815 return interceptor(ctx, in, info, handler)
2816}
2817
Anand S Katti86552f92020-03-03 21:56:32 +05302818func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2819 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002820 if err := dec(in); err != nil {
2821 return nil, err
2822 }
2823 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302824 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002825 }
2826 info := &grpc.UnaryServerInfo{
2827 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302828 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002829 }
2830 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302831 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2832 }
2833 return interceptor(ctx, in, info, handler)
2834}
2835
2836func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2837 in := new(OLTAlarmRequest)
2838 if err := dec(in); err != nil {
2839 return nil, err
2840 }
2841 if interceptor == nil {
2842 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2843 }
2844 info := &grpc.UnaryServerInfo{
2845 Server: srv,
2846 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2847 }
2848 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2849 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002850 }
2851 return interceptor(ctx, in, info, handler)
2852}
2853
Pragya Arya8bdb4532020-03-02 17:08:09 +05302854func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2855 in := new(ONURequest)
2856 if err := dec(in); err != nil {
2857 return nil, err
2858 }
2859 if interceptor == nil {
2860 return srv.(BBSimServer).GetFlows(ctx, in)
2861 }
2862 info := &grpc.UnaryServerInfo{
2863 Server: srv,
2864 FullMethod: "/bbsim.BBSim/GetFlows",
2865 }
2866 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2867 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2868 }
2869 return interceptor(ctx, in, info, handler)
2870}
2871
Arjun E K57a7fcb2020-01-30 06:44:45 +00002872func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2873 in := new(IgmpRequest)
2874 if err := dec(in); err != nil {
2875 return nil, err
2876 }
2877 if interceptor == nil {
2878 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2879 }
2880 info := &grpc.UnaryServerInfo{
2881 Server: srv,
2882 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2883 }
2884 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2885 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2886 }
2887 return interceptor(ctx, in, info, handler)
2888}
2889
Anand S Katti09541352020-01-29 15:54:01 +05302890func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2891 in := new(ONURequest)
2892 if err := dec(in); err != nil {
2893 return nil, err
2894 }
2895 if interceptor == nil {
2896 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2897 }
2898 info := &grpc.UnaryServerInfo{
2899 Server: srv,
2900 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2901 }
2902 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2903 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2904 }
2905 return interceptor(ctx, in, info, handler)
2906}
2907
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002908func _BBSim_GetUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2909 in := new(Empty)
2910 if err := dec(in); err != nil {
2911 return nil, err
2912 }
2913 if interceptor == nil {
2914 return srv.(BBSimServer).GetUnis(ctx, in)
2915 }
2916 info := &grpc.UnaryServerInfo{
2917 Server: srv,
2918 FullMethod: "/bbsim.BBSim/GetUnis",
2919 }
2920 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2921 return srv.(BBSimServer).GetUnis(ctx, req.(*Empty))
2922 }
2923 return interceptor(ctx, in, info, handler)
2924}
2925
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002926var _BBSim_serviceDesc = grpc.ServiceDesc{
2927 ServiceName: "bbsim.BBSim",
2928 HandlerType: (*BBSimServer)(nil),
2929 Methods: []grpc.MethodDesc{
2930 {
2931 MethodName: "Version",
2932 Handler: _BBSim_Version_Handler,
2933 },
2934 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302935 MethodName: "SetLogLevel",
2936 Handler: _BBSim_SetLogLevel_Handler,
2937 },
2938 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002939 MethodName: "GetOlt",
2940 Handler: _BBSim_GetOlt_Handler,
2941 },
2942 {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002943 MethodName: "GetOltAllocatedResources",
2944 Handler: _BBSim_GetOltAllocatedResources_Handler,
2945 },
2946 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002947 MethodName: "PoweronOlt",
2948 Handler: _BBSim_PoweronOlt_Handler,
2949 },
2950 {
2951 MethodName: "ShutdownOlt",
2952 Handler: _BBSim_ShutdownOlt_Handler,
2953 },
2954 {
2955 MethodName: "RebootOlt",
2956 Handler: _BBSim_RebootOlt_Handler,
2957 },
2958 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002959 MethodName: "StopgRPCServer",
2960 Handler: _BBSim_StopgRPCServer_Handler,
2961 },
2962 {
2963 MethodName: "StartgRPCServer",
2964 Handler: _BBSim_StartgRPCServer_Handler,
2965 },
2966 {
2967 MethodName: "RestartgRPCServer",
2968 Handler: _BBSim_RestartgRPCServer_Handler,
2969 },
2970 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002971 MethodName: "GetONU",
2972 Handler: _BBSim_GetONU_Handler,
2973 },
2974 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302975 MethodName: "GetONUs",
2976 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002977 },
2978 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002979 MethodName: "GetServices",
2980 Handler: _BBSim_GetServices_Handler,
2981 },
2982 {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002983 MethodName: "GetOnuUnis",
2984 Handler: _BBSim_GetOnuUnis_Handler,
2985 },
2986 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002987 MethodName: "ShutdownONU",
2988 Handler: _BBSim_ShutdownONU_Handler,
2989 },
2990 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302991 MethodName: "ShutdownAllONUs",
2992 Handler: _BBSim_ShutdownAllONUs_Handler,
2993 },
2994 {
2995 MethodName: "ShutdownONUsOnPON",
2996 Handler: _BBSim_ShutdownONUsOnPON_Handler,
2997 },
2998 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002999 MethodName: "PoweronONU",
3000 Handler: _BBSim_PoweronONU_Handler,
3001 },
3002 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303003 MethodName: "PoweronAllONUs",
3004 Handler: _BBSim_PoweronAllONUs_Handler,
3005 },
3006 {
3007 MethodName: "PoweronONUsOnPON",
3008 Handler: _BBSim_PoweronONUsOnPON_Handler,
3009 },
3010 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003011 MethodName: "RestartEapol",
3012 Handler: _BBSim_RestartEapol_Handler,
3013 },
3014 {
3015 MethodName: "RestartDhcp",
3016 Handler: _BBSim_RestartDhcp_Handler,
3017 },
Scott Baker41724b82020-01-21 19:54:53 -08003018 {
Anand S Katti86552f92020-03-03 21:56:32 +05303019 MethodName: "SetOnuAlarmIndication",
3020 Handler: _BBSim_SetOnuAlarmIndication_Handler,
3021 },
3022 {
3023 MethodName: "SetOltAlarmIndication",
3024 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08003025 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00003026 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05303027 MethodName: "GetFlows",
3028 Handler: _BBSim_GetFlows_Handler,
3029 },
3030 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00003031 MethodName: "ChangeIgmpState",
3032 Handler: _BBSim_ChangeIgmpState_Handler,
3033 },
Anand S Katti09541352020-01-29 15:54:01 +05303034 {
3035 MethodName: "GetOnuTrafficSchedulers",
3036 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
3037 },
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07003038 {
3039 MethodName: "GetUnis",
3040 Handler: _BBSim_GetUnis_Handler,
3041 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003042 },
3043 Streams: []grpc.StreamDesc{},
3044 Metadata: "api/bbsim/bbsim.proto",
3045}