blob: ce9f1cec79b2e592e02a791ef9b850628d4f43a5 [file] [log] [blame]
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: api/bbsim/bbsim.proto
3
4package bbsim
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
David K. Bainbridgec415efe2021-08-19 13:05:21 +000010 openolt "github.com/opencord/voltha-protos/v5/go/openolt"
11 tech_profile "github.com/opencord/voltha-protos/v5/go/tech_profile"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070012 grpc "google.golang.org/grpc"
Pragya Aryabd731ec2020-02-11 16:38:17 +053013 codes "google.golang.org/grpc/codes"
14 status "google.golang.org/grpc/status"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070015 math "math"
16)
17
18// Reference imports to suppress errors if they are not otherwise used.
19var _ = proto.Marshal
20var _ = fmt.Errorf
21var _ = math.Inf
22
23// This is a compile-time assertion to ensure that this generated file
24// is compatible with the proto package it is being compiled against.
25// A compilation error at this line likely means your copy of the
26// proto package needs to be updated.
27const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
28
Elia Battistonac63b112022-01-12 18:40:49 +010029type UniType int32
30
31const (
32 UniType_ETH UniType = 0
33 UniType_POTS UniType = 1
34)
35
36var UniType_name = map[int32]string{
37 0: "ETH",
38 1: "POTS",
39}
40
41var UniType_value = map[string]int32{
42 "ETH": 0,
43 "POTS": 1,
44}
45
46func (x UniType) String() string {
47 return proto.EnumName(UniType_name, int32(x))
48}
49
50func (UniType) EnumDescriptor() ([]byte, []int) {
51 return fileDescriptor_ef7750073d18011b, []int{0}
52}
53
Arjun E K57a7fcb2020-01-30 06:44:45 +000054type SubActionTypes int32
55
56const (
Arjun E Kdd443f02020-02-07 15:24:01 +000057 SubActionTypes_JOIN SubActionTypes = 0
58 SubActionTypes_LEAVE SubActionTypes = 1
59 SubActionTypes_JOINV3 SubActionTypes = 2
Arjun E K57a7fcb2020-01-30 06:44:45 +000060)
61
62var SubActionTypes_name = map[int32]string{
63 0: "JOIN",
64 1: "LEAVE",
Arjun E Kdd443f02020-02-07 15:24:01 +000065 2: "JOINV3",
Arjun E K57a7fcb2020-01-30 06:44:45 +000066}
67
68var SubActionTypes_value = map[string]int32{
Arjun E Kdd443f02020-02-07 15:24:01 +000069 "JOIN": 0,
70 "LEAVE": 1,
71 "JOINV3": 2,
Arjun E K57a7fcb2020-01-30 06:44:45 +000072}
73
74func (x SubActionTypes) String() string {
75 return proto.EnumName(SubActionTypes_name, int32(x))
76}
77
78func (SubActionTypes) EnumDescriptor() ([]byte, []int) {
Elia Battistonac63b112022-01-12 18:40:49 +010079 return fileDescriptor_ef7750073d18011b, []int{1}
Arjun E K57a7fcb2020-01-30 06:44:45 +000080}
81
Matteo Scandolo4b077aa2021-02-16 17:33:37 -080082type OltAllocatedResourceType_Type int32
83
84const (
85 OltAllocatedResourceType_UNKNOWN OltAllocatedResourceType_Type = 0
86 OltAllocatedResourceType_ALLOC_ID OltAllocatedResourceType_Type = 1
87 OltAllocatedResourceType_GEM_PORT OltAllocatedResourceType_Type = 2
88)
89
90var OltAllocatedResourceType_Type_name = map[int32]string{
91 0: "UNKNOWN",
92 1: "ALLOC_ID",
93 2: "GEM_PORT",
94}
95
96var OltAllocatedResourceType_Type_value = map[string]int32{
97 "UNKNOWN": 0,
98 "ALLOC_ID": 1,
99 "GEM_PORT": 2,
100}
101
102func (x OltAllocatedResourceType_Type) String() string {
103 return proto.EnumName(OltAllocatedResourceType_Type_name, int32(x))
104}
105
106func (OltAllocatedResourceType_Type) EnumDescriptor() ([]byte, []int) {
107 return fileDescriptor_ef7750073d18011b, []int{4, 0}
108}
109
Scott Baker41724b82020-01-21 19:54:53 -0800110// These types correspond to the messages permitted in the oneof
111// in AlarmIndication in the openolt protos
112type AlarmType_Types int32
113
114const (
115 AlarmType_LOS AlarmType_Types = 0
116 AlarmType_DYING_GASP AlarmType_Types = 1
117 AlarmType_ONU_ALARM AlarmType_Types = 2
118 AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3
119 AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4
120 AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5
121 AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6
122 AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7
123 AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8
124 AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9
125 AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10
126 AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11
127 AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12
128 // These break out ONU_ALARM, which is a single message, but
129 // includes statuses for these six alarms.
130 AlarmType_ONU_ALARM_LOS AlarmType_Types = 13
131 AlarmType_ONU_ALARM_LOB AlarmType_Types = 14
132 AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15
133 AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16
134 AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17
135 AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18
136)
137
138var AlarmType_Types_name = map[int32]string{
139 0: "LOS",
140 1: "DYING_GASP",
141 2: "ONU_ALARM",
142 3: "ONU_STARTUP_FAILURE",
143 4: "ONU_SIGNAL_DEGRADE",
144 5: "ONU_DRIFT_OF_WINDOW",
145 6: "ONU_LOSS_OF_OMCI_CHANNEL",
146 7: "ONU_SIGNALS_FAILURE",
147 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING",
148 9: "ONU_ACTIVATION_FAILURE",
149 10: "ONU_PROCESSING_ERROR",
150 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE",
151 12: "ONU_ITU_PON_STATS",
152 13: "ONU_ALARM_LOS",
153 14: "ONU_ALARM_LOB",
154 15: "ONU_ALARM_LOPC_MISS",
155 16: "ONU_ALARM_LOPC_MIC_ERROR",
156 17: "ONU_ALARM_LOFI",
157 18: "ONU_ALARM_LOAMI",
158}
159
160var AlarmType_Types_value = map[string]int32{
161 "LOS": 0,
162 "DYING_GASP": 1,
163 "ONU_ALARM": 2,
164 "ONU_STARTUP_FAILURE": 3,
165 "ONU_SIGNAL_DEGRADE": 4,
166 "ONU_DRIFT_OF_WINDOW": 5,
167 "ONU_LOSS_OF_OMCI_CHANNEL": 6,
168 "ONU_SIGNALS_FAILURE": 7,
169 "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8,
170 "ONU_ACTIVATION_FAILURE": 9,
171 "ONU_PROCESSING_ERROR": 10,
172 "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11,
173 "ONU_ITU_PON_STATS": 12,
174 "ONU_ALARM_LOS": 13,
175 "ONU_ALARM_LOB": 14,
176 "ONU_ALARM_LOPC_MISS": 15,
177 "ONU_ALARM_LOPC_MIC_ERROR": 16,
178 "ONU_ALARM_LOFI": 17,
179 "ONU_ALARM_LOAMI": 18,
180}
181
182func (x AlarmType_Types) String() string {
183 return proto.EnumName(AlarmType_Types_name, int32(x))
184}
185
186func (AlarmType_Types) EnumDescriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -0700187 return fileDescriptor_ef7750073d18011b, []int{17, 0}
Scott Baker41724b82020-01-21 19:54:53 -0800188}
189
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700190type PONPort struct {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800191 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
192 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
193 InternalState string `protobuf:"bytes,3,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
194 PacketCount uint64 `protobuf:"varint,4,opt,name=PacketCount,proto3" json:"PacketCount,omitempty"`
195 // ONU ID are reported by VOLTHA in the ActivateOnu call
196 AllocatedOnuIds []*PonAllocatedResources `protobuf:"bytes,5,rep,name=AllocatedOnuIds,proto3" json:"AllocatedOnuIds,omitempty"`
197 // these are the stored resource IDs as reported via OMCI
198 AllocatedGemPorts []*PonAllocatedResources `protobuf:"bytes,6,rep,name=AllocatedGemPorts,proto3" json:"AllocatedGemPorts,omitempty"`
199 AllocatedAllocIds []*PonAllocatedResources `protobuf:"bytes,7,rep,name=AllocatedAllocIds,proto3" json:"AllocatedAllocIds,omitempty"`
200 XXX_NoUnkeyedLiteral struct{} `json:"-"`
201 XXX_unrecognized []byte `json:"-"`
202 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700203}
204
205func (m *PONPort) Reset() { *m = PONPort{} }
206func (m *PONPort) String() string { return proto.CompactTextString(m) }
207func (*PONPort) ProtoMessage() {}
208func (*PONPort) Descriptor() ([]byte, []int) {
209 return fileDescriptor_ef7750073d18011b, []int{0}
210}
211
212func (m *PONPort) XXX_Unmarshal(b []byte) error {
213 return xxx_messageInfo_PONPort.Unmarshal(m, b)
214}
215func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
216 return xxx_messageInfo_PONPort.Marshal(b, m, deterministic)
217}
218func (m *PONPort) XXX_Merge(src proto.Message) {
219 xxx_messageInfo_PONPort.Merge(m, src)
220}
221func (m *PONPort) XXX_Size() int {
222 return xxx_messageInfo_PONPort.Size(m)
223}
224func (m *PONPort) XXX_DiscardUnknown() {
225 xxx_messageInfo_PONPort.DiscardUnknown(m)
226}
227
228var xxx_messageInfo_PONPort proto.InternalMessageInfo
229
230func (m *PONPort) GetID() int32 {
231 if m != nil {
232 return m.ID
233 }
234 return 0
235}
236
237func (m *PONPort) GetOperState() string {
238 if m != nil {
239 return m.OperState
240 }
241 return ""
242}
243
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800244func (m *PONPort) GetInternalState() string {
245 if m != nil {
246 return m.InternalState
247 }
248 return ""
249}
250
251func (m *PONPort) GetPacketCount() uint64 {
252 if m != nil {
253 return m.PacketCount
254 }
255 return 0
256}
257
258func (m *PONPort) GetAllocatedOnuIds() []*PonAllocatedResources {
259 if m != nil {
260 return m.AllocatedOnuIds
261 }
262 return nil
263}
264
265func (m *PONPort) GetAllocatedGemPorts() []*PonAllocatedResources {
266 if m != nil {
267 return m.AllocatedGemPorts
268 }
269 return nil
270}
271
272func (m *PONPort) GetAllocatedAllocIds() []*PonAllocatedResources {
273 if m != nil {
274 return m.AllocatedAllocIds
275 }
276 return nil
277}
278
279type PonAllocatedResources struct {
280 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
281 Id int32 `protobuf:"varint,2,opt,name=Id,proto3" json:"Id,omitempty"`
282 XXX_NoUnkeyedLiteral struct{} `json:"-"`
283 XXX_unrecognized []byte `json:"-"`
284 XXX_sizecache int32 `json:"-"`
285}
286
287func (m *PonAllocatedResources) Reset() { *m = PonAllocatedResources{} }
288func (m *PonAllocatedResources) String() string { return proto.CompactTextString(m) }
289func (*PonAllocatedResources) ProtoMessage() {}
290func (*PonAllocatedResources) Descriptor() ([]byte, []int) {
291 return fileDescriptor_ef7750073d18011b, []int{1}
292}
293
294func (m *PonAllocatedResources) XXX_Unmarshal(b []byte) error {
295 return xxx_messageInfo_PonAllocatedResources.Unmarshal(m, b)
296}
297func (m *PonAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
298 return xxx_messageInfo_PonAllocatedResources.Marshal(b, m, deterministic)
299}
300func (m *PonAllocatedResources) XXX_Merge(src proto.Message) {
301 xxx_messageInfo_PonAllocatedResources.Merge(m, src)
302}
303func (m *PonAllocatedResources) XXX_Size() int {
304 return xxx_messageInfo_PonAllocatedResources.Size(m)
305}
306func (m *PonAllocatedResources) XXX_DiscardUnknown() {
307 xxx_messageInfo_PonAllocatedResources.DiscardUnknown(m)
308}
309
310var xxx_messageInfo_PonAllocatedResources proto.InternalMessageInfo
311
312func (m *PonAllocatedResources) GetSerialNumber() string {
313 if m != nil {
314 return m.SerialNumber
315 }
316 return ""
317}
318
319func (m *PonAllocatedResources) GetId() int32 {
320 if m != nil {
321 return m.Id
322 }
323 return 0
324}
325
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700326type NNIPort struct {
327 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
328 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
329 XXX_NoUnkeyedLiteral struct{} `json:"-"`
330 XXX_unrecognized []byte `json:"-"`
331 XXX_sizecache int32 `json:"-"`
332}
333
334func (m *NNIPort) Reset() { *m = NNIPort{} }
335func (m *NNIPort) String() string { return proto.CompactTextString(m) }
336func (*NNIPort) ProtoMessage() {}
337func (*NNIPort) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800338 return fileDescriptor_ef7750073d18011b, []int{2}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700339}
340
341func (m *NNIPort) XXX_Unmarshal(b []byte) error {
342 return xxx_messageInfo_NNIPort.Unmarshal(m, b)
343}
344func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
345 return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic)
346}
347func (m *NNIPort) XXX_Merge(src proto.Message) {
348 xxx_messageInfo_NNIPort.Merge(m, src)
349}
350func (m *NNIPort) XXX_Size() int {
351 return xxx_messageInfo_NNIPort.Size(m)
352}
353func (m *NNIPort) XXX_DiscardUnknown() {
354 xxx_messageInfo_NNIPort.DiscardUnknown(m)
355}
356
357var xxx_messageInfo_NNIPort proto.InternalMessageInfo
358
359func (m *NNIPort) GetID() int32 {
360 if m != nil {
361 return m.ID
362 }
363 return 0
364}
365
366func (m *NNIPort) GetOperState() string {
367 if m != nil {
368 return m.OperState
369 }
370 return ""
371}
372
373type Olt struct {
374 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
375 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
376 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
377 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
rajeshf921f882020-03-06 18:24:28 +0530378 IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700379 NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"`
380 PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"`
381 XXX_NoUnkeyedLiteral struct{} `json:"-"`
382 XXX_unrecognized []byte `json:"-"`
383 XXX_sizecache int32 `json:"-"`
384}
385
386func (m *Olt) Reset() { *m = Olt{} }
387func (m *Olt) String() string { return proto.CompactTextString(m) }
388func (*Olt) ProtoMessage() {}
389func (*Olt) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800390 return fileDescriptor_ef7750073d18011b, []int{3}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700391}
392
393func (m *Olt) XXX_Unmarshal(b []byte) error {
394 return xxx_messageInfo_Olt.Unmarshal(m, b)
395}
396func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
397 return xxx_messageInfo_Olt.Marshal(b, m, deterministic)
398}
399func (m *Olt) XXX_Merge(src proto.Message) {
400 xxx_messageInfo_Olt.Merge(m, src)
401}
402func (m *Olt) XXX_Size() int {
403 return xxx_messageInfo_Olt.Size(m)
404}
405func (m *Olt) XXX_DiscardUnknown() {
406 xxx_messageInfo_Olt.DiscardUnknown(m)
407}
408
409var xxx_messageInfo_Olt proto.InternalMessageInfo
410
411func (m *Olt) GetID() int32 {
412 if m != nil {
413 return m.ID
414 }
415 return 0
416}
417
418func (m *Olt) GetSerialNumber() string {
419 if m != nil {
420 return m.SerialNumber
421 }
422 return ""
423}
424
425func (m *Olt) GetOperState() string {
426 if m != nil {
427 return m.OperState
428 }
429 return ""
430}
431
432func (m *Olt) GetInternalState() string {
433 if m != nil {
434 return m.InternalState
435 }
436 return ""
437}
438
rajeshf921f882020-03-06 18:24:28 +0530439func (m *Olt) GetIP() string {
440 if m != nil {
441 return m.IP
442 }
443 return ""
444}
445
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700446func (m *Olt) GetNNIPorts() []*NNIPort {
447 if m != nil {
448 return m.NNIPorts
449 }
450 return nil
451}
452
453func (m *Olt) GetPONPorts() []*PONPort {
454 if m != nil {
455 return m.PONPorts
456 }
457 return nil
458}
459
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800460type OltAllocatedResourceType struct {
461 Type OltAllocatedResourceType_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bbsim.OltAllocatedResourceType_Type" json:"type,omitempty"`
462 XXX_NoUnkeyedLiteral struct{} `json:"-"`
463 XXX_unrecognized []byte `json:"-"`
464 XXX_sizecache int32 `json:"-"`
465}
466
467func (m *OltAllocatedResourceType) Reset() { *m = OltAllocatedResourceType{} }
468func (m *OltAllocatedResourceType) String() string { return proto.CompactTextString(m) }
469func (*OltAllocatedResourceType) ProtoMessage() {}
470func (*OltAllocatedResourceType) Descriptor() ([]byte, []int) {
471 return fileDescriptor_ef7750073d18011b, []int{4}
472}
473
474func (m *OltAllocatedResourceType) XXX_Unmarshal(b []byte) error {
475 return xxx_messageInfo_OltAllocatedResourceType.Unmarshal(m, b)
476}
477func (m *OltAllocatedResourceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
478 return xxx_messageInfo_OltAllocatedResourceType.Marshal(b, m, deterministic)
479}
480func (m *OltAllocatedResourceType) XXX_Merge(src proto.Message) {
481 xxx_messageInfo_OltAllocatedResourceType.Merge(m, src)
482}
483func (m *OltAllocatedResourceType) XXX_Size() int {
484 return xxx_messageInfo_OltAllocatedResourceType.Size(m)
485}
486func (m *OltAllocatedResourceType) XXX_DiscardUnknown() {
487 xxx_messageInfo_OltAllocatedResourceType.DiscardUnknown(m)
488}
489
490var xxx_messageInfo_OltAllocatedResourceType proto.InternalMessageInfo
491
492func (m *OltAllocatedResourceType) GetType() OltAllocatedResourceType_Type {
493 if m != nil {
494 return m.Type
495 }
496 return OltAllocatedResourceType_UNKNOWN
497}
498
499type OltAllocatedResource struct {
500 Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
501 PonPortId uint32 `protobuf:"varint,2,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
502 OnuId uint32 `protobuf:"varint,3,opt,name=OnuId,proto3" json:"OnuId,omitempty"`
503 PortNo uint32 `protobuf:"varint,4,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
504 ResourceId int32 `protobuf:"varint,5,opt,name=ResourceId,proto3" json:"ResourceId,omitempty"`
505 FlowId uint64 `protobuf:"varint,6,opt,name=FlowId,proto3" json:"FlowId,omitempty"`
506 XXX_NoUnkeyedLiteral struct{} `json:"-"`
507 XXX_unrecognized []byte `json:"-"`
508 XXX_sizecache int32 `json:"-"`
509}
510
511func (m *OltAllocatedResource) Reset() { *m = OltAllocatedResource{} }
512func (m *OltAllocatedResource) String() string { return proto.CompactTextString(m) }
513func (*OltAllocatedResource) ProtoMessage() {}
514func (*OltAllocatedResource) Descriptor() ([]byte, []int) {
515 return fileDescriptor_ef7750073d18011b, []int{5}
516}
517
518func (m *OltAllocatedResource) XXX_Unmarshal(b []byte) error {
519 return xxx_messageInfo_OltAllocatedResource.Unmarshal(m, b)
520}
521func (m *OltAllocatedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
522 return xxx_messageInfo_OltAllocatedResource.Marshal(b, m, deterministic)
523}
524func (m *OltAllocatedResource) XXX_Merge(src proto.Message) {
525 xxx_messageInfo_OltAllocatedResource.Merge(m, src)
526}
527func (m *OltAllocatedResource) XXX_Size() int {
528 return xxx_messageInfo_OltAllocatedResource.Size(m)
529}
530func (m *OltAllocatedResource) XXX_DiscardUnknown() {
531 xxx_messageInfo_OltAllocatedResource.DiscardUnknown(m)
532}
533
534var xxx_messageInfo_OltAllocatedResource proto.InternalMessageInfo
535
536func (m *OltAllocatedResource) GetType() string {
537 if m != nil {
538 return m.Type
539 }
540 return ""
541}
542
543func (m *OltAllocatedResource) GetPonPortId() uint32 {
544 if m != nil {
545 return m.PonPortId
546 }
547 return 0
548}
549
550func (m *OltAllocatedResource) GetOnuId() uint32 {
551 if m != nil {
552 return m.OnuId
553 }
554 return 0
555}
556
557func (m *OltAllocatedResource) GetPortNo() uint32 {
558 if m != nil {
559 return m.PortNo
560 }
561 return 0
562}
563
564func (m *OltAllocatedResource) GetResourceId() int32 {
565 if m != nil {
566 return m.ResourceId
567 }
568 return 0
569}
570
571func (m *OltAllocatedResource) GetFlowId() uint64 {
572 if m != nil {
573 return m.FlowId
574 }
575 return 0
576}
577
578type OltAllocatedResources struct {
579 Resources []*OltAllocatedResource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
580 XXX_NoUnkeyedLiteral struct{} `json:"-"`
581 XXX_unrecognized []byte `json:"-"`
582 XXX_sizecache int32 `json:"-"`
583}
584
585func (m *OltAllocatedResources) Reset() { *m = OltAllocatedResources{} }
586func (m *OltAllocatedResources) String() string { return proto.CompactTextString(m) }
587func (*OltAllocatedResources) ProtoMessage() {}
588func (*OltAllocatedResources) Descriptor() ([]byte, []int) {
589 return fileDescriptor_ef7750073d18011b, []int{6}
590}
591
592func (m *OltAllocatedResources) XXX_Unmarshal(b []byte) error {
593 return xxx_messageInfo_OltAllocatedResources.Unmarshal(m, b)
594}
595func (m *OltAllocatedResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
596 return xxx_messageInfo_OltAllocatedResources.Marshal(b, m, deterministic)
597}
598func (m *OltAllocatedResources) XXX_Merge(src proto.Message) {
599 xxx_messageInfo_OltAllocatedResources.Merge(m, src)
600}
601func (m *OltAllocatedResources) XXX_Size() int {
602 return xxx_messageInfo_OltAllocatedResources.Size(m)
603}
604func (m *OltAllocatedResources) XXX_DiscardUnknown() {
605 xxx_messageInfo_OltAllocatedResources.DiscardUnknown(m)
606}
607
608var xxx_messageInfo_OltAllocatedResources proto.InternalMessageInfo
609
610func (m *OltAllocatedResources) GetResources() []*OltAllocatedResource {
611 if m != nil {
612 return m.Resources
613 }
614 return nil
615}
616
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700617type ONU struct {
Matteo Scandolocedde462021-03-09 17:37:16 -0800618 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
619 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
620 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
621 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
622 PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700623 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"` // Deprecated: Do not use.
624 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"` // Deprecated: Do not use.
625 Services []*Service `protobuf:"bytes,10,rep,name=services,proto3" json:"services,omitempty"` // Deprecated: Do not use.
Matteo Scandolocedde462021-03-09 17:37:16 -0800626 ImageSoftwareExpectedSections int32 `protobuf:"varint,11,opt,name=ImageSoftwareExpectedSections,proto3" json:"ImageSoftwareExpectedSections,omitempty"`
627 ImageSoftwareReceivedSections int32 `protobuf:"varint,12,opt,name=ImageSoftwareReceivedSections,proto3" json:"ImageSoftwareReceivedSections,omitempty"`
628 ActiveImageEntityId int32 `protobuf:"varint,13,opt,name=ActiveImageEntityId,proto3" json:"ActiveImageEntityId,omitempty"`
629 CommittedImageEntityId int32 `protobuf:"varint,14,opt,name=CommittedImageEntityId,proto3" json:"CommittedImageEntityId,omitempty"`
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700630 Unis []*UNI `protobuf:"bytes,15,rep,name=unis,proto3" json:"unis,omitempty"`
Matteo Scandolocedde462021-03-09 17:37:16 -0800631 XXX_NoUnkeyedLiteral struct{} `json:"-"`
632 XXX_unrecognized []byte `json:"-"`
633 XXX_sizecache int32 `json:"-"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700634}
635
636func (m *ONU) Reset() { *m = ONU{} }
637func (m *ONU) String() string { return proto.CompactTextString(m) }
638func (*ONU) ProtoMessage() {}
639func (*ONU) Descriptor() ([]byte, []int) {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -0800640 return fileDescriptor_ef7750073d18011b, []int{7}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700641}
642
643func (m *ONU) XXX_Unmarshal(b []byte) error {
644 return xxx_messageInfo_ONU.Unmarshal(m, b)
645}
646func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
647 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
648}
649func (m *ONU) XXX_Merge(src proto.Message) {
650 xxx_messageInfo_ONU.Merge(m, src)
651}
652func (m *ONU) XXX_Size() int {
653 return xxx_messageInfo_ONU.Size(m)
654}
655func (m *ONU) XXX_DiscardUnknown() {
656 xxx_messageInfo_ONU.DiscardUnknown(m)
657}
658
659var xxx_messageInfo_ONU proto.InternalMessageInfo
660
661func (m *ONU) GetID() int32 {
662 if m != nil {
663 return m.ID
664 }
665 return 0
666}
667
668func (m *ONU) GetSerialNumber() string {
669 if m != nil {
670 return m.SerialNumber
671 }
672 return ""
673}
674
675func (m *ONU) GetOperState() string {
676 if m != nil {
677 return m.OperState
678 }
679 return ""
680}
681
682func (m *ONU) GetInternalState() string {
683 if m != nil {
684 return m.InternalState
685 }
686 return ""
687}
688
689func (m *ONU) GetPonPortID() int32 {
690 if m != nil {
691 return m.PonPortID
692 }
693 return 0
694}
695
Matteo Scandolo8a574812021-05-20 15:18:53 -0700696// Deprecated: Do not use.
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700697func (m *ONU) GetHwAddress() string {
698 if m != nil {
699 return m.HwAddress
700 }
701 return ""
702}
703
Matteo Scandolo8a574812021-05-20 15:18:53 -0700704// Deprecated: Do not use.
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700705func (m *ONU) GetPortNo() int32 {
706 if m != nil {
707 return m.PortNo
708 }
709 return 0
710}
711
Matteo Scandolo8a574812021-05-20 15:18:53 -0700712// Deprecated: Do not use.
Matteo Scandolo4a036262020-08-17 15:56:13 -0700713func (m *ONU) GetServices() []*Service {
714 if m != nil {
715 return m.Services
716 }
717 return nil
718}
719
Matteo Scandolocedde462021-03-09 17:37:16 -0800720func (m *ONU) GetImageSoftwareExpectedSections() int32 {
721 if m != nil {
722 return m.ImageSoftwareExpectedSections
723 }
724 return 0
725}
726
727func (m *ONU) GetImageSoftwareReceivedSections() int32 {
728 if m != nil {
729 return m.ImageSoftwareReceivedSections
730 }
731 return 0
732}
733
734func (m *ONU) GetActiveImageEntityId() int32 {
735 if m != nil {
736 return m.ActiveImageEntityId
737 }
738 return 0
739}
740
741func (m *ONU) GetCommittedImageEntityId() int32 {
742 if m != nil {
743 return m.CommittedImageEntityId
744 }
745 return 0
746}
747
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700748func (m *ONU) GetUnis() []*UNI {
749 if m != nil {
750 return m.Unis
751 }
752 return nil
753}
754
755type UNI struct {
Matteo Scandolo8a574812021-05-20 15:18:53 -0700756 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
757 OnuID int32 `protobuf:"varint,2,opt,name=OnuID,proto3" json:"OnuID,omitempty"`
758 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
759 MeID uint32 `protobuf:"varint,4,opt,name=MeID,proto3" json:"MeID,omitempty"`
760 OperState string `protobuf:"bytes,5,opt,name=OperState,proto3" json:"OperState,omitempty"`
761 PortNo int32 `protobuf:"varint,6,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
762 Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"`
Elia Battistonac63b112022-01-12 18:40:49 +0100763 Type UniType `protobuf:"varint,8,opt,name=Type,proto3,enum=bbsim.UniType" json:"Type,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700764 XXX_NoUnkeyedLiteral struct{} `json:"-"`
765 XXX_unrecognized []byte `json:"-"`
766 XXX_sizecache int32 `json:"-"`
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700767}
768
769func (m *UNI) Reset() { *m = UNI{} }
770func (m *UNI) String() string { return proto.CompactTextString(m) }
771func (*UNI) ProtoMessage() {}
772func (*UNI) Descriptor() ([]byte, []int) {
773 return fileDescriptor_ef7750073d18011b, []int{8}
774}
775
776func (m *UNI) XXX_Unmarshal(b []byte) error {
777 return xxx_messageInfo_UNI.Unmarshal(m, b)
778}
779func (m *UNI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
780 return xxx_messageInfo_UNI.Marshal(b, m, deterministic)
781}
782func (m *UNI) XXX_Merge(src proto.Message) {
783 xxx_messageInfo_UNI.Merge(m, src)
784}
785func (m *UNI) XXX_Size() int {
786 return xxx_messageInfo_UNI.Size(m)
787}
788func (m *UNI) XXX_DiscardUnknown() {
789 xxx_messageInfo_UNI.DiscardUnknown(m)
790}
791
792var xxx_messageInfo_UNI proto.InternalMessageInfo
793
794func (m *UNI) GetID() int32 {
795 if m != nil {
796 return m.ID
797 }
798 return 0
799}
800
801func (m *UNI) GetOnuID() int32 {
802 if m != nil {
803 return m.OnuID
804 }
805 return 0
806}
807
808func (m *UNI) GetOnuSn() string {
809 if m != nil {
810 return m.OnuSn
811 }
812 return ""
813}
814
815func (m *UNI) GetMeID() uint32 {
816 if m != nil {
817 return m.MeID
818 }
819 return 0
820}
821
822func (m *UNI) GetOperState() string {
823 if m != nil {
824 return m.OperState
825 }
826 return ""
827}
828
Matteo Scandolo8a574812021-05-20 15:18:53 -0700829func (m *UNI) GetPortNo() int32 {
830 if m != nil {
831 return m.PortNo
832 }
833 return 0
834}
835
836func (m *UNI) GetServices() []*Service {
837 if m != nil {
838 return m.Services
839 }
840 return nil
841}
842
Elia Battistonac63b112022-01-12 18:40:49 +0100843func (m *UNI) GetType() UniType {
844 if m != nil {
845 return m.Type
846 }
847 return UniType_ETH
848}
849
Matteo Scandolo4a036262020-08-17 15:56:13 -0700850type Service struct {
851 Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
852 HwAddress string `protobuf:"bytes,2,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
853 OnuSn string `protobuf:"bytes,3,opt,name=OnuSn,proto3" json:"OnuSn,omitempty"`
854 STag int32 `protobuf:"varint,4,opt,name=STag,proto3" json:"STag,omitempty"`
855 CTag int32 `protobuf:"varint,5,opt,name=CTag,proto3" json:"CTag,omitempty"`
856 NeedsEapol bool `protobuf:"varint,6,opt,name=NeedsEapol,proto3" json:"NeedsEapol,omitempty"`
857 NeedsDhcp bool `protobuf:"varint,7,opt,name=NeedsDhcp,proto3" json:"NeedsDhcp,omitempty"`
858 NeedsIgmp bool `protobuf:"varint,8,opt,name=NeedsIgmp,proto3" json:"NeedsIgmp,omitempty"`
859 GemPort int32 `protobuf:"varint,9,opt,name=GemPort,proto3" json:"GemPort,omitempty"`
860 EapolState string `protobuf:"bytes,10,opt,name=EapolState,proto3" json:"EapolState,omitempty"`
861 DhcpState string `protobuf:"bytes,11,opt,name=DhcpState,proto3" json:"DhcpState,omitempty"`
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700862 InternalState string `protobuf:"bytes,12,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
Matteo Scandolo618a6582020-09-09 12:21:29 -0700863 IGMPState string `protobuf:"bytes,13,opt,name=IGMPState,proto3" json:"IGMPState,omitempty"`
Matteo Scandolo8a574812021-05-20 15:18:53 -0700864 UniId uint32 `protobuf:"varint,14,opt,name=UniId,proto3" json:"UniId,omitempty"`
Elia Battiston9a1da622022-02-09 14:43:52 +0100865 UniTagMatch int32 `protobuf:"varint,15,opt,name=UniTagMatch,proto3" json:"UniTagMatch,omitempty"`
866 UsCTagPriority uint32 `protobuf:"varint,16,opt,name=UsCTagPriority,proto3" json:"UsCTagPriority,omitempty"`
867 UsSTagPriority uint32 `protobuf:"varint,17,opt,name=UsSTagPriority,proto3" json:"UsSTagPriority,omitempty"`
868 DsCTagPriority uint32 `protobuf:"varint,18,opt,name=DsCTagPriority,proto3" json:"DsCTagPriority,omitempty"`
869 DsSTagPriority uint32 `protobuf:"varint,19,opt,name=DsSTagPriority,proto3" json:"DsSTagPriority,omitempty"`
870 NeedsPPPoE bool `protobuf:"varint,20,opt,name=NeedsPPPoE,proto3" json:"NeedsPPPoE,omitempty"`
871 ConfigureMacAddress bool `protobuf:"varint,21,opt,name=ConfigureMacAddress,proto3" json:"ConfigureMacAddress,omitempty"`
872 EnableMacLearning bool `protobuf:"varint,22,opt,name=EnableMacLearning,proto3" json:"EnableMacLearning,omitempty"`
Matteo Scandolo4a036262020-08-17 15:56:13 -0700873 XXX_NoUnkeyedLiteral struct{} `json:"-"`
874 XXX_unrecognized []byte `json:"-"`
875 XXX_sizecache int32 `json:"-"`
876}
877
878func (m *Service) Reset() { *m = Service{} }
879func (m *Service) String() string { return proto.CompactTextString(m) }
880func (*Service) ProtoMessage() {}
881func (*Service) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -0700882 return fileDescriptor_ef7750073d18011b, []int{9}
Matteo Scandolo4a036262020-08-17 15:56:13 -0700883}
884
885func (m *Service) XXX_Unmarshal(b []byte) error {
886 return xxx_messageInfo_Service.Unmarshal(m, b)
887}
888func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
889 return xxx_messageInfo_Service.Marshal(b, m, deterministic)
890}
891func (m *Service) XXX_Merge(src proto.Message) {
892 xxx_messageInfo_Service.Merge(m, src)
893}
894func (m *Service) XXX_Size() int {
895 return xxx_messageInfo_Service.Size(m)
896}
897func (m *Service) XXX_DiscardUnknown() {
898 xxx_messageInfo_Service.DiscardUnknown(m)
899}
900
901var xxx_messageInfo_Service proto.InternalMessageInfo
902
903func (m *Service) GetName() string {
904 if m != nil {
905 return m.Name
906 }
907 return ""
908}
909
910func (m *Service) GetHwAddress() string {
911 if m != nil {
912 return m.HwAddress
913 }
914 return ""
915}
916
917func (m *Service) GetOnuSn() string {
918 if m != nil {
919 return m.OnuSn
920 }
921 return ""
922}
923
924func (m *Service) GetSTag() int32 {
925 if m != nil {
926 return m.STag
927 }
928 return 0
929}
930
931func (m *Service) GetCTag() int32 {
932 if m != nil {
933 return m.CTag
934 }
935 return 0
936}
937
938func (m *Service) GetNeedsEapol() bool {
939 if m != nil {
940 return m.NeedsEapol
941 }
942 return false
943}
944
945func (m *Service) GetNeedsDhcp() bool {
946 if m != nil {
947 return m.NeedsDhcp
948 }
949 return false
950}
951
952func (m *Service) GetNeedsIgmp() bool {
953 if m != nil {
954 return m.NeedsIgmp
955 }
956 return false
957}
958
959func (m *Service) GetGemPort() int32 {
960 if m != nil {
961 return m.GemPort
962 }
963 return 0
964}
965
966func (m *Service) GetEapolState() string {
967 if m != nil {
968 return m.EapolState
969 }
970 return ""
971}
972
973func (m *Service) GetDhcpState() string {
974 if m != nil {
975 return m.DhcpState
976 }
977 return ""
978}
979
Matteo Scandolo75ed5b92020-09-03 09:03:16 -0700980func (m *Service) GetInternalState() string {
981 if m != nil {
982 return m.InternalState
983 }
984 return ""
985}
986
Matteo Scandolo618a6582020-09-09 12:21:29 -0700987func (m *Service) GetIGMPState() string {
988 if m != nil {
989 return m.IGMPState
990 }
991 return ""
992}
993
Matteo Scandolo8a574812021-05-20 15:18:53 -0700994func (m *Service) GetUniId() uint32 {
995 if m != nil {
996 return m.UniId
997 }
998 return 0
999}
1000
Elia Battiston9a1da622022-02-09 14:43:52 +01001001func (m *Service) GetUniTagMatch() int32 {
1002 if m != nil {
1003 return m.UniTagMatch
1004 }
1005 return 0
1006}
1007
1008func (m *Service) GetUsCTagPriority() uint32 {
1009 if m != nil {
1010 return m.UsCTagPriority
1011 }
1012 return 0
1013}
1014
1015func (m *Service) GetUsSTagPriority() uint32 {
1016 if m != nil {
1017 return m.UsSTagPriority
1018 }
1019 return 0
1020}
1021
1022func (m *Service) GetDsCTagPriority() uint32 {
1023 if m != nil {
1024 return m.DsCTagPriority
1025 }
1026 return 0
1027}
1028
1029func (m *Service) GetDsSTagPriority() uint32 {
1030 if m != nil {
1031 return m.DsSTagPriority
1032 }
1033 return 0
1034}
1035
1036func (m *Service) GetNeedsPPPoE() bool {
1037 if m != nil {
1038 return m.NeedsPPPoE
1039 }
1040 return false
1041}
1042
1043func (m *Service) GetConfigureMacAddress() bool {
1044 if m != nil {
1045 return m.ConfigureMacAddress
1046 }
1047 return false
1048}
1049
1050func (m *Service) GetEnableMacLearning() bool {
1051 if m != nil {
1052 return m.EnableMacLearning
1053 }
1054 return false
1055}
1056
Anand S Katti09541352020-01-29 15:54:01 +05301057type ONUTrafficSchedulers struct {
1058 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
1059 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1060 XXX_unrecognized []byte `json:"-"`
1061 XXX_sizecache int32 `json:"-"`
1062}
1063
1064func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
1065func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
1066func (*ONUTrafficSchedulers) ProtoMessage() {}
1067func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001068 return fileDescriptor_ef7750073d18011b, []int{10}
Anand S Katti09541352020-01-29 15:54:01 +05301069}
1070
1071func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
1072 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
1073}
1074func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1075 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
1076}
1077func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
1078 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
1079}
1080func (m *ONUTrafficSchedulers) XXX_Size() int {
1081 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
1082}
1083func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
1084 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
1085}
1086
1087var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
1088
1089func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
1090 if m != nil {
1091 return m.TraffSchedulers
1092 }
1093 return nil
1094}
1095
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001096type ONUs struct {
1097 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1098 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1099 XXX_unrecognized []byte `json:"-"`
1100 XXX_sizecache int32 `json:"-"`
1101}
1102
1103func (m *ONUs) Reset() { *m = ONUs{} }
1104func (m *ONUs) String() string { return proto.CompactTextString(m) }
1105func (*ONUs) ProtoMessage() {}
1106func (*ONUs) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001107 return fileDescriptor_ef7750073d18011b, []int{11}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001108}
1109
1110func (m *ONUs) XXX_Unmarshal(b []byte) error {
1111 return xxx_messageInfo_ONUs.Unmarshal(m, b)
1112}
1113func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1114 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
1115}
1116func (m *ONUs) XXX_Merge(src proto.Message) {
1117 xxx_messageInfo_ONUs.Merge(m, src)
1118}
1119func (m *ONUs) XXX_Size() int {
1120 return xxx_messageInfo_ONUs.Size(m)
1121}
1122func (m *ONUs) XXX_DiscardUnknown() {
1123 xxx_messageInfo_ONUs.DiscardUnknown(m)
1124}
1125
1126var xxx_messageInfo_ONUs proto.InternalMessageInfo
1127
1128func (m *ONUs) GetItems() []*ONU {
1129 if m != nil {
1130 return m.Items
1131 }
1132 return nil
1133}
1134
Matteo Scandolo4a036262020-08-17 15:56:13 -07001135type Services struct {
1136 Items []*Service `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1137 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1138 XXX_unrecognized []byte `json:"-"`
1139 XXX_sizecache int32 `json:"-"`
1140}
1141
1142func (m *Services) Reset() { *m = Services{} }
1143func (m *Services) String() string { return proto.CompactTextString(m) }
1144func (*Services) ProtoMessage() {}
1145func (*Services) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001146 return fileDescriptor_ef7750073d18011b, []int{12}
Matteo Scandolo4a036262020-08-17 15:56:13 -07001147}
1148
1149func (m *Services) XXX_Unmarshal(b []byte) error {
1150 return xxx_messageInfo_Services.Unmarshal(m, b)
1151}
1152func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1153 return xxx_messageInfo_Services.Marshal(b, m, deterministic)
1154}
1155func (m *Services) XXX_Merge(src proto.Message) {
1156 xxx_messageInfo_Services.Merge(m, src)
1157}
1158func (m *Services) XXX_Size() int {
1159 return xxx_messageInfo_Services.Size(m)
1160}
1161func (m *Services) XXX_DiscardUnknown() {
1162 xxx_messageInfo_Services.DiscardUnknown(m)
1163}
1164
1165var xxx_messageInfo_Services proto.InternalMessageInfo
1166
1167func (m *Services) GetItems() []*Service {
1168 if m != nil {
1169 return m.Items
1170 }
1171 return nil
1172}
1173
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001174type UNIs struct {
1175 Items []*UNI `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1176 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1177 XXX_unrecognized []byte `json:"-"`
1178 XXX_sizecache int32 `json:"-"`
1179}
1180
1181func (m *UNIs) Reset() { *m = UNIs{} }
1182func (m *UNIs) String() string { return proto.CompactTextString(m) }
1183func (*UNIs) ProtoMessage() {}
1184func (*UNIs) Descriptor() ([]byte, []int) {
1185 return fileDescriptor_ef7750073d18011b, []int{13}
1186}
1187
1188func (m *UNIs) XXX_Unmarshal(b []byte) error {
1189 return xxx_messageInfo_UNIs.Unmarshal(m, b)
1190}
1191func (m *UNIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1192 return xxx_messageInfo_UNIs.Marshal(b, m, deterministic)
1193}
1194func (m *UNIs) XXX_Merge(src proto.Message) {
1195 xxx_messageInfo_UNIs.Merge(m, src)
1196}
1197func (m *UNIs) XXX_Size() int {
1198 return xxx_messageInfo_UNIs.Size(m)
1199}
1200func (m *UNIs) XXX_DiscardUnknown() {
1201 xxx_messageInfo_UNIs.DiscardUnknown(m)
1202}
1203
1204var xxx_messageInfo_UNIs proto.InternalMessageInfo
1205
1206func (m *UNIs) GetItems() []*UNI {
1207 if m != nil {
1208 return m.Items
1209 }
1210 return nil
1211}
1212
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001213type ONURequest struct {
1214 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1215 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1216 XXX_unrecognized []byte `json:"-"`
1217 XXX_sizecache int32 `json:"-"`
1218}
1219
1220func (m *ONURequest) Reset() { *m = ONURequest{} }
1221func (m *ONURequest) String() string { return proto.CompactTextString(m) }
1222func (*ONURequest) ProtoMessage() {}
1223func (*ONURequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001224 return fileDescriptor_ef7750073d18011b, []int{14}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001225}
1226
1227func (m *ONURequest) XXX_Unmarshal(b []byte) error {
1228 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
1229}
1230func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1231 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
1232}
1233func (m *ONURequest) XXX_Merge(src proto.Message) {
1234 xxx_messageInfo_ONURequest.Merge(m, src)
1235}
1236func (m *ONURequest) XXX_Size() int {
1237 return xxx_messageInfo_ONURequest.Size(m)
1238}
1239func (m *ONURequest) XXX_DiscardUnknown() {
1240 xxx_messageInfo_ONURequest.DiscardUnknown(m)
1241}
1242
1243var xxx_messageInfo_ONURequest proto.InternalMessageInfo
1244
1245func (m *ONURequest) GetSerialNumber() string {
1246 if m != nil {
1247 return m.SerialNumber
1248 }
1249 return ""
1250}
1251
Pragya Aryabd731ec2020-02-11 16:38:17 +05301252type PONRequest struct {
1253 PonPortId uint32 `protobuf:"varint,1,opt,name=PonPortId,proto3" json:"PonPortId,omitempty"`
1254 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1255 XXX_unrecognized []byte `json:"-"`
1256 XXX_sizecache int32 `json:"-"`
1257}
1258
1259func (m *PONRequest) Reset() { *m = PONRequest{} }
1260func (m *PONRequest) String() string { return proto.CompactTextString(m) }
1261func (*PONRequest) ProtoMessage() {}
1262func (*PONRequest) Descriptor() ([]byte, []int) {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001263 return fileDescriptor_ef7750073d18011b, []int{15}
Pragya Aryabd731ec2020-02-11 16:38:17 +05301264}
1265
1266func (m *PONRequest) XXX_Unmarshal(b []byte) error {
1267 return xxx_messageInfo_PONRequest.Unmarshal(m, b)
1268}
1269func (m *PONRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1270 return xxx_messageInfo_PONRequest.Marshal(b, m, deterministic)
1271}
1272func (m *PONRequest) XXX_Merge(src proto.Message) {
1273 xxx_messageInfo_PONRequest.Merge(m, src)
1274}
1275func (m *PONRequest) XXX_Size() int {
1276 return xxx_messageInfo_PONRequest.Size(m)
1277}
1278func (m *PONRequest) XXX_DiscardUnknown() {
1279 xxx_messageInfo_PONRequest.DiscardUnknown(m)
1280}
1281
1282var xxx_messageInfo_PONRequest proto.InternalMessageInfo
1283
1284func (m *PONRequest) GetPonPortId() uint32 {
1285 if m != nil {
1286 return m.PonPortId
1287 }
1288 return 0
1289}
1290
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001291type UNIRequest struct {
1292 OnuSerialNumber string `protobuf:"bytes,1,opt,name=OnuSerialNumber,proto3" json:"OnuSerialNumber,omitempty"`
1293 UniID string `protobuf:"bytes,2,opt,name=UniID,proto3" json:"UniID,omitempty"`
1294 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1295 XXX_unrecognized []byte `json:"-"`
1296 XXX_sizecache int32 `json:"-"`
1297}
1298
1299func (m *UNIRequest) Reset() { *m = UNIRequest{} }
1300func (m *UNIRequest) String() string { return proto.CompactTextString(m) }
1301func (*UNIRequest) ProtoMessage() {}
1302func (*UNIRequest) Descriptor() ([]byte, []int) {
1303 return fileDescriptor_ef7750073d18011b, []int{16}
1304}
1305
1306func (m *UNIRequest) XXX_Unmarshal(b []byte) error {
1307 return xxx_messageInfo_UNIRequest.Unmarshal(m, b)
1308}
1309func (m *UNIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1310 return xxx_messageInfo_UNIRequest.Marshal(b, m, deterministic)
1311}
1312func (m *UNIRequest) XXX_Merge(src proto.Message) {
1313 xxx_messageInfo_UNIRequest.Merge(m, src)
1314}
1315func (m *UNIRequest) XXX_Size() int {
1316 return xxx_messageInfo_UNIRequest.Size(m)
1317}
1318func (m *UNIRequest) XXX_DiscardUnknown() {
1319 xxx_messageInfo_UNIRequest.DiscardUnknown(m)
1320}
1321
1322var xxx_messageInfo_UNIRequest proto.InternalMessageInfo
1323
1324func (m *UNIRequest) GetOnuSerialNumber() string {
1325 if m != nil {
1326 return m.OnuSerialNumber
1327 }
1328 return ""
1329}
1330
1331func (m *UNIRequest) GetUniID() string {
1332 if m != nil {
1333 return m.UniID
1334 }
1335 return ""
1336}
1337
Scott Baker41724b82020-01-21 19:54:53 -08001338type AlarmType struct {
1339 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1340 XXX_unrecognized []byte `json:"-"`
1341 XXX_sizecache int32 `json:"-"`
1342}
1343
1344func (m *AlarmType) Reset() { *m = AlarmType{} }
1345func (m *AlarmType) String() string { return proto.CompactTextString(m) }
1346func (*AlarmType) ProtoMessage() {}
1347func (*AlarmType) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001348 return fileDescriptor_ef7750073d18011b, []int{17}
Scott Baker41724b82020-01-21 19:54:53 -08001349}
1350
1351func (m *AlarmType) XXX_Unmarshal(b []byte) error {
1352 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
1353}
1354func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1355 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
1356}
1357func (m *AlarmType) XXX_Merge(src proto.Message) {
1358 xxx_messageInfo_AlarmType.Merge(m, src)
1359}
1360func (m *AlarmType) XXX_Size() int {
1361 return xxx_messageInfo_AlarmType.Size(m)
1362}
1363func (m *AlarmType) XXX_DiscardUnknown() {
1364 xxx_messageInfo_AlarmType.DiscardUnknown(m)
1365}
1366
1367var xxx_messageInfo_AlarmType proto.InternalMessageInfo
1368
1369type AlarmParameter struct {
1370 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
1371 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
1372 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1373 XXX_unrecognized []byte `json:"-"`
1374 XXX_sizecache int32 `json:"-"`
1375}
1376
1377func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
1378func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
1379func (*AlarmParameter) ProtoMessage() {}
1380func (*AlarmParameter) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001381 return fileDescriptor_ef7750073d18011b, []int{18}
Scott Baker41724b82020-01-21 19:54:53 -08001382}
1383
1384func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
1385 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
1386}
1387func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1388 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
1389}
1390func (m *AlarmParameter) XXX_Merge(src proto.Message) {
1391 xxx_messageInfo_AlarmParameter.Merge(m, src)
1392}
1393func (m *AlarmParameter) XXX_Size() int {
1394 return xxx_messageInfo_AlarmParameter.Size(m)
1395}
1396func (m *AlarmParameter) XXX_DiscardUnknown() {
1397 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
1398}
1399
1400var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
1401
1402func (m *AlarmParameter) GetKey() string {
1403 if m != nil {
1404 return m.Key
1405 }
1406 return ""
1407}
1408
1409func (m *AlarmParameter) GetValue() string {
1410 if m != nil {
1411 return m.Value
1412 }
1413 return ""
1414}
1415
Anand S Katti86552f92020-03-03 21:56:32 +05301416// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +05301417// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -08001418// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +05301419type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +05301420 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -08001421 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
1422 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1423 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
1424 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1425 XXX_unrecognized []byte `json:"-"`
1426 XXX_sizecache int32 `json:"-"`
1427}
1428
Anand S Katti86552f92020-03-03 21:56:32 +05301429func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
1430func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
1431func (*ONUAlarmRequest) ProtoMessage() {}
1432func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001433 return fileDescriptor_ef7750073d18011b, []int{19}
Scott Baker41724b82020-01-21 19:54:53 -08001434}
1435
Anand S Katti86552f92020-03-03 21:56:32 +05301436func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
1437 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -08001438}
Anand S Katti86552f92020-03-03 21:56:32 +05301439func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1440 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -08001441}
Anand S Katti86552f92020-03-03 21:56:32 +05301442func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
1443 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -08001444}
Anand S Katti86552f92020-03-03 21:56:32 +05301445func (m *ONUAlarmRequest) XXX_Size() int {
1446 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -08001447}
Anand S Katti86552f92020-03-03 21:56:32 +05301448func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
1449 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -08001450}
1451
Anand S Katti86552f92020-03-03 21:56:32 +05301452var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -08001453
Anand S Katti86552f92020-03-03 21:56:32 +05301454func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -08001455 if m != nil {
1456 return m.AlarmType
1457 }
Pragya Arya694ece02020-02-07 13:03:47 +05301458 return ""
Scott Baker41724b82020-01-21 19:54:53 -08001459}
1460
Anand S Katti86552f92020-03-03 21:56:32 +05301461func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -08001462 if m != nil {
1463 return m.SerialNumber
1464 }
1465 return ""
1466}
1467
Anand S Katti86552f92020-03-03 21:56:32 +05301468func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -08001469 if m != nil {
1470 return m.Status
1471 }
1472 return ""
1473}
1474
Anand S Katti86552f92020-03-03 21:56:32 +05301475func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -08001476 if m != nil {
1477 return m.Parameters
1478 }
1479 return nil
1480}
1481
Anand S Katti86552f92020-03-03 21:56:32 +05301482// OLT alarm request
1483type OLTAlarmRequest struct {
1484 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
1485 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
1486 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
1487 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1488 XXX_unrecognized []byte `json:"-"`
1489 XXX_sizecache int32 `json:"-"`
1490}
1491
1492func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
1493func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
1494func (*OLTAlarmRequest) ProtoMessage() {}
1495func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001496 return fileDescriptor_ef7750073d18011b, []int{20}
Anand S Katti86552f92020-03-03 21:56:32 +05301497}
1498
1499func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
1500 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
1501}
1502func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1503 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
1504}
1505func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
1506 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
1507}
1508func (m *OLTAlarmRequest) XXX_Size() int {
1509 return xxx_messageInfo_OLTAlarmRequest.Size(m)
1510}
1511func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
1512 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
1513}
1514
1515var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
1516
1517func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
1518 if m != nil {
1519 return m.InterfaceID
1520 }
1521 return 0
1522}
1523
1524func (m *OLTAlarmRequest) GetInterfaceType() string {
1525 if m != nil {
1526 return m.InterfaceType
1527 }
1528 return ""
1529}
1530
1531func (m *OLTAlarmRequest) GetStatus() string {
1532 if m != nil {
1533 return m.Status
1534 }
1535 return ""
1536}
1537
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001538type VersionNumber struct {
1539 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
1540 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
1541 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
1542 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
1543 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1544 XXX_unrecognized []byte `json:"-"`
1545 XXX_sizecache int32 `json:"-"`
1546}
1547
1548func (m *VersionNumber) Reset() { *m = VersionNumber{} }
1549func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
1550func (*VersionNumber) ProtoMessage() {}
1551func (*VersionNumber) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001552 return fileDescriptor_ef7750073d18011b, []int{21}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001553}
1554
1555func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
1556 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
1557}
1558func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1559 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
1560}
1561func (m *VersionNumber) XXX_Merge(src proto.Message) {
1562 xxx_messageInfo_VersionNumber.Merge(m, src)
1563}
1564func (m *VersionNumber) XXX_Size() int {
1565 return xxx_messageInfo_VersionNumber.Size(m)
1566}
1567func (m *VersionNumber) XXX_DiscardUnknown() {
1568 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
1569}
1570
1571var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
1572
1573func (m *VersionNumber) GetVersion() string {
1574 if m != nil {
1575 return m.Version
1576 }
1577 return ""
1578}
1579
1580func (m *VersionNumber) GetBuildTime() string {
1581 if m != nil {
1582 return m.BuildTime
1583 }
1584 return ""
1585}
1586
1587func (m *VersionNumber) GetCommitHash() string {
1588 if m != nil {
1589 return m.CommitHash
1590 }
1591 return ""
1592}
1593
1594func (m *VersionNumber) GetGitStatus() string {
1595 if m != nil {
1596 return m.GitStatus
1597 }
1598 return ""
1599}
1600
1601type LogLevel struct {
1602 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
1603 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
1604 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1605 XXX_unrecognized []byte `json:"-"`
1606 XXX_sizecache int32 `json:"-"`
1607}
1608
1609func (m *LogLevel) Reset() { *m = LogLevel{} }
1610func (m *LogLevel) String() string { return proto.CompactTextString(m) }
1611func (*LogLevel) ProtoMessage() {}
1612func (*LogLevel) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001613 return fileDescriptor_ef7750073d18011b, []int{22}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001614}
1615
1616func (m *LogLevel) XXX_Unmarshal(b []byte) error {
1617 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
1618}
1619func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1620 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
1621}
1622func (m *LogLevel) XXX_Merge(src proto.Message) {
1623 xxx_messageInfo_LogLevel.Merge(m, src)
1624}
1625func (m *LogLevel) XXX_Size() int {
1626 return xxx_messageInfo_LogLevel.Size(m)
1627}
1628func (m *LogLevel) XXX_DiscardUnknown() {
1629 xxx_messageInfo_LogLevel.DiscardUnknown(m)
1630}
1631
1632var xxx_messageInfo_LogLevel proto.InternalMessageInfo
1633
1634func (m *LogLevel) GetLevel() string {
1635 if m != nil {
1636 return m.Level
1637 }
1638 return ""
1639}
1640
1641func (m *LogLevel) GetCaller() bool {
1642 if m != nil {
1643 return m.Caller
1644 }
1645 return false
1646}
1647
1648type Response struct {
1649 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
1650 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
1651 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1652 XXX_unrecognized []byte `json:"-"`
1653 XXX_sizecache int32 `json:"-"`
1654}
1655
1656func (m *Response) Reset() { *m = Response{} }
1657func (m *Response) String() string { return proto.CompactTextString(m) }
1658func (*Response) ProtoMessage() {}
1659func (*Response) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001660 return fileDescriptor_ef7750073d18011b, []int{23}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001661}
1662
1663func (m *Response) XXX_Unmarshal(b []byte) error {
1664 return xxx_messageInfo_Response.Unmarshal(m, b)
1665}
1666func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1667 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
1668}
1669func (m *Response) XXX_Merge(src proto.Message) {
1670 xxx_messageInfo_Response.Merge(m, src)
1671}
1672func (m *Response) XXX_Size() int {
1673 return xxx_messageInfo_Response.Size(m)
1674}
1675func (m *Response) XXX_DiscardUnknown() {
1676 xxx_messageInfo_Response.DiscardUnknown(m)
1677}
1678
1679var xxx_messageInfo_Response proto.InternalMessageInfo
1680
1681func (m *Response) GetStatusCode() int32 {
1682 if m != nil {
1683 return m.StatusCode
1684 }
1685 return 0
1686}
1687
1688func (m *Response) GetMessage() string {
1689 if m != nil {
1690 return m.Message
1691 }
1692 return ""
1693}
1694
Arjun E K57a7fcb2020-01-30 06:44:45 +00001695type IgmpRequest struct {
1696 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
1697 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001698 GroupAddress string `protobuf:"bytes,3,opt,name=GroupAddress,proto3" json:"GroupAddress,omitempty"`
Arjun E K57a7fcb2020-01-30 06:44:45 +00001699 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1700 XXX_unrecognized []byte `json:"-"`
1701 XXX_sizecache int32 `json:"-"`
1702}
1703
1704func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
1705func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
1706func (*IgmpRequest) ProtoMessage() {}
1707func (*IgmpRequest) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001708 return fileDescriptor_ef7750073d18011b, []int{24}
Arjun E K57a7fcb2020-01-30 06:44:45 +00001709}
1710
1711func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
1712 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
1713}
1714func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1715 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
1716}
1717func (m *IgmpRequest) XXX_Merge(src proto.Message) {
1718 xxx_messageInfo_IgmpRequest.Merge(m, src)
1719}
1720func (m *IgmpRequest) XXX_Size() int {
1721 return xxx_messageInfo_IgmpRequest.Size(m)
1722}
1723func (m *IgmpRequest) XXX_DiscardUnknown() {
1724 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
1725}
1726
1727var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
1728
1729func (m *IgmpRequest) GetOnuReq() *ONURequest {
1730 if m != nil {
1731 return m.OnuReq
1732 }
1733 return nil
1734}
1735
1736func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
1737 if m != nil {
1738 return m.SubActionVal
1739 }
1740 return SubActionTypes_JOIN
1741}
1742
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00001743func (m *IgmpRequest) GetGroupAddress() string {
1744 if m != nil {
1745 return m.GroupAddress
1746 }
1747 return ""
1748}
1749
Pragya Arya8bdb4532020-03-02 17:08:09 +05301750type Flows struct {
1751 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
1752 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
1753 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1754 XXX_unrecognized []byte `json:"-"`
1755 XXX_sizecache int32 `json:"-"`
1756}
1757
1758func (m *Flows) Reset() { *m = Flows{} }
1759func (m *Flows) String() string { return proto.CompactTextString(m) }
1760func (*Flows) ProtoMessage() {}
1761func (*Flows) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001762 return fileDescriptor_ef7750073d18011b, []int{25}
Pragya Arya8bdb4532020-03-02 17:08:09 +05301763}
1764
1765func (m *Flows) XXX_Unmarshal(b []byte) error {
1766 return xxx_messageInfo_Flows.Unmarshal(m, b)
1767}
1768func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1769 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
1770}
1771func (m *Flows) XXX_Merge(src proto.Message) {
1772 xxx_messageInfo_Flows.Merge(m, src)
1773}
1774func (m *Flows) XXX_Size() int {
1775 return xxx_messageInfo_Flows.Size(m)
1776}
1777func (m *Flows) XXX_DiscardUnknown() {
1778 xxx_messageInfo_Flows.DiscardUnknown(m)
1779}
1780
1781var xxx_messageInfo_Flows proto.InternalMessageInfo
1782
1783func (m *Flows) GetFlowCount() uint32 {
1784 if m != nil {
1785 return m.FlowCount
1786 }
1787 return 0
1788}
1789
1790func (m *Flows) GetFlows() []*openolt.Flow {
1791 if m != nil {
1792 return m.Flows
1793 }
1794 return nil
1795}
1796
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001797type Timeout struct {
1798 Delay uint32 `protobuf:"varint,1,opt,name=delay,proto3" json:"delay,omitempty"`
1799 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1800 XXX_unrecognized []byte `json:"-"`
1801 XXX_sizecache int32 `json:"-"`
1802}
1803
1804func (m *Timeout) Reset() { *m = Timeout{} }
1805func (m *Timeout) String() string { return proto.CompactTextString(m) }
1806func (*Timeout) ProtoMessage() {}
1807func (*Timeout) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001808 return fileDescriptor_ef7750073d18011b, []int{26}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001809}
1810
1811func (m *Timeout) XXX_Unmarshal(b []byte) error {
1812 return xxx_messageInfo_Timeout.Unmarshal(m, b)
1813}
1814func (m *Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1815 return xxx_messageInfo_Timeout.Marshal(b, m, deterministic)
1816}
1817func (m *Timeout) XXX_Merge(src proto.Message) {
1818 xxx_messageInfo_Timeout.Merge(m, src)
1819}
1820func (m *Timeout) XXX_Size() int {
1821 return xxx_messageInfo_Timeout.Size(m)
1822}
1823func (m *Timeout) XXX_DiscardUnknown() {
1824 xxx_messageInfo_Timeout.DiscardUnknown(m)
1825}
1826
1827var xxx_messageInfo_Timeout proto.InternalMessageInfo
1828
1829func (m *Timeout) GetDelay() uint32 {
1830 if m != nil {
1831 return m.Delay
1832 }
1833 return 0
1834}
1835
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001836type Empty struct {
1837 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1838 XXX_unrecognized []byte `json:"-"`
1839 XXX_sizecache int32 `json:"-"`
1840}
1841
1842func (m *Empty) Reset() { *m = Empty{} }
1843func (m *Empty) String() string { return proto.CompactTextString(m) }
1844func (*Empty) ProtoMessage() {}
1845func (*Empty) Descriptor() ([]byte, []int) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001846 return fileDescriptor_ef7750073d18011b, []int{27}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001847}
1848
1849func (m *Empty) XXX_Unmarshal(b []byte) error {
1850 return xxx_messageInfo_Empty.Unmarshal(m, b)
1851}
1852func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1853 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1854}
1855func (m *Empty) XXX_Merge(src proto.Message) {
1856 xxx_messageInfo_Empty.Merge(m, src)
1857}
1858func (m *Empty) XXX_Size() int {
1859 return xxx_messageInfo_Empty.Size(m)
1860}
1861func (m *Empty) XXX_DiscardUnknown() {
1862 xxx_messageInfo_Empty.DiscardUnknown(m)
1863}
1864
1865var xxx_messageInfo_Empty proto.InternalMessageInfo
1866
1867func init() {
Elia Battistonac63b112022-01-12 18:40:49 +01001868 proto.RegisterEnum("bbsim.UniType", UniType_name, UniType_value)
Arjun E K57a7fcb2020-01-30 06:44:45 +00001869 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001870 proto.RegisterEnum("bbsim.OltAllocatedResourceType_Type", OltAllocatedResourceType_Type_name, OltAllocatedResourceType_Type_value)
Scott Baker41724b82020-01-21 19:54:53 -08001871 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001872 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001873 proto.RegisterType((*PonAllocatedResources)(nil), "bbsim.PonAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001874 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1875 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08001876 proto.RegisterType((*OltAllocatedResourceType)(nil), "bbsim.OltAllocatedResourceType")
1877 proto.RegisterType((*OltAllocatedResource)(nil), "bbsim.OltAllocatedResource")
1878 proto.RegisterType((*OltAllocatedResources)(nil), "bbsim.OltAllocatedResources")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001879 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001880 proto.RegisterType((*UNI)(nil), "bbsim.UNI")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001881 proto.RegisterType((*Service)(nil), "bbsim.Service")
Anand S Katti09541352020-01-29 15:54:01 +05301882 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001883 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
Matteo Scandolo4a036262020-08-17 15:56:13 -07001884 proto.RegisterType((*Services)(nil), "bbsim.Services")
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07001885 proto.RegisterType((*UNIs)(nil), "bbsim.UNIs")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001886 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Pragya Aryabd731ec2020-02-11 16:38:17 +05301887 proto.RegisterType((*PONRequest)(nil), "bbsim.PONRequest")
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07001888 proto.RegisterType((*UNIRequest)(nil), "bbsim.UNIRequest")
Scott Baker41724b82020-01-21 19:54:53 -08001889 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1890 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301891 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1892 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001893 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1894 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1895 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001896 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301897 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandolo88c204a2020-11-03 10:34:24 -08001898 proto.RegisterType((*Timeout)(nil), "bbsim.Timeout")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001899 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1900}
1901
Matteo Scandolof65e6872020-04-15 15:18:43 -07001902func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001903
1904var fileDescriptor_ef7750073d18011b = []byte{
Elia Battiston9a1da622022-02-09 14:43:52 +01001905 // 2256 bytes of a gzipped FileDescriptorProto
Elia Battistonac63b112022-01-12 18:40:49 +01001906 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdd, 0x6e, 0xdb, 0xc8,
Elia Battiston9a1da622022-02-09 14:43:52 +01001907 0x15, 0xb6, 0xfe, 0x2c, 0xe9, 0xc8, 0x92, 0xe8, 0x49, 0xec, 0x25, 0x1c, 0xef, 0xc6, 0xe0, 0x66,
1908 0x17, 0x4e, 0xb0, 0xeb, 0x6c, 0x92, 0xee, 0x36, 0xb9, 0x94, 0x25, 0x5a, 0xe1, 0x5a, 0x26, 0x89,
1909 0xa1, 0xe4, 0x20, 0xed, 0x85, 0x40, 0x8b, 0x63, 0x99, 0x28, 0x45, 0x2a, 0x24, 0x65, 0xd7, 0x0f,
1910 0xd0, 0x67, 0xe8, 0xe5, 0x02, 0x7d, 0x80, 0xbe, 0x47, 0xef, 0x7a, 0x5f, 0xa0, 0xbd, 0xea, 0x7b,
1911 0x14, 0x33, 0x1c, 0x52, 0xa4, 0x44, 0x3b, 0xce, 0x55, 0x6f, 0x04, 0x9e, 0xef, 0xfc, 0xcc, 0x99,
1912 0xf3, 0x33, 0x73, 0x46, 0xb0, 0x63, 0xce, 0xed, 0x97, 0x17, 0x17, 0x81, 0x3d, 0x8b, 0x7e, 0x8f,
1913 0xe6, 0xbe, 0x17, 0x7a, 0xa8, 0xc2, 0x88, 0xbd, 0x27, 0xd7, 0x9e, 0x13, 0x5e, 0x99, 0x63, 0x06,
1914 0x06, 0x2f, 0xbd, 0x39, 0x71, 0x3d, 0x27, 0x8c, 0x64, 0xf6, 0x0e, 0xb2, 0xcc, 0x90, 0x4c, 0xae,
1915 0xe8, 0xf7, 0xa5, 0xed, 0x90, 0x48, 0x42, 0xfa, 0x4f, 0x11, 0xaa, 0xba, 0xa6, 0xea, 0x9e, 0x1f,
1916 0xa2, 0x16, 0x14, 0x95, 0x9e, 0x58, 0x38, 0x28, 0x1c, 0x56, 0x70, 0x51, 0xe9, 0xa1, 0x7d, 0xa8,
1917 0x6b, 0x73, 0xe2, 0x1b, 0xa1, 0x19, 0x12, 0xb1, 0x78, 0x50, 0x38, 0xac, 0xe3, 0x25, 0x80, 0x9e,
1918 0x41, 0x53, 0x71, 0x43, 0xe2, 0xbb, 0xa6, 0x13, 0x49, 0x94, 0x98, 0x44, 0x16, 0x44, 0x07, 0xd0,
1919 0xd0, 0xcd, 0xc9, 0x9f, 0x48, 0xd8, 0xf5, 0x16, 0x6e, 0x28, 0x96, 0x0f, 0x0a, 0x87, 0x65, 0x9c,
1920 0x86, 0xd0, 0x09, 0xb4, 0x3b, 0x8e, 0xe3, 0x4d, 0xcc, 0x90, 0x58, 0x9a, 0xbb, 0x50, 0xac, 0x40,
1921 0xac, 0x1c, 0x94, 0x0e, 0x1b, 0xaf, 0xf7, 0x8f, 0xa2, 0xed, 0xea, 0x9e, 0x9b, 0x08, 0x60, 0x12,
1922 0x78, 0x0b, 0x7f, 0x42, 0x02, 0xbc, 0xaa, 0x84, 0x7e, 0x85, 0xed, 0x04, 0xea, 0x93, 0x19, 0xdd,
1923 0x51, 0x20, 0x6e, 0x3e, 0xc0, 0xd2, 0xba, 0x5a, 0xc6, 0x16, 0xfb, 0xa0, 0x5e, 0x55, 0xbf, 0xc8,
1924 0x56, 0xac, 0x26, 0x9d, 0xc2, 0x4e, 0xae, 0x2c, 0x92, 0x60, 0xcb, 0x20, 0xbe, 0x6d, 0x3a, 0xea,
1925 0x62, 0x76, 0x41, 0x7c, 0x16, 0xf8, 0x3a, 0xce, 0x60, 0x2c, 0x25, 0x16, 0x8b, 0x3d, 0x4d, 0x89,
1926 0x25, 0xfd, 0x1e, 0xaa, 0xaa, 0xaa, 0x7c, 0x79, 0xb6, 0xa4, 0xff, 0x16, 0xa0, 0xa4, 0x39, 0xeb,
1927 0x5a, 0xab, 0x4e, 0x14, 0x73, 0x9c, 0xc8, 0x58, 0x2e, 0x7d, 0xb6, 0x0e, 0xca, 0x79, 0x75, 0x40,
1928 0xd7, 0xd5, 0xc5, 0x2a, 0x63, 0x15, 0x15, 0x1d, 0xbd, 0x80, 0x1a, 0xdf, 0x48, 0x9c, 0xee, 0x16,
1929 0x0f, 0x2c, 0x87, 0x71, 0xc2, 0xa7, 0xb2, 0xbc, 0x44, 0xe3, 0x84, 0xc6, 0xb2, 0x1c, 0xc6, 0x09,
1930 0x5f, 0xfa, 0x4b, 0x01, 0x44, 0xcd, 0x09, 0xd7, 0xc2, 0x3d, 0xbc, 0x9d, 0x13, 0xf4, 0x16, 0xca,
1931 0xe1, 0xed, 0x9c, 0xb0, 0xed, 0xb7, 0x5e, 0x3f, 0xe3, 0x46, 0xee, 0x12, 0x3f, 0xa2, 0x3f, 0x98,
1932 0x69, 0x48, 0x2f, 0xa1, 0xcc, 0x2c, 0x34, 0xa0, 0x3a, 0x52, 0x4f, 0x55, 0xed, 0x83, 0x2a, 0x6c,
1933 0xa0, 0x2d, 0xa8, 0x75, 0x06, 0x03, 0xad, 0x3b, 0x56, 0x7a, 0x42, 0x81, 0x52, 0x7d, 0xf9, 0x6c,
1934 0xac, 0x6b, 0x78, 0x28, 0x14, 0xa5, 0xbf, 0x17, 0xe0, 0x71, 0x9e, 0x61, 0x84, 0x22, 0x4b, 0x3c,
1935 0xdb, 0x91, 0xd5, 0x7d, 0xa8, 0xeb, 0x9e, 0x4b, 0x37, 0xc0, 0x93, 0xdd, 0xc4, 0x4b, 0x00, 0x3d,
1936 0x86, 0x0a, 0x2b, 0x71, 0x16, 0xfa, 0x26, 0x8e, 0x08, 0xb4, 0x0b, 0x9b, 0x94, 0xaf, 0x7a, 0x2c,
1937 0xde, 0x4d, 0xcc, 0x29, 0xf4, 0x0d, 0x40, 0xbc, 0x96, 0x62, 0x89, 0x15, 0x96, 0xe8, 0x14, 0x42,
1938 0xf5, 0x4e, 0x1c, 0xef, 0x46, 0xb1, 0xc4, 0x4d, 0xd6, 0x8b, 0x9c, 0x92, 0x30, 0xec, 0xe4, 0xf9,
1939 0x1b, 0xa0, 0x77, 0x50, 0xf7, 0x63, 0x42, 0x2c, 0xb0, 0xf0, 0x3f, 0xb9, 0x27, 0x72, 0x78, 0x29,
1940 0x2d, 0xfd, 0x56, 0x86, 0x92, 0xa6, 0x8e, 0xfe, 0x6f, 0x45, 0x97, 0x8a, 0x6b, 0x8f, 0x87, 0x62,
1941 0x09, 0xa0, 0x03, 0xa8, 0xbf, 0xbf, 0xe9, 0x58, 0x96, 0x4f, 0x82, 0x40, 0xac, 0x51, 0xfd, 0xe3,
1942 0xa2, 0x58, 0xc0, 0x4b, 0x10, 0xed, 0x25, 0x31, 0xae, 0x53, 0x65, 0xc6, 0x8e, 0xe3, 0x7c, 0x04,
1943 0xb5, 0x80, 0xf8, 0xd7, 0x36, 0x8d, 0x0a, 0x64, 0x8a, 0xd2, 0x88, 0x60, 0x26, 0x9d, 0xc8, 0xa0,
1944 0x1e, 0x7c, 0xad, 0xcc, 0xcc, 0x29, 0x31, 0xbc, 0xcb, 0xf0, 0xc6, 0xf4, 0x89, 0xfc, 0xe7, 0x39,
1945 0x99, 0x84, 0xc4, 0x32, 0xc8, 0x24, 0xb4, 0x3d, 0x37, 0x10, 0x1b, 0xcc, 0xbf, 0xfb, 0x85, 0xd6,
1946 0xac, 0x60, 0x32, 0x21, 0xf6, 0x75, 0xca, 0xca, 0x56, 0x8e, 0x95, 0x55, 0x21, 0xf4, 0x13, 0x3c,
1947 0xea, 0x4c, 0x42, 0xfb, 0x9a, 0x30, 0x31, 0xd9, 0x0d, 0xed, 0xf0, 0x56, 0xb1, 0xc4, 0x26, 0xd3,
1948 0xcd, 0x63, 0xa1, 0x5f, 0x60, 0xb7, 0xeb, 0xcd, 0x66, 0x76, 0x18, 0x12, 0x2b, 0xab, 0xd4, 0x62,
1949 0x4a, 0x77, 0x70, 0xd1, 0x37, 0x50, 0x5e, 0xb8, 0x76, 0x20, 0xb6, 0x59, 0x84, 0x80, 0x47, 0x68,
1950 0xa4, 0x2a, 0x98, 0xe1, 0xd2, 0xbf, 0x0a, 0x50, 0x1a, 0xa9, 0xca, 0x5a, 0x85, 0xf0, 0x9a, 0xef,
1951 0xf1, 0xa3, 0x2f, 0x22, 0x38, 0x6a, 0xb8, 0xbc, 0x1e, 0x22, 0x82, 0x76, 0xd4, 0x19, 0x51, 0x7a,
1952 0xbc, 0x0f, 0xd8, 0x77, 0xb6, 0x7a, 0x2a, 0xab, 0xd5, 0xb3, 0xec, 0x9d, 0x4d, 0x66, 0x3e, 0xce,
1953 0xe9, 0x8b, 0x54, 0x4e, 0xab, 0x79, 0x39, 0x4d, 0xe5, 0x53, 0xe2, 0x7d, 0x5c, 0x63, 0x67, 0x49,
1954 0x2c, 0x37, 0x72, 0xed, 0xe8, 0xd4, 0xa0, 0xbf, 0xd2, 0x3f, 0x2a, 0x50, 0xe5, 0x9a, 0xd4, 0x4b,
1955 0xd5, 0x9c, 0x25, 0x7d, 0x4f, 0xbf, 0xa9, 0x97, 0xcb, 0x0a, 0xe4, 0x47, 0xf6, 0xb2, 0xfa, 0xee,
1956 0xdc, 0xad, 0x31, 0x34, 0xa7, 0x6c, 0xb7, 0x15, 0xcc, 0xbe, 0x29, 0xd6, 0xa5, 0x58, 0x54, 0xe2,
1957 0xec, 0x9b, 0x9e, 0x03, 0x2a, 0x21, 0x56, 0x20, 0x9b, 0x73, 0xcf, 0x61, 0xfb, 0xac, 0xe1, 0x14,
1958 0x42, 0xd7, 0x66, 0x54, 0xef, 0x6a, 0x32, 0x67, 0xe7, 0x72, 0x0d, 0x2f, 0x81, 0x84, 0xab, 0x4c,
1959 0x67, 0x73, 0xb6, 0xc5, 0x98, 0x4b, 0x01, 0x24, 0x42, 0x95, 0x5f, 0x95, 0x51, 0x63, 0xe0, 0x98,
1960 0xa4, 0xab, 0x32, 0xf3, 0x51, 0xe0, 0x81, 0x39, 0x9e, 0x42, 0xa8, 0x5d, 0x6a, 0x3f, 0x62, 0x37,
1961 0xa2, 0x1d, 0x27, 0xc0, 0x7a, 0x57, 0x6f, 0xdd, 0xd1, 0xd5, 0x4a, 0xff, 0x4c, 0x8f, 0x24, 0x9a,
1962 0x91, 0x8d, 0x04, 0xa0, 0x51, 0x1b, 0xb9, 0x36, 0x2f, 0xcc, 0x26, 0x8e, 0x08, 0x3a, 0x86, 0xd0,
1963 0xd4, 0x98, 0xd3, 0x33, 0x33, 0x9c, 0x5c, 0x89, 0x6d, 0xe6, 0x75, 0x1a, 0x42, 0xdf, 0x43, 0x6b,
1964 0x14, 0xd0, 0xc8, 0xe9, 0xbe, 0xed, 0xf9, 0x76, 0x78, 0x2b, 0x0a, 0xcc, 0xc0, 0x0a, 0x1a, 0xc9,
1965 0x19, 0x69, 0xb9, 0xed, 0x58, 0xce, 0x58, 0x91, 0xeb, 0x65, 0xed, 0xa1, 0x48, 0xae, 0xb7, 0x66,
1966 0xaf, 0x97, 0xb5, 0xf7, 0x28, 0x96, 0xcb, 0xd8, 0x8b, 0xf3, 0xa9, 0xeb, 0xba, 0x27, 0x8b, 0x8f,
1967 0x53, 0xf9, 0x64, 0x08, 0xed, 0xe9, 0xae, 0xe7, 0x5e, 0xda, 0xd3, 0x85, 0x4f, 0xce, 0xcc, 0x49,
1968 0x5c, 0x55, 0x3b, 0x4c, 0x30, 0x8f, 0x85, 0x7e, 0x80, 0x6d, 0xd9, 0x35, 0x2f, 0x1c, 0x8a, 0x0d,
1969 0x88, 0xe9, 0xbb, 0xb6, 0x3b, 0x15, 0x77, 0x99, 0xfc, 0x3a, 0x43, 0x32, 0xe1, 0xb1, 0xa6, 0x8e,
1970 0x86, 0xbe, 0x79, 0x79, 0x69, 0x4f, 0x8c, 0xc9, 0x15, 0xb1, 0x16, 0x0e, 0xf1, 0x03, 0xa4, 0x40,
1971 0x3b, 0xa4, 0xe0, 0x12, 0x62, 0x25, 0xde, 0x78, 0xfd, 0xf4, 0x28, 0x33, 0x6e, 0xae, 0x69, 0xe2,
1972 0x55, 0x3d, 0xe9, 0x10, 0xca, 0x9a, 0x3a, 0x0a, 0xd0, 0x01, 0x54, 0xec, 0x90, 0xcc, 0xe2, 0xdb,
1973 0x26, 0x3e, 0x35, 0x34, 0x75, 0x84, 0x23, 0x86, 0xf4, 0x13, 0xd4, 0x8c, 0xb8, 0x11, 0x9f, 0x65,
1974 0xa5, 0x57, 0x3b, 0x96, 0x6b, 0x1c, 0x42, 0x79, 0xa4, 0x2a, 0x77, 0xda, 0xa6, 0x27, 0x52, 0x62,
1975 0x1b, 0xe8, 0x4a, 0xe4, 0xd3, 0x82, 0x04, 0xe1, 0x43, 0x86, 0x34, 0xe9, 0x05, 0x80, 0xae, 0xa9,
1976 0xb1, 0x46, 0xe6, 0x32, 0x2f, 0xac, 0x5c, 0xe6, 0xd2, 0x00, 0x80, 0xae, 0xc5, 0x65, 0x0f, 0xa1,
1977 0x4d, 0xbb, 0x7a, 0x7d, 0x81, 0x55, 0x38, 0x2e, 0xeb, 0x1e, 0x3f, 0x26, 0x22, 0x42, 0xfa, 0x77,
1978 0x09, 0xea, 0x1d, 0xc7, 0xf4, 0x67, 0xec, 0xb8, 0xf9, 0x67, 0x09, 0x2a, 0xf4, 0x23, 0x40, 0x55,
1979 0x28, 0x0d, 0x34, 0x43, 0xd8, 0x40, 0x2d, 0x80, 0xde, 0x47, 0x45, 0xed, 0x8f, 0xfb, 0x1d, 0x43,
1980 0x17, 0x0a, 0xa8, 0x09, 0x75, 0x4d, 0x1d, 0x8d, 0x3b, 0x83, 0x0e, 0x3e, 0x13, 0x8a, 0xe8, 0x2b,
1981 0x78, 0x44, 0x49, 0x63, 0xd8, 0xc1, 0xc3, 0x91, 0x3e, 0x3e, 0xe9, 0x28, 0x83, 0x11, 0x96, 0x85,
1982 0x12, 0xda, 0x05, 0xc4, 0x18, 0x4a, 0x5f, 0xed, 0x0c, 0xc6, 0x3d, 0xb9, 0x8f, 0x3b, 0x3d, 0x59,
1983 0x28, 0xc7, 0x0a, 0x3d, 0xac, 0x9c, 0x0c, 0xc7, 0xda, 0xc9, 0xf8, 0x83, 0xa2, 0xf6, 0xb4, 0x0f,
1984 0x42, 0x05, 0xed, 0x83, 0x48, 0x19, 0x03, 0xcd, 0x30, 0x28, 0xae, 0x9d, 0x75, 0x95, 0x71, 0xf7,
1985 0x7d, 0x47, 0x55, 0xe5, 0x81, 0xb0, 0x99, 0xac, 0xc3, 0xcc, 0x19, 0xc9, 0x3a, 0x55, 0xf4, 0x1c,
1986 0xbe, 0xa3, 0x8c, 0x21, 0xee, 0xa8, 0xc6, 0x99, 0x62, 0x18, 0x8a, 0xa6, 0x8e, 0x15, 0x75, 0x28,
1987 0xe3, 0x13, 0x19, 0xcb, 0x6a, 0x57, 0x1e, 0x7f, 0xe8, 0x60, 0x55, 0x51, 0xfb, 0x42, 0x0d, 0xed,
1988 0xc1, 0x2e, 0x73, 0xbd, 0x3b, 0x54, 0xce, 0x3b, 0x43, 0x2a, 0x18, 0x9b, 0xa9, 0x23, 0x91, 0x15,
1989 0xe7, 0x58, 0xc7, 0x5a, 0x57, 0x36, 0x0c, 0xba, 0x5f, 0x19, 0x63, 0x0d, 0x0b, 0x80, 0x0e, 0x60,
1990 0x3f, 0xed, 0xd7, 0xa9, 0xfc, 0x71, 0x6c, 0x7c, 0x54, 0xbb, 0x89, 0x6e, 0x03, 0xed, 0xc0, 0x36,
1991 0x95, 0x50, 0x86, 0xa3, 0xb1, 0xae, 0xa9, 0x34, 0x16, 0x43, 0x43, 0xd8, 0x42, 0xdb, 0xd0, 0x4c,
1992 0x22, 0x45, 0xd5, 0x85, 0xe6, 0x2a, 0x74, 0x2c, 0xb4, 0xe2, 0x8d, 0xc5, 0x90, 0xde, 0x1d, 0xd3,
1993 0x5d, 0x08, 0xed, 0x38, 0x1e, 0x19, 0x46, 0x97, 0x7b, 0x25, 0x20, 0x04, 0xad, 0x34, 0xf7, 0x44,
1994 0x11, 0xb6, 0xd1, 0x23, 0x68, 0xa7, 0xb1, 0xce, 0x99, 0x22, 0x20, 0xe9, 0x2d, 0xb4, 0x58, 0x7e,
1995 0x75, 0xd3, 0x37, 0x67, 0x24, 0x24, 0x3e, 0x12, 0xa0, 0x74, 0x4a, 0x6e, 0x79, 0x99, 0xd0, 0x4f,
1996 0x5a, 0x1a, 0xe7, 0xa6, 0xb3, 0x88, 0x87, 0xfe, 0x88, 0x90, 0xfe, 0x56, 0x60, 0xf6, 0x98, 0x76,
1997 0xaa, 0x34, 0x93, 0x6a, 0xe1, 0x16, 0x96, 0xc0, 0x83, 0xa6, 0xb2, 0x5d, 0xd8, 0xa4, 0xc7, 0xec,
1998 0x22, 0xe0, 0x97, 0x12, 0xa7, 0xd0, 0xcf, 0x00, 0x89, 0x8b, 0x81, 0x58, 0x66, 0xbd, 0xb5, 0xc3,
1999 0x7b, 0x2b, 0xbb, 0x01, 0x9c, 0x12, 0x94, 0x3e, 0x41, 0x5b, 0x1b, 0x0c, 0x33, 0x3e, 0x1e, 0x40,
2000 0x83, 0x1d, 0xf7, 0x97, 0xe6, 0x84, 0xf0, 0x91, 0xa0, 0x89, 0xd3, 0x50, 0x72, 0x4b, 0x50, 0x92,
2001 0xed, 0xa4, 0x98, 0xba, 0x25, 0x62, 0xf0, 0x2e, 0x4f, 0xe9, 0x03, 0xa1, 0x79, 0x4e, 0xfc, 0xc0,
2002 0xf6, 0x5c, 0xbe, 0x27, 0x11, 0xaa, 0xd7, 0x11, 0xc0, 0x63, 0x12, 0x93, 0x34, 0x5e, 0x17, 0x0b,
2003 0xdb, 0xb1, 0x86, 0xf6, 0x2c, 0x79, 0x52, 0x25, 0x00, 0x3d, 0x91, 0x27, 0x6c, 0xea, 0x79, 0x6f,
2004 0x06, 0x57, 0x7c, 0x95, 0x14, 0x42, 0xb5, 0xa7, 0x76, 0xc8, 0x9d, 0x88, 0xe6, 0xd3, 0x25, 0x20,
2005 0xbd, 0x85, 0xda, 0xc0, 0x9b, 0x0e, 0xc8, 0x35, 0x71, 0x68, 0x06, 0x1d, 0xfa, 0xc1, 0xd7, 0x8f,
2006 0x08, 0xba, 0x83, 0x89, 0xe9, 0x38, 0x3c, 0x13, 0x35, 0xcc, 0x29, 0x49, 0x86, 0x1a, 0x26, 0xc1,
2007 0xdc, 0x73, 0x03, 0x82, 0x9e, 0x42, 0x23, 0x60, 0xf6, 0xc6, 0x13, 0xcf, 0x22, 0x7c, 0x80, 0x82,
2008 0x08, 0xea, 0x7a, 0x16, 0xa1, 0x9b, 0x9b, 0x91, 0x20, 0x30, 0xa7, 0xf1, 0x06, 0x62, 0x52, 0xfa,
2009 0x6b, 0x01, 0x1a, 0xf4, 0x36, 0x8f, 0x03, 0xff, 0x1c, 0x36, 0x35, 0x77, 0x81, 0xc9, 0x27, 0x7e,
2010 0x7e, 0x6f, 0xa7, 0x8e, 0xdd, 0x48, 0x04, 0x73, 0x01, 0xf4, 0x0e, 0xb6, 0x8c, 0xc5, 0x45, 0x87,
2011 0x4d, 0x93, 0xe7, 0xa6, 0xc3, 0x2c, 0xb7, 0x92, 0x7c, 0x27, 0x2c, 0x76, 0x16, 0xe1, 0x8c, 0x28,
2012 0x2d, 0xb2, 0xbe, 0xef, 0x2d, 0xe6, 0xf1, 0xfd, 0x14, 0x85, 0x2d, 0x83, 0x49, 0xa7, 0x50, 0xa1,
2013 0x8f, 0x92, 0x00, 0x7d, 0x0d, 0x70, 0xe9, 0x78, 0x37, 0xe3, 0x09, 0xfb, 0xef, 0x80, 0x9f, 0xa5,
2014 0x14, 0x89, 0xfe, 0x39, 0xf8, 0x16, 0x2a, 0x94, 0xa0, 0xa3, 0x13, 0xad, 0xb7, 0xe6, 0x51, 0xfc,
2015 0xe7, 0x07, 0xd5, 0xc6, 0x11, 0x4f, 0x7a, 0x0a, 0x55, 0x9a, 0x2d, 0x6f, 0x11, 0xd2, 0x30, 0x5b,
2016 0xc4, 0x31, 0x6f, 0xb9, 0xa5, 0x88, 0x90, 0xaa, 0x50, 0x91, 0x67, 0xf3, 0xf0, 0xf6, 0xc5, 0x3e,
2017 0x54, 0xf9, 0xf8, 0x46, 0xcf, 0x4f, 0x79, 0xf8, 0x5e, 0xd8, 0x40, 0x35, 0x28, 0xeb, 0xda, 0xd0,
2018 0x10, 0x0a, 0x2f, 0x5e, 0x41, 0x2b, 0xbb, 0x31, 0xca, 0xfb, 0x55, 0x53, 0xe8, 0x43, 0xb0, 0x0e,
2019 0x95, 0x81, 0xdc, 0x39, 0x97, 0x85, 0x02, 0x02, 0xd8, 0xa4, 0xe0, 0xf9, 0x1b, 0xa1, 0xf8, 0xfa,
2020 0xb7, 0x2d, 0xa8, 0x1c, 0x1f, 0x1b, 0xf6, 0x0c, 0xbd, 0x84, 0x2a, 0xaf, 0x39, 0xb4, 0xc5, 0xa3,
2021 0xc4, 0xd6, 0xdc, 0x7b, 0xcc, 0xa9, 0x4c, 0x45, 0x4a, 0x1b, 0xe8, 0x15, 0x34, 0x0c, 0x12, 0x26,
2022 0x05, 0xd2, 0xe6, 0x62, 0x31, 0xb0, 0xb7, 0x0a, 0x48, 0x1b, 0xe8, 0x19, 0x6c, 0xf6, 0x49, 0x48,
2023 0xdf, 0xf8, 0xd9, 0x25, 0x60, 0xf9, 0x58, 0x93, 0x36, 0xd0, 0x1f, 0x41, 0x8c, 0xa4, 0x72, 0x5e,
2024 0x7a, 0x4f, 0x3f, 0xf3, 0x20, 0xde, 0xdb, 0xbf, 0x47, 0x20, 0x90, 0x36, 0xd0, 0x8f, 0x00, 0xba,
2025 0x77, 0x43, 0x7c, 0xcf, 0x5d, 0x77, 0x23, 0xf6, 0x38, 0x2e, 0x5d, 0x69, 0x03, 0x1d, 0x41, 0xc3,
2026 0xb8, 0x5a, 0x84, 0x96, 0x77, 0xf3, 0x30, 0xf9, 0x1f, 0xa0, 0x8e, 0xc9, 0x85, 0xe7, 0x85, 0x0f,
2027 0x92, 0xa6, 0x09, 0x0b, 0xbd, 0xf9, 0x14, 0xeb, 0x5d, 0x3a, 0x0b, 0x10, 0xff, 0xf3, 0x2a, 0xaf,
2028 0xa1, 0x6d, 0x84, 0xa6, 0x1f, 0x7e, 0x89, 0xce, 0x2f, 0xb0, 0x8d, 0x49, 0xb0, 0xa2, 0x15, 0x0f,
2029 0x21, 0xbc, 0xf2, 0xf2, 0xf4, 0x9e, 0x47, 0xe9, 0x52, 0x47, 0x68, 0xbd, 0xd1, 0xf6, 0x52, 0x23,
2030 0x8f, 0xb4, 0x81, 0xbe, 0xa7, 0xe3, 0x76, 0xc8, 0x46, 0xa3, 0xac, 0x3b, 0x8d, 0xa5, 0x18, 0x0d,
2031 0xff, 0x1b, 0x68, 0xf4, 0x49, 0x98, 0x0c, 0x46, 0xdb, 0xa9, 0xd9, 0x86, 0xdb, 0x6d, 0x67, 0x87,
2032 0xa3, 0x80, 0x25, 0x01, 0xa8, 0x71, 0x77, 0x31, 0x72, 0xed, 0x20, 0xcf, 0x97, 0xc6, 0xd2, 0x0c,
2033 0x5f, 0x24, 0x49, 0x5a, 0xbe, 0xf3, 0x77, 0x04, 0x96, 0x2b, 0x75, 0x1c, 0x27, 0x67, 0x27, 0x39,
2034 0x3a, 0xef, 0x60, 0x3b, 0xb5, 0x50, 0xa0, 0xb9, 0xba, 0xa6, 0x26, 0xcb, 0x2d, 0xe7, 0xad, 0xfc,
2035 0xe5, 0x92, 0x3a, 0x7c, 0xb0, 0x8b, 0xaf, 0xa0, 0xc5, 0x75, 0x1e, 0xec, 0xe1, 0x5b, 0x10, 0x96,
2036 0xcb, 0x7c, 0x91, 0x83, 0xbf, 0x83, 0x2d, 0x5e, 0x34, 0xd1, 0x63, 0xec, 0x9e, 0x54, 0xa5, 0xb4,
2037 0xde, 0x40, 0x83, 0x6b, 0xb1, 0x37, 0xda, 0xc3, 0x94, 0x8e, 0x61, 0xc7, 0x60, 0xf9, 0x65, 0xb7,
2038 0xac, 0xe2, 0x5a, 0xf6, 0xc4, 0xa4, 0x67, 0x18, 0xda, 0x5d, 0x86, 0x25, 0x7d, 0x01, 0xdf, 0x63,
2039 0x83, 0x76, 0xfd, 0x1d, 0x36, 0xb2, 0x97, 0x78, 0x9e, 0x8d, 0x1f, 0xa1, 0xd6, 0x27, 0x61, 0x74,
2040 0xae, 0xe7, 0x64, 0x24, 0x0e, 0x36, 0x13, 0x60, 0xb1, 0x6d, 0x77, 0xaf, 0x4c, 0x77, 0x4a, 0xe8,
2041 0x15, 0x15, 0xbd, 0xec, 0x10, 0x17, 0x49, 0x5d, 0x5a, 0x79, 0x0b, 0x9d, 0xc2, 0x57, 0x51, 0x41,
2042 0xaf, 0xbf, 0x55, 0x72, 0xd6, 0x7d, 0xb2, 0x84, 0xd6, 0xe4, 0x93, 0xd6, 0x63, 0xad, 0x91, 0xdf,
2043 0x7a, 0xbc, 0x2b, 0x7e, 0xa6, 0x33, 0xc9, 0xb5, 0xe9, 0xd8, 0x96, 0x19, 0x92, 0x33, 0x2b, 0x78,
2044 0x58, 0xd1, 0x1d, 0x7f, 0xf7, 0x87, 0x6f, 0xa7, 0x76, 0x78, 0xb5, 0xb8, 0x38, 0x9a, 0x78, 0x33,
2045 0xf6, 0xdf, 0xfd, 0xc4, 0xf3, 0x2d, 0xfe, 0x67, 0x7f, 0xf2, 0xb7, 0xff, 0xc5, 0x26, 0xfb, 0xaf,
2046 0xfe, 0xcd, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xb6, 0xf0, 0x65, 0x56, 0x0a, 0x18, 0x00, 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002047}
2048
2049// Reference imports to suppress errors if they are not otherwise used.
2050var _ context.Context
Kent Hagerman60d62302020-03-10 17:02:36 -04002051var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002052
2053// This is a compile-time assertion to ensure that this generated file
2054// is compatible with the grpc package it is being compiled against.
Kent Hagerman60d62302020-03-10 17:02:36 -04002055const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002056
2057// BBSimClient is the client API for BBSim service.
2058//
2059// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2060type BBSimClient interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002061 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002062 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002063 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302064 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002065 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002066 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002067 GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002068 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002069 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002070 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002071 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002072 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002073 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002074 // Closes the Openolt gRPC server
2075 StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
2076 // Start the Openolt gRPC server
2077 StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302078 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002079 RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002080 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002081 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002082 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302083 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002084 // Get all the Services by Uni ID
2085 GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002086 // Get all the UNIs of an ONU by serial number
2087 GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002088 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002089 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002090 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302091 ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002092 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302093 ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002094 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002095 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002096 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302097 PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002098 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302099 PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002100 // Restart EAPOL for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002101 RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002102 // Restart DHCP for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002103 RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002104 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302105 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002106 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302107 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002108 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302109 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002110 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002111 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002112 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302113 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002114 //Return all the UNIs for all the ONUs
2115 GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error)
Elia Battistonfe017662022-01-05 11:43:16 +01002116 //Invalidate the MDS counter for the ONU
2117 InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002118}
2119
2120type bBSimClient struct {
Kent Hagerman60d62302020-03-10 17:02:36 -04002121 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002122}
2123
Kent Hagerman60d62302020-03-10 17:02:36 -04002124func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002125 return &bBSimClient{cc}
2126}
2127
2128func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
2129 out := new(VersionNumber)
2130 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
2131 if err != nil {
2132 return nil, err
2133 }
2134 return out, nil
2135}
2136
Pragya Aryabd731ec2020-02-11 16:38:17 +05302137func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
2138 out := new(LogLevel)
2139 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
2140 if err != nil {
2141 return nil, err
2142 }
2143 return out, nil
2144}
2145
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002146func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
2147 out := new(Olt)
2148 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
2149 if err != nil {
2150 return nil, err
2151 }
2152 return out, nil
2153}
2154
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002155func (c *bBSimClient) GetOltAllocatedResources(ctx context.Context, in *OltAllocatedResourceType, opts ...grpc.CallOption) (*OltAllocatedResources, error) {
2156 out := new(OltAllocatedResources)
2157 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOltAllocatedResources", in, out, opts...)
2158 if err != nil {
2159 return nil, err
2160 }
2161 return out, nil
2162}
2163
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002164func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2165 out := new(Response)
2166 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
2167 if err != nil {
2168 return nil, err
2169 }
2170 return out, nil
2171}
2172
2173func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2174 out := new(Response)
2175 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
2176 if err != nil {
2177 return nil, err
2178 }
2179 return out, nil
2180}
2181
2182func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2183 out := new(Response)
2184 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
2185 if err != nil {
2186 return nil, err
2187 }
2188 return out, nil
2189}
2190
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002191func (c *bBSimClient) StopgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2192 out := new(Response)
2193 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StopgRPCServer", in, out, opts...)
2194 if err != nil {
2195 return nil, err
2196 }
2197 return out, nil
2198}
2199
2200func (c *bBSimClient) StartgRPCServer(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2201 out := new(Response)
2202 err := c.cc.Invoke(ctx, "/bbsim.BBSim/StartgRPCServer", in, out, opts...)
2203 if err != nil {
2204 return nil, err
2205 }
2206 return out, nil
2207}
2208
2209func (c *bBSimClient) RestartgRPCServer(ctx context.Context, in *Timeout, opts ...grpc.CallOption) (*Response, error) {
2210 out := new(Response)
2211 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartgRPCServer", in, out, opts...)
2212 if err != nil {
2213 return nil, err
2214 }
2215 return out, nil
2216}
2217
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002218func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
2219 out := new(ONU)
2220 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
2221 if err != nil {
2222 return nil, err
2223 }
2224 return out, nil
2225}
2226
Pragya Aryabd731ec2020-02-11 16:38:17 +05302227func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
2228 out := new(ONUs)
2229 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002230 if err != nil {
2231 return nil, err
2232 }
2233 return out, nil
2234}
2235
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002236func (c *bBSimClient) GetServices(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Services, error) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002237 out := new(Services)
2238 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetServices", in, out, opts...)
2239 if err != nil {
2240 return nil, err
2241 }
2242 return out, nil
2243}
2244
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002245func (c *bBSimClient) GetOnuUnis(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*UNIs, error) {
2246 out := new(UNIs)
2247 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuUnis", in, out, opts...)
2248 if err != nil {
2249 return nil, err
2250 }
2251 return out, nil
2252}
2253
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002254func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2255 out := new(Response)
2256 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
2257 if err != nil {
2258 return nil, err
2259 }
2260 return out, nil
2261}
2262
Pragya Aryabd731ec2020-02-11 16:38:17 +05302263func (c *bBSimClient) ShutdownAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2264 out := new(Response)
2265 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownAllONUs", in, out, opts...)
2266 if err != nil {
2267 return nil, err
2268 }
2269 return out, nil
2270}
2271
2272func (c *bBSimClient) ShutdownONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2273 out := new(Response)
2274 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONUsOnPON", in, out, opts...)
2275 if err != nil {
2276 return nil, err
2277 }
2278 return out, nil
2279}
2280
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002281func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2282 out := new(Response)
2283 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
2284 if err != nil {
2285 return nil, err
2286 }
2287 return out, nil
2288}
2289
Pragya Aryabd731ec2020-02-11 16:38:17 +05302290func (c *bBSimClient) PoweronAllONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
2291 out := new(Response)
2292 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronAllONUs", in, out, opts...)
2293 if err != nil {
2294 return nil, err
2295 }
2296 return out, nil
2297}
2298
2299func (c *bBSimClient) PoweronONUsOnPON(ctx context.Context, in *PONRequest, opts ...grpc.CallOption) (*Response, error) {
2300 out := new(Response)
2301 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONUsOnPON", in, out, opts...)
2302 if err != nil {
2303 return nil, err
2304 }
2305 return out, nil
2306}
2307
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002308func (c *bBSimClient) RestartEapol(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002309 out := new(Response)
2310 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
2311 if err != nil {
2312 return nil, err
2313 }
2314 return out, nil
2315}
2316
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002317func (c *bBSimClient) RestartDhcp(ctx context.Context, in *UNIRequest, opts ...grpc.CallOption) (*Response, error) {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002318 out := new(Response)
2319 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
2320 if err != nil {
2321 return nil, err
2322 }
2323 return out, nil
2324}
2325
Anand S Katti86552f92020-03-03 21:56:32 +05302326func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08002327 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05302328 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
2329 if err != nil {
2330 return nil, err
2331 }
2332 return out, nil
2333}
2334
2335func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
2336 out := new(Response)
2337 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08002338 if err != nil {
2339 return nil, err
2340 }
2341 return out, nil
2342}
2343
Pragya Arya8bdb4532020-03-02 17:08:09 +05302344func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
2345 out := new(Flows)
2346 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
2347 if err != nil {
2348 return nil, err
2349 }
2350 return out, nil
2351}
2352
Arjun E K57a7fcb2020-01-30 06:44:45 +00002353func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
2354 out := new(Response)
2355 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
2356 if err != nil {
2357 return nil, err
2358 }
2359 return out, nil
2360}
2361
Anand S Katti09541352020-01-29 15:54:01 +05302362func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
2363 out := new(ONUTrafficSchedulers)
2364 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
2365 if err != nil {
2366 return nil, err
2367 }
2368 return out, nil
2369}
2370
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002371func (c *bBSimClient) GetUnis(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UNIs, error) {
2372 out := new(UNIs)
2373 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetUnis", in, out, opts...)
2374 if err != nil {
2375 return nil, err
2376 }
2377 return out, nil
2378}
2379
Elia Battistonfe017662022-01-05 11:43:16 +01002380func (c *bBSimClient) InvalidateMds(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
2381 out := new(Response)
2382 err := c.cc.Invoke(ctx, "/bbsim.BBSim/InvalidateMds", in, out, opts...)
2383 if err != nil {
2384 return nil, err
2385 }
2386 return out, nil
2387}
2388
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002389// BBSimServer is the server API for BBSim service.
2390type BBSimServer interface {
Matteo Scandolof65e6872020-04-15 15:18:43 -07002391 // Get BBSim version
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002392 Version(context.Context, *Empty) (*VersionNumber, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002393 // Set BBSim log level
Pragya Aryabd731ec2020-02-11 16:38:17 +05302394 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002395 // Get current status of OLT
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002396 GetOlt(context.Context, *Empty) (*Olt, error)
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002397 GetOltAllocatedResources(context.Context, *OltAllocatedResourceType) (*OltAllocatedResources, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002398 // Poweron OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002399 PoweronOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002400 // Shutdown OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002401 ShutdownOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002402 // Reboot OLT
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002403 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002404 // Closes the Openolt gRPC server
2405 StopgRPCServer(context.Context, *Empty) (*Response, error)
2406 // Start the Openolt gRPC server
2407 StartgRPCServer(context.Context, *Empty) (*Response, error)
hkouser24361d42020-12-14 19:21:47 +05302408 // Restart the Openolt gRPC server after the given timeout
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002409 RestartgRPCServer(context.Context, *Timeout) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002410 // Get status of an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002411 GetONU(context.Context, *ONURequest) (*ONU, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002412 // Get status of all ONUs
Pragya Aryabd731ec2020-02-11 16:38:17 +05302413 GetONUs(context.Context, *Empty) (*ONUs, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002414 // Get all the Services by Uni ID
2415 GetServices(context.Context, *UNIRequest) (*Services, error)
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002416 // Get all the UNIs of an ONU by serial number
2417 GetOnuUnis(context.Context, *ONURequest) (*UNIs, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002418 // Shutdown an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002419 ShutdownONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002420 // Shutdown all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302421 ShutdownAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002422 // Shutdown all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302423 ShutdownONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002424 // Poweron an ONU by serial number
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002425 PoweronONU(context.Context, *ONURequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002426 // Poweron all ONUs in OLT
Pragya Aryabd731ec2020-02-11 16:38:17 +05302427 PoweronAllONUs(context.Context, *Empty) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002428 // Poweron all ONUs under a PON by pon-port-ID
Pragya Aryabd731ec2020-02-11 16:38:17 +05302429 PoweronONUsOnPON(context.Context, *PONRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002430 // Restart EAPOL for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002431 RestartEapol(context.Context, *UNIRequest) (*Response, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002432 // Restart DHCP for ONU
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002433 RestartDhcp(context.Context, *UNIRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002434 // Send ONU alarm indication
Anand S Katti86552f92020-03-03 21:56:32 +05302435 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002436 // Send OLT alarm indication for Interface type NNI or PON
Anand S Katti86552f92020-03-03 21:56:32 +05302437 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002438 // Get all flows or ONU specific flows
Pragya Arya8bdb4532020-03-02 17:08:09 +05302439 GetFlows(context.Context, *ONURequest) (*Flows, error)
Onur Kalinagac9f9faca2021-01-21 14:04:34 +00002440 // Change IGMP state
Arjun E K57a7fcb2020-01-30 06:44:45 +00002441 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Matteo Scandolof65e6872020-04-15 15:18:43 -07002442 // Get Traffic scheduler information for ONU
Anand S Katti09541352020-01-29 15:54:01 +05302443 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002444 //Return all the UNIs for all the ONUs
2445 GetUnis(context.Context, *Empty) (*UNIs, error)
Elia Battistonfe017662022-01-05 11:43:16 +01002446 //Invalidate the MDS counter for the ONU
2447 InvalidateMds(context.Context, *ONURequest) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002448}
2449
Pragya Aryabd731ec2020-02-11 16:38:17 +05302450// UnimplementedBBSimServer can be embedded to have forward compatible implementations.
2451type UnimplementedBBSimServer struct {
2452}
2453
2454func (*UnimplementedBBSimServer) Version(ctx context.Context, req *Empty) (*VersionNumber, error) {
2455 return nil, status.Errorf(codes.Unimplemented, "method Version not implemented")
2456}
2457func (*UnimplementedBBSimServer) SetLogLevel(ctx context.Context, req *LogLevel) (*LogLevel, error) {
2458 return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented")
2459}
2460func (*UnimplementedBBSimServer) GetOlt(ctx context.Context, req *Empty) (*Olt, error) {
2461 return nil, status.Errorf(codes.Unimplemented, "method GetOlt not implemented")
2462}
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002463func (*UnimplementedBBSimServer) GetOltAllocatedResources(ctx context.Context, req *OltAllocatedResourceType) (*OltAllocatedResources, error) {
2464 return nil, status.Errorf(codes.Unimplemented, "method GetOltAllocatedResources not implemented")
2465}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302466func (*UnimplementedBBSimServer) PoweronOlt(ctx context.Context, req *Empty) (*Response, error) {
2467 return nil, status.Errorf(codes.Unimplemented, "method PoweronOlt not implemented")
2468}
2469func (*UnimplementedBBSimServer) ShutdownOlt(ctx context.Context, req *Empty) (*Response, error) {
2470 return nil, status.Errorf(codes.Unimplemented, "method ShutdownOlt not implemented")
2471}
2472func (*UnimplementedBBSimServer) RebootOlt(ctx context.Context, req *Empty) (*Response, error) {
2473 return nil, status.Errorf(codes.Unimplemented, "method RebootOlt not implemented")
2474}
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002475func (*UnimplementedBBSimServer) StopgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2476 return nil, status.Errorf(codes.Unimplemented, "method StopgRPCServer not implemented")
2477}
2478func (*UnimplementedBBSimServer) StartgRPCServer(ctx context.Context, req *Empty) (*Response, error) {
2479 return nil, status.Errorf(codes.Unimplemented, "method StartgRPCServer not implemented")
2480}
2481func (*UnimplementedBBSimServer) RestartgRPCServer(ctx context.Context, req *Timeout) (*Response, error) {
2482 return nil, status.Errorf(codes.Unimplemented, "method RestartgRPCServer not implemented")
2483}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302484func (*UnimplementedBBSimServer) GetONU(ctx context.Context, req *ONURequest) (*ONU, error) {
2485 return nil, status.Errorf(codes.Unimplemented, "method GetONU not implemented")
2486}
2487func (*UnimplementedBBSimServer) GetONUs(ctx context.Context, req *Empty) (*ONUs, error) {
2488 return nil, status.Errorf(codes.Unimplemented, "method GetONUs not implemented")
2489}
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002490func (*UnimplementedBBSimServer) GetServices(ctx context.Context, req *UNIRequest) (*Services, error) {
Matteo Scandolo4a036262020-08-17 15:56:13 -07002491 return nil, status.Errorf(codes.Unimplemented, "method GetServices not implemented")
2492}
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002493func (*UnimplementedBBSimServer) GetOnuUnis(ctx context.Context, req *ONURequest) (*UNIs, error) {
2494 return nil, status.Errorf(codes.Unimplemented, "method GetOnuUnis not implemented")
2495}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302496func (*UnimplementedBBSimServer) ShutdownONU(ctx context.Context, req *ONURequest) (*Response, error) {
2497 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONU not implemented")
2498}
2499func (*UnimplementedBBSimServer) ShutdownAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2500 return nil, status.Errorf(codes.Unimplemented, "method ShutdownAllONUs not implemented")
2501}
2502func (*UnimplementedBBSimServer) ShutdownONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2503 return nil, status.Errorf(codes.Unimplemented, "method ShutdownONUsOnPON not implemented")
2504}
2505func (*UnimplementedBBSimServer) PoweronONU(ctx context.Context, req *ONURequest) (*Response, error) {
2506 return nil, status.Errorf(codes.Unimplemented, "method PoweronONU not implemented")
2507}
2508func (*UnimplementedBBSimServer) PoweronAllONUs(ctx context.Context, req *Empty) (*Response, error) {
2509 return nil, status.Errorf(codes.Unimplemented, "method PoweronAllONUs not implemented")
2510}
2511func (*UnimplementedBBSimServer) PoweronONUsOnPON(ctx context.Context, req *PONRequest) (*Response, error) {
2512 return nil, status.Errorf(codes.Unimplemented, "method PoweronONUsOnPON not implemented")
2513}
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002514func (*UnimplementedBBSimServer) RestartEapol(ctx context.Context, req *UNIRequest) (*Response, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302515 return nil, status.Errorf(codes.Unimplemented, "method RestartEapol not implemented")
2516}
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002517func (*UnimplementedBBSimServer) RestartDhcp(ctx context.Context, req *UNIRequest) (*Response, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302518 return nil, status.Errorf(codes.Unimplemented, "method RestartDhcp not implemented")
2519}
2520func (*UnimplementedBBSimServer) SetOnuAlarmIndication(ctx context.Context, req *ONUAlarmRequest) (*Response, error) {
2521 return nil, status.Errorf(codes.Unimplemented, "method SetOnuAlarmIndication not implemented")
2522}
2523func (*UnimplementedBBSimServer) SetOltAlarmIndication(ctx context.Context, req *OLTAlarmRequest) (*Response, error) {
2524 return nil, status.Errorf(codes.Unimplemented, "method SetOltAlarmIndication not implemented")
2525}
2526func (*UnimplementedBBSimServer) GetFlows(ctx context.Context, req *ONURequest) (*Flows, error) {
2527 return nil, status.Errorf(codes.Unimplemented, "method GetFlows not implemented")
2528}
2529func (*UnimplementedBBSimServer) ChangeIgmpState(ctx context.Context, req *IgmpRequest) (*Response, error) {
2530 return nil, status.Errorf(codes.Unimplemented, "method ChangeIgmpState not implemented")
2531}
2532func (*UnimplementedBBSimServer) GetOnuTrafficSchedulers(ctx context.Context, req *ONURequest) (*ONUTrafficSchedulers, error) {
2533 return nil, status.Errorf(codes.Unimplemented, "method GetOnuTrafficSchedulers not implemented")
2534}
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002535func (*UnimplementedBBSimServer) GetUnis(ctx context.Context, req *Empty) (*UNIs, error) {
2536 return nil, status.Errorf(codes.Unimplemented, "method GetUnis not implemented")
2537}
Elia Battistonfe017662022-01-05 11:43:16 +01002538func (*UnimplementedBBSimServer) InvalidateMds(ctx context.Context, req *ONURequest) (*Response, error) {
2539 return nil, status.Errorf(codes.Unimplemented, "method InvalidateMds not implemented")
2540}
Pragya Aryabd731ec2020-02-11 16:38:17 +05302541
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002542func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
2543 s.RegisterService(&_BBSim_serviceDesc, srv)
2544}
2545
2546func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2547 in := new(Empty)
2548 if err := dec(in); err != nil {
2549 return nil, err
2550 }
2551 if interceptor == nil {
2552 return srv.(BBSimServer).Version(ctx, in)
2553 }
2554 info := &grpc.UnaryServerInfo{
2555 Server: srv,
2556 FullMethod: "/bbsim.BBSim/Version",
2557 }
2558 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2559 return srv.(BBSimServer).Version(ctx, req.(*Empty))
2560 }
2561 return interceptor(ctx, in, info, handler)
2562}
2563
Pragya Aryabd731ec2020-02-11 16:38:17 +05302564func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2565 in := new(LogLevel)
2566 if err := dec(in); err != nil {
2567 return nil, err
2568 }
2569 if interceptor == nil {
2570 return srv.(BBSimServer).SetLogLevel(ctx, in)
2571 }
2572 info := &grpc.UnaryServerInfo{
2573 Server: srv,
2574 FullMethod: "/bbsim.BBSim/SetLogLevel",
2575 }
2576 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2577 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
2578 }
2579 return interceptor(ctx, in, info, handler)
2580}
2581
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002582func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2583 in := new(Empty)
2584 if err := dec(in); err != nil {
2585 return nil, err
2586 }
2587 if interceptor == nil {
2588 return srv.(BBSimServer).GetOlt(ctx, in)
2589 }
2590 info := &grpc.UnaryServerInfo{
2591 Server: srv,
2592 FullMethod: "/bbsim.BBSim/GetOlt",
2593 }
2594 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2595 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
2596 }
2597 return interceptor(ctx, in, info, handler)
2598}
2599
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08002600func _BBSim_GetOltAllocatedResources_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2601 in := new(OltAllocatedResourceType)
2602 if err := dec(in); err != nil {
2603 return nil, err
2604 }
2605 if interceptor == nil {
2606 return srv.(BBSimServer).GetOltAllocatedResources(ctx, in)
2607 }
2608 info := &grpc.UnaryServerInfo{
2609 Server: srv,
2610 FullMethod: "/bbsim.BBSim/GetOltAllocatedResources",
2611 }
2612 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2613 return srv.(BBSimServer).GetOltAllocatedResources(ctx, req.(*OltAllocatedResourceType))
2614 }
2615 return interceptor(ctx, in, info, handler)
2616}
2617
Zdravko Bozakov681364d2019-11-10 14:28:46 +01002618func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2619 in := new(Empty)
2620 if err := dec(in); err != nil {
2621 return nil, err
2622 }
2623 if interceptor == nil {
2624 return srv.(BBSimServer).PoweronOlt(ctx, in)
2625 }
2626 info := &grpc.UnaryServerInfo{
2627 Server: srv,
2628 FullMethod: "/bbsim.BBSim/PoweronOlt",
2629 }
2630 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2631 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
2632 }
2633 return interceptor(ctx, in, info, handler)
2634}
2635
2636func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2637 in := new(Empty)
2638 if err := dec(in); err != nil {
2639 return nil, err
2640 }
2641 if interceptor == nil {
2642 return srv.(BBSimServer).ShutdownOlt(ctx, in)
2643 }
2644 info := &grpc.UnaryServerInfo{
2645 Server: srv,
2646 FullMethod: "/bbsim.BBSim/ShutdownOlt",
2647 }
2648 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2649 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
2650 }
2651 return interceptor(ctx, in, info, handler)
2652}
2653
2654func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2655 in := new(Empty)
2656 if err := dec(in); err != nil {
2657 return nil, err
2658 }
2659 if interceptor == nil {
2660 return srv.(BBSimServer).RebootOlt(ctx, in)
2661 }
2662 info := &grpc.UnaryServerInfo{
2663 Server: srv,
2664 FullMethod: "/bbsim.BBSim/RebootOlt",
2665 }
2666 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2667 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
2668 }
2669 return interceptor(ctx, in, info, handler)
2670}
2671
Matteo Scandolo88c204a2020-11-03 10:34:24 -08002672func _BBSim_StopgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2673 in := new(Empty)
2674 if err := dec(in); err != nil {
2675 return nil, err
2676 }
2677 if interceptor == nil {
2678 return srv.(BBSimServer).StopgRPCServer(ctx, in)
2679 }
2680 info := &grpc.UnaryServerInfo{
2681 Server: srv,
2682 FullMethod: "/bbsim.BBSim/StopgRPCServer",
2683 }
2684 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2685 return srv.(BBSimServer).StopgRPCServer(ctx, req.(*Empty))
2686 }
2687 return interceptor(ctx, in, info, handler)
2688}
2689
2690func _BBSim_StartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2691 in := new(Empty)
2692 if err := dec(in); err != nil {
2693 return nil, err
2694 }
2695 if interceptor == nil {
2696 return srv.(BBSimServer).StartgRPCServer(ctx, in)
2697 }
2698 info := &grpc.UnaryServerInfo{
2699 Server: srv,
2700 FullMethod: "/bbsim.BBSim/StartgRPCServer",
2701 }
2702 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2703 return srv.(BBSimServer).StartgRPCServer(ctx, req.(*Empty))
2704 }
2705 return interceptor(ctx, in, info, handler)
2706}
2707
2708func _BBSim_RestartgRPCServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2709 in := new(Timeout)
2710 if err := dec(in); err != nil {
2711 return nil, err
2712 }
2713 if interceptor == nil {
2714 return srv.(BBSimServer).RestartgRPCServer(ctx, in)
2715 }
2716 info := &grpc.UnaryServerInfo{
2717 Server: srv,
2718 FullMethod: "/bbsim.BBSim/RestartgRPCServer",
2719 }
2720 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2721 return srv.(BBSimServer).RestartgRPCServer(ctx, req.(*Timeout))
2722 }
2723 return interceptor(ctx, in, info, handler)
2724}
2725
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002726func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2727 in := new(ONURequest)
2728 if err := dec(in); err != nil {
2729 return nil, err
2730 }
2731 if interceptor == nil {
2732 return srv.(BBSimServer).GetONU(ctx, in)
2733 }
2734 info := &grpc.UnaryServerInfo{
2735 Server: srv,
2736 FullMethod: "/bbsim.BBSim/GetONU",
2737 }
2738 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2739 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
2740 }
2741 return interceptor(ctx, in, info, handler)
2742}
2743
Pragya Aryabd731ec2020-02-11 16:38:17 +05302744func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2745 in := new(Empty)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002746 if err := dec(in); err != nil {
2747 return nil, err
2748 }
2749 if interceptor == nil {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302750 return srv.(BBSimServer).GetONUs(ctx, in)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002751 }
2752 info := &grpc.UnaryServerInfo{
2753 Server: srv,
Pragya Aryabd731ec2020-02-11 16:38:17 +05302754 FullMethod: "/bbsim.BBSim/GetONUs",
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002755 }
2756 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Pragya Aryabd731ec2020-02-11 16:38:17 +05302757 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002758 }
2759 return interceptor(ctx, in, info, handler)
2760}
2761
Matteo Scandolo4a036262020-08-17 15:56:13 -07002762func _BBSim_GetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002763 in := new(UNIRequest)
Matteo Scandolo4a036262020-08-17 15:56:13 -07002764 if err := dec(in); err != nil {
2765 return nil, err
2766 }
2767 if interceptor == nil {
2768 return srv.(BBSimServer).GetServices(ctx, in)
2769 }
2770 info := &grpc.UnaryServerInfo{
2771 Server: srv,
2772 FullMethod: "/bbsim.BBSim/GetServices",
2773 }
2774 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07002775 return srv.(BBSimServer).GetServices(ctx, req.(*UNIRequest))
Matteo Scandolo4a036262020-08-17 15:56:13 -07002776 }
2777 return interceptor(ctx, in, info, handler)
2778}
2779
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07002780func _BBSim_GetOnuUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2781 in := new(ONURequest)
2782 if err := dec(in); err != nil {
2783 return nil, err
2784 }
2785 if interceptor == nil {
2786 return srv.(BBSimServer).GetOnuUnis(ctx, in)
2787 }
2788 info := &grpc.UnaryServerInfo{
2789 Server: srv,
2790 FullMethod: "/bbsim.BBSim/GetOnuUnis",
2791 }
2792 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2793 return srv.(BBSimServer).GetOnuUnis(ctx, req.(*ONURequest))
2794 }
2795 return interceptor(ctx, in, info, handler)
2796}
2797
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002798func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2799 in := new(ONURequest)
2800 if err := dec(in); err != nil {
2801 return nil, err
2802 }
2803 if interceptor == nil {
2804 return srv.(BBSimServer).ShutdownONU(ctx, in)
2805 }
2806 info := &grpc.UnaryServerInfo{
2807 Server: srv,
2808 FullMethod: "/bbsim.BBSim/ShutdownONU",
2809 }
2810 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2811 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
2812 }
2813 return interceptor(ctx, in, info, handler)
2814}
2815
Pragya Aryabd731ec2020-02-11 16:38:17 +05302816func _BBSim_ShutdownAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2817 in := new(Empty)
2818 if err := dec(in); err != nil {
2819 return nil, err
2820 }
2821 if interceptor == nil {
2822 return srv.(BBSimServer).ShutdownAllONUs(ctx, in)
2823 }
2824 info := &grpc.UnaryServerInfo{
2825 Server: srv,
2826 FullMethod: "/bbsim.BBSim/ShutdownAllONUs",
2827 }
2828 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2829 return srv.(BBSimServer).ShutdownAllONUs(ctx, req.(*Empty))
2830 }
2831 return interceptor(ctx, in, info, handler)
2832}
2833
2834func _BBSim_ShutdownONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2835 in := new(PONRequest)
2836 if err := dec(in); err != nil {
2837 return nil, err
2838 }
2839 if interceptor == nil {
2840 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, in)
2841 }
2842 info := &grpc.UnaryServerInfo{
2843 Server: srv,
2844 FullMethod: "/bbsim.BBSim/ShutdownONUsOnPON",
2845 }
2846 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2847 return srv.(BBSimServer).ShutdownONUsOnPON(ctx, req.(*PONRequest))
2848 }
2849 return interceptor(ctx, in, info, handler)
2850}
2851
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002852func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2853 in := new(ONURequest)
2854 if err := dec(in); err != nil {
2855 return nil, err
2856 }
2857 if interceptor == nil {
2858 return srv.(BBSimServer).PoweronONU(ctx, in)
2859 }
2860 info := &grpc.UnaryServerInfo{
2861 Server: srv,
2862 FullMethod: "/bbsim.BBSim/PoweronONU",
2863 }
2864 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2865 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
2866 }
2867 return interceptor(ctx, in, info, handler)
2868}
2869
Pragya Aryabd731ec2020-02-11 16:38:17 +05302870func _BBSim_PoweronAllONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2871 in := new(Empty)
2872 if err := dec(in); err != nil {
2873 return nil, err
2874 }
2875 if interceptor == nil {
2876 return srv.(BBSimServer).PoweronAllONUs(ctx, in)
2877 }
2878 info := &grpc.UnaryServerInfo{
2879 Server: srv,
2880 FullMethod: "/bbsim.BBSim/PoweronAllONUs",
2881 }
2882 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2883 return srv.(BBSimServer).PoweronAllONUs(ctx, req.(*Empty))
2884 }
2885 return interceptor(ctx, in, info, handler)
2886}
2887
2888func _BBSim_PoweronONUsOnPON_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2889 in := new(PONRequest)
2890 if err := dec(in); err != nil {
2891 return nil, err
2892 }
2893 if interceptor == nil {
2894 return srv.(BBSimServer).PoweronONUsOnPON(ctx, in)
2895 }
2896 info := &grpc.UnaryServerInfo{
2897 Server: srv,
2898 FullMethod: "/bbsim.BBSim/PoweronONUsOnPON",
2899 }
2900 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2901 return srv.(BBSimServer).PoweronONUsOnPON(ctx, req.(*PONRequest))
2902 }
2903 return interceptor(ctx, in, info, handler)
2904}
2905
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002906func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002907 in := new(UNIRequest)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002908 if err := dec(in); err != nil {
2909 return nil, err
2910 }
2911 if interceptor == nil {
2912 return srv.(BBSimServer).RestartEapol(ctx, in)
2913 }
2914 info := &grpc.UnaryServerInfo{
2915 Server: srv,
2916 FullMethod: "/bbsim.BBSim/RestartEapol",
2917 }
2918 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002919 return srv.(BBSimServer).RestartEapol(ctx, req.(*UNIRequest))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002920 }
2921 return interceptor(ctx, in, info, handler)
2922}
2923
2924func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002925 in := new(UNIRequest)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002926 if err := dec(in); err != nil {
2927 return nil, err
2928 }
2929 if interceptor == nil {
2930 return srv.(BBSimServer).RestartDhcp(ctx, in)
2931 }
2932 info := &grpc.UnaryServerInfo{
2933 Server: srv,
2934 FullMethod: "/bbsim.BBSim/RestartDhcp",
2935 }
2936 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Nitin Subramanian150f1bb2021-08-02 12:04:05 -07002937 return srv.(BBSimServer).RestartDhcp(ctx, req.(*UNIRequest))
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07002938 }
2939 return interceptor(ctx, in, info, handler)
2940}
2941
Anand S Katti86552f92020-03-03 21:56:32 +05302942func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2943 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08002944 if err := dec(in); err != nil {
2945 return nil, err
2946 }
2947 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05302948 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08002949 }
2950 info := &grpc.UnaryServerInfo{
2951 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05302952 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08002953 }
2954 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05302955 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
2956 }
2957 return interceptor(ctx, in, info, handler)
2958}
2959
2960func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2961 in := new(OLTAlarmRequest)
2962 if err := dec(in); err != nil {
2963 return nil, err
2964 }
2965 if interceptor == nil {
2966 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
2967 }
2968 info := &grpc.UnaryServerInfo{
2969 Server: srv,
2970 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
2971 }
2972 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2973 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08002974 }
2975 return interceptor(ctx, in, info, handler)
2976}
2977
Pragya Arya8bdb4532020-03-02 17:08:09 +05302978func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2979 in := new(ONURequest)
2980 if err := dec(in); err != nil {
2981 return nil, err
2982 }
2983 if interceptor == nil {
2984 return srv.(BBSimServer).GetFlows(ctx, in)
2985 }
2986 info := &grpc.UnaryServerInfo{
2987 Server: srv,
2988 FullMethod: "/bbsim.BBSim/GetFlows",
2989 }
2990 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2991 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
2992 }
2993 return interceptor(ctx, in, info, handler)
2994}
2995
Arjun E K57a7fcb2020-01-30 06:44:45 +00002996func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2997 in := new(IgmpRequest)
2998 if err := dec(in); err != nil {
2999 return nil, err
3000 }
3001 if interceptor == nil {
3002 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
3003 }
3004 info := &grpc.UnaryServerInfo{
3005 Server: srv,
3006 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
3007 }
3008 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3009 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
3010 }
3011 return interceptor(ctx, in, info, handler)
3012}
3013
Anand S Katti09541352020-01-29 15:54:01 +05303014func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3015 in := new(ONURequest)
3016 if err := dec(in); err != nil {
3017 return nil, err
3018 }
3019 if interceptor == nil {
3020 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
3021 }
3022 info := &grpc.UnaryServerInfo{
3023 Server: srv,
3024 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
3025 }
3026 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3027 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
3028 }
3029 return interceptor(ctx, in, info, handler)
3030}
3031
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07003032func _BBSim_GetUnis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3033 in := new(Empty)
3034 if err := dec(in); err != nil {
3035 return nil, err
3036 }
3037 if interceptor == nil {
3038 return srv.(BBSimServer).GetUnis(ctx, in)
3039 }
3040 info := &grpc.UnaryServerInfo{
3041 Server: srv,
3042 FullMethod: "/bbsim.BBSim/GetUnis",
3043 }
3044 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3045 return srv.(BBSimServer).GetUnis(ctx, req.(*Empty))
3046 }
3047 return interceptor(ctx, in, info, handler)
3048}
3049
Elia Battistonfe017662022-01-05 11:43:16 +01003050func _BBSim_InvalidateMds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3051 in := new(ONURequest)
3052 if err := dec(in); err != nil {
3053 return nil, err
3054 }
3055 if interceptor == nil {
3056 return srv.(BBSimServer).InvalidateMds(ctx, in)
3057 }
3058 info := &grpc.UnaryServerInfo{
3059 Server: srv,
3060 FullMethod: "/bbsim.BBSim/InvalidateMds",
3061 }
3062 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3063 return srv.(BBSimServer).InvalidateMds(ctx, req.(*ONURequest))
3064 }
3065 return interceptor(ctx, in, info, handler)
3066}
3067
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003068var _BBSim_serviceDesc = grpc.ServiceDesc{
3069 ServiceName: "bbsim.BBSim",
3070 HandlerType: (*BBSimServer)(nil),
3071 Methods: []grpc.MethodDesc{
3072 {
3073 MethodName: "Version",
3074 Handler: _BBSim_Version_Handler,
3075 },
3076 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303077 MethodName: "SetLogLevel",
3078 Handler: _BBSim_SetLogLevel_Handler,
3079 },
3080 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003081 MethodName: "GetOlt",
3082 Handler: _BBSim_GetOlt_Handler,
3083 },
3084 {
Matteo Scandolo4b077aa2021-02-16 17:33:37 -08003085 MethodName: "GetOltAllocatedResources",
3086 Handler: _BBSim_GetOltAllocatedResources_Handler,
3087 },
3088 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01003089 MethodName: "PoweronOlt",
3090 Handler: _BBSim_PoweronOlt_Handler,
3091 },
3092 {
3093 MethodName: "ShutdownOlt",
3094 Handler: _BBSim_ShutdownOlt_Handler,
3095 },
3096 {
3097 MethodName: "RebootOlt",
3098 Handler: _BBSim_RebootOlt_Handler,
3099 },
3100 {
Matteo Scandolo88c204a2020-11-03 10:34:24 -08003101 MethodName: "StopgRPCServer",
3102 Handler: _BBSim_StopgRPCServer_Handler,
3103 },
3104 {
3105 MethodName: "StartgRPCServer",
3106 Handler: _BBSim_StartgRPCServer_Handler,
3107 },
3108 {
3109 MethodName: "RestartgRPCServer",
3110 Handler: _BBSim_RestartgRPCServer_Handler,
3111 },
3112 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003113 MethodName: "GetONU",
3114 Handler: _BBSim_GetONU_Handler,
3115 },
3116 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303117 MethodName: "GetONUs",
3118 Handler: _BBSim_GetONUs_Handler,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003119 },
3120 {
Matteo Scandolo4a036262020-08-17 15:56:13 -07003121 MethodName: "GetServices",
3122 Handler: _BBSim_GetServices_Handler,
3123 },
3124 {
Matteo Scandoloef4e8f82021-05-17 11:20:49 -07003125 MethodName: "GetOnuUnis",
3126 Handler: _BBSim_GetOnuUnis_Handler,
3127 },
3128 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003129 MethodName: "ShutdownONU",
3130 Handler: _BBSim_ShutdownONU_Handler,
3131 },
3132 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303133 MethodName: "ShutdownAllONUs",
3134 Handler: _BBSim_ShutdownAllONUs_Handler,
3135 },
3136 {
3137 MethodName: "ShutdownONUsOnPON",
3138 Handler: _BBSim_ShutdownONUsOnPON_Handler,
3139 },
3140 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003141 MethodName: "PoweronONU",
3142 Handler: _BBSim_PoweronONU_Handler,
3143 },
3144 {
Pragya Aryabd731ec2020-02-11 16:38:17 +05303145 MethodName: "PoweronAllONUs",
3146 Handler: _BBSim_PoweronAllONUs_Handler,
3147 },
3148 {
3149 MethodName: "PoweronONUsOnPON",
3150 Handler: _BBSim_PoweronONUsOnPON_Handler,
3151 },
3152 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003153 MethodName: "RestartEapol",
3154 Handler: _BBSim_RestartEapol_Handler,
3155 },
3156 {
3157 MethodName: "RestartDhcp",
3158 Handler: _BBSim_RestartDhcp_Handler,
3159 },
Scott Baker41724b82020-01-21 19:54:53 -08003160 {
Anand S Katti86552f92020-03-03 21:56:32 +05303161 MethodName: "SetOnuAlarmIndication",
3162 Handler: _BBSim_SetOnuAlarmIndication_Handler,
3163 },
3164 {
3165 MethodName: "SetOltAlarmIndication",
3166 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08003167 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00003168 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05303169 MethodName: "GetFlows",
3170 Handler: _BBSim_GetFlows_Handler,
3171 },
3172 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00003173 MethodName: "ChangeIgmpState",
3174 Handler: _BBSim_ChangeIgmpState_Handler,
3175 },
Anand S Katti09541352020-01-29 15:54:01 +05303176 {
3177 MethodName: "GetOnuTrafficSchedulers",
3178 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
3179 },
Nitin Subramanianb0a333a2021-07-08 15:01:41 -07003180 {
3181 MethodName: "GetUnis",
3182 Handler: _BBSim_GetUnis_Handler,
3183 },
Elia Battistonfe017662022-01-05 11:43:16 +01003184 {
3185 MethodName: "InvalidateMds",
3186 Handler: _BBSim_InvalidateMds_Handler,
3187 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07003188 },
3189 Streams: []grpc.StreamDesc{},
3190 Metadata: "api/bbsim/bbsim.proto",
3191}