blob: 6b4bfd62cd33e95fa51dbdf78a9b4fc549751c03 [file] [log] [blame]
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: api/bbsim/bbsim.proto
3
4package bbsim
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
David K. Bainbridgec415efe2021-08-19 13:05:21 +000010 openolt "github.com/opencord/voltha-protos/v5/go/openolt"
11 tech_profile "github.com/opencord/voltha-protos/v5/go/tech_profile"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070012 grpc "google.golang.org/grpc"
Pragya Aryabd731ec2020-02-11 16:38:17 +053013 codes "google.golang.org/grpc/codes"
14 status "google.golang.org/grpc/status"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070015 math "math"
16)
17
18// Reference imports to suppress errors if they are not otherwise used.
19var _ = proto.Marshal
20var _ = fmt.Errorf
21var _ = math.Inf
22
23// This is a compile-time assertion to ensure that this generated file
24// is compatible with the proto package it is being compiled against.
25// A compilation error at this line likely means your copy of the
26// proto package needs to be updated.
27const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
28
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{
Elia Battistonfe017662022-01-05 11:43:16 +01001807 // 2106 bytes of a gzipped FileDescriptorProto
1808 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdb, 0x6e, 0xdb, 0xc8,
1809 0x19, 0xb6, 0x4e, 0x96, 0xf4, 0xcb, 0x92, 0xe8, 0xd9, 0xd8, 0x4b, 0x38, 0xde, 0x8d, 0xc1, 0xcd,
1810 0x16, 0x4e, 0xd0, 0x75, 0x36, 0x49, 0x77, 0x9b, 0x5c, 0xca, 0x92, 0xac, 0x70, 0x2d, 0x93, 0xc2,
1811 0x50, 0x72, 0x90, 0xf6, 0x42, 0xa0, 0xc5, 0xb1, 0x4d, 0x94, 0x22, 0x15, 0x72, 0x64, 0xd7, 0x0f,
1812 0x50, 0xf4, 0x11, 0x7a, 0xb9, 0x40, 0x1f, 0xa0, 0xb7, 0x7d, 0x8d, 0x3e, 0x41, 0x7b, 0xd5, 0xf7,
1813 0x28, 0x66, 0x38, 0x3c, 0x49, 0x74, 0xe2, 0x5c, 0xf5, 0x46, 0xe0, 0xff, 0xfd, 0xe7, 0xc3, 0x9c,
1814 0x04, 0x3b, 0xe6, 0xc2, 0x7e, 0x71, 0x71, 0x11, 0xd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88, 0x7d,
1848 0x93, 0xb2, 0xb2, 0x95, 0x63, 0x65, 0x55, 0x08, 0xfd, 0x08, 0x5f, 0x75, 0x66, 0xd4, 0xbe, 0x21,
1849 0x5c, 0xac, 0xef, 0x52, 0x9b, 0xde, 0xa9, 0x96, 0xdc, 0xe4, 0xba, 0x79, 0x2c, 0xf4, 0x33, 0xec,
1850 0x76, 0xbd, 0xf9, 0xdc, 0xa6, 0x94, 0x58, 0x59, 0xa5, 0x16, 0x57, 0xba, 0x87, 0x8b, 0xbe, 0x85,
1851 0xf2, 0xd2, 0xb5, 0x03, 0xb9, 0xcd, 0x2b, 0x04, 0xa2, 0x42, 0x13, 0x4d, 0xc5, 0x1c, 0x57, 0xfe,
1852 0x59, 0x80, 0xd2, 0x44, 0x53, 0xd7, 0x26, 0x44, 0xcc, 0x7c, 0x4f, 0x6c, 0x7d, 0x21, 0x21, 0x50,
1853 0xc3, 0x15, 0xf3, 0x10, 0x12, 0x6c, 0x45, 0x9d, 0x11, 0xb5, 0x27, 0xd6, 0x01, 0xff, 0xce, 0x4e,
1854 0x4f, 0x65, 0x75, 0x7a, 0x92, 0xb5, 0xb3, 0xc9, 0xcd, 0x47, 0x3d, 0x7d, 0x9e, 0xea, 0x69, 0x35,
1855 0xaf, 0xa7, 0x49, 0x3f, 0x95, 0xbf, 0x96, 0xa0, 0x2a, 0x50, 0x16, 0x81, 0x66, 0xce, 0xe3, 0x35,
1856 0xcd, 0xbe, 0x59, 0x04, 0xc9, 0x74, 0x89, 0xed, 0x38, 0x99, 0xac, 0x7b, 0x33, 0x31, 0xc6, 0xe6,
1857 0x15, 0xcf, 0xa4, 0x82, 0xf9, 0x37, 0xc3, 0xba, 0x0c, 0x0b, 0xc7, 0x97, 0x7f, 0xb3, 0x35, 0xae,
1858 0x11, 0x62, 0x05, 0x7d, 0x73, 0xe1, 0x39, 0x3c, 0x87, 0x1a, 0x4e, 0x21, 0xcc, 0x37, 0xa7, 0x7a,
1859 0xd7, 0xb3, 0x05, 0xdf, 0x73, 0x6b, 0x38, 0x01, 0x62, 0xae, 0x7a, 0x35, 0x5f, 0xf0, 0xb9, 0x8f,
1860 0xb8, 0x0c, 0x40, 0x32, 0x54, 0xc5, 0x31, 0x18, 0x0e, 0x3d, 0x8e, 0x48, 0xe6, 0x95, 0x9b, 0x0f,
1861 0x8b, 0x0a, 0x3c, 0xf0, 0x14, 0xc2, 0xec, 0x32, 0xfb, 0x21, 0xbb, 0x11, 0x66, 0x1c, 0x03, 0xeb,
1862 0x2b, 0x76, 0xeb, 0x9e, 0x15, 0xab, 0x0e, 0xce, 0x46, 0xa1, 0x44, 0x33, 0xb4, 0x11, 0x03, 0xac,
1863 0x6a, 0x13, 0xd7, 0x16, 0x43, 0xd7, 0xc4, 0x21, 0xa1, 0x98, 0xf0, 0x48, 0xd7, 0x26, 0x63, 0xdf,
1864 0xbc, 0xbc, 0xb4, 0x67, 0xc6, 0xec, 0x9a, 0x58, 0x4b, 0x87, 0xf8, 0x01, 0x52, 0xa1, 0x4d, 0x19,
1865 0x98, 0x40, 0xbc, 0x41, 0x8d, 0x57, 0x4f, 0x8e, 0x32, 0x17, 0xa1, 0x35, 0x4d, 0xbc, 0xaa, 0xa7,
1866 0x1c, 0x42, 0x59, 0xd7, 0x26, 0x01, 0x3a, 0x80, 0x8a, 0x4d, 0xc9, 0x3c, 0xda, 0x07, 0xa3, 0x79,
1867 0xd6, 0xb5, 0x09, 0x0e, 0x19, 0xca, 0x8f, 0x50, 0x33, 0xa2, 0x25, 0xff, 0x34, 0x2b, 0xbd, 0x3a,
1868 0x4b, 0x42, 0xe3, 0x10, 0xca, 0x13, 0x4d, 0xbd, 0xd7, 0x36, 0x5b, 0x2b, 0xb1, 0x6d, 0x60, 0x9e,
1869 0xc8, 0xc7, 0x25, 0x09, 0xe8, 0x43, 0xae, 0x0f, 0xca, 0x73, 0x80, 0x91, 0xae, 0x45, 0x1a, 0x99,
1870 0x63, 0xa6, 0xb0, 0x72, 0xcc, 0x28, 0x43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cc, 0xd7, 0xd6, 0x8e, 0x58,
1893 0x5b, 0xd9, 0x04, 0x70, 0x4a, 0x50, 0xf9, 0x08, 0x6d, 0x7d, 0x38, 0xce, 0xc4, 0x78, 0x00, 0x0d,
1894 0xbe, 0x59, 0x5d, 0x9a, 0x33, 0x22, 0x0e, 0xab, 0x26, 0x4e, 0x43, 0xf1, 0x1e, 0xc7, 0x48, 0x9e,
1895 0x49, 0x31, 0xb5, 0xc7, 0x45, 0xe0, 0x7d, 0x91, 0xb2, 0xab, 0x6b, 0xf3, 0x9c, 0xf8, 0x81, 0xed,
1896 0xb9, 0x22, 0x27, 0x19, 0xaa, 0x37, 0x21, 0x20, 0x6a, 0x12, 0x91, 0xac, 0x5e, 0x17, 0x4b, 0xdb,
1897 0xb1, 0xc6, 0xf6, 0x3c, 0xbe, 0xec, 0xc7, 0x00, 0xdb, 0xa9, 0x67, 0xfc, 0x3c, 0x7e, 0x67, 0x06,
1898 0xd7, 0xc2, 0x4b, 0x0a, 0x61, 0xda, 0x57, 0x36, 0x15, 0x41, 0x84, 0x37, 0xa7, 0x04, 0x50, 0xde,
1899 0x40, 0x6d, 0xe8, 0x5d, 0x0d, 0xc9, 0x0d, 0x71, 0x58, 0x07, 0x1d, 0xf6, 0x21, 0xfc, 0x87, 0x04,
1900 0xcb, 0x60, 0x66, 0x3a, 0x8e, 0xe8, 0x44, 0x0d, 0x0b, 0x4a, 0xe9, 0x43, 0x0d, 0x93, 0x60, 0xe1,
1901 0xb9, 0x01, 0x41, 0x4f, 0xa0, 0x11, 0x70, 0x7b, 0xd3, 0x99, 0x67, 0x11, 0x71, 0xb4, 0x43, 0x08,
1902 0x75, 0x3d, 0x8b, 0xb0, 0xe4, 0xe6, 0x24, 0x08, 0xcc, 0xab, 0x28, 0x81, 0x88, 0x54, 0xfe, 0x56,
1903 0x80, 0x06, 0x3b, 0x8b, 0xa2, 0xc2, 0x3f, 0x83, 0x4d, 0xdd, 0x5d, 0x62, 0xf2, 0x51, 0xec, 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x77, 0x65, 0xd3, 0xeb, 0xe5, 0xc5, 0xd1, 0xcc, 0x9b, 0xf3, 0xff, 0x8d, 0x67, 0x9e, 0x6f,
1938 0x89, 0x3f, 0x9a, 0xe3, 0xbf, 0x9c, 0x2f, 0x36, 0xf9, 0xff, 0xc4, 0xaf, 0xff, 0x17, 0x00, 0x00,
1939 0xff, 0xff, 0xa6, 0x6b, 0x61, 0xb9, 0x86, 0x16, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001940}
1941
1942// Reference imports to suppress errors if they are not otherwise used.
1943var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04001944var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001945
1946// This is a compile-time assertion to ensure that this generated file
1947// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04001948const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001949
1950// BBSimClient is the client API for BBSim service.
1951//
1952// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1953type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07001954 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001955 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001956 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05301957 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001958 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001959 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001960 GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001961 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001962 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001963 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001964 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001965 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001966 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001967 // Closes the Openolt gRPC server
1968 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1969 // Start the Openolt gRPC server
1970 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05301971 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001972 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001973 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001974 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001975 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05301976 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001977 // Get all the Services by Uni ID
1978 GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001979 // Get all the UNIs of an ONU by serial number
1980 GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001981 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001982 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001983 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301984 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001985 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301986 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001987 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001988 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001989 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05301990 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001991 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05301992 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001993 // Restart EAPOL for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07001994 RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001995 // Restart DHCP for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07001996 RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001997 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05301998 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07001999 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302000 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002001 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302002 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002003 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002004 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002005 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302006 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002007 //Return all the UNIs for all the ONUs
2008 GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error)
Elia Battistonfe017662022-01-05 11:43:16 +01002009 //Invalidate the MDS counter for the ONU
2010 InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002011}
2012
2013type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04002014 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002015}
2016
Kent Hagerman60d62302020-03-10 17:02:36 -04002017func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002018 return &bBSimClient{cc}
2019}
2020
2021func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
2022 out := new(VersionNumber)
2023 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
2024 if err != nil {
2025 return nil, err
2026 }
2027 return out, nil
2028}
2029
Pragya Aryabd731ec2020-02-11 16:38:17 +05302030func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
2031 out := new(LogLevel)
2032 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
2033 if err != nil {
2034 return nil, err
2035 }
2036 return out, nil
2037}
2038
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002039func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
2040 out := new(Olt)
2041 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
2042 if err != nil {
2043 return nil, err
2044 }
2045 return out, nil
2046}
2047
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002048func (c *bBSimClient) GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) {
2049 out := new(OltAllocatedResources)
2050 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOltAllocatedResources", in, out, opts...)
2051 if err != nil {
2052 return nil, err
2053 }
2054 return out, nil
2055}
2056
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002057func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2058 out := new(Response)
2059 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
2060 if err != nil {
2061 return nil, err
2062 }
2063 return out, nil
2064}
2065
2066func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2067 out := new(Response)
2068 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
2069 if err != nil {
2070 return nil, err
2071 }
2072 return out, nil
2073}
2074
2075func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2076 out := new(Response)
2077 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
2078 if err != nil {
2079 return nil, err
2080 }
2081 return out, nil
2082}
2083
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002084func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2085 out := new(Response)
2086 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
2087 if err != nil {
2088 return nil, err
2089 }
2090 return out, nil
2091}
2092
2093func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2094 out := new(Response)
2095 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
2096 if err != nil {
2097 return nil, err
2098 }
2099 return out, nil
2100}
2101
2102func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
2103 out := new(Response)
2104 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
2105 if err != nil {
2106 return nil, err
2107 }
2108 return out, nil
2109}
2110
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002111func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
2112 out := new(ONU)
2113 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
2114 if err != nil {
2115 return nil, err
2116 }
2117 return out, nil
2118}
2119
Pragya Aryabd731ec2020-02-11 16:38:17 +05302120func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
2121 out := new(ONUs)
2122 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002123 if err != nil {
2124 return nil, err
2125 }
2126 return out, nil
2127}
2128
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002129func (c *bBSimClient) GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002130 out := new(Services)
2131 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
2132 if err != nil {
2133 return nil, err
2134 }
2135 return out, nil
2136}
2137
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002138func (c *bBSimClient) GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error) {
2139 out := new(UNIs)
2140 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuUnis", in, out, opts...)
2141 if err != nil {
2142 return nil, err
2143 }
2144 return out, nil
2145}
2146
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002147func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2148 out := new(Response)
2149 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
2150 if err != nil {
2151 return nil, err
2152 }
2153 return out, nil
2154}
2155
Pragya Aryabd731ec2020-02-11 16:38:17 +05302156func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2157 out := new(Response)
2158 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
2159 if err != nil {
2160 return nil, err
2161 }
2162 return out, nil
2163}
2164
2165func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2166 out := new(Response)
2167 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
2168 if err != nil {
2169 return nil, err
2170 }
2171 return out, nil
2172}
2173
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002174func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2175 out := new(Response)
2176 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
2177 if err != nil {
2178 return nil, err
2179 }
2180 return out, nil
2181}
2182
Pragya Aryabd731ec2020-02-11 16:38:17 +05302183func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2184 out := new(Response)
2185 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
2186 if err != nil {
2187 return nil, err
2188 }
2189 return out, nil
2190}
2191
2192func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2193 out := new(Response)
2194 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
2195 if err != nil {
2196 return nil, err
2197 }
2198 return out, nil
2199}
2200
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002201func (c *bBSimClient) RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002202 out := new(Response)
2203 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
2204 if err != nil {
2205 return nil, err
2206 }
2207 return out, nil
2208}
2209
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002210func (c *bBSimClient) RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002211 out := new(Response)
2212 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
2213 if err != nil {
2214 return nil, err
2215 }
2216 return out, nil
2217}
2218
Anand S Katti86552f92020-03-03 21:56:32 +05302219func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08002220 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05302221 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
2222 if err != nil {
2223 return nil, err
2224 }
2225 return out, nil
2226}
2227
2228func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
2229 out := new(Response)
2230 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08002231 if err != nil {
2232 return nil, err
2233 }
2234 return out, nil
2235}
2236
Pragya Arya8bdb4532020-03-02 17:08:09 +05302237func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
2238 out := new(Flows)
2239 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
2240 if err != nil {
2241 return nil, err
2242 }
2243 return out, nil
2244}
2245
Arjun E K57a7fcb2020-01-30 06:44:45 +00002246func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
2247 out := new(Response)
2248 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
2249 if err != nil {
2250 return nil, err
2251 }
2252 return out, nil
2253}
2254
Anand S Katti09541352020-01-29 15:54:01 +05302255func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
2256 out := new(ONUTrafficSchedulers)
2257 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
2258 if err != nil {
2259 return nil, err
2260 }
2261 return out, nil
2262}
2263
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002264func (c *bBSimClient) GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error) {
2265 out := new(UNIs)
2266 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetUnis", in, out, opts...)
2267 if err != nil {
2268 return nil, err
2269 }
2270 return out, nil
2271}
2272
Elia Battistonfe017662022-01-05 11:43:16 +01002273func (c *bBSimClient) InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2274 out := new(Response)
2275 err := c.cc.Invoke(ctx, "/bbsim.BBSim/InvalidateMds", in, out, opts...)
2276 if err != nil {
2277 return nil, err
2278 }
2279 return out, nil
2280}
2281
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002282// BBSimServer is the server API for BBSim service.
2283type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002284 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002285 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002286 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302287 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002288 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002289 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002290 GetOltAllocatedResources(context.Context, *OltAllocatedResourceType) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002291 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002292 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002293 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002294 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002295 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002296 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002297 // Closes the Openolt gRPC server
2298 StopgRPCServer(context.Context, *Empty) (*Response, error)
2299 // Start the Openolt gRPC server
2300 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302301 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002302 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002303 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002304 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002305 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302306 GetONUs(context.Context, *Empty) (*ONUs, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002307 // Get all the Services by Uni ID
2308 GetServices(context.Context, *UNIRequest) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002309 // Get all the UNIs of an ONU by serial number
2310 GetOnuUnis(context.Context, *ONURequest) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002311 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002312 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002313 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302314 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002315 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302316 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002317 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002318 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002319 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302320 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002321 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302322 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002323 // Restart EAPOL for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002324 RestartEapol(context.Context, *UNIRequest) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002325 // Restart DHCP for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002326 RestartDhcp(context.Context, *UNIRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002327 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302328 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002329 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302330 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002331 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302332 GetFlows(context.Context, *ONURequest) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002333 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002334 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002335 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302336 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002337 //Return all the UNIs for all the ONUs
2338 GetUnis(context.Context, *Empty) (*UNIs, error)
Elia Battistonfe017662022-01-05 11:43:16 +01002339 //Invalidate the MDS counter for the ONU
2340 InvalidateMds(context.Context, *ONURequest) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002341}
2342
Pragya Aryabd731ec2020-02-11 16:38:17 +05302343// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
2344type UnimplementedBBSimServer struct {
2345}
2346
2347func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
2348 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
2349}
2350func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
2351 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2352}
2353func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
2354 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
2355}
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002356func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error) {
2357 return nil, status.Errorf(codes.Unimplemented, "method GetOltAllocatedResources not implemented")
2358}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302359func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
2360 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
2361}
2362func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
2363 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
2364}
2365func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
2366 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
2367}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002368func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2369 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
2370}
2371func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2372 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
2373}
2374func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
2375 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
2376}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302377func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
2378 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
2379}
2380func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
2381 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
2382}
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002383func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *UNIRequest) (*Services, error) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002384 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
2385}
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002386func (*UnimplementedBBSimServer) GetOnuUnis(ctx context.Context, req *ONURequest) (*UNIs, error) {
2387 return nil, status.Errorf(codes.Unimplemented, "method GetOnuUnis not implemented")
2388}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302389func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
2390 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
2391}
2392func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2393 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
2394}
2395func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2396 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
2397}
2398func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
2399 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
2400}
2401func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2402 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
2403}
2404func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2405 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
2406}
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002407func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *UNIRequest) (*Response, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302408 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
2409}
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002410func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *UNIRequest) (*Response, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302411 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
2412}
2413func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
2414 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
2415}
2416func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
2417 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
2418}
2419func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
2420 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
2421}
2422func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
2423 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
2424}
2425func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
2426 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
2427}
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002428func (*UnimplementedBBSimServer) GetUnis(ctx context.Context, req *Empty) (*UNIs, error) {
2429 return nil, status.Errorf(codes.Unimplemented, "method GetUnis not implemented")
2430}
Elia Battistonfe017662022-01-05 11:43:16 +01002431func (*UnimplementedBBSimServer) InvalidateMds(ctx context.Context, req *ONURequest) (*Response, error) {
2432 return nil, status.Errorf(codes.Unimplemented, "method InvalidateMds not implemented")
2433}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302434
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002435func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
2436 s.RegisterService(&_BBSim_serviceDesc, srv)
2437}
2438
2439func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2440 in := new(Empty)
2441 if err := dec(in); err != nil {
2442 return nil, err
2443 }
2444 if interceptor == nil {
2445 return srv.(BBSimServer).Version(ctx, in)
2446 }
2447 info := &grpc.UnaryServerInfo{
2448 Server: srv,
2449 FullMethod: "/bbsim.BBSim/Version",
2450 }
2451 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2452 return srv.(BBSimServer).Version(ctx, req.(*Empty))
2453 }
2454 return interceptor(ctx, in, info, handler)
2455}
2456
Pragya Aryabd731ec2020-02-11 16:38:17 +05302457func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2458 in := new(LogLevel)
2459 if err := dec(in); err != nil {
2460 return nil, err
2461 }
2462 if interceptor == nil {
2463 return srv.(BBSimServer).SetLogLevel(ctx, in)
2464 }
2465 info := &grpc.UnaryServerInfo{
2466 Server: srv,
2467 FullMethod: "/bbsim.BBSim/SetLogLevel",
2468 }
2469 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2470 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
2471 }
2472 return interceptor(ctx, in, info, handler)
2473}
2474
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002475func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2476 in := new(Empty)
2477 if err := dec(in); err != nil {
2478 return nil, err
2479 }
2480 if interceptor == nil {
2481 return srv.(BBSimServer).GetOlt(ctx, in)
2482 }
2483 info := &grpc.UnaryServerInfo{
2484 Server: srv,
2485 FullMethod: "/bbsim.BBSim/GetOlt",
2486 }
2487 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2488 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
2489 }
2490 return interceptor(ctx, in, info, handler)
2491}
2492
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002493func _BBSim_GetOltAllocatedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2494 in := new(OltAllocatedResourceType)
2495 if err := dec(in); err != nil {
2496 return nil, err
2497 }
2498 if interceptor == nil {
2499 return srv.(BBSimServer).GetOltAllocatedResources(ctx, in)
2500 }
2501 info := &grpc.UnaryServerInfo{
2502 Server: srv,
2503 FullMethod: "/bbsim.BBSim/GetOltAllocatedResources",
2504 }
2505 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2506 return srv.(BBSimServer).GetOltAllocatedResources(ctx, req.(*OltAllocatedResourceType))
2507 }
2508 return interceptor(ctx, in, info, handler)
2509}
2510
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002511func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2512 in := new(Empty)
2513 if err := dec(in); err != nil {
2514 return nil, err
2515 }
2516 if interceptor == nil {
2517 return srv.(BBSimServer).PoweronOlt(ctx, in)
2518 }
2519 info := &grpc.UnaryServerInfo{
2520 Server: srv,
2521 FullMethod: "/bbsim.BBSim/PoweronOlt",
2522 }
2523 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2524 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
2525 }
2526 return interceptor(ctx, in, info, handler)
2527}
2528
2529func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2530 in := new(Empty)
2531 if err := dec(in); err != nil {
2532 return nil, err
2533 }
2534 if interceptor == nil {
2535 return srv.(BBSimServer).ShutdownOlt(ctx, in)
2536 }
2537 info := &grpc.UnaryServerInfo{
2538 Server: srv,
2539 FullMethod: "/bbsim.BBSim/ShutdownOlt",
2540 }
2541 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2542 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
2543 }
2544 return interceptor(ctx, in, info, handler)
2545}
2546
2547func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2548 in := new(Empty)
2549 if err := dec(in); err != nil {
2550 return nil, err
2551 }
2552 if interceptor == nil {
2553 return srv.(BBSimServer).RebootOlt(ctx, in)
2554 }
2555 info := &grpc.UnaryServerInfo{
2556 Server: srv,
2557 FullMethod: "/bbsim.BBSim/RebootOlt",
2558 }
2559 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2560 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
2561 }
2562 return interceptor(ctx, in, info, handler)
2563}
2564
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002565func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2566 in := new(Empty)
2567 if err := dec(in); err != nil {
2568 return nil, err
2569 }
2570 if interceptor == nil {
2571 return srv.(BBSimServer).StopgRPCServer(ctx, in)
2572 }
2573 info := &grpc.UnaryServerInfo{
2574 Server: srv,
2575 FullMethod: "/bbsim.BBSim/StopgRPCServer",
2576 }
2577 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2578 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
2579 }
2580 return interceptor(ctx, in, info, handler)
2581}
2582
2583func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2584 in := new(Empty)
2585 if err := dec(in); err != nil {
2586 return nil, err
2587 }
2588 if interceptor == nil {
2589 return srv.(BBSimServer).StartgRPCServer(ctx, in)
2590 }
2591 info := &grpc.UnaryServerInfo{
2592 Server: srv,
2593 FullMethod: "/bbsim.BBSim/StartgRPCServer",
2594 }
2595 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2596 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
2597 }
2598 return interceptor(ctx, in, info, handler)
2599}
2600
2601func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2602 in := new(Timeout)
2603 if err := dec(in); err != nil {
2604 return nil, err
2605 }
2606 if interceptor == nil {
2607 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
2608 }
2609 info := &grpc.UnaryServerInfo{
2610 Server: srv,
2611 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2612 }
2613 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2614 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2615 }
2616 return interceptor(ctx, in, info, handler)
2617}
2618
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002619func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2620 in := new(ONURequest)
2621 if err := dec(in); err != nil {
2622 return nil, err
2623 }
2624 if interceptor == nil {
2625 return srv.(BBSimServer).GetONU(ctx, in)
2626 }
2627 info := &grpc.UnaryServerInfo{
2628 Server: srv,
2629 FullMethod: "/bbsim.BBSim/GetONU",
2630 }
2631 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2632 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2633 }
2634 return interceptor(ctx, in, info, handler)
2635}
2636
Pragya Aryabd731ec2020-02-11 16:38:17 +05302637func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2638 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002639 if err := dec(in); err != nil {
2640 return nil, err
2641 }
2642 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302643 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002644 }
2645 info := &grpc.UnaryServerInfo{
2646 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302647 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002648 }
2649 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302650 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002651 }
2652 return interceptor(ctx, in, info, handler)
2653}
2654
Matteo Scandolo4a036262020-08-17 15:56:13 -07002655func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002656 in := new(UNIRequest)
Matteo Scandolo4a036262020-08-17 15:56:13 -07002657 if err := dec(in); err != nil {
2658 return nil, err
2659 }
2660 if interceptor == nil {
2661 return srv.(BBSimServer).GetServices(ctx, in)
2662 }
2663 info := &grpc.UnaryServerInfo{
2664 Server: srv,
2665 FullMethod: "/bbsim.BBSim/GetServices",
2666 }
2667 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002668 return srv.(BBSimServer).GetServices(ctx, req.(*UNIRequest))
Matteo Scandolo4a036262020-08-17 15:56:13 -07002669 }
2670 return interceptor(ctx, in, info, handler)
2671}
2672
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002673func _BBSim_GetOnuUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2674 in := new(ONURequest)
2675 if err := dec(in); err != nil {
2676 return nil, err
2677 }
2678 if interceptor == nil {
2679 return srv.(BBSimServer).GetOnuUnis(ctx, in)
2680 }
2681 info := &grpc.UnaryServerInfo{
2682 Server: srv,
2683 FullMethod: "/bbsim.BBSim/GetOnuUnis",
2684 }
2685 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2686 return srv.(BBSimServer).GetOnuUnis(ctx, req.(*ONURequest))
2687 }
2688 return interceptor(ctx, in, info, handler)
2689}
2690
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002691func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2692 in := new(ONURequest)
2693 if err := dec(in); err != nil {
2694 return nil, err
2695 }
2696 if interceptor == nil {
2697 return srv.(BBSimServer).ShutdownONU(ctx, in)
2698 }
2699 info := &grpc.UnaryServerInfo{
2700 Server: srv,
2701 FullMethod: "/bbsim.BBSim/ShutdownONU",
2702 }
2703 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2704 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2705 }
2706 return interceptor(ctx, in, info, handler)
2707}
2708
Pragya Aryabd731ec2020-02-11 16:38:17 +05302709func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2710 in := new(Empty)
2711 if err := dec(in); err != nil {
2712 return nil, err
2713 }
2714 if interceptor == nil {
2715 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2716 }
2717 info := &grpc.UnaryServerInfo{
2718 Server: srv,
2719 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2720 }
2721 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2722 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2723 }
2724 return interceptor(ctx, in, info, handler)
2725}
2726
2727func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2728 in := new(PONRequest)
2729 if err := dec(in); err != nil {
2730 return nil, err
2731 }
2732 if interceptor == nil {
2733 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2734 }
2735 info := &grpc.UnaryServerInfo{
2736 Server: srv,
2737 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2738 }
2739 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2740 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2741 }
2742 return interceptor(ctx, in, info, handler)
2743}
2744
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002745func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2746 in := new(ONURequest)
2747 if err := dec(in); err != nil {
2748 return nil, err
2749 }
2750 if interceptor == nil {
2751 return srv.(BBSimServer).PoweronONU(ctx, in)
2752 }
2753 info := &grpc.UnaryServerInfo{
2754 Server: srv,
2755 FullMethod: "/bbsim.BBSim/PoweronONU",
2756 }
2757 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2758 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2759 }
2760 return interceptor(ctx, in, info, handler)
2761}
2762
Pragya Aryabd731ec2020-02-11 16:38:17 +05302763func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2764 in := new(Empty)
2765 if err := dec(in); err != nil {
2766 return nil, err
2767 }
2768 if interceptor == nil {
2769 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2770 }
2771 info := &grpc.UnaryServerInfo{
2772 Server: srv,
2773 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2774 }
2775 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2776 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2777 }
2778 return interceptor(ctx, in, info, handler)
2779}
2780
2781func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2782 in := new(PONRequest)
2783 if err := dec(in); err != nil {
2784 return nil, err
2785 }
2786 if interceptor == nil {
2787 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2788 }
2789 info := &grpc.UnaryServerInfo{
2790 Server: srv,
2791 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2792 }
2793 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2794 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2795 }
2796 return interceptor(ctx, in, info, handler)
2797}
2798
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002799func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002800 in := new(UNIRequest)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002801 if err := dec(in); err != nil {
2802 return nil, err
2803 }
2804 if interceptor == nil {
2805 return srv.(BBSimServer).RestartEapol(ctx, in)
2806 }
2807 info := &grpc.UnaryServerInfo{
2808 Server: srv,
2809 FullMethod: "/bbsim.BBSim/RestartEapol",
2810 }
2811 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002812 return srv.(BBSimServer).RestartEapol(ctx, req.(*UNIRequest))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002813 }
2814 return interceptor(ctx, in, info, handler)
2815}
2816
2817func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002818 in := new(UNIRequest)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002819 if err := dec(in); err != nil {
2820 return nil, err
2821 }
2822 if interceptor == nil {
2823 return srv.(BBSimServer).RestartDhcp(ctx, in)
2824 }
2825 info := &grpc.UnaryServerInfo{
2826 Server: srv,
2827 FullMethod: "/bbsim.BBSim/RestartDhcp",
2828 }
2829 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002830 return srv.(BBSimServer).RestartDhcp(ctx, req.(*UNIRequest))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002831 }
2832 return interceptor(ctx, in, info, handler)
2833}
2834
Anand S Katti86552f92020-03-03 21:56:32 +05302835func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2836 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002837 if err := dec(in); err != nil {
2838 return nil, err
2839 }
2840 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302841 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002842 }
2843 info := &grpc.UnaryServerInfo{
2844 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302845 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002846 }
2847 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302848 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2849 }
2850 return interceptor(ctx, in, info, handler)
2851}
2852
2853func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2854 in := new(OLTAlarmRequest)
2855 if err := dec(in); err != nil {
2856 return nil, err
2857 }
2858 if interceptor == nil {
2859 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2860 }
2861 info := &grpc.UnaryServerInfo{
2862 Server: srv,
2863 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2864 }
2865 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2866 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002867 }
2868 return interceptor(ctx, in, info, handler)
2869}
2870
Pragya Arya8bdb4532020-03-02 17:08:09 +05302871func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2872 in := new(ONURequest)
2873 if err := dec(in); err != nil {
2874 return nil, err
2875 }
2876 if interceptor == nil {
2877 return srv.(BBSimServer).GetFlows(ctx, in)
2878 }
2879 info := &grpc.UnaryServerInfo{
2880 Server: srv,
2881 FullMethod: "/bbsim.BBSim/GetFlows",
2882 }
2883 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2884 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2885 }
2886 return interceptor(ctx, in, info, handler)
2887}
2888
Arjun E K57a7fcb2020-01-30 06:44:45 +00002889func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2890 in := new(IgmpRequest)
2891 if err := dec(in); err != nil {
2892 return nil, err
2893 }
2894 if interceptor == nil {
2895 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
2896 }
2897 info := &grpc.UnaryServerInfo{
2898 Server: srv,
2899 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
2900 }
2901 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2902 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
2903 }
2904 return interceptor(ctx, in, info, handler)
2905}
2906
Anand S Katti09541352020-01-29 15:54:01 +05302907func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2908 in := new(ONURequest)
2909 if err := dec(in); err != nil {
2910 return nil, err
2911 }
2912 if interceptor == nil {
2913 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
2914 }
2915 info := &grpc.UnaryServerInfo{
2916 Server: srv,
2917 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
2918 }
2919 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2920 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
2921 }
2922 return interceptor(ctx, in, info, handler)
2923}
2924
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002925func _BBSim_GetUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2926 in := new(Empty)
2927 if err := dec(in); err != nil {
2928 return nil, err
2929 }
2930 if interceptor == nil {
2931 return srv.(BBSimServer).GetUnis(ctx, in)
2932 }
2933 info := &grpc.UnaryServerInfo{
2934 Server: srv,
2935 FullMethod: "/bbsim.BBSim/GetUnis",
2936 }
2937 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2938 return srv.(BBSimServer).GetUnis(ctx, req.(*Empty))
2939 }
2940 return interceptor(ctx, in, info, handler)
2941}
2942
Elia Battistonfe017662022-01-05 11:43:16 +01002943func _BBSim_InvalidateMds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2944 in := new(ONURequest)
2945 if err := dec(in); err != nil {
2946 return nil, err
2947 }
2948 if interceptor == nil {
2949 return srv.(BBSimServer).InvalidateMds(ctx, in)
2950 }
2951 info := &grpc.UnaryServerInfo{
2952 Server: srv,
2953 FullMethod: "/bbsim.BBSim/InvalidateMds",
2954 }
2955 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2956 return srv.(BBSimServer).InvalidateMds(ctx, req.(*ONURequest))
2957 }
2958 return interceptor(ctx, in, info, handler)
2959}
2960
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002961var _BBSim_serviceDesc = grpc.ServiceDesc{
2962 ServiceName: "bbsim.BBSim",
2963 HandlerType: (*BBSimServer)(nil),
2964 Methods: []grpc.MethodDesc{
2965 {
2966 MethodName: "Version",
2967 Handler: _BBSim_Version_Handler,
2968 },
2969 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302970 MethodName: "SetLogLevel",
2971 Handler: _BBSim_SetLogLevel_Handler,
2972 },
2973 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002974 MethodName: "GetOlt",
2975 Handler: _BBSim_GetOlt_Handler,
2976 },
2977 {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002978 MethodName: "GetOltAllocatedResources",
2979 Handler: _BBSim_GetOltAllocatedResources_Handler,
2980 },
2981 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002982 MethodName: "PoweronOlt",
2983 Handler: _BBSim_PoweronOlt_Handler,
2984 },
2985 {
2986 MethodName: "ShutdownOlt",
2987 Handler: _BBSim_ShutdownOlt_Handler,
2988 },
2989 {
2990 MethodName: "RebootOlt",
2991 Handler: _BBSim_RebootOlt_Handler,
2992 },
2993 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002994 MethodName: "StopgRPCServer",
2995 Handler: _BBSim_StopgRPCServer_Handler,
2996 },
2997 {
2998 MethodName: "StartgRPCServer",
2999 Handler: _BBSim_StartgRPCServer_Handler,
3000 },
3001 {
3002 MethodName: "RestartgRPCServer",
3003 Handler: _BBSim_RestartgRPCServer_Handler,
3004 },
3005 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003006 MethodName: "GetONU",
3007 Handler: _BBSim_GetONU_Handler,
3008 },
3009 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303010 MethodName: "GetONUs",
3011 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003012 },
3013 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07003014 MethodName: "GetServices",
3015 Handler: _BBSim_GetServices_Handler,
3016 },
3017 {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07003018 MethodName: "GetOnuUnis",
3019 Handler: _BBSim_GetOnuUnis_Handler,
3020 },
3021 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003022 MethodName: "ShutdownONU",
3023 Handler: _BBSim_ShutdownONU_Handler,
3024 },
3025 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303026 MethodName: "ShutdownAllONUs",
3027 Handler: _BBSim_ShutdownAllONUs_Handler,
3028 },
3029 {
3030 MethodName: "ShutdownONUsOnPON",
3031 Handler: _BBSim_ShutdownONUsOnPON_Handler,
3032 },
3033 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003034 MethodName: "PoweronONU",
3035 Handler: _BBSim_PoweronONU_Handler,
3036 },
3037 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303038 MethodName: "PoweronAllONUs",
3039 Handler: _BBSim_PoweronAllONUs_Handler,
3040 },
3041 {
3042 MethodName: "PoweronONUsOnPON",
3043 Handler: _BBSim_PoweronONUsOnPON_Handler,
3044 },
3045 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003046 MethodName: "RestartEapol",
3047 Handler: _BBSim_RestartEapol_Handler,
3048 },
3049 {
3050 MethodName: "RestartDhcp",
3051 Handler: _BBSim_RestartDhcp_Handler,
3052 },
Scott Baker41724b82020-01-21 19:54:53 -08003053 {
Anand S Katti86552f92020-03-03 21:56:32 +05303054 MethodName: "SetOnuAlarmIndication",
3055 Handler: _BBSim_SetOnuAlarmIndication_Handler,
3056 },
3057 {
3058 MethodName: "SetOltAlarmIndication",
3059 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08003060 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00003061 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05303062 MethodName: "GetFlows",
3063 Handler: _BBSim_GetFlows_Handler,
3064 },
3065 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00003066 MethodName: "ChangeIgmpState",
3067 Handler: _BBSim_ChangeIgmpState_Handler,
3068 },
Anand S Katti09541352020-01-29 15:54:01 +05303069 {
3070 MethodName: "GetOnuTrafficSchedulers",
3071 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
3072 },
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07003073 {
3074 MethodName: "GetUnis",
3075 Handler: _BBSim_GetUnis_Handler,
3076 },
Elia Battistonfe017662022-01-05 11:43:16 +01003077 {
3078 MethodName: "InvalidateMds",
3079 Handler: _BBSim_InvalidateMds_Handler,
3080 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003081 },
3082 Streams: []grpc.StreamDesc{},
3083 Metadata: "api/bbsim/bbsim.proto",
3084}