blob: c9ffa1c2a54a28a98eff9617984869a6e8a81522 [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"
Pragya Arya8bdb4532020-03-02 17:08:09 +053010 openolt "github.com/opencord/voltha-protos/v2/go/openolt"
Anand S Katti09541352020-01-29 15:54:01 +053011 tech_profile "github.com/opencord/voltha-protos/v2/go/tech_profile"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070012 grpc "google.golang.org/grpc"
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -070013 math "math"
14)
15
16// Reference imports to suppress errors if they are not otherwise used.
17var _ = proto.Marshal
18var _ = fmt.Errorf
19var _ = math.Inf
20
21// This is a compile-time assertion to ensure that this generated file
22// is compatible with the proto package it is being compiled against.
23// A compilation error at this line likely means your copy of the
24// proto package needs to be updated.
25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
26
Arjun E K57a7fcb2020-01-30 06:44:45 +000027type SubActionTypes int32
28
29const (
Arjun E Kdd443f02020-02-07 15:24:01 +000030 SubActionTypes_JOIN SubActionTypes = 0
31 SubActionTypes_LEAVE SubActionTypes = 1
32 SubActionTypes_JOINV3 SubActionTypes = 2
Arjun E K57a7fcb2020-01-30 06:44:45 +000033)
34
35var SubActionTypes_name = map[int32]string{
36 0: "JOIN",
37 1: "LEAVE",
Arjun E Kdd443f02020-02-07 15:24:01 +000038 2: "JOINV3",
Arjun E K57a7fcb2020-01-30 06:44:45 +000039}
40
41var SubActionTypes_value = map[string]int32{
Arjun E Kdd443f02020-02-07 15:24:01 +000042 "JOIN": 0,
43 "LEAVE": 1,
44 "JOINV3": 2,
Arjun E K57a7fcb2020-01-30 06:44:45 +000045}
46
47func (x SubActionTypes) String() string {
48 return proto.EnumName(SubActionTypes_name, int32(x))
49}
50
51func (SubActionTypes) EnumDescriptor() ([]byte, []int) {
52 return fileDescriptor_ef7750073d18011b, []int{0}
53}
54
Scott Baker41724b82020-01-21 19:54:53 -080055// These types correspond to the messages permitted in the oneof
56// in AlarmIndication in the openolt protos
57type AlarmType_Types int32
58
59const (
60 AlarmType_LOS AlarmType_Types = 0
61 AlarmType_DYING_GASP AlarmType_Types = 1
62 AlarmType_ONU_ALARM AlarmType_Types = 2
63 AlarmType_ONU_STARTUP_FAILURE AlarmType_Types = 3
64 AlarmType_ONU_SIGNAL_DEGRADE AlarmType_Types = 4
65 AlarmType_ONU_DRIFT_OF_WINDOW AlarmType_Types = 5
66 AlarmType_ONU_LOSS_OF_OMCI_CHANNEL AlarmType_Types = 6
67 AlarmType_ONU_SIGNALS_FAILURE AlarmType_Types = 7
68 AlarmType_ONU_TRANSMISSION_INTERFERENCE_WARNING AlarmType_Types = 8
69 AlarmType_ONU_ACTIVATION_FAILURE AlarmType_Types = 9
70 AlarmType_ONU_PROCESSING_ERROR AlarmType_Types = 10
71 AlarmType_ONU_LOSS_OF_KEY_SYNC_FAILURE AlarmType_Types = 11
72 AlarmType_ONU_ITU_PON_STATS AlarmType_Types = 12
73 // These break out ONU_ALARM, which is a single message, but
74 // includes statuses for these six alarms.
75 AlarmType_ONU_ALARM_LOS AlarmType_Types = 13
76 AlarmType_ONU_ALARM_LOB AlarmType_Types = 14
77 AlarmType_ONU_ALARM_LOPC_MISS AlarmType_Types = 15
78 AlarmType_ONU_ALARM_LOPC_MIC_ERROR AlarmType_Types = 16
79 AlarmType_ONU_ALARM_LOFI AlarmType_Types = 17
80 AlarmType_ONU_ALARM_LOAMI AlarmType_Types = 18
81)
82
83var AlarmType_Types_name = map[int32]string{
84 0: "LOS",
85 1: "DYING_GASP",
86 2: "ONU_ALARM",
87 3: "ONU_STARTUP_FAILURE",
88 4: "ONU_SIGNAL_DEGRADE",
89 5: "ONU_DRIFT_OF_WINDOW",
90 6: "ONU_LOSS_OF_OMCI_CHANNEL",
91 7: "ONU_SIGNALS_FAILURE",
92 8: "ONU_TRANSMISSION_INTERFERENCE_WARNING",
93 9: "ONU_ACTIVATION_FAILURE",
94 10: "ONU_PROCESSING_ERROR",
95 11: "ONU_LOSS_OF_KEY_SYNC_FAILURE",
96 12: "ONU_ITU_PON_STATS",
97 13: "ONU_ALARM_LOS",
98 14: "ONU_ALARM_LOB",
99 15: "ONU_ALARM_LOPC_MISS",
100 16: "ONU_ALARM_LOPC_MIC_ERROR",
101 17: "ONU_ALARM_LOFI",
102 18: "ONU_ALARM_LOAMI",
103}
104
105var AlarmType_Types_value = map[string]int32{
106 "LOS": 0,
107 "DYING_GASP": 1,
108 "ONU_ALARM": 2,
109 "ONU_STARTUP_FAILURE": 3,
110 "ONU_SIGNAL_DEGRADE": 4,
111 "ONU_DRIFT_OF_WINDOW": 5,
112 "ONU_LOSS_OF_OMCI_CHANNEL": 6,
113 "ONU_SIGNALS_FAILURE": 7,
114 "ONU_TRANSMISSION_INTERFERENCE_WARNING": 8,
115 "ONU_ACTIVATION_FAILURE": 9,
116 "ONU_PROCESSING_ERROR": 10,
117 "ONU_LOSS_OF_KEY_SYNC_FAILURE": 11,
118 "ONU_ITU_PON_STATS": 12,
119 "ONU_ALARM_LOS": 13,
120 "ONU_ALARM_LOB": 14,
121 "ONU_ALARM_LOPC_MISS": 15,
122 "ONU_ALARM_LOPC_MIC_ERROR": 16,
123 "ONU_ALARM_LOFI": 17,
124 "ONU_ALARM_LOAMI": 18,
125}
126
127func (x AlarmType_Types) String() string {
128 return proto.EnumName(AlarmType_Types_name, int32(x))
129}
130
131func (AlarmType_Types) EnumDescriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530132 return fileDescriptor_ef7750073d18011b, []int{7, 0}
Scott Baker41724b82020-01-21 19:54:53 -0800133}
134
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700135type PONPort struct {
136 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
137 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
138 XXX_NoUnkeyedLiteral struct{} `json:"-"`
139 XXX_unrecognized []byte `json:"-"`
140 XXX_sizecache int32 `json:"-"`
141}
142
143func (m *PONPort) Reset() { *m = PONPort{} }
144func (m *PONPort) String() string { return proto.CompactTextString(m) }
145func (*PONPort) ProtoMessage() {}
146func (*PONPort) Descriptor() ([]byte, []int) {
147 return fileDescriptor_ef7750073d18011b, []int{0}
148}
149
150func (m *PONPort) XXX_Unmarshal(b []byte) error {
151 return xxx_messageInfo_PONPort.Unmarshal(m, b)
152}
153func (m *PONPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
154 return xxx_messageInfo_PONPort.Marshal(b, m, deterministic)
155}
156func (m *PONPort) XXX_Merge(src proto.Message) {
157 xxx_messageInfo_PONPort.Merge(m, src)
158}
159func (m *PONPort) XXX_Size() int {
160 return xxx_messageInfo_PONPort.Size(m)
161}
162func (m *PONPort) XXX_DiscardUnknown() {
163 xxx_messageInfo_PONPort.DiscardUnknown(m)
164}
165
166var xxx_messageInfo_PONPort proto.InternalMessageInfo
167
168func (m *PONPort) GetID() int32 {
169 if m != nil {
170 return m.ID
171 }
172 return 0
173}
174
175func (m *PONPort) GetOperState() string {
176 if m != nil {
177 return m.OperState
178 }
179 return ""
180}
181
182type NNIPort struct {
183 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
184 OperState string `protobuf:"bytes,2,opt,name=OperState,proto3" json:"OperState,omitempty"`
185 XXX_NoUnkeyedLiteral struct{} `json:"-"`
186 XXX_unrecognized []byte `json:"-"`
187 XXX_sizecache int32 `json:"-"`
188}
189
190func (m *NNIPort) Reset() { *m = NNIPort{} }
191func (m *NNIPort) String() string { return proto.CompactTextString(m) }
192func (*NNIPort) ProtoMessage() {}
193func (*NNIPort) Descriptor() ([]byte, []int) {
194 return fileDescriptor_ef7750073d18011b, []int{1}
195}
196
197func (m *NNIPort) XXX_Unmarshal(b []byte) error {
198 return xxx_messageInfo_NNIPort.Unmarshal(m, b)
199}
200func (m *NNIPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
201 return xxx_messageInfo_NNIPort.Marshal(b, m, deterministic)
202}
203func (m *NNIPort) XXX_Merge(src proto.Message) {
204 xxx_messageInfo_NNIPort.Merge(m, src)
205}
206func (m *NNIPort) XXX_Size() int {
207 return xxx_messageInfo_NNIPort.Size(m)
208}
209func (m *NNIPort) XXX_DiscardUnknown() {
210 xxx_messageInfo_NNIPort.DiscardUnknown(m)
211}
212
213var xxx_messageInfo_NNIPort proto.InternalMessageInfo
214
215func (m *NNIPort) GetID() int32 {
216 if m != nil {
217 return m.ID
218 }
219 return 0
220}
221
222func (m *NNIPort) GetOperState() string {
223 if m != nil {
224 return m.OperState
225 }
226 return ""
227}
228
229type Olt struct {
230 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
231 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
232 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
233 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
rajeshf921f882020-03-06 18:24:28 +0530234 IP string `protobuf:"bytes,7,opt,name=IP,proto3" json:"IP,omitempty"`
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700235 NNIPorts []*NNIPort `protobuf:"bytes,5,rep,name=NNIPorts,proto3" json:"NNIPorts,omitempty"`
236 PONPorts []*PONPort `protobuf:"bytes,6,rep,name=PONPorts,proto3" json:"PONPorts,omitempty"`
237 XXX_NoUnkeyedLiteral struct{} `json:"-"`
238 XXX_unrecognized []byte `json:"-"`
239 XXX_sizecache int32 `json:"-"`
240}
241
242func (m *Olt) Reset() { *m = Olt{} }
243func (m *Olt) String() string { return proto.CompactTextString(m) }
244func (*Olt) ProtoMessage() {}
245func (*Olt) Descriptor() ([]byte, []int) {
246 return fileDescriptor_ef7750073d18011b, []int{2}
247}
248
249func (m *Olt) XXX_Unmarshal(b []byte) error {
250 return xxx_messageInfo_Olt.Unmarshal(m, b)
251}
252func (m *Olt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
253 return xxx_messageInfo_Olt.Marshal(b, m, deterministic)
254}
255func (m *Olt) XXX_Merge(src proto.Message) {
256 xxx_messageInfo_Olt.Merge(m, src)
257}
258func (m *Olt) XXX_Size() int {
259 return xxx_messageInfo_Olt.Size(m)
260}
261func (m *Olt) XXX_DiscardUnknown() {
262 xxx_messageInfo_Olt.DiscardUnknown(m)
263}
264
265var xxx_messageInfo_Olt proto.InternalMessageInfo
266
267func (m *Olt) GetID() int32 {
268 if m != nil {
269 return m.ID
270 }
271 return 0
272}
273
274func (m *Olt) GetSerialNumber() string {
275 if m != nil {
276 return m.SerialNumber
277 }
278 return ""
279}
280
281func (m *Olt) GetOperState() string {
282 if m != nil {
283 return m.OperState
284 }
285 return ""
286}
287
288func (m *Olt) GetInternalState() string {
289 if m != nil {
290 return m.InternalState
291 }
292 return ""
293}
294
rajeshf921f882020-03-06 18:24:28 +0530295func (m *Olt) GetIP() string {
296 if m != nil {
297 return m.IP
298 }
299 return ""
300}
301
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700302func (m *Olt) GetNNIPorts() []*NNIPort {
303 if m != nil {
304 return m.NNIPorts
305 }
306 return nil
307}
308
309func (m *Olt) GetPONPorts() []*PONPort {
310 if m != nil {
311 return m.PONPorts
312 }
313 return nil
314}
315
316type ONU struct {
317 ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
318 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
319 OperState string `protobuf:"bytes,3,opt,name=OperState,proto3" json:"OperState,omitempty"`
320 InternalState string `protobuf:"bytes,4,opt,name=InternalState,proto3" json:"InternalState,omitempty"`
321 PonPortID int32 `protobuf:"varint,5,opt,name=PonPortID,proto3" json:"PonPortID,omitempty"`
322 STag int32 `protobuf:"varint,6,opt,name=STag,proto3" json:"STag,omitempty"`
323 CTag int32 `protobuf:"varint,7,opt,name=CTag,proto3" json:"CTag,omitempty"`
324 HwAddress string `protobuf:"bytes,8,opt,name=HwAddress,proto3" json:"HwAddress,omitempty"`
325 PortNo int32 `protobuf:"varint,9,opt,name=PortNo,proto3" json:"PortNo,omitempty"`
326 XXX_NoUnkeyedLiteral struct{} `json:"-"`
327 XXX_unrecognized []byte `json:"-"`
328 XXX_sizecache int32 `json:"-"`
329}
330
331func (m *ONU) Reset() { *m = ONU{} }
332func (m *ONU) String() string { return proto.CompactTextString(m) }
333func (*ONU) ProtoMessage() {}
334func (*ONU) Descriptor() ([]byte, []int) {
335 return fileDescriptor_ef7750073d18011b, []int{3}
336}
337
338func (m *ONU) XXX_Unmarshal(b []byte) error {
339 return xxx_messageInfo_ONU.Unmarshal(m, b)
340}
341func (m *ONU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
342 return xxx_messageInfo_ONU.Marshal(b, m, deterministic)
343}
344func (m *ONU) XXX_Merge(src proto.Message) {
345 xxx_messageInfo_ONU.Merge(m, src)
346}
347func (m *ONU) XXX_Size() int {
348 return xxx_messageInfo_ONU.Size(m)
349}
350func (m *ONU) XXX_DiscardUnknown() {
351 xxx_messageInfo_ONU.DiscardUnknown(m)
352}
353
354var xxx_messageInfo_ONU proto.InternalMessageInfo
355
356func (m *ONU) GetID() int32 {
357 if m != nil {
358 return m.ID
359 }
360 return 0
361}
362
363func (m *ONU) GetSerialNumber() string {
364 if m != nil {
365 return m.SerialNumber
366 }
367 return ""
368}
369
370func (m *ONU) GetOperState() string {
371 if m != nil {
372 return m.OperState
373 }
374 return ""
375}
376
377func (m *ONU) GetInternalState() string {
378 if m != nil {
379 return m.InternalState
380 }
381 return ""
382}
383
384func (m *ONU) GetPonPortID() int32 {
385 if m != nil {
386 return m.PonPortID
387 }
388 return 0
389}
390
391func (m *ONU) GetSTag() int32 {
392 if m != nil {
393 return m.STag
394 }
395 return 0
396}
397
398func (m *ONU) GetCTag() int32 {
399 if m != nil {
400 return m.CTag
401 }
402 return 0
403}
404
405func (m *ONU) GetHwAddress() string {
406 if m != nil {
407 return m.HwAddress
408 }
409 return ""
410}
411
412func (m *ONU) GetPortNo() int32 {
413 if m != nil {
414 return m.PortNo
415 }
416 return 0
417}
418
Anand S Katti09541352020-01-29 15:54:01 +0530419type ONUTrafficSchedulers struct {
420 TraffSchedulers *tech_profile.TrafficSchedulers `protobuf:"bytes,1,opt,name=traffSchedulers,proto3" json:"traffSchedulers,omitempty"`
421 XXX_NoUnkeyedLiteral struct{} `json:"-"`
422 XXX_unrecognized []byte `json:"-"`
423 XXX_sizecache int32 `json:"-"`
424}
425
426func (m *ONUTrafficSchedulers) Reset() { *m = ONUTrafficSchedulers{} }
427func (m *ONUTrafficSchedulers) String() string { return proto.CompactTextString(m) }
428func (*ONUTrafficSchedulers) ProtoMessage() {}
429func (*ONUTrafficSchedulers) Descriptor() ([]byte, []int) {
430 return fileDescriptor_ef7750073d18011b, []int{4}
431}
432
433func (m *ONUTrafficSchedulers) XXX_Unmarshal(b []byte) error {
434 return xxx_messageInfo_ONUTrafficSchedulers.Unmarshal(m, b)
435}
436func (m *ONUTrafficSchedulers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
437 return xxx_messageInfo_ONUTrafficSchedulers.Marshal(b, m, deterministic)
438}
439func (m *ONUTrafficSchedulers) XXX_Merge(src proto.Message) {
440 xxx_messageInfo_ONUTrafficSchedulers.Merge(m, src)
441}
442func (m *ONUTrafficSchedulers) XXX_Size() int {
443 return xxx_messageInfo_ONUTrafficSchedulers.Size(m)
444}
445func (m *ONUTrafficSchedulers) XXX_DiscardUnknown() {
446 xxx_messageInfo_ONUTrafficSchedulers.DiscardUnknown(m)
447}
448
449var xxx_messageInfo_ONUTrafficSchedulers proto.InternalMessageInfo
450
451func (m *ONUTrafficSchedulers) GetTraffSchedulers() *tech_profile.TrafficSchedulers {
452 if m != nil {
453 return m.TraffSchedulers
454 }
455 return nil
456}
457
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700458type ONUs struct {
459 Items []*ONU `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
460 XXX_NoUnkeyedLiteral struct{} `json:"-"`
461 XXX_unrecognized []byte `json:"-"`
462 XXX_sizecache int32 `json:"-"`
463}
464
465func (m *ONUs) Reset() { *m = ONUs{} }
466func (m *ONUs) String() string { return proto.CompactTextString(m) }
467func (*ONUs) ProtoMessage() {}
468func (*ONUs) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530469 return fileDescriptor_ef7750073d18011b, []int{5}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700470}
471
472func (m *ONUs) XXX_Unmarshal(b []byte) error {
473 return xxx_messageInfo_ONUs.Unmarshal(m, b)
474}
475func (m *ONUs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
476 return xxx_messageInfo_ONUs.Marshal(b, m, deterministic)
477}
478func (m *ONUs) XXX_Merge(src proto.Message) {
479 xxx_messageInfo_ONUs.Merge(m, src)
480}
481func (m *ONUs) XXX_Size() int {
482 return xxx_messageInfo_ONUs.Size(m)
483}
484func (m *ONUs) XXX_DiscardUnknown() {
485 xxx_messageInfo_ONUs.DiscardUnknown(m)
486}
487
488var xxx_messageInfo_ONUs proto.InternalMessageInfo
489
490func (m *ONUs) GetItems() []*ONU {
491 if m != nil {
492 return m.Items
493 }
494 return nil
495}
496
497type ONURequest struct {
498 SerialNumber string `protobuf:"bytes,1,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
499 XXX_NoUnkeyedLiteral struct{} `json:"-"`
500 XXX_unrecognized []byte `json:"-"`
501 XXX_sizecache int32 `json:"-"`
502}
503
504func (m *ONURequest) Reset() { *m = ONURequest{} }
505func (m *ONURequest) String() string { return proto.CompactTextString(m) }
506func (*ONURequest) ProtoMessage() {}
507func (*ONURequest) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530508 return fileDescriptor_ef7750073d18011b, []int{6}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700509}
510
511func (m *ONURequest) XXX_Unmarshal(b []byte) error {
512 return xxx_messageInfo_ONURequest.Unmarshal(m, b)
513}
514func (m *ONURequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
515 return xxx_messageInfo_ONURequest.Marshal(b, m, deterministic)
516}
517func (m *ONURequest) XXX_Merge(src proto.Message) {
518 xxx_messageInfo_ONURequest.Merge(m, src)
519}
520func (m *ONURequest) XXX_Size() int {
521 return xxx_messageInfo_ONURequest.Size(m)
522}
523func (m *ONURequest) XXX_DiscardUnknown() {
524 xxx_messageInfo_ONURequest.DiscardUnknown(m)
525}
526
527var xxx_messageInfo_ONURequest proto.InternalMessageInfo
528
529func (m *ONURequest) GetSerialNumber() string {
530 if m != nil {
531 return m.SerialNumber
532 }
533 return ""
534}
535
Scott Baker41724b82020-01-21 19:54:53 -0800536type AlarmType struct {
537 XXX_NoUnkeyedLiteral struct{} `json:"-"`
538 XXX_unrecognized []byte `json:"-"`
539 XXX_sizecache int32 `json:"-"`
540}
541
542func (m *AlarmType) Reset() { *m = AlarmType{} }
543func (m *AlarmType) String() string { return proto.CompactTextString(m) }
544func (*AlarmType) ProtoMessage() {}
545func (*AlarmType) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530546 return fileDescriptor_ef7750073d18011b, []int{7}
Scott Baker41724b82020-01-21 19:54:53 -0800547}
548
549func (m *AlarmType) XXX_Unmarshal(b []byte) error {
550 return xxx_messageInfo_AlarmType.Unmarshal(m, b)
551}
552func (m *AlarmType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
553 return xxx_messageInfo_AlarmType.Marshal(b, m, deterministic)
554}
555func (m *AlarmType) XXX_Merge(src proto.Message) {
556 xxx_messageInfo_AlarmType.Merge(m, src)
557}
558func (m *AlarmType) XXX_Size() int {
559 return xxx_messageInfo_AlarmType.Size(m)
560}
561func (m *AlarmType) XXX_DiscardUnknown() {
562 xxx_messageInfo_AlarmType.DiscardUnknown(m)
563}
564
565var xxx_messageInfo_AlarmType proto.InternalMessageInfo
566
567type AlarmParameter struct {
568 Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
569 Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
570 XXX_NoUnkeyedLiteral struct{} `json:"-"`
571 XXX_unrecognized []byte `json:"-"`
572 XXX_sizecache int32 `json:"-"`
573}
574
575func (m *AlarmParameter) Reset() { *m = AlarmParameter{} }
576func (m *AlarmParameter) String() string { return proto.CompactTextString(m) }
577func (*AlarmParameter) ProtoMessage() {}
578func (*AlarmParameter) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530579 return fileDescriptor_ef7750073d18011b, []int{8}
Scott Baker41724b82020-01-21 19:54:53 -0800580}
581
582func (m *AlarmParameter) XXX_Unmarshal(b []byte) error {
583 return xxx_messageInfo_AlarmParameter.Unmarshal(m, b)
584}
585func (m *AlarmParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
586 return xxx_messageInfo_AlarmParameter.Marshal(b, m, deterministic)
587}
588func (m *AlarmParameter) XXX_Merge(src proto.Message) {
589 xxx_messageInfo_AlarmParameter.Merge(m, src)
590}
591func (m *AlarmParameter) XXX_Size() int {
592 return xxx_messageInfo_AlarmParameter.Size(m)
593}
594func (m *AlarmParameter) XXX_DiscardUnknown() {
595 xxx_messageInfo_AlarmParameter.DiscardUnknown(m)
596}
597
598var xxx_messageInfo_AlarmParameter proto.InternalMessageInfo
599
600func (m *AlarmParameter) GetKey() string {
601 if m != nil {
602 return m.Key
603 }
604 return ""
605}
606
607func (m *AlarmParameter) GetValue() string {
608 if m != nil {
609 return m.Value
610 }
611 return ""
612}
613
Anand S Katti86552f92020-03-03 21:56:32 +0530614// ONUAlarmRequest includes fields common to every Onu alarm,
Anand S Katti09541352020-01-29 15:54:01 +0530615// plus an optional list of AlarmParameter list that can be used
Scott Baker41724b82020-01-21 19:54:53 -0800616// to set additional fields in alarms that support them.
Anand S Katti86552f92020-03-03 21:56:32 +0530617type ONUAlarmRequest struct {
Pragya Arya694ece02020-02-07 13:03:47 +0530618 AlarmType string `protobuf:"bytes,1,opt,name=AlarmType,proto3" json:"AlarmType,omitempty"`
Scott Baker41724b82020-01-21 19:54:53 -0800619 SerialNumber string `protobuf:"bytes,2,opt,name=SerialNumber,proto3" json:"SerialNumber,omitempty"`
620 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
621 Parameters []*AlarmParameter `protobuf:"bytes,4,rep,name=Parameters,proto3" json:"Parameters,omitempty"`
622 XXX_NoUnkeyedLiteral struct{} `json:"-"`
623 XXX_unrecognized []byte `json:"-"`
624 XXX_sizecache int32 `json:"-"`
625}
626
Anand S Katti86552f92020-03-03 21:56:32 +0530627func (m *ONUAlarmRequest) Reset() { *m = ONUAlarmRequest{} }
628func (m *ONUAlarmRequest) String() string { return proto.CompactTextString(m) }
629func (*ONUAlarmRequest) ProtoMessage() {}
630func (*ONUAlarmRequest) Descriptor() ([]byte, []int) {
Anand S Katti09541352020-01-29 15:54:01 +0530631 return fileDescriptor_ef7750073d18011b, []int{9}
Scott Baker41724b82020-01-21 19:54:53 -0800632}
633
Anand S Katti86552f92020-03-03 21:56:32 +0530634func (m *ONUAlarmRequest) XXX_Unmarshal(b []byte) error {
635 return xxx_messageInfo_ONUAlarmRequest.Unmarshal(m, b)
Scott Baker41724b82020-01-21 19:54:53 -0800636}
Anand S Katti86552f92020-03-03 21:56:32 +0530637func (m *ONUAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
638 return xxx_messageInfo_ONUAlarmRequest.Marshal(b, m, deterministic)
Scott Baker41724b82020-01-21 19:54:53 -0800639}
Anand S Katti86552f92020-03-03 21:56:32 +0530640func (m *ONUAlarmRequest) XXX_Merge(src proto.Message) {
641 xxx_messageInfo_ONUAlarmRequest.Merge(m, src)
Scott Baker41724b82020-01-21 19:54:53 -0800642}
Anand S Katti86552f92020-03-03 21:56:32 +0530643func (m *ONUAlarmRequest) XXX_Size() int {
644 return xxx_messageInfo_ONUAlarmRequest.Size(m)
Scott Baker41724b82020-01-21 19:54:53 -0800645}
Anand S Katti86552f92020-03-03 21:56:32 +0530646func (m *ONUAlarmRequest) XXX_DiscardUnknown() {
647 xxx_messageInfo_ONUAlarmRequest.DiscardUnknown(m)
Scott Baker41724b82020-01-21 19:54:53 -0800648}
649
Anand S Katti86552f92020-03-03 21:56:32 +0530650var xxx_messageInfo_ONUAlarmRequest proto.InternalMessageInfo
Scott Baker41724b82020-01-21 19:54:53 -0800651
Anand S Katti86552f92020-03-03 21:56:32 +0530652func (m *ONUAlarmRequest) GetAlarmType() string {
Scott Baker41724b82020-01-21 19:54:53 -0800653 if m != nil {
654 return m.AlarmType
655 }
Pragya Arya694ece02020-02-07 13:03:47 +0530656 return ""
Scott Baker41724b82020-01-21 19:54:53 -0800657}
658
Anand S Katti86552f92020-03-03 21:56:32 +0530659func (m *ONUAlarmRequest) GetSerialNumber() string {
Scott Baker41724b82020-01-21 19:54:53 -0800660 if m != nil {
661 return m.SerialNumber
662 }
663 return ""
664}
665
Anand S Katti86552f92020-03-03 21:56:32 +0530666func (m *ONUAlarmRequest) GetStatus() string {
Scott Baker41724b82020-01-21 19:54:53 -0800667 if m != nil {
668 return m.Status
669 }
670 return ""
671}
672
Anand S Katti86552f92020-03-03 21:56:32 +0530673func (m *ONUAlarmRequest) GetParameters() []*AlarmParameter {
Scott Baker41724b82020-01-21 19:54:53 -0800674 if m != nil {
675 return m.Parameters
676 }
677 return nil
678}
679
Anand S Katti86552f92020-03-03 21:56:32 +0530680// OLT alarm request
681type OLTAlarmRequest struct {
682 InterfaceID uint32 `protobuf:"varint,1,opt,name=InterfaceID,proto3" json:"InterfaceID,omitempty"`
683 InterfaceType string `protobuf:"bytes,2,opt,name=InterfaceType,proto3" json:"InterfaceType,omitempty"`
684 Status string `protobuf:"bytes,3,opt,name=Status,proto3" json:"Status,omitempty"`
685 XXX_NoUnkeyedLiteral struct{} `json:"-"`
686 XXX_unrecognized []byte `json:"-"`
687 XXX_sizecache int32 `json:"-"`
688}
689
690func (m *OLTAlarmRequest) Reset() { *m = OLTAlarmRequest{} }
691func (m *OLTAlarmRequest) String() string { return proto.CompactTextString(m) }
692func (*OLTAlarmRequest) ProtoMessage() {}
693func (*OLTAlarmRequest) Descriptor() ([]byte, []int) {
694 return fileDescriptor_ef7750073d18011b, []int{10}
695}
696
697func (m *OLTAlarmRequest) XXX_Unmarshal(b []byte) error {
698 return xxx_messageInfo_OLTAlarmRequest.Unmarshal(m, b)
699}
700func (m *OLTAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
701 return xxx_messageInfo_OLTAlarmRequest.Marshal(b, m, deterministic)
702}
703func (m *OLTAlarmRequest) XXX_Merge(src proto.Message) {
704 xxx_messageInfo_OLTAlarmRequest.Merge(m, src)
705}
706func (m *OLTAlarmRequest) XXX_Size() int {
707 return xxx_messageInfo_OLTAlarmRequest.Size(m)
708}
709func (m *OLTAlarmRequest) XXX_DiscardUnknown() {
710 xxx_messageInfo_OLTAlarmRequest.DiscardUnknown(m)
711}
712
713var xxx_messageInfo_OLTAlarmRequest proto.InternalMessageInfo
714
715func (m *OLTAlarmRequest) GetInterfaceID() uint32 {
716 if m != nil {
717 return m.InterfaceID
718 }
719 return 0
720}
721
722func (m *OLTAlarmRequest) GetInterfaceType() string {
723 if m != nil {
724 return m.InterfaceType
725 }
726 return ""
727}
728
729func (m *OLTAlarmRequest) GetStatus() string {
730 if m != nil {
731 return m.Status
732 }
733 return ""
734}
735
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700736type VersionNumber struct {
737 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
738 BuildTime string `protobuf:"bytes,2,opt,name=buildTime,proto3" json:"buildTime,omitempty"`
739 CommitHash string `protobuf:"bytes,3,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
740 GitStatus string `protobuf:"bytes,4,opt,name=gitStatus,proto3" json:"gitStatus,omitempty"`
741 XXX_NoUnkeyedLiteral struct{} `json:"-"`
742 XXX_unrecognized []byte `json:"-"`
743 XXX_sizecache int32 `json:"-"`
744}
745
746func (m *VersionNumber) Reset() { *m = VersionNumber{} }
747func (m *VersionNumber) String() string { return proto.CompactTextString(m) }
748func (*VersionNumber) ProtoMessage() {}
749func (*VersionNumber) Descriptor() ([]byte, []int) {
Anand S Katti86552f92020-03-03 21:56:32 +0530750 return fileDescriptor_ef7750073d18011b, []int{11}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700751}
752
753func (m *VersionNumber) XXX_Unmarshal(b []byte) error {
754 return xxx_messageInfo_VersionNumber.Unmarshal(m, b)
755}
756func (m *VersionNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
757 return xxx_messageInfo_VersionNumber.Marshal(b, m, deterministic)
758}
759func (m *VersionNumber) XXX_Merge(src proto.Message) {
760 xxx_messageInfo_VersionNumber.Merge(m, src)
761}
762func (m *VersionNumber) XXX_Size() int {
763 return xxx_messageInfo_VersionNumber.Size(m)
764}
765func (m *VersionNumber) XXX_DiscardUnknown() {
766 xxx_messageInfo_VersionNumber.DiscardUnknown(m)
767}
768
769var xxx_messageInfo_VersionNumber proto.InternalMessageInfo
770
771func (m *VersionNumber) GetVersion() string {
772 if m != nil {
773 return m.Version
774 }
775 return ""
776}
777
778func (m *VersionNumber) GetBuildTime() string {
779 if m != nil {
780 return m.BuildTime
781 }
782 return ""
783}
784
785func (m *VersionNumber) GetCommitHash() string {
786 if m != nil {
787 return m.CommitHash
788 }
789 return ""
790}
791
792func (m *VersionNumber) GetGitStatus() string {
793 if m != nil {
794 return m.GitStatus
795 }
796 return ""
797}
798
799type LogLevel struct {
800 Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
801 Caller bool `protobuf:"varint,2,opt,name=caller,proto3" json:"caller,omitempty"`
802 XXX_NoUnkeyedLiteral struct{} `json:"-"`
803 XXX_unrecognized []byte `json:"-"`
804 XXX_sizecache int32 `json:"-"`
805}
806
807func (m *LogLevel) Reset() { *m = LogLevel{} }
808func (m *LogLevel) String() string { return proto.CompactTextString(m) }
809func (*LogLevel) ProtoMessage() {}
810func (*LogLevel) Descriptor() ([]byte, []int) {
Anand S Katti86552f92020-03-03 21:56:32 +0530811 return fileDescriptor_ef7750073d18011b, []int{12}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700812}
813
814func (m *LogLevel) XXX_Unmarshal(b []byte) error {
815 return xxx_messageInfo_LogLevel.Unmarshal(m, b)
816}
817func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
818 return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
819}
820func (m *LogLevel) XXX_Merge(src proto.Message) {
821 xxx_messageInfo_LogLevel.Merge(m, src)
822}
823func (m *LogLevel) XXX_Size() int {
824 return xxx_messageInfo_LogLevel.Size(m)
825}
826func (m *LogLevel) XXX_DiscardUnknown() {
827 xxx_messageInfo_LogLevel.DiscardUnknown(m)
828}
829
830var xxx_messageInfo_LogLevel proto.InternalMessageInfo
831
832func (m *LogLevel) GetLevel() string {
833 if m != nil {
834 return m.Level
835 }
836 return ""
837}
838
839func (m *LogLevel) GetCaller() bool {
840 if m != nil {
841 return m.Caller
842 }
843 return false
844}
845
846type Response struct {
847 StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
848 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
849 XXX_NoUnkeyedLiteral struct{} `json:"-"`
850 XXX_unrecognized []byte `json:"-"`
851 XXX_sizecache int32 `json:"-"`
852}
853
854func (m *Response) Reset() { *m = Response{} }
855func (m *Response) String() string { return proto.CompactTextString(m) }
856func (*Response) ProtoMessage() {}
857func (*Response) Descriptor() ([]byte, []int) {
Anand S Katti86552f92020-03-03 21:56:32 +0530858 return fileDescriptor_ef7750073d18011b, []int{13}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700859}
860
861func (m *Response) XXX_Unmarshal(b []byte) error {
862 return xxx_messageInfo_Response.Unmarshal(m, b)
863}
864func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
865 return xxx_messageInfo_Response.Marshal(b, m, deterministic)
866}
867func (m *Response) XXX_Merge(src proto.Message) {
868 xxx_messageInfo_Response.Merge(m, src)
869}
870func (m *Response) XXX_Size() int {
871 return xxx_messageInfo_Response.Size(m)
872}
873func (m *Response) XXX_DiscardUnknown() {
874 xxx_messageInfo_Response.DiscardUnknown(m)
875}
876
877var xxx_messageInfo_Response proto.InternalMessageInfo
878
879func (m *Response) GetStatusCode() int32 {
880 if m != nil {
881 return m.StatusCode
882 }
883 return 0
884}
885
886func (m *Response) GetMessage() string {
887 if m != nil {
888 return m.Message
889 }
890 return ""
891}
892
Arjun E K57a7fcb2020-01-30 06:44:45 +0000893type IgmpRequest struct {
894 OnuReq *ONURequest `protobuf:"bytes,1,opt,name=OnuReq,proto3" json:"OnuReq,omitempty"`
895 SubActionVal SubActionTypes `protobuf:"varint,2,opt,name=SubActionVal,proto3,enum=bbsim.SubActionTypes" json:"SubActionVal,omitempty"`
896 XXX_NoUnkeyedLiteral struct{} `json:"-"`
897 XXX_unrecognized []byte `json:"-"`
898 XXX_sizecache int32 `json:"-"`
899}
900
901func (m *IgmpRequest) Reset() { *m = IgmpRequest{} }
902func (m *IgmpRequest) String() string { return proto.CompactTextString(m) }
903func (*IgmpRequest) ProtoMessage() {}
904func (*IgmpRequest) Descriptor() ([]byte, []int) {
Anand S Katti86552f92020-03-03 21:56:32 +0530905 return fileDescriptor_ef7750073d18011b, []int{14}
Arjun E K57a7fcb2020-01-30 06:44:45 +0000906}
907
908func (m *IgmpRequest) XXX_Unmarshal(b []byte) error {
909 return xxx_messageInfo_IgmpRequest.Unmarshal(m, b)
910}
911func (m *IgmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
912 return xxx_messageInfo_IgmpRequest.Marshal(b, m, deterministic)
913}
914func (m *IgmpRequest) XXX_Merge(src proto.Message) {
915 xxx_messageInfo_IgmpRequest.Merge(m, src)
916}
917func (m *IgmpRequest) XXX_Size() int {
918 return xxx_messageInfo_IgmpRequest.Size(m)
919}
920func (m *IgmpRequest) XXX_DiscardUnknown() {
921 xxx_messageInfo_IgmpRequest.DiscardUnknown(m)
922}
923
924var xxx_messageInfo_IgmpRequest proto.InternalMessageInfo
925
926func (m *IgmpRequest) GetOnuReq() *ONURequest {
927 if m != nil {
928 return m.OnuReq
929 }
930 return nil
931}
932
933func (m *IgmpRequest) GetSubActionVal() SubActionTypes {
934 if m != nil {
935 return m.SubActionVal
936 }
937 return SubActionTypes_JOIN
938}
939
Pragya Arya8bdb4532020-03-02 17:08:09 +0530940type Flows struct {
941 FlowCount uint32 `protobuf:"varint,1,opt,name=flow_count,json=flowCount,proto3" json:"flow_count,omitempty"`
942 Flows []*openolt.Flow `protobuf:"bytes,2,rep,name=flows,proto3" json:"flows,omitempty"`
943 XXX_NoUnkeyedLiteral struct{} `json:"-"`
944 XXX_unrecognized []byte `json:"-"`
945 XXX_sizecache int32 `json:"-"`
946}
947
948func (m *Flows) Reset() { *m = Flows{} }
949func (m *Flows) String() string { return proto.CompactTextString(m) }
950func (*Flows) ProtoMessage() {}
951func (*Flows) Descriptor() ([]byte, []int) {
952 return fileDescriptor_ef7750073d18011b, []int{15}
953}
954
955func (m *Flows) XXX_Unmarshal(b []byte) error {
956 return xxx_messageInfo_Flows.Unmarshal(m, b)
957}
958func (m *Flows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
959 return xxx_messageInfo_Flows.Marshal(b, m, deterministic)
960}
961func (m *Flows) XXX_Merge(src proto.Message) {
962 xxx_messageInfo_Flows.Merge(m, src)
963}
964func (m *Flows) XXX_Size() int {
965 return xxx_messageInfo_Flows.Size(m)
966}
967func (m *Flows) XXX_DiscardUnknown() {
968 xxx_messageInfo_Flows.DiscardUnknown(m)
969}
970
971var xxx_messageInfo_Flows proto.InternalMessageInfo
972
973func (m *Flows) GetFlowCount() uint32 {
974 if m != nil {
975 return m.FlowCount
976 }
977 return 0
978}
979
980func (m *Flows) GetFlows() []*openolt.Flow {
981 if m != nil {
982 return m.Flows
983 }
984 return nil
985}
986
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700987type Empty struct {
988 XXX_NoUnkeyedLiteral struct{} `json:"-"`
989 XXX_unrecognized []byte `json:"-"`
990 XXX_sizecache int32 `json:"-"`
991}
992
993func (m *Empty) Reset() { *m = Empty{} }
994func (m *Empty) String() string { return proto.CompactTextString(m) }
995func (*Empty) ProtoMessage() {}
996func (*Empty) Descriptor() ([]byte, []int) {
Pragya Arya8bdb4532020-03-02 17:08:09 +0530997 return fileDescriptor_ef7750073d18011b, []int{16}
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -0700998}
999
1000func (m *Empty) XXX_Unmarshal(b []byte) error {
1001 return xxx_messageInfo_Empty.Unmarshal(m, b)
1002}
1003func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1004 return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
1005}
1006func (m *Empty) XXX_Merge(src proto.Message) {
1007 xxx_messageInfo_Empty.Merge(m, src)
1008}
1009func (m *Empty) XXX_Size() int {
1010 return xxx_messageInfo_Empty.Size(m)
1011}
1012func (m *Empty) XXX_DiscardUnknown() {
1013 xxx_messageInfo_Empty.DiscardUnknown(m)
1014}
1015
1016var xxx_messageInfo_Empty proto.InternalMessageInfo
1017
1018func init() {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001019 proto.RegisterEnum("bbsim.SubActionTypes", SubActionTypes_name, SubActionTypes_value)
Scott Baker41724b82020-01-21 19:54:53 -08001020 proto.RegisterEnum("bbsim.AlarmType_Types", AlarmType_Types_name, AlarmType_Types_value)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001021 proto.RegisterType((*PONPort)(nil), "bbsim.PONPort")
1022 proto.RegisterType((*NNIPort)(nil), "bbsim.NNIPort")
1023 proto.RegisterType((*Olt)(nil), "bbsim.Olt")
1024 proto.RegisterType((*ONU)(nil), "bbsim.ONU")
Anand S Katti09541352020-01-29 15:54:01 +05301025 proto.RegisterType((*ONUTrafficSchedulers)(nil), "bbsim.ONUTrafficSchedulers")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001026 proto.RegisterType((*ONUs)(nil), "bbsim.ONUs")
1027 proto.RegisterType((*ONURequest)(nil), "bbsim.ONURequest")
Scott Baker41724b82020-01-21 19:54:53 -08001028 proto.RegisterType((*AlarmType)(nil), "bbsim.AlarmType")
1029 proto.RegisterType((*AlarmParameter)(nil), "bbsim.AlarmParameter")
Anand S Katti86552f92020-03-03 21:56:32 +05301030 proto.RegisterType((*ONUAlarmRequest)(nil), "bbsim.ONUAlarmRequest")
1031 proto.RegisterType((*OLTAlarmRequest)(nil), "bbsim.OLTAlarmRequest")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001032 proto.RegisterType((*VersionNumber)(nil), "bbsim.VersionNumber")
1033 proto.RegisterType((*LogLevel)(nil), "bbsim.LogLevel")
1034 proto.RegisterType((*Response)(nil), "bbsim.Response")
Arjun E K57a7fcb2020-01-30 06:44:45 +00001035 proto.RegisterType((*IgmpRequest)(nil), "bbsim.IgmpRequest")
Pragya Arya8bdb4532020-03-02 17:08:09 +05301036 proto.RegisterType((*Flows)(nil), "bbsim.Flows")
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001037 proto.RegisterType((*Empty)(nil), "bbsim.Empty")
1038}
1039
1040func init() { proto.RegisterFile("api/bbsim/bbsim.proto", fileDescriptor_ef7750073d18011b) }
1041
1042var fileDescriptor_ef7750073d18011b = []byte{
rajeshf921f882020-03-06 18:24:28 +05301043 // 1297 bytes of a gzipped FileDescriptorProto
1044 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xcb, 0x6e, 0xdb, 0x46,
1045 0x17, 0xd6, 0xc5, 0xba, 0x1d, 0x59, 0x32, 0x3d, 0x89, 0x1d, 0xc2, 0xf1, 0xff, 0x47, 0x60, 0xd3,
1046 0xc2, 0x09, 0x1a, 0xa7, 0xb1, 0x5b, 0x34, 0x5d, 0xd2, 0x12, 0xad, 0xb0, 0x96, 0x49, 0x61, 0x48,
1047 0x39, 0xc8, 0x8a, 0xa0, 0xa4, 0xb1, 0x45, 0x80, 0x12, 0x15, 0x72, 0x14, 0x23, 0xeb, 0xa2, 0x2f,
1048 0xd2, 0x27, 0xea, 0x13, 0x74, 0xd7, 0x87, 0xe8, 0xae, 0x98, 0xe1, 0x90, 0x22, 0x2d, 0xa7, 0x30,
1049 0xba, 0xe9, 0x46, 0xe0, 0xf9, 0xce, 0x77, 0xee, 0x87, 0x47, 0x84, 0x3d, 0x77, 0xe9, 0xbd, 0x1e,
1050 0x8f, 0x23, 0x6f, 0x1e, 0xff, 0x1e, 0x2f, 0xc3, 0x80, 0x06, 0xa8, 0xc2, 0x85, 0x83, 0xa7, 0x9f,
1051 0x02, 0x9f, 0xce, 0x5c, 0x87, 0x83, 0xd1, 0xeb, 0x60, 0x49, 0x16, 0x81, 0x4f, 0x63, 0xce, 0x41,
1052 0x27, 0xaf, 0xa4, 0x64, 0x32, 0x63, 0xcf, 0xd7, 0x9e, 0x4f, 0x62, 0x86, 0xf2, 0x23, 0xd4, 0x86,
1053 0xa6, 0x31, 0x0c, 0x42, 0x8a, 0xda, 0x50, 0xd2, 0x7b, 0x72, 0xb1, 0x53, 0x3c, 0xaa, 0xe0, 0x92,
1054 0xde, 0x43, 0x87, 0xd0, 0x30, 0x97, 0x24, 0xb4, 0xa8, 0x4b, 0x89, 0x5c, 0xea, 0x14, 0x8f, 0x1a,
1055 0x78, 0x0d, 0x30, 0x43, 0xc3, 0xd0, 0xff, 0x85, 0xe1, 0x9f, 0x45, 0x28, 0x9b, 0xfe, 0xa6, 0x95,
1056 0x02, 0xdb, 0x16, 0x09, 0x3d, 0xd7, 0x37, 0x56, 0xf3, 0x31, 0x09, 0x85, 0x61, 0x0e, 0xcb, 0x7b,
1057 0x2e, 0xdf, 0xf1, 0x8c, 0x9e, 0x43, 0x4b, 0x5f, 0x50, 0x12, 0x2e, 0x5c, 0x3f, 0x66, 0x6c, 0x71,
1058 0x46, 0x1e, 0xe4, 0x71, 0x87, 0x72, 0x8d, 0xab, 0x4a, 0xfa, 0x10, 0xbd, 0x84, 0xba, 0x28, 0x24,
1059 0x92, 0x2b, 0x9d, 0xf2, 0x51, 0xf3, 0xa4, 0x7d, 0x1c, 0xf7, 0x59, 0xc0, 0x38, 0xd5, 0x33, 0xae,
1060 0xe8, 0x56, 0x24, 0x57, 0x73, 0x5c, 0x01, 0xe3, 0x54, 0xaf, 0xfc, 0xc5, 0xea, 0x34, 0x46, 0xff,
1061 0x59, 0x9d, 0x87, 0xd0, 0x18, 0x06, 0x0b, 0x96, 0x8b, 0xde, 0x93, 0x2b, 0x3c, 0xfc, 0x1a, 0x40,
1062 0x08, 0xb6, 0x2c, 0xdb, 0xbd, 0x91, 0xab, 0x5c, 0xc1, 0x9f, 0x19, 0xd6, 0x65, 0x58, 0x2d, 0xc6,
1063 0xd8, 0x33, 0xf3, 0xf2, 0xee, 0x56, 0x9d, 0x4e, 0x43, 0x12, 0x45, 0x72, 0x3d, 0xce, 0x24, 0x05,
1064 0xd0, 0x3e, 0x54, 0x99, 0x3f, 0x23, 0x90, 0x1b, 0xdc, 0x46, 0x48, 0x8a, 0x0b, 0x8f, 0x4d, 0x63,
1065 0x64, 0x87, 0xee, 0xf5, 0xb5, 0x37, 0xb1, 0x26, 0x33, 0x32, 0x5d, 0xf9, 0x24, 0x8c, 0x90, 0x0e,
1066 0x3b, 0x94, 0x81, 0x6b, 0x88, 0x37, 0xa6, 0x79, 0xf2, 0xec, 0x38, 0xb7, 0x9b, 0x1b, 0x96, 0xf8,
1067 0xae, 0x9d, 0x72, 0x04, 0x5b, 0xa6, 0x31, 0x8a, 0x50, 0x07, 0x2a, 0x1e, 0x25, 0x73, 0xe6, 0x88,
1068 0xcd, 0x03, 0xc4, 0x3c, 0x4c, 0x63, 0x84, 0x63, 0x85, 0xf2, 0x1d, 0x00, 0x93, 0xc8, 0xc7, 0x15,
1069 0x89, 0xe8, 0x46, 0xfb, 0x8b, 0x9b, 0xed, 0x57, 0xfe, 0x28, 0x43, 0x43, 0xf5, 0xdd, 0x70, 0x6e,
1070 0x7f, 0x5e, 0x12, 0xe5, 0xf7, 0x32, 0x54, 0xd8, 0x43, 0x84, 0x6a, 0x50, 0x1e, 0x98, 0x96, 0x54,
1071 0x40, 0x6d, 0x80, 0xde, 0x07, 0xdd, 0xe8, 0x3b, 0x7d, 0xd5, 0x1a, 0x4a, 0x45, 0xd4, 0x82, 0x86,
1072 0x69, 0x8c, 0x1c, 0x75, 0xa0, 0xe2, 0x4b, 0xa9, 0x84, 0x9e, 0xc0, 0x23, 0x26, 0x5a, 0xb6, 0x8a,
1073 0xed, 0xd1, 0xd0, 0x39, 0x57, 0xf5, 0xc1, 0x08, 0x6b, 0x52, 0x19, 0xed, 0x03, 0xe2, 0x0a, 0xbd,
1074 0x6f, 0xa8, 0x03, 0xa7, 0xa7, 0xf5, 0xb1, 0xda, 0xd3, 0xa4, 0xad, 0xc4, 0xa0, 0x87, 0xf5, 0x73,
1075 0xdb, 0x31, 0xcf, 0x9d, 0xf7, 0xba, 0xd1, 0x33, 0xdf, 0x4b, 0x15, 0x74, 0x08, 0x32, 0x53, 0x0c,
1076 0x4c, 0xcb, 0x62, 0xb8, 0x79, 0xd9, 0xd5, 0x9d, 0xee, 0x3b, 0xd5, 0x30, 0xb4, 0x81, 0x54, 0x4d,
1077 0xe3, 0x70, 0x77, 0x56, 0x1a, 0xa7, 0x86, 0x5e, 0xc0, 0xd7, 0x4c, 0x61, 0x63, 0xd5, 0xb0, 0x2e,
1078 0x75, 0xcb, 0xd2, 0x4d, 0xc3, 0xd1, 0x0d, 0x5b, 0xc3, 0xe7, 0x1a, 0xd6, 0x8c, 0xae, 0xe6, 0xbc,
1079 0x57, 0xb1, 0xa1, 0x1b, 0x7d, 0xa9, 0x8e, 0x0e, 0x60, 0x9f, 0xa7, 0xde, 0xb5, 0xf5, 0x2b, 0xd5,
1080 0x66, 0xc4, 0xc4, 0x4d, 0x03, 0xc9, 0x7c, 0x8c, 0xce, 0x10, 0x9b, 0x5d, 0xcd, 0xb2, 0x58, 0xbd,
1081 0x1a, 0xc6, 0x26, 0x96, 0x00, 0x75, 0xe0, 0x30, 0x9b, 0xd7, 0x85, 0xf6, 0xc1, 0xb1, 0x3e, 0x18,
1082 0xdd, 0xd4, 0xb6, 0x89, 0xf6, 0x60, 0x97, 0x31, 0x74, 0x7b, 0xe4, 0x0c, 0x4d, 0x83, 0xf5, 0xc2,
1083 0xb6, 0xa4, 0x6d, 0xb4, 0x0b, 0xad, 0xb4, 0x53, 0xcc, 0x5c, 0x6a, 0xdd, 0x85, 0xce, 0xa4, 0x76,
1084 0x52, 0x58, 0x02, 0x0d, 0xbb, 0x0e, 0xab, 0x42, 0xda, 0x49, 0xfa, 0x91, 0x53, 0x74, 0x45, 0x56,
1085 0x12, 0x42, 0xd0, 0xce, 0x6a, 0xcf, 0x75, 0x69, 0x17, 0x3d, 0x82, 0x9d, 0x2c, 0xa6, 0x5e, 0xea,
1086 0x12, 0x52, 0xde, 0x42, 0x9b, 0xcf, 0x77, 0xe8, 0x86, 0xee, 0x9c, 0x50, 0x12, 0x22, 0x09, 0xca,
1087 0x17, 0xe4, 0xb3, 0xd8, 0x06, 0xf6, 0x88, 0x1e, 0x43, 0xe5, 0xca, 0xf5, 0x57, 0xc9, 0x05, 0x8b,
1088 0x05, 0xe5, 0xb7, 0x22, 0xf7, 0xc7, 0xad, 0x93, 0x95, 0x3a, 0xcc, 0x6c, 0x8b, 0xf0, 0xb0, 0x06,
1089 0x1e, 0xf4, 0xbe, 0xef, 0x43, 0x95, 0xbd, 0xb4, 0xab, 0x48, 0xbc, 0xec, 0x42, 0x42, 0x3f, 0x00,
1090 0xa4, 0x29, 0x46, 0xf2, 0x16, 0xdf, 0xf0, 0x3d, 0xb1, 0xe1, 0xf9, 0x02, 0x70, 0x86, 0xa8, 0x7c,
1091 0x84, 0x1d, 0x73, 0x60, 0xe7, 0x72, 0xec, 0x40, 0x93, 0x9f, 0x87, 0x6b, 0x77, 0x42, 0xc4, 0x39,
1092 0x6a, 0xe1, 0x2c, 0x94, 0x5e, 0x15, 0x26, 0xf2, 0x4a, 0x4a, 0x99, 0xab, 0x92, 0x80, 0x5f, 0xca,
1093 0x54, 0xf9, 0xb5, 0x08, 0xad, 0x2b, 0x12, 0x46, 0x5e, 0xb0, 0x10, 0x35, 0xc9, 0x50, 0xfb, 0x14,
1094 0x03, 0xa2, 0x27, 0x89, 0xc8, 0xfa, 0x35, 0x5e, 0x79, 0xfe, 0xd4, 0xf6, 0xe6, 0xe9, 0xff, 0x43,
1095 0x0a, 0xa0, 0xff, 0x03, 0x4c, 0x82, 0xf9, 0xdc, 0xa3, 0xef, 0xdc, 0x68, 0x26, 0xa2, 0x64, 0x10,
1096 0x66, 0x7d, 0xe3, 0x51, 0x91, 0x44, 0x7c, 0xf9, 0xd6, 0x80, 0xf2, 0x16, 0xea, 0x83, 0xe0, 0x66,
1097 0x40, 0x3e, 0x11, 0x9f, 0x4d, 0xd0, 0x67, 0x0f, 0x22, 0x7e, 0x2c, 0xb0, 0x0a, 0x26, 0xae, 0xef,
1098 0x8b, 0x49, 0xd4, 0xb1, 0x90, 0x14, 0x0d, 0xea, 0x98, 0x44, 0xcb, 0x60, 0x11, 0x11, 0xf4, 0x0c,
1099 0x9a, 0x11, 0xf7, 0xe7, 0x4c, 0x82, 0x29, 0x11, 0xc7, 0x1b, 0x62, 0xa8, 0x1b, 0x4c, 0x09, 0x2b,
1100 0x6e, 0x4e, 0xa2, 0xc8, 0xbd, 0x49, 0x0a, 0x48, 0x44, 0x25, 0x82, 0xa6, 0x7e, 0x33, 0x5f, 0x26,
1101 0x7d, 0x7f, 0x01, 0x55, 0x73, 0xb1, 0xc2, 0xe4, 0xa3, 0x38, 0x74, 0xbb, 0x99, 0xfb, 0x14, 0x53,
1102 0xb0, 0x20, 0xa0, 0x9f, 0x60, 0xdb, 0x5a, 0x8d, 0xd5, 0x09, 0xf5, 0x82, 0xc5, 0x95, 0xeb, 0x73,
1103 0xc7, 0xed, 0x74, 0xdc, 0xa9, 0x8a, 0x9f, 0x22, 0x9c, 0xa3, 0x2a, 0x17, 0x50, 0x39, 0xf7, 0x83,
1104 0xdb, 0x08, 0xfd, 0x0f, 0xe0, 0xda, 0x0f, 0x6e, 0x9d, 0x49, 0xb0, 0x5a, 0x50, 0x31, 0xe5, 0x06,
1105 0x43, 0xba, 0x0c, 0x40, 0x5f, 0x41, 0x85, 0x09, 0x91, 0x5c, 0xe2, 0xab, 0xd4, 0x3a, 0x4e, 0x3e,
1106 0x17, 0x98, 0x35, 0x8e, 0x75, 0x4a, 0x0d, 0x2a, 0xda, 0x7c, 0x49, 0x3f, 0xbf, 0x7c, 0x03, 0xed,
1107 0x7c, 0x54, 0x54, 0x87, 0xad, 0x9f, 0x4d, 0xdd, 0x90, 0x0a, 0xa8, 0x01, 0x95, 0x81, 0xa6, 0x5e,
1108 0x69, 0x52, 0x11, 0x01, 0x54, 0x19, 0x78, 0x75, 0x2a, 0x95, 0x4e, 0x7e, 0xa9, 0x41, 0xe5, 0xec,
1109 0xcc, 0xf2, 0xe6, 0xe8, 0x35, 0xd4, 0xc4, 0x3e, 0xa0, 0x6d, 0x51, 0x02, 0xf7, 0x7a, 0xf0, 0x58,
1110 0x48, 0xb9, 0x6d, 0x51, 0x0a, 0xe8, 0x39, 0x54, 0xfb, 0x84, 0xb2, 0x2f, 0x83, 0x3c, 0x3f, 0xbd,
1111 0xe8, 0x3e, 0x55, 0x0a, 0xe8, 0x15, 0xc0, 0x30, 0xb8, 0x25, 0x61, 0xb0, 0xd8, 0x64, 0xee, 0x08,
1112 0x29, 0x19, 0xa3, 0x52, 0x40, 0xc7, 0xd0, 0xb4, 0x66, 0x2b, 0x3a, 0x0d, 0x6e, 0x1f, 0xc6, 0xff,
1113 0x16, 0x1a, 0x98, 0x8c, 0x83, 0x80, 0x3e, 0x88, 0xfd, 0x0d, 0xd4, 0x58, 0xca, 0xec, 0x6f, 0x28,
1114 0xcf, 0x6d, 0xae, 0xa7, 0x1c, 0x29, 0x05, 0xb6, 0x04, 0x31, 0x0f, 0x6d, 0x8e, 0xff, 0x20, 0xf3,
1115 0x8f, 0xa5, 0x14, 0xd0, 0x1b, 0x68, 0x5a, 0x84, 0xa6, 0x2b, 0x9c, 0x04, 0x4d, 0x80, 0x83, 0xbb,
1116 0x80, 0x52, 0x40, 0xa7, 0x99, 0x1a, 0xef, 0x0f, 0x71, 0x4f, 0xea, 0x27, 0xeb, 0x3e, 0x3e, 0xd8,
1117 0xe6, 0x7b, 0xd8, 0xc6, 0x24, 0xa2, 0x6e, 0x48, 0x35, 0x77, 0x19, 0xf8, 0x0f, 0xb4, 0x3a, 0x85,
1118 0xa6, 0xb0, 0xea, 0xcd, 0x26, 0xcb, 0x07, 0x1a, 0x9d, 0xc1, 0x9e, 0x45, 0xa8, 0xb9, 0x58, 0xf1,
1119 0x23, 0xa6, 0x2f, 0xa6, 0xde, 0xc4, 0x65, 0x6b, 0x88, 0xf6, 0xd7, 0xe6, 0xd9, 0xfb, 0xf6, 0x0f,
1120 0x3e, 0x7c, 0xfa, 0x45, 0x1f, 0xf9, 0x1b, 0x79, 0x9f, 0x8f, 0x57, 0x50, 0xef, 0x13, 0x1a, 0xbf,
1121 0x5b, 0xf7, 0x64, 0x9e, 0x4c, 0x9d, 0x13, 0x94, 0x02, 0x7a, 0x0b, 0x3b, 0xdd, 0x99, 0xbb, 0xb8,
1122 0x21, 0xec, 0x04, 0xc4, 0x9f, 0x61, 0x48, 0x50, 0x32, 0x47, 0xe1, 0xbe, 0x40, 0x17, 0xf0, 0xa4,
1123 0xcf, 0x0b, 0xde, 0xfc, 0x68, 0xba, 0x27, 0xee, 0xd3, 0x35, 0xb4, 0xc1, 0x57, 0x0a, 0xe3, 0x2a,
1124 0xff, 0xb6, 0x3f, 0xfd, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x36, 0x31, 0x9e, 0x48, 0x3a, 0x0c, 0x00,
1125 0x00,
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001126}
1127
1128// Reference imports to suppress errors if they are not otherwise used.
1129var _ context.Context
rajeshf921f882020-03-06 18:24:28 +05301130var _ grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001131
1132// This is a compile-time assertion to ensure that this generated file
1133// is compatible with the grpc package it is being compiled against.
rajeshf921f882020-03-06 18:24:28 +05301134const _ = grpc.SupportPackageIsVersion4
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001135
1136// BBSimClient is the client API for BBSim service.
1137//
1138// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1139type BBSimClient interface {
1140 Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error)
1141 GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error)
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001142 PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1143 ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
1144 RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001145 GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error)
1146 GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error)
1147 SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error)
1148 ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
1149 PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
1150 RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
1151 RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error)
Anand S Katti86552f92020-03-03 21:56:32 +05301152 SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error)
1153 SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error)
Pragya Arya8bdb4532020-03-02 17:08:09 +05301154 GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error)
Arjun E K57a7fcb2020-01-30 06:44:45 +00001155 ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error)
Anand S Katti09541352020-01-29 15:54:01 +05301156 GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001157}
1158
1159type bBSimClient struct {
rajeshf921f882020-03-06 18:24:28 +05301160 cc *grpc.ClientConn
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001161}
1162
rajeshf921f882020-03-06 18:24:28 +05301163func NewBBSimClient(cc *grpc.ClientConn) BBSimClient {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001164 return &bBSimClient{cc}
1165}
1166
1167func (c *bBSimClient) Version(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*VersionNumber, error) {
1168 out := new(VersionNumber)
1169 err := c.cc.Invoke(ctx, "/bbsim.BBSim/Version", in, out, opts...)
1170 if err != nil {
1171 return nil, err
1172 }
1173 return out, nil
1174}
1175
1176func (c *bBSimClient) GetOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Olt, error) {
1177 out := new(Olt)
1178 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOlt", in, out, opts...)
1179 if err != nil {
1180 return nil, err
1181 }
1182 return out, nil
1183}
1184
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001185func (c *bBSimClient) PoweronOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1186 out := new(Response)
1187 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronOlt", in, out, opts...)
1188 if err != nil {
1189 return nil, err
1190 }
1191 return out, nil
1192}
1193
1194func (c *bBSimClient) ShutdownOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1195 out := new(Response)
1196 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownOlt", in, out, opts...)
1197 if err != nil {
1198 return nil, err
1199 }
1200 return out, nil
1201}
1202
1203func (c *bBSimClient) RebootOlt(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) {
1204 out := new(Response)
1205 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RebootOlt", in, out, opts...)
1206 if err != nil {
1207 return nil, err
1208 }
1209 return out, nil
1210}
1211
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001212func (c *bBSimClient) GetONUs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ONUs, error) {
1213 out := new(ONUs)
1214 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONUs", in, out, opts...)
1215 if err != nil {
1216 return nil, err
1217 }
1218 return out, nil
1219}
1220
1221func (c *bBSimClient) GetONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONU, error) {
1222 out := new(ONU)
1223 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetONU", in, out, opts...)
1224 if err != nil {
1225 return nil, err
1226 }
1227 return out, nil
1228}
1229
1230func (c *bBSimClient) SetLogLevel(ctx context.Context, in *LogLevel, opts ...grpc.CallOption) (*LogLevel, error) {
1231 out := new(LogLevel)
1232 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetLogLevel", in, out, opts...)
1233 if err != nil {
1234 return nil, err
1235 }
1236 return out, nil
1237}
1238
1239func (c *bBSimClient) ShutdownONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1240 out := new(Response)
1241 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ShutdownONU", in, out, opts...)
1242 if err != nil {
1243 return nil, err
1244 }
1245 return out, nil
1246}
1247
1248func (c *bBSimClient) PoweronONU(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1249 out := new(Response)
1250 err := c.cc.Invoke(ctx, "/bbsim.BBSim/PoweronONU", in, out, opts...)
1251 if err != nil {
1252 return nil, err
1253 }
1254 return out, nil
1255}
1256
1257func (c *bBSimClient) RestartEapol(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1258 out := new(Response)
1259 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartEapol", in, out, opts...)
1260 if err != nil {
1261 return nil, err
1262 }
1263 return out, nil
1264}
1265
1266func (c *bBSimClient) RestartDhcp(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Response, error) {
1267 out := new(Response)
1268 err := c.cc.Invoke(ctx, "/bbsim.BBSim/RestartDhcp", in, out, opts...)
1269 if err != nil {
1270 return nil, err
1271 }
1272 return out, nil
1273}
1274
Anand S Katti86552f92020-03-03 21:56:32 +05301275func (c *bBSimClient) SetOnuAlarmIndication(ctx context.Context, in *ONUAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
Scott Baker41724b82020-01-21 19:54:53 -08001276 out := new(Response)
Anand S Katti86552f92020-03-03 21:56:32 +05301277 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOnuAlarmIndication", in, out, opts...)
1278 if err != nil {
1279 return nil, err
1280 }
1281 return out, nil
1282}
1283
1284func (c *bBSimClient) SetOltAlarmIndication(ctx context.Context, in *OLTAlarmRequest, opts ...grpc.CallOption) (*Response, error) {
1285 out := new(Response)
1286 err := c.cc.Invoke(ctx, "/bbsim.BBSim/SetOltAlarmIndication", in, out, opts...)
Scott Baker41724b82020-01-21 19:54:53 -08001287 if err != nil {
1288 return nil, err
1289 }
1290 return out, nil
1291}
1292
Pragya Arya8bdb4532020-03-02 17:08:09 +05301293func (c *bBSimClient) GetFlows(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*Flows, error) {
1294 out := new(Flows)
1295 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetFlows", in, out, opts...)
1296 if err != nil {
1297 return nil, err
1298 }
1299 return out, nil
1300}
1301
Arjun E K57a7fcb2020-01-30 06:44:45 +00001302func (c *bBSimClient) ChangeIgmpState(ctx context.Context, in *IgmpRequest, opts ...grpc.CallOption) (*Response, error) {
1303 out := new(Response)
1304 err := c.cc.Invoke(ctx, "/bbsim.BBSim/ChangeIgmpState", in, out, opts...)
1305 if err != nil {
1306 return nil, err
1307 }
1308 return out, nil
1309}
1310
Anand S Katti09541352020-01-29 15:54:01 +05301311func (c *bBSimClient) GetOnuTrafficSchedulers(ctx context.Context, in *ONURequest, opts ...grpc.CallOption) (*ONUTrafficSchedulers, error) {
1312 out := new(ONUTrafficSchedulers)
1313 err := c.cc.Invoke(ctx, "/bbsim.BBSim/GetOnuTrafficSchedulers", in, out, opts...)
1314 if err != nil {
1315 return nil, err
1316 }
1317 return out, nil
1318}
1319
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001320// BBSimServer is the server API for BBSim service.
1321type BBSimServer interface {
1322 Version(context.Context, *Empty) (*VersionNumber, error)
1323 GetOlt(context.Context, *Empty) (*Olt, error)
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001324 PoweronOlt(context.Context, *Empty) (*Response, error)
1325 ShutdownOlt(context.Context, *Empty) (*Response, error)
1326 RebootOlt(context.Context, *Empty) (*Response, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001327 GetONUs(context.Context, *Empty) (*ONUs, error)
1328 GetONU(context.Context, *ONURequest) (*ONU, error)
1329 SetLogLevel(context.Context, *LogLevel) (*LogLevel, error)
1330 ShutdownONU(context.Context, *ONURequest) (*Response, error)
1331 PoweronONU(context.Context, *ONURequest) (*Response, error)
1332 RestartEapol(context.Context, *ONURequest) (*Response, error)
1333 RestartDhcp(context.Context, *ONURequest) (*Response, error)
Anand S Katti86552f92020-03-03 21:56:32 +05301334 SetOnuAlarmIndication(context.Context, *ONUAlarmRequest) (*Response, error)
1335 SetOltAlarmIndication(context.Context, *OLTAlarmRequest) (*Response, error)
Pragya Arya8bdb4532020-03-02 17:08:09 +05301336 GetFlows(context.Context, *ONURequest) (*Flows, error)
Arjun E K57a7fcb2020-01-30 06:44:45 +00001337 ChangeIgmpState(context.Context, *IgmpRequest) (*Response, error)
Anand S Katti09541352020-01-29 15:54:01 +05301338 GetOnuTrafficSchedulers(context.Context, *ONURequest) (*ONUTrafficSchedulers, error)
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001339}
1340
1341func RegisterBBSimServer(s *grpc.Server, srv BBSimServer) {
1342 s.RegisterService(&_BBSim_serviceDesc, srv)
1343}
1344
1345func _BBSim_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1346 in := new(Empty)
1347 if err := dec(in); err != nil {
1348 return nil, err
1349 }
1350 if interceptor == nil {
1351 return srv.(BBSimServer).Version(ctx, in)
1352 }
1353 info := &grpc.UnaryServerInfo{
1354 Server: srv,
1355 FullMethod: "/bbsim.BBSim/Version",
1356 }
1357 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1358 return srv.(BBSimServer).Version(ctx, req.(*Empty))
1359 }
1360 return interceptor(ctx, in, info, handler)
1361}
1362
1363func _BBSim_GetOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1364 in := new(Empty)
1365 if err := dec(in); err != nil {
1366 return nil, err
1367 }
1368 if interceptor == nil {
1369 return srv.(BBSimServer).GetOlt(ctx, in)
1370 }
1371 info := &grpc.UnaryServerInfo{
1372 Server: srv,
1373 FullMethod: "/bbsim.BBSim/GetOlt",
1374 }
1375 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1376 return srv.(BBSimServer).GetOlt(ctx, req.(*Empty))
1377 }
1378 return interceptor(ctx, in, info, handler)
1379}
1380
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001381func _BBSim_PoweronOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1382 in := new(Empty)
1383 if err := dec(in); err != nil {
1384 return nil, err
1385 }
1386 if interceptor == nil {
1387 return srv.(BBSimServer).PoweronOlt(ctx, in)
1388 }
1389 info := &grpc.UnaryServerInfo{
1390 Server: srv,
1391 FullMethod: "/bbsim.BBSim/PoweronOlt",
1392 }
1393 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1394 return srv.(BBSimServer).PoweronOlt(ctx, req.(*Empty))
1395 }
1396 return interceptor(ctx, in, info, handler)
1397}
1398
1399func _BBSim_ShutdownOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1400 in := new(Empty)
1401 if err := dec(in); err != nil {
1402 return nil, err
1403 }
1404 if interceptor == nil {
1405 return srv.(BBSimServer).ShutdownOlt(ctx, in)
1406 }
1407 info := &grpc.UnaryServerInfo{
1408 Server: srv,
1409 FullMethod: "/bbsim.BBSim/ShutdownOlt",
1410 }
1411 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1412 return srv.(BBSimServer).ShutdownOlt(ctx, req.(*Empty))
1413 }
1414 return interceptor(ctx, in, info, handler)
1415}
1416
1417func _BBSim_RebootOlt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1418 in := new(Empty)
1419 if err := dec(in); err != nil {
1420 return nil, err
1421 }
1422 if interceptor == nil {
1423 return srv.(BBSimServer).RebootOlt(ctx, in)
1424 }
1425 info := &grpc.UnaryServerInfo{
1426 Server: srv,
1427 FullMethod: "/bbsim.BBSim/RebootOlt",
1428 }
1429 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1430 return srv.(BBSimServer).RebootOlt(ctx, req.(*Empty))
1431 }
1432 return interceptor(ctx, in, info, handler)
1433}
1434
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001435func _BBSim_GetONUs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1436 in := new(Empty)
1437 if err := dec(in); err != nil {
1438 return nil, err
1439 }
1440 if interceptor == nil {
1441 return srv.(BBSimServer).GetONUs(ctx, in)
1442 }
1443 info := &grpc.UnaryServerInfo{
1444 Server: srv,
1445 FullMethod: "/bbsim.BBSim/GetONUs",
1446 }
1447 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1448 return srv.(BBSimServer).GetONUs(ctx, req.(*Empty))
1449 }
1450 return interceptor(ctx, in, info, handler)
1451}
1452
1453func _BBSim_GetONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1454 in := new(ONURequest)
1455 if err := dec(in); err != nil {
1456 return nil, err
1457 }
1458 if interceptor == nil {
1459 return srv.(BBSimServer).GetONU(ctx, in)
1460 }
1461 info := &grpc.UnaryServerInfo{
1462 Server: srv,
1463 FullMethod: "/bbsim.BBSim/GetONU",
1464 }
1465 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1466 return srv.(BBSimServer).GetONU(ctx, req.(*ONURequest))
1467 }
1468 return interceptor(ctx, in, info, handler)
1469}
1470
1471func _BBSim_SetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1472 in := new(LogLevel)
1473 if err := dec(in); err != nil {
1474 return nil, err
1475 }
1476 if interceptor == nil {
1477 return srv.(BBSimServer).SetLogLevel(ctx, in)
1478 }
1479 info := &grpc.UnaryServerInfo{
1480 Server: srv,
1481 FullMethod: "/bbsim.BBSim/SetLogLevel",
1482 }
1483 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1484 return srv.(BBSimServer).SetLogLevel(ctx, req.(*LogLevel))
1485 }
1486 return interceptor(ctx, in, info, handler)
1487}
1488
1489func _BBSim_ShutdownONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1490 in := new(ONURequest)
1491 if err := dec(in); err != nil {
1492 return nil, err
1493 }
1494 if interceptor == nil {
1495 return srv.(BBSimServer).ShutdownONU(ctx, in)
1496 }
1497 info := &grpc.UnaryServerInfo{
1498 Server: srv,
1499 FullMethod: "/bbsim.BBSim/ShutdownONU",
1500 }
1501 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1502 return srv.(BBSimServer).ShutdownONU(ctx, req.(*ONURequest))
1503 }
1504 return interceptor(ctx, in, info, handler)
1505}
1506
1507func _BBSim_PoweronONU_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1508 in := new(ONURequest)
1509 if err := dec(in); err != nil {
1510 return nil, err
1511 }
1512 if interceptor == nil {
1513 return srv.(BBSimServer).PoweronONU(ctx, in)
1514 }
1515 info := &grpc.UnaryServerInfo{
1516 Server: srv,
1517 FullMethod: "/bbsim.BBSim/PoweronONU",
1518 }
1519 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1520 return srv.(BBSimServer).PoweronONU(ctx, req.(*ONURequest))
1521 }
1522 return interceptor(ctx, in, info, handler)
1523}
1524
1525func _BBSim_RestartEapol_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1526 in := new(ONURequest)
1527 if err := dec(in); err != nil {
1528 return nil, err
1529 }
1530 if interceptor == nil {
1531 return srv.(BBSimServer).RestartEapol(ctx, in)
1532 }
1533 info := &grpc.UnaryServerInfo{
1534 Server: srv,
1535 FullMethod: "/bbsim.BBSim/RestartEapol",
1536 }
1537 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1538 return srv.(BBSimServer).RestartEapol(ctx, req.(*ONURequest))
1539 }
1540 return interceptor(ctx, in, info, handler)
1541}
1542
1543func _BBSim_RestartDhcp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1544 in := new(ONURequest)
1545 if err := dec(in); err != nil {
1546 return nil, err
1547 }
1548 if interceptor == nil {
1549 return srv.(BBSimServer).RestartDhcp(ctx, in)
1550 }
1551 info := &grpc.UnaryServerInfo{
1552 Server: srv,
1553 FullMethod: "/bbsim.BBSim/RestartDhcp",
1554 }
1555 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1556 return srv.(BBSimServer).RestartDhcp(ctx, req.(*ONURequest))
1557 }
1558 return interceptor(ctx, in, info, handler)
1559}
1560
Anand S Katti86552f92020-03-03 21:56:32 +05301561func _BBSim_SetOnuAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1562 in := new(ONUAlarmRequest)
Scott Baker41724b82020-01-21 19:54:53 -08001563 if err := dec(in); err != nil {
1564 return nil, err
1565 }
1566 if interceptor == nil {
Anand S Katti86552f92020-03-03 21:56:32 +05301567 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, in)
Scott Baker41724b82020-01-21 19:54:53 -08001568 }
1569 info := &grpc.UnaryServerInfo{
1570 Server: srv,
Anand S Katti86552f92020-03-03 21:56:32 +05301571 FullMethod: "/bbsim.BBSim/SetOnuAlarmIndication",
Scott Baker41724b82020-01-21 19:54:53 -08001572 }
1573 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
Anand S Katti86552f92020-03-03 21:56:32 +05301574 return srv.(BBSimServer).SetOnuAlarmIndication(ctx, req.(*ONUAlarmRequest))
1575 }
1576 return interceptor(ctx, in, info, handler)
1577}
1578
1579func _BBSim_SetOltAlarmIndication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1580 in := new(OLTAlarmRequest)
1581 if err := dec(in); err != nil {
1582 return nil, err
1583 }
1584 if interceptor == nil {
1585 return srv.(BBSimServer).SetOltAlarmIndication(ctx, in)
1586 }
1587 info := &grpc.UnaryServerInfo{
1588 Server: srv,
1589 FullMethod: "/bbsim.BBSim/SetOltAlarmIndication",
1590 }
1591 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1592 return srv.(BBSimServer).SetOltAlarmIndication(ctx, req.(*OLTAlarmRequest))
Scott Baker41724b82020-01-21 19:54:53 -08001593 }
1594 return interceptor(ctx, in, info, handler)
1595}
1596
Pragya Arya8bdb4532020-03-02 17:08:09 +05301597func _BBSim_GetFlows_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1598 in := new(ONURequest)
1599 if err := dec(in); err != nil {
1600 return nil, err
1601 }
1602 if interceptor == nil {
1603 return srv.(BBSimServer).GetFlows(ctx, in)
1604 }
1605 info := &grpc.UnaryServerInfo{
1606 Server: srv,
1607 FullMethod: "/bbsim.BBSim/GetFlows",
1608 }
1609 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1610 return srv.(BBSimServer).GetFlows(ctx, req.(*ONURequest))
1611 }
1612 return interceptor(ctx, in, info, handler)
1613}
1614
Arjun E K57a7fcb2020-01-30 06:44:45 +00001615func _BBSim_ChangeIgmpState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1616 in := new(IgmpRequest)
1617 if err := dec(in); err != nil {
1618 return nil, err
1619 }
1620 if interceptor == nil {
1621 return srv.(BBSimServer).ChangeIgmpState(ctx, in)
1622 }
1623 info := &grpc.UnaryServerInfo{
1624 Server: srv,
1625 FullMethod: "/bbsim.BBSim/ChangeIgmpState",
1626 }
1627 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1628 return srv.(BBSimServer).ChangeIgmpState(ctx, req.(*IgmpRequest))
1629 }
1630 return interceptor(ctx, in, info, handler)
1631}
1632
Anand S Katti09541352020-01-29 15:54:01 +05301633func _BBSim_GetOnuTrafficSchedulers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1634 in := new(ONURequest)
1635 if err := dec(in); err != nil {
1636 return nil, err
1637 }
1638 if interceptor == nil {
1639 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, in)
1640 }
1641 info := &grpc.UnaryServerInfo{
1642 Server: srv,
1643 FullMethod: "/bbsim.BBSim/GetOnuTrafficSchedulers",
1644 }
1645 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1646 return srv.(BBSimServer).GetOnuTrafficSchedulers(ctx, req.(*ONURequest))
1647 }
1648 return interceptor(ctx, in, info, handler)
1649}
1650
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001651var _BBSim_serviceDesc = grpc.ServiceDesc{
1652 ServiceName: "bbsim.BBSim",
1653 HandlerType: (*BBSimServer)(nil),
1654 Methods: []grpc.MethodDesc{
1655 {
1656 MethodName: "Version",
1657 Handler: _BBSim_Version_Handler,
1658 },
1659 {
1660 MethodName: "GetOlt",
1661 Handler: _BBSim_GetOlt_Handler,
1662 },
1663 {
Zdravko Bozakov681364d2019-11-10 14:28:46 +01001664 MethodName: "PoweronOlt",
1665 Handler: _BBSim_PoweronOlt_Handler,
1666 },
1667 {
1668 MethodName: "ShutdownOlt",
1669 Handler: _BBSim_ShutdownOlt_Handler,
1670 },
1671 {
1672 MethodName: "RebootOlt",
1673 Handler: _BBSim_RebootOlt_Handler,
1674 },
1675 {
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001676 MethodName: "GetONUs",
1677 Handler: _BBSim_GetONUs_Handler,
1678 },
1679 {
1680 MethodName: "GetONU",
1681 Handler: _BBSim_GetONU_Handler,
1682 },
1683 {
1684 MethodName: "SetLogLevel",
1685 Handler: _BBSim_SetLogLevel_Handler,
1686 },
1687 {
1688 MethodName: "ShutdownONU",
1689 Handler: _BBSim_ShutdownONU_Handler,
1690 },
1691 {
1692 MethodName: "PoweronONU",
1693 Handler: _BBSim_PoweronONU_Handler,
1694 },
1695 {
1696 MethodName: "RestartEapol",
1697 Handler: _BBSim_RestartEapol_Handler,
1698 },
1699 {
1700 MethodName: "RestartDhcp",
1701 Handler: _BBSim_RestartDhcp_Handler,
1702 },
Scott Baker41724b82020-01-21 19:54:53 -08001703 {
Anand S Katti86552f92020-03-03 21:56:32 +05301704 MethodName: "SetOnuAlarmIndication",
1705 Handler: _BBSim_SetOnuAlarmIndication_Handler,
1706 },
1707 {
1708 MethodName: "SetOltAlarmIndication",
1709 Handler: _BBSim_SetOltAlarmIndication_Handler,
Scott Baker41724b82020-01-21 19:54:53 -08001710 },
Arjun E K57a7fcb2020-01-30 06:44:45 +00001711 {
Pragya Arya8bdb4532020-03-02 17:08:09 +05301712 MethodName: "GetFlows",
1713 Handler: _BBSim_GetFlows_Handler,
1714 },
1715 {
Arjun E K57a7fcb2020-01-30 06:44:45 +00001716 MethodName: "ChangeIgmpState",
1717 Handler: _BBSim_ChangeIgmpState_Handler,
1718 },
Anand S Katti09541352020-01-29 15:54:01 +05301719 {
1720 MethodName: "GetOnuTrafficSchedulers",
1721 Handler: _BBSim_GetOnuTrafficSchedulers_Handler,
1722 },
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001723 },
1724 Streams: []grpc.StreamDesc{},
1725 Metadata: "api/bbsim/bbsim.proto",
1726}