blob: 1989289c27950e6ca6a97399bb2d6691e3400f03 [file] [log] [blame]
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/openolt.proto
3
4package openolt
5
6import (
7 context "context"
8 fmt "fmt"
9 proto "github.com/golang/protobuf/proto"
dbainbri4d3a0dc2020-12-02 00:33:42 +000010 common "github.com/opencord/voltha-protos/v4/go/common"
11 config "github.com/opencord/voltha-protos/v4/go/ext/config"
12 tech_profile "github.com/opencord/voltha-protos/v4/go/tech_profile"
Holger Hildebrandtfa074992020-03-27 15:42:06 +000013 _ "google.golang.org/genproto/googleapis/api/annotations"
14 grpc "google.golang.org/grpc"
15 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
29// SchedulerConfig from public import voltha_protos/tech_profile.proto
30type SchedulerConfig = tech_profile.SchedulerConfig
31
32// TrafficShapingInfo from public import voltha_protos/tech_profile.proto
33type TrafficShapingInfo = tech_profile.TrafficShapingInfo
34
35// TrafficScheduler from public import voltha_protos/tech_profile.proto
36type TrafficScheduler = tech_profile.TrafficScheduler
37
38// TrafficSchedulers from public import voltha_protos/tech_profile.proto
39type TrafficSchedulers = tech_profile.TrafficSchedulers
40
41// TailDropDiscardConfig from public import voltha_protos/tech_profile.proto
42type TailDropDiscardConfig = tech_profile.TailDropDiscardConfig
43
44// RedDiscardConfig from public import voltha_protos/tech_profile.proto
45type RedDiscardConfig = tech_profile.RedDiscardConfig
46
47// WRedDiscardConfig from public import voltha_protos/tech_profile.proto
48type WRedDiscardConfig = tech_profile.WRedDiscardConfig
49
50// DiscardConfig from public import voltha_protos/tech_profile.proto
51type DiscardConfig = tech_profile.DiscardConfig
52type DiscardConfig_TailDropDiscardConfig = tech_profile.DiscardConfig_TailDropDiscardConfig
53type DiscardConfig_RedDiscardConfig = tech_profile.DiscardConfig_RedDiscardConfig
54type DiscardConfig_WredDiscardConfig = tech_profile.DiscardConfig_WredDiscardConfig
55
56// TrafficQueue from public import voltha_protos/tech_profile.proto
57type TrafficQueue = tech_profile.TrafficQueue
58
59// TrafficQueues from public import voltha_protos/tech_profile.proto
60type TrafficQueues = tech_profile.TrafficQueues
61
62// Direction from public import voltha_protos/tech_profile.proto
63type Direction = tech_profile.Direction
64
65var Direction_name = tech_profile.Direction_name
66var Direction_value = tech_profile.Direction_value
67
68const Direction_UPSTREAM = Direction(tech_profile.Direction_UPSTREAM)
69const Direction_DOWNSTREAM = Direction(tech_profile.Direction_DOWNSTREAM)
70const Direction_BIDIRECTIONAL = Direction(tech_profile.Direction_BIDIRECTIONAL)
71
72// SchedulingPolicy from public import voltha_protos/tech_profile.proto
73type SchedulingPolicy = tech_profile.SchedulingPolicy
74
75var SchedulingPolicy_name = tech_profile.SchedulingPolicy_name
76var SchedulingPolicy_value = tech_profile.SchedulingPolicy_value
77
78const SchedulingPolicy_WRR = SchedulingPolicy(tech_profile.SchedulingPolicy_WRR)
79const SchedulingPolicy_StrictPriority = SchedulingPolicy(tech_profile.SchedulingPolicy_StrictPriority)
80const SchedulingPolicy_Hybrid = SchedulingPolicy(tech_profile.SchedulingPolicy_Hybrid)
81
82// AdditionalBW from public import voltha_protos/tech_profile.proto
83type AdditionalBW = tech_profile.AdditionalBW
84
85var AdditionalBW_name = tech_profile.AdditionalBW_name
86var AdditionalBW_value = tech_profile.AdditionalBW_value
87
88const AdditionalBW_AdditionalBW_None = AdditionalBW(tech_profile.AdditionalBW_AdditionalBW_None)
89const AdditionalBW_AdditionalBW_NA = AdditionalBW(tech_profile.AdditionalBW_AdditionalBW_NA)
90const AdditionalBW_AdditionalBW_BestEffort = AdditionalBW(tech_profile.AdditionalBW_AdditionalBW_BestEffort)
91const AdditionalBW_AdditionalBW_Auto = AdditionalBW(tech_profile.AdditionalBW_AdditionalBW_Auto)
92
93// DiscardPolicy from public import voltha_protos/tech_profile.proto
94type DiscardPolicy = tech_profile.DiscardPolicy
95
96var DiscardPolicy_name = tech_profile.DiscardPolicy_name
97var DiscardPolicy_value = tech_profile.DiscardPolicy_value
98
99const DiscardPolicy_TailDrop = DiscardPolicy(tech_profile.DiscardPolicy_TailDrop)
100const DiscardPolicy_WTailDrop = DiscardPolicy(tech_profile.DiscardPolicy_WTailDrop)
101const DiscardPolicy_Red = DiscardPolicy(tech_profile.DiscardPolicy_Red)
102const DiscardPolicy_WRed = DiscardPolicy(tech_profile.DiscardPolicy_WRed)
103
104// InferredAdditionBWIndication from public import voltha_protos/tech_profile.proto
105type InferredAdditionBWIndication = tech_profile.InferredAdditionBWIndication
106
107var InferredAdditionBWIndication_name = tech_profile.InferredAdditionBWIndication_name
108var InferredAdditionBWIndication_value = tech_profile.InferredAdditionBWIndication_value
109
110const InferredAdditionBWIndication_InferredAdditionBWIndication_None = InferredAdditionBWIndication(tech_profile.InferredAdditionBWIndication_InferredAdditionBWIndication_None)
111const InferredAdditionBWIndication_InferredAdditionBWIndication_Assured = InferredAdditionBWIndication(tech_profile.InferredAdditionBWIndication_InferredAdditionBWIndication_Assured)
112const InferredAdditionBWIndication_InferredAdditionBWIndication_BestEffort = InferredAdditionBWIndication(tech_profile.InferredAdditionBWIndication_InferredAdditionBWIndication_BestEffort)
113
Matteo Scandolod132c0e2020-04-24 17:06:25 -0700114// ID from public import voltha_protos/common.proto
115type ID = common.ID
116
117// IDs from public import voltha_protos/common.proto
118type IDs = common.IDs
119
120// AdminState from public import voltha_protos/common.proto
121type AdminState = common.AdminState
122
123// OperStatus from public import voltha_protos/common.proto
124type OperStatus = common.OperStatus
125
126// ConnectStatus from public import voltha_protos/common.proto
127type ConnectStatus = common.ConnectStatus
128
129// OperationResp from public import voltha_protos/common.proto
130type OperationResp = common.OperationResp
131
132// ValueType from public import voltha_protos/common.proto
133type ValueType = common.ValueType
134
135// ValueSpecifier from public import voltha_protos/common.proto
136type ValueSpecifier = common.ValueSpecifier
137
138// ReturnValues from public import voltha_protos/common.proto
139type ReturnValues = common.ReturnValues
140
141// TestModeKeys from public import voltha_protos/common.proto
142type TestModeKeys = common.TestModeKeys
143
144var TestModeKeys_name = common.TestModeKeys_name
145var TestModeKeys_value = common.TestModeKeys_value
146
147const TestModeKeys_api_test = TestModeKeys(common.TestModeKeys_api_test)
148
149// AdminState_Types from public import voltha_protos/common.proto
150type AdminState_Types = common.AdminState_Types
151
152var AdminState_Types_name = common.AdminState_Types_name
153var AdminState_Types_value = common.AdminState_Types_value
154
155const AdminState_UNKNOWN = AdminState_Types(common.AdminState_UNKNOWN)
156const AdminState_PREPROVISIONED = AdminState_Types(common.AdminState_PREPROVISIONED)
157const AdminState_ENABLED = AdminState_Types(common.AdminState_ENABLED)
158const AdminState_DISABLED = AdminState_Types(common.AdminState_DISABLED)
159const AdminState_DOWNLOADING_IMAGE = AdminState_Types(common.AdminState_DOWNLOADING_IMAGE)
Matteo Scandolod132c0e2020-04-24 17:06:25 -0700160
161// OperStatus_Types from public import voltha_protos/common.proto
162type OperStatus_Types = common.OperStatus_Types
163
164var OperStatus_Types_name = common.OperStatus_Types_name
165var OperStatus_Types_value = common.OperStatus_Types_value
166
167const OperStatus_UNKNOWN = OperStatus_Types(common.OperStatus_UNKNOWN)
168const OperStatus_DISCOVERED = OperStatus_Types(common.OperStatus_DISCOVERED)
169const OperStatus_ACTIVATING = OperStatus_Types(common.OperStatus_ACTIVATING)
170const OperStatus_TESTING = OperStatus_Types(common.OperStatus_TESTING)
171const OperStatus_ACTIVE = OperStatus_Types(common.OperStatus_ACTIVE)
172const OperStatus_FAILED = OperStatus_Types(common.OperStatus_FAILED)
173
174// ConnectStatus_Types from public import voltha_protos/common.proto
175type ConnectStatus_Types = common.ConnectStatus_Types
176
177var ConnectStatus_Types_name = common.ConnectStatus_Types_name
178var ConnectStatus_Types_value = common.ConnectStatus_Types_value
179
180const ConnectStatus_UNKNOWN = ConnectStatus_Types(common.ConnectStatus_UNKNOWN)
181const ConnectStatus_UNREACHABLE = ConnectStatus_Types(common.ConnectStatus_UNREACHABLE)
182const ConnectStatus_REACHABLE = ConnectStatus_Types(common.ConnectStatus_REACHABLE)
183
184// OperationResp_OperationReturnCode from public import voltha_protos/common.proto
185type OperationResp_OperationReturnCode = common.OperationResp_OperationReturnCode
186
187var OperationResp_OperationReturnCode_name = common.OperationResp_OperationReturnCode_name
188var OperationResp_OperationReturnCode_value = common.OperationResp_OperationReturnCode_value
189
190const OperationResp_OPERATION_SUCCESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_SUCCESS)
191const OperationResp_OPERATION_FAILURE = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_FAILURE)
192const OperationResp_OPERATION_UNSUPPORTED = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_UNSUPPORTED)
Andrea Campanellaaec20bd2021-02-25 12:41:34 +0100193const OperationResp_OPERATION_IN_PROGRESS = OperationResp_OperationReturnCode(common.OperationResp_OPERATION_IN_PROGRESS)
Matteo Scandolod132c0e2020-04-24 17:06:25 -0700194
195// ValueType_Type from public import voltha_protos/common.proto
196type ValueType_Type = common.ValueType_Type
197
198var ValueType_Type_name = common.ValueType_Type_name
199var ValueType_Type_value = common.ValueType_Type_value
200
201const ValueType_EMPTY = ValueType_Type(common.ValueType_EMPTY)
202const ValueType_DISTANCE = ValueType_Type(common.ValueType_DISTANCE)
203
dbainbri4d3a0dc2020-12-02 00:33:42 +0000204//* activation fail reason.
205type OnuIndication_ActivationFailReason int32
206
207const (
208 OnuIndication_ONU_ACTIVATION_FAIL_REASON_NONE OnuIndication_ActivationFailReason = 0
209 OnuIndication_ONU_ACTIVATION_FAIL_REASON_RANGING OnuIndication_ActivationFailReason = 1
210 OnuIndication_ONU_ACTIVATION_FAIL_REASON_PASSWORD_AUTHENTICATION OnuIndication_ActivationFailReason = 2
211 OnuIndication_ONU_ACTIVATION_FAIL_REASON_LOS OnuIndication_ActivationFailReason = 3
212 OnuIndication_ONU_ACTIVATION_FAIL_ONU_ALARM OnuIndication_ActivationFailReason = 4
213 OnuIndication_ONU_ACTIVATION_FAIL_SWITCH_OVER OnuIndication_ActivationFailReason = 5
214)
215
216var OnuIndication_ActivationFailReason_name = map[int32]string{
217 0: "ONU_ACTIVATION_FAIL_REASON_NONE",
218 1: "ONU_ACTIVATION_FAIL_REASON_RANGING",
219 2: "ONU_ACTIVATION_FAIL_REASON_PASSWORD_AUTHENTICATION",
220 3: "ONU_ACTIVATION_FAIL_REASON_LOS",
221 4: "ONU_ACTIVATION_FAIL_ONU_ALARM",
222 5: "ONU_ACTIVATION_FAIL_SWITCH_OVER",
223}
224
225var OnuIndication_ActivationFailReason_value = map[string]int32{
226 "ONU_ACTIVATION_FAIL_REASON_NONE": 0,
227 "ONU_ACTIVATION_FAIL_REASON_RANGING": 1,
228 "ONU_ACTIVATION_FAIL_REASON_PASSWORD_AUTHENTICATION": 2,
229 "ONU_ACTIVATION_FAIL_REASON_LOS": 3,
230 "ONU_ACTIVATION_FAIL_ONU_ALARM": 4,
231 "ONU_ACTIVATION_FAIL_SWITCH_OVER": 5,
232}
233
234func (x OnuIndication_ActivationFailReason) String() string {
235 return proto.EnumName(OnuIndication_ActivationFailReason_name, int32(x))
236}
237
238func (OnuIndication_ActivationFailReason) EnumDescriptor() ([]byte, []int) {
239 return fileDescriptor_c072e7aa0dfd74d5, []int{5, 0}
240}
241
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000242type DeviceInfo_DeviceResourceRanges_Pool_PoolType int32
243
244const (
245 DeviceInfo_DeviceResourceRanges_Pool_ONU_ID DeviceInfo_DeviceResourceRanges_Pool_PoolType = 0
246 DeviceInfo_DeviceResourceRanges_Pool_ALLOC_ID DeviceInfo_DeviceResourceRanges_Pool_PoolType = 1
247 DeviceInfo_DeviceResourceRanges_Pool_GEMPORT_ID DeviceInfo_DeviceResourceRanges_Pool_PoolType = 2
248 DeviceInfo_DeviceResourceRanges_Pool_FLOW_ID DeviceInfo_DeviceResourceRanges_Pool_PoolType = 3
249)
250
251var DeviceInfo_DeviceResourceRanges_Pool_PoolType_name = map[int32]string{
252 0: "ONU_ID",
253 1: "ALLOC_ID",
254 2: "GEMPORT_ID",
255 3: "FLOW_ID",
256}
257
258var DeviceInfo_DeviceResourceRanges_Pool_PoolType_value = map[string]int32{
259 "ONU_ID": 0,
260 "ALLOC_ID": 1,
261 "GEMPORT_ID": 2,
262 "FLOW_ID": 3,
263}
264
265func (x DeviceInfo_DeviceResourceRanges_Pool_PoolType) String() string {
266 return proto.EnumName(DeviceInfo_DeviceResourceRanges_Pool_PoolType_name, int32(x))
267}
268
269func (DeviceInfo_DeviceResourceRanges_Pool_PoolType) EnumDescriptor() ([]byte, []int) {
mpagenkoaf801632020-07-03 10:00:42 +0000270 return fileDescriptor_c072e7aa0dfd74d5, []int{16, 0, 0, 0}
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000271}
272
273type DeviceInfo_DeviceResourceRanges_Pool_SharingType int32
274
275const (
276 DeviceInfo_DeviceResourceRanges_Pool_DEDICATED_PER_INTF DeviceInfo_DeviceResourceRanges_Pool_SharingType = 0
277 DeviceInfo_DeviceResourceRanges_Pool_SHARED_BY_ALL_INTF_ALL_TECH DeviceInfo_DeviceResourceRanges_Pool_SharingType = 1
278 DeviceInfo_DeviceResourceRanges_Pool_SHARED_BY_ALL_INTF_SAME_TECH DeviceInfo_DeviceResourceRanges_Pool_SharingType = 2
279)
280
281var DeviceInfo_DeviceResourceRanges_Pool_SharingType_name = map[int32]string{
282 0: "DEDICATED_PER_INTF",
283 1: "SHARED_BY_ALL_INTF_ALL_TECH",
284 2: "SHARED_BY_ALL_INTF_SAME_TECH",
285}
286
287var DeviceInfo_DeviceResourceRanges_Pool_SharingType_value = map[string]int32{
288 "DEDICATED_PER_INTF": 0,
289 "SHARED_BY_ALL_INTF_ALL_TECH": 1,
290 "SHARED_BY_ALL_INTF_SAME_TECH": 2,
291}
292
293func (x DeviceInfo_DeviceResourceRanges_Pool_SharingType) String() string {
294 return proto.EnumName(DeviceInfo_DeviceResourceRanges_Pool_SharingType_name, int32(x))
295}
296
297func (DeviceInfo_DeviceResourceRanges_Pool_SharingType) EnumDescriptor() ([]byte, []int) {
mpagenkoaf801632020-07-03 10:00:42 +0000298 return fileDescriptor_c072e7aa0dfd74d5, []int{16, 0, 0, 1}
299}
300
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000301type GroupMember_InterfaceType int32
302
303const (
304 GroupMember_PON GroupMember_InterfaceType = 0
305 GroupMember_EPON_1G_PATH GroupMember_InterfaceType = 1
306 GroupMember_EPON_10G_PATH GroupMember_InterfaceType = 2
307)
308
309var GroupMember_InterfaceType_name = map[int32]string{
310 0: "PON",
311 1: "EPON_1G_PATH",
312 2: "EPON_10G_PATH",
313}
314
315var GroupMember_InterfaceType_value = map[string]int32{
316 "PON": 0,
317 "EPON_1G_PATH": 1,
318 "EPON_10G_PATH": 2,
319}
320
321func (x GroupMember_InterfaceType) String() string {
322 return proto.EnumName(GroupMember_InterfaceType_name, int32(x))
323}
324
325func (GroupMember_InterfaceType) EnumDescriptor() ([]byte, []int) {
kesavandfdf77632021-01-26 23:40:33 -0500326 return fileDescriptor_c072e7aa0dfd74d5, []int{46, 0}
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000327}
328
329type Group_GroupMembersCommand int32
330
331const (
332 Group_ADD_MEMBERS Group_GroupMembersCommand = 0
333 Group_REMOVE_MEMBERS Group_GroupMembersCommand = 1
334 Group_SET_MEMBERS Group_GroupMembersCommand = 2
335)
336
337var Group_GroupMembersCommand_name = map[int32]string{
338 0: "ADD_MEMBERS",
339 1: "REMOVE_MEMBERS",
340 2: "SET_MEMBERS",
341}
342
343var Group_GroupMembersCommand_value = map[string]int32{
344 "ADD_MEMBERS": 0,
345 "REMOVE_MEMBERS": 1,
346 "SET_MEMBERS": 2,
347}
348
349func (x Group_GroupMembersCommand) String() string {
350 return proto.EnumName(Group_GroupMembersCommand_name, int32(x))
351}
352
353func (Group_GroupMembersCommand) EnumDescriptor() ([]byte, []int) {
kesavandfdf77632021-01-26 23:40:33 -0500354 return fileDescriptor_c072e7aa0dfd74d5, []int{47, 0}
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000355}
356
357type Indication struct {
358 // Types that are valid to be assigned to Data:
359 // *Indication_OltInd
360 // *Indication_IntfInd
361 // *Indication_IntfOperInd
362 // *Indication_OnuDiscInd
363 // *Indication_OnuInd
364 // *Indication_OmciInd
365 // *Indication_PktInd
366 // *Indication_PortStats
367 // *Indication_FlowStats
368 // *Indication_AlarmInd
369 Data isIndication_Data `protobuf_oneof:"data"`
370 XXX_NoUnkeyedLiteral struct{} `json:"-"`
371 XXX_unrecognized []byte `json:"-"`
372 XXX_sizecache int32 `json:"-"`
373}
374
375func (m *Indication) Reset() { *m = Indication{} }
376func (m *Indication) String() string { return proto.CompactTextString(m) }
377func (*Indication) ProtoMessage() {}
378func (*Indication) Descriptor() ([]byte, []int) {
379 return fileDescriptor_c072e7aa0dfd74d5, []int{0}
380}
381
382func (m *Indication) XXX_Unmarshal(b []byte) error {
383 return xxx_messageInfo_Indication.Unmarshal(m, b)
384}
385func (m *Indication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
386 return xxx_messageInfo_Indication.Marshal(b, m, deterministic)
387}
388func (m *Indication) XXX_Merge(src proto.Message) {
389 xxx_messageInfo_Indication.Merge(m, src)
390}
391func (m *Indication) XXX_Size() int {
392 return xxx_messageInfo_Indication.Size(m)
393}
394func (m *Indication) XXX_DiscardUnknown() {
395 xxx_messageInfo_Indication.DiscardUnknown(m)
396}
397
398var xxx_messageInfo_Indication proto.InternalMessageInfo
399
400type isIndication_Data interface {
401 isIndication_Data()
402}
403
404type Indication_OltInd struct {
405 OltInd *OltIndication `protobuf:"bytes,1,opt,name=olt_ind,json=oltInd,proto3,oneof"`
406}
407
408type Indication_IntfInd struct {
409 IntfInd *IntfIndication `protobuf:"bytes,2,opt,name=intf_ind,json=intfInd,proto3,oneof"`
410}
411
412type Indication_IntfOperInd struct {
413 IntfOperInd *IntfOperIndication `protobuf:"bytes,3,opt,name=intf_oper_ind,json=intfOperInd,proto3,oneof"`
414}
415
416type Indication_OnuDiscInd struct {
417 OnuDiscInd *OnuDiscIndication `protobuf:"bytes,4,opt,name=onu_disc_ind,json=onuDiscInd,proto3,oneof"`
418}
419
420type Indication_OnuInd struct {
421 OnuInd *OnuIndication `protobuf:"bytes,5,opt,name=onu_ind,json=onuInd,proto3,oneof"`
422}
423
424type Indication_OmciInd struct {
425 OmciInd *OmciIndication `protobuf:"bytes,6,opt,name=omci_ind,json=omciInd,proto3,oneof"`
426}
427
428type Indication_PktInd struct {
429 PktInd *PacketIndication `protobuf:"bytes,7,opt,name=pkt_ind,json=pktInd,proto3,oneof"`
430}
431
432type Indication_PortStats struct {
433 PortStats *PortStatistics `protobuf:"bytes,8,opt,name=port_stats,json=portStats,proto3,oneof"`
434}
435
436type Indication_FlowStats struct {
437 FlowStats *FlowStatistics `protobuf:"bytes,9,opt,name=flow_stats,json=flowStats,proto3,oneof"`
438}
439
440type Indication_AlarmInd struct {
441 AlarmInd *AlarmIndication `protobuf:"bytes,10,opt,name=alarm_ind,json=alarmInd,proto3,oneof"`
442}
443
444func (*Indication_OltInd) isIndication_Data() {}
445
446func (*Indication_IntfInd) isIndication_Data() {}
447
448func (*Indication_IntfOperInd) isIndication_Data() {}
449
450func (*Indication_OnuDiscInd) isIndication_Data() {}
451
452func (*Indication_OnuInd) isIndication_Data() {}
453
454func (*Indication_OmciInd) isIndication_Data() {}
455
456func (*Indication_PktInd) isIndication_Data() {}
457
458func (*Indication_PortStats) isIndication_Data() {}
459
460func (*Indication_FlowStats) isIndication_Data() {}
461
462func (*Indication_AlarmInd) isIndication_Data() {}
463
464func (m *Indication) GetData() isIndication_Data {
465 if m != nil {
466 return m.Data
467 }
468 return nil
469}
470
471func (m *Indication) GetOltInd() *OltIndication {
472 if x, ok := m.GetData().(*Indication_OltInd); ok {
473 return x.OltInd
474 }
475 return nil
476}
477
478func (m *Indication) GetIntfInd() *IntfIndication {
479 if x, ok := m.GetData().(*Indication_IntfInd); ok {
480 return x.IntfInd
481 }
482 return nil
483}
484
485func (m *Indication) GetIntfOperInd() *IntfOperIndication {
486 if x, ok := m.GetData().(*Indication_IntfOperInd); ok {
487 return x.IntfOperInd
488 }
489 return nil
490}
491
492func (m *Indication) GetOnuDiscInd() *OnuDiscIndication {
493 if x, ok := m.GetData().(*Indication_OnuDiscInd); ok {
494 return x.OnuDiscInd
495 }
496 return nil
497}
498
499func (m *Indication) GetOnuInd() *OnuIndication {
500 if x, ok := m.GetData().(*Indication_OnuInd); ok {
501 return x.OnuInd
502 }
503 return nil
504}
505
506func (m *Indication) GetOmciInd() *OmciIndication {
507 if x, ok := m.GetData().(*Indication_OmciInd); ok {
508 return x.OmciInd
509 }
510 return nil
511}
512
513func (m *Indication) GetPktInd() *PacketIndication {
514 if x, ok := m.GetData().(*Indication_PktInd); ok {
515 return x.PktInd
516 }
517 return nil
518}
519
520func (m *Indication) GetPortStats() *PortStatistics {
521 if x, ok := m.GetData().(*Indication_PortStats); ok {
522 return x.PortStats
523 }
524 return nil
525}
526
527func (m *Indication) GetFlowStats() *FlowStatistics {
528 if x, ok := m.GetData().(*Indication_FlowStats); ok {
529 return x.FlowStats
530 }
531 return nil
532}
533
534func (m *Indication) GetAlarmInd() *AlarmIndication {
535 if x, ok := m.GetData().(*Indication_AlarmInd); ok {
536 return x.AlarmInd
537 }
538 return nil
539}
540
541// XXX_OneofWrappers is for the internal use of the proto package.
542func (*Indication) XXX_OneofWrappers() []interface{} {
543 return []interface{}{
544 (*Indication_OltInd)(nil),
545 (*Indication_IntfInd)(nil),
546 (*Indication_IntfOperInd)(nil),
547 (*Indication_OnuDiscInd)(nil),
548 (*Indication_OnuInd)(nil),
549 (*Indication_OmciInd)(nil),
550 (*Indication_PktInd)(nil),
551 (*Indication_PortStats)(nil),
552 (*Indication_FlowStats)(nil),
553 (*Indication_AlarmInd)(nil),
554 }
555}
556
557type AlarmIndication struct {
558 // Types that are valid to be assigned to Data:
559 // *AlarmIndication_LosInd
560 // *AlarmIndication_DyingGaspInd
561 // *AlarmIndication_OnuAlarmInd
562 // *AlarmIndication_OnuStartupFailInd
563 // *AlarmIndication_OnuSignalDegradeInd
564 // *AlarmIndication_OnuDriftOfWindowInd
565 // *AlarmIndication_OnuLossOmciInd
566 // *AlarmIndication_OnuSignalsFailInd
567 // *AlarmIndication_OnuTiwiInd
568 // *AlarmIndication_OnuActivationFailInd
569 // *AlarmIndication_OnuProcessingErrorInd
570 // *AlarmIndication_OnuLossOfSyncFailInd
571 // *AlarmIndication_OnuItuPonStatsInd
Matteo Scandolo2e6f1e32020-04-15 11:28:45 -0700572 // *AlarmIndication_OnuDeactivationFailureInd
573 // *AlarmIndication_OnuRemoteDefectInd
574 // *AlarmIndication_OnuLossGemDelineationInd
575 // *AlarmIndication_OnuPhysicalEquipmentErrorInd
576 // *AlarmIndication_OnuLossOfAckInd
Matteo Scandolod132c0e2020-04-24 17:06:25 -0700577 // *AlarmIndication_OnuDiffReachExceededInd
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000578 Data isAlarmIndication_Data `protobuf_oneof:"data"`
579 XXX_NoUnkeyedLiteral struct{} `json:"-"`
580 XXX_unrecognized []byte `json:"-"`
581 XXX_sizecache int32 `json:"-"`
582}
583
584func (m *AlarmIndication) Reset() { *m = AlarmIndication{} }
585func (m *AlarmIndication) String() string { return proto.CompactTextString(m) }
586func (*AlarmIndication) ProtoMessage() {}
587func (*AlarmIndication) Descriptor() ([]byte, []int) {
588 return fileDescriptor_c072e7aa0dfd74d5, []int{1}
589}
590
591func (m *AlarmIndication) XXX_Unmarshal(b []byte) error {
592 return xxx_messageInfo_AlarmIndication.Unmarshal(m, b)
593}
594func (m *AlarmIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
595 return xxx_messageInfo_AlarmIndication.Marshal(b, m, deterministic)
596}
597func (m *AlarmIndication) XXX_Merge(src proto.Message) {
598 xxx_messageInfo_AlarmIndication.Merge(m, src)
599}
600func (m *AlarmIndication) XXX_Size() int {
601 return xxx_messageInfo_AlarmIndication.Size(m)
602}
603func (m *AlarmIndication) XXX_DiscardUnknown() {
604 xxx_messageInfo_AlarmIndication.DiscardUnknown(m)
605}
606
607var xxx_messageInfo_AlarmIndication proto.InternalMessageInfo
608
609type isAlarmIndication_Data interface {
610 isAlarmIndication_Data()
611}
612
613type AlarmIndication_LosInd struct {
614 LosInd *LosIndication `protobuf:"bytes,1,opt,name=los_ind,json=losInd,proto3,oneof"`
615}
616
617type AlarmIndication_DyingGaspInd struct {
618 DyingGaspInd *DyingGaspIndication `protobuf:"bytes,2,opt,name=dying_gasp_ind,json=dyingGaspInd,proto3,oneof"`
619}
620
621type AlarmIndication_OnuAlarmInd struct {
622 OnuAlarmInd *OnuAlarmIndication `protobuf:"bytes,3,opt,name=onu_alarm_ind,json=onuAlarmInd,proto3,oneof"`
623}
624
625type AlarmIndication_OnuStartupFailInd struct {
626 OnuStartupFailInd *OnuStartupFailureIndication `protobuf:"bytes,4,opt,name=onu_startup_fail_ind,json=onuStartupFailInd,proto3,oneof"`
627}
628
629type AlarmIndication_OnuSignalDegradeInd struct {
630 OnuSignalDegradeInd *OnuSignalDegradeIndication `protobuf:"bytes,5,opt,name=onu_signal_degrade_ind,json=onuSignalDegradeInd,proto3,oneof"`
631}
632
633type AlarmIndication_OnuDriftOfWindowInd struct {
634 OnuDriftOfWindowInd *OnuDriftOfWindowIndication `protobuf:"bytes,6,opt,name=onu_drift_of_window_ind,json=onuDriftOfWindowInd,proto3,oneof"`
635}
636
637type AlarmIndication_OnuLossOmciInd struct {
638 OnuLossOmciInd *OnuLossOfOmciChannelIndication `protobuf:"bytes,7,opt,name=onu_loss_omci_ind,json=onuLossOmciInd,proto3,oneof"`
639}
640
641type AlarmIndication_OnuSignalsFailInd struct {
642 OnuSignalsFailInd *OnuSignalsFailureIndication `protobuf:"bytes,8,opt,name=onu_signals_fail_ind,json=onuSignalsFailInd,proto3,oneof"`
643}
644
645type AlarmIndication_OnuTiwiInd struct {
646 OnuTiwiInd *OnuTransmissionInterferenceWarning `protobuf:"bytes,9,opt,name=onu_tiwi_ind,json=onuTiwiInd,proto3,oneof"`
647}
648
649type AlarmIndication_OnuActivationFailInd struct {
650 OnuActivationFailInd *OnuActivationFailureIndication `protobuf:"bytes,10,opt,name=onu_activation_fail_ind,json=onuActivationFailInd,proto3,oneof"`
651}
652
653type AlarmIndication_OnuProcessingErrorInd struct {
654 OnuProcessingErrorInd *OnuProcessingErrorIndication `protobuf:"bytes,11,opt,name=onu_processing_error_ind,json=onuProcessingErrorInd,proto3,oneof"`
655}
656
657type AlarmIndication_OnuLossOfSyncFailInd struct {
658 OnuLossOfSyncFailInd *OnuLossOfKeySyncFailureIndication `protobuf:"bytes,12,opt,name=onu_loss_of_sync_fail_ind,json=onuLossOfSyncFailInd,proto3,oneof"`
659}
660
661type AlarmIndication_OnuItuPonStatsInd struct {
662 OnuItuPonStatsInd *OnuItuPonStatsIndication `protobuf:"bytes,13,opt,name=onu_itu_pon_stats_ind,json=onuItuPonStatsInd,proto3,oneof"`
663}
664
Matteo Scandolo2e6f1e32020-04-15 11:28:45 -0700665type AlarmIndication_OnuDeactivationFailureInd struct {
666 OnuDeactivationFailureInd *OnuDeactivationFailureIndication `protobuf:"bytes,14,opt,name=onu_deactivation_failure_ind,json=onuDeactivationFailureInd,proto3,oneof"`
667}
668
669type AlarmIndication_OnuRemoteDefectInd struct {
670 OnuRemoteDefectInd *OnuRemoteDefectIndication `protobuf:"bytes,15,opt,name=onu_remote_defect_ind,json=onuRemoteDefectInd,proto3,oneof"`
671}
672
673type AlarmIndication_OnuLossGemDelineationInd struct {
674 OnuLossGemDelineationInd *OnuLossOfGEMChannelDelineationIndication `protobuf:"bytes,16,opt,name=onu_loss_gem_delineation_ind,json=onuLossGemDelineationInd,proto3,oneof"`
675}
676
677type AlarmIndication_OnuPhysicalEquipmentErrorInd struct {
678 OnuPhysicalEquipmentErrorInd *OnuPhysicalEquipmentErrorIndication `protobuf:"bytes,17,opt,name=onu_physical_equipment_error_ind,json=onuPhysicalEquipmentErrorInd,proto3,oneof"`
679}
680
681type AlarmIndication_OnuLossOfAckInd struct {
682 OnuLossOfAckInd *OnuLossOfAcknowledgementIndication `protobuf:"bytes,18,opt,name=onu_loss_of_ack_ind,json=onuLossOfAckInd,proto3,oneof"`
683}
684
Matteo Scandolod132c0e2020-04-24 17:06:25 -0700685type AlarmIndication_OnuDiffReachExceededInd struct {
686 OnuDiffReachExceededInd *OnuDifferentialReachExceededIndication `protobuf:"bytes,19,opt,name=onu_diff_reach_exceeded_ind,json=onuDiffReachExceededInd,proto3,oneof"`
687}
688
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000689func (*AlarmIndication_LosInd) isAlarmIndication_Data() {}
690
691func (*AlarmIndication_DyingGaspInd) isAlarmIndication_Data() {}
692
693func (*AlarmIndication_OnuAlarmInd) isAlarmIndication_Data() {}
694
695func (*AlarmIndication_OnuStartupFailInd) isAlarmIndication_Data() {}
696
697func (*AlarmIndication_OnuSignalDegradeInd) isAlarmIndication_Data() {}
698
699func (*AlarmIndication_OnuDriftOfWindowInd) isAlarmIndication_Data() {}
700
701func (*AlarmIndication_OnuLossOmciInd) isAlarmIndication_Data() {}
702
703func (*AlarmIndication_OnuSignalsFailInd) isAlarmIndication_Data() {}
704
705func (*AlarmIndication_OnuTiwiInd) isAlarmIndication_Data() {}
706
707func (*AlarmIndication_OnuActivationFailInd) isAlarmIndication_Data() {}
708
709func (*AlarmIndication_OnuProcessingErrorInd) isAlarmIndication_Data() {}
710
711func (*AlarmIndication_OnuLossOfSyncFailInd) isAlarmIndication_Data() {}
712
713func (*AlarmIndication_OnuItuPonStatsInd) isAlarmIndication_Data() {}
714
Matteo Scandolo2e6f1e32020-04-15 11:28:45 -0700715func (*AlarmIndication_OnuDeactivationFailureInd) isAlarmIndication_Data() {}
716
717func (*AlarmIndication_OnuRemoteDefectInd) isAlarmIndication_Data() {}
718
719func (*AlarmIndication_OnuLossGemDelineationInd) isAlarmIndication_Data() {}
720
721func (*AlarmIndication_OnuPhysicalEquipmentErrorInd) isAlarmIndication_Data() {}
722
723func (*AlarmIndication_OnuLossOfAckInd) isAlarmIndication_Data() {}
724
Matteo Scandolod132c0e2020-04-24 17:06:25 -0700725func (*AlarmIndication_OnuDiffReachExceededInd) isAlarmIndication_Data() {}
726
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000727func (m *AlarmIndication) GetData() isAlarmIndication_Data {
728 if m != nil {
729 return m.Data
730 }
731 return nil
732}
733
734func (m *AlarmIndication) GetLosInd() *LosIndication {
735 if x, ok := m.GetData().(*AlarmIndication_LosInd); ok {
736 return x.LosInd
737 }
738 return nil
739}
740
741func (m *AlarmIndication) GetDyingGaspInd() *DyingGaspIndication {
742 if x, ok := m.GetData().(*AlarmIndication_DyingGaspInd); ok {
743 return x.DyingGaspInd
744 }
745 return nil
746}
747
748func (m *AlarmIndication) GetOnuAlarmInd() *OnuAlarmIndication {
749 if x, ok := m.GetData().(*AlarmIndication_OnuAlarmInd); ok {
750 return x.OnuAlarmInd
751 }
752 return nil
753}
754
755func (m *AlarmIndication) GetOnuStartupFailInd() *OnuStartupFailureIndication {
756 if x, ok := m.GetData().(*AlarmIndication_OnuStartupFailInd); ok {
757 return x.OnuStartupFailInd
758 }
759 return nil
760}
761
762func (m *AlarmIndication) GetOnuSignalDegradeInd() *OnuSignalDegradeIndication {
763 if x, ok := m.GetData().(*AlarmIndication_OnuSignalDegradeInd); ok {
764 return x.OnuSignalDegradeInd
765 }
766 return nil
767}
768
769func (m *AlarmIndication) GetOnuDriftOfWindowInd() *OnuDriftOfWindowIndication {
770 if x, ok := m.GetData().(*AlarmIndication_OnuDriftOfWindowInd); ok {
771 return x.OnuDriftOfWindowInd
772 }
773 return nil
774}
775
776func (m *AlarmIndication) GetOnuLossOmciInd() *OnuLossOfOmciChannelIndication {
777 if x, ok := m.GetData().(*AlarmIndication_OnuLossOmciInd); ok {
778 return x.OnuLossOmciInd
779 }
780 return nil
781}
782
783func (m *AlarmIndication) GetOnuSignalsFailInd() *OnuSignalsFailureIndication {
784 if x, ok := m.GetData().(*AlarmIndication_OnuSignalsFailInd); ok {
785 return x.OnuSignalsFailInd
786 }
787 return nil
788}
789
790func (m *AlarmIndication) GetOnuTiwiInd() *OnuTransmissionInterferenceWarning {
791 if x, ok := m.GetData().(*AlarmIndication_OnuTiwiInd); ok {
792 return x.OnuTiwiInd
793 }
794 return nil
795}
796
797func (m *AlarmIndication) GetOnuActivationFailInd() *OnuActivationFailureIndication {
798 if x, ok := m.GetData().(*AlarmIndication_OnuActivationFailInd); ok {
799 return x.OnuActivationFailInd
800 }
801 return nil
802}
803
804func (m *AlarmIndication) GetOnuProcessingErrorInd() *OnuProcessingErrorIndication {
805 if x, ok := m.GetData().(*AlarmIndication_OnuProcessingErrorInd); ok {
806 return x.OnuProcessingErrorInd
807 }
808 return nil
809}
810
811func (m *AlarmIndication) GetOnuLossOfSyncFailInd() *OnuLossOfKeySyncFailureIndication {
812 if x, ok := m.GetData().(*AlarmIndication_OnuLossOfSyncFailInd); ok {
813 return x.OnuLossOfSyncFailInd
814 }
815 return nil
816}
817
818func (m *AlarmIndication) GetOnuItuPonStatsInd() *OnuItuPonStatsIndication {
819 if x, ok := m.GetData().(*AlarmIndication_OnuItuPonStatsInd); ok {
820 return x.OnuItuPonStatsInd
821 }
822 return nil
823}
824
Matteo Scandolo2e6f1e32020-04-15 11:28:45 -0700825func (m *AlarmIndication) GetOnuDeactivationFailureInd() *OnuDeactivationFailureIndication {
826 if x, ok := m.GetData().(*AlarmIndication_OnuDeactivationFailureInd); ok {
827 return x.OnuDeactivationFailureInd
828 }
829 return nil
830}
831
832func (m *AlarmIndication) GetOnuRemoteDefectInd() *OnuRemoteDefectIndication {
833 if x, ok := m.GetData().(*AlarmIndication_OnuRemoteDefectInd); ok {
834 return x.OnuRemoteDefectInd
835 }
836 return nil
837}
838
839func (m *AlarmIndication) GetOnuLossGemDelineationInd() *OnuLossOfGEMChannelDelineationIndication {
840 if x, ok := m.GetData().(*AlarmIndication_OnuLossGemDelineationInd); ok {
841 return x.OnuLossGemDelineationInd
842 }
843 return nil
844}
845
846func (m *AlarmIndication) GetOnuPhysicalEquipmentErrorInd() *OnuPhysicalEquipmentErrorIndication {
847 if x, ok := m.GetData().(*AlarmIndication_OnuPhysicalEquipmentErrorInd); ok {
848 return x.OnuPhysicalEquipmentErrorInd
849 }
850 return nil
851}
852
853func (m *AlarmIndication) GetOnuLossOfAckInd() *OnuLossOfAcknowledgementIndication {
854 if x, ok := m.GetData().(*AlarmIndication_OnuLossOfAckInd); ok {
855 return x.OnuLossOfAckInd
856 }
857 return nil
858}
859
Matteo Scandolod132c0e2020-04-24 17:06:25 -0700860func (m *AlarmIndication) GetOnuDiffReachExceededInd() *OnuDifferentialReachExceededIndication {
861 if x, ok := m.GetData().(*AlarmIndication_OnuDiffReachExceededInd); ok {
862 return x.OnuDiffReachExceededInd
863 }
864 return nil
865}
866
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000867// XXX_OneofWrappers is for the internal use of the proto package.
868func (*AlarmIndication) XXX_OneofWrappers() []interface{} {
869 return []interface{}{
870 (*AlarmIndication_LosInd)(nil),
871 (*AlarmIndication_DyingGaspInd)(nil),
872 (*AlarmIndication_OnuAlarmInd)(nil),
873 (*AlarmIndication_OnuStartupFailInd)(nil),
874 (*AlarmIndication_OnuSignalDegradeInd)(nil),
875 (*AlarmIndication_OnuDriftOfWindowInd)(nil),
876 (*AlarmIndication_OnuLossOmciInd)(nil),
877 (*AlarmIndication_OnuSignalsFailInd)(nil),
878 (*AlarmIndication_OnuTiwiInd)(nil),
879 (*AlarmIndication_OnuActivationFailInd)(nil),
880 (*AlarmIndication_OnuProcessingErrorInd)(nil),
881 (*AlarmIndication_OnuLossOfSyncFailInd)(nil),
882 (*AlarmIndication_OnuItuPonStatsInd)(nil),
Matteo Scandolo2e6f1e32020-04-15 11:28:45 -0700883 (*AlarmIndication_OnuDeactivationFailureInd)(nil),
884 (*AlarmIndication_OnuRemoteDefectInd)(nil),
885 (*AlarmIndication_OnuLossGemDelineationInd)(nil),
886 (*AlarmIndication_OnuPhysicalEquipmentErrorInd)(nil),
887 (*AlarmIndication_OnuLossOfAckInd)(nil),
Matteo Scandolod132c0e2020-04-24 17:06:25 -0700888 (*AlarmIndication_OnuDiffReachExceededInd)(nil),
Holger Hildebrandtfa074992020-03-27 15:42:06 +0000889 }
890}
891
892type OltIndication struct {
893 OperState string `protobuf:"bytes,1,opt,name=oper_state,json=operState,proto3" json:"oper_state,omitempty"`
894 XXX_NoUnkeyedLiteral struct{} `json:"-"`
895 XXX_unrecognized []byte `json:"-"`
896 XXX_sizecache int32 `json:"-"`
897}
898
899func (m *OltIndication) Reset() { *m = OltIndication{} }
900func (m *OltIndication) String() string { return proto.CompactTextString(m) }
901func (*OltIndication) ProtoMessage() {}
902func (*OltIndication) Descriptor() ([]byte, []int) {
903 return fileDescriptor_c072e7aa0dfd74d5, []int{2}
904}
905
906func (m *OltIndication) XXX_Unmarshal(b []byte) error {
907 return xxx_messageInfo_OltIndication.Unmarshal(m, b)
908}
909func (m *OltIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
910 return xxx_messageInfo_OltIndication.Marshal(b, m, deterministic)
911}
912func (m *OltIndication) XXX_Merge(src proto.Message) {
913 xxx_messageInfo_OltIndication.Merge(m, src)
914}
915func (m *OltIndication) XXX_Size() int {
916 return xxx_messageInfo_OltIndication.Size(m)
917}
918func (m *OltIndication) XXX_DiscardUnknown() {
919 xxx_messageInfo_OltIndication.DiscardUnknown(m)
920}
921
922var xxx_messageInfo_OltIndication proto.InternalMessageInfo
923
924func (m *OltIndication) GetOperState() string {
925 if m != nil {
926 return m.OperState
927 }
928 return ""
929}
930
931type IntfIndication struct {
932 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
933 OperState string `protobuf:"bytes,2,opt,name=oper_state,json=operState,proto3" json:"oper_state,omitempty"`
934 XXX_NoUnkeyedLiteral struct{} `json:"-"`
935 XXX_unrecognized []byte `json:"-"`
936 XXX_sizecache int32 `json:"-"`
937}
938
939func (m *IntfIndication) Reset() { *m = IntfIndication{} }
940func (m *IntfIndication) String() string { return proto.CompactTextString(m) }
941func (*IntfIndication) ProtoMessage() {}
942func (*IntfIndication) Descriptor() ([]byte, []int) {
943 return fileDescriptor_c072e7aa0dfd74d5, []int{3}
944}
945
946func (m *IntfIndication) XXX_Unmarshal(b []byte) error {
947 return xxx_messageInfo_IntfIndication.Unmarshal(m, b)
948}
949func (m *IntfIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
950 return xxx_messageInfo_IntfIndication.Marshal(b, m, deterministic)
951}
952func (m *IntfIndication) XXX_Merge(src proto.Message) {
953 xxx_messageInfo_IntfIndication.Merge(m, src)
954}
955func (m *IntfIndication) XXX_Size() int {
956 return xxx_messageInfo_IntfIndication.Size(m)
957}
958func (m *IntfIndication) XXX_DiscardUnknown() {
959 xxx_messageInfo_IntfIndication.DiscardUnknown(m)
960}
961
962var xxx_messageInfo_IntfIndication proto.InternalMessageInfo
963
964func (m *IntfIndication) GetIntfId() uint32 {
965 if m != nil {
966 return m.IntfId
967 }
968 return 0
969}
970
971func (m *IntfIndication) GetOperState() string {
972 if m != nil {
973 return m.OperState
974 }
975 return ""
976}
977
978type OnuDiscIndication struct {
979 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
980 SerialNumber *SerialNumber `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
981 XXX_NoUnkeyedLiteral struct{} `json:"-"`
982 XXX_unrecognized []byte `json:"-"`
983 XXX_sizecache int32 `json:"-"`
984}
985
986func (m *OnuDiscIndication) Reset() { *m = OnuDiscIndication{} }
987func (m *OnuDiscIndication) String() string { return proto.CompactTextString(m) }
988func (*OnuDiscIndication) ProtoMessage() {}
989func (*OnuDiscIndication) Descriptor() ([]byte, []int) {
990 return fileDescriptor_c072e7aa0dfd74d5, []int{4}
991}
992
993func (m *OnuDiscIndication) XXX_Unmarshal(b []byte) error {
994 return xxx_messageInfo_OnuDiscIndication.Unmarshal(m, b)
995}
996func (m *OnuDiscIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
997 return xxx_messageInfo_OnuDiscIndication.Marshal(b, m, deterministic)
998}
999func (m *OnuDiscIndication) XXX_Merge(src proto.Message) {
1000 xxx_messageInfo_OnuDiscIndication.Merge(m, src)
1001}
1002func (m *OnuDiscIndication) XXX_Size() int {
1003 return xxx_messageInfo_OnuDiscIndication.Size(m)
1004}
1005func (m *OnuDiscIndication) XXX_DiscardUnknown() {
1006 xxx_messageInfo_OnuDiscIndication.DiscardUnknown(m)
1007}
1008
1009var xxx_messageInfo_OnuDiscIndication proto.InternalMessageInfo
1010
1011func (m *OnuDiscIndication) GetIntfId() uint32 {
1012 if m != nil {
1013 return m.IntfId
1014 }
1015 return 0
1016}
1017
1018func (m *OnuDiscIndication) GetSerialNumber() *SerialNumber {
1019 if m != nil {
1020 return m.SerialNumber
1021 }
1022 return nil
1023}
1024
1025type OnuIndication struct {
dbainbri4d3a0dc2020-12-02 00:33:42 +00001026 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
1027 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
1028 OperState string `protobuf:"bytes,3,opt,name=oper_state,json=operState,proto3" json:"oper_state,omitempty"`
1029 AdminState string `protobuf:"bytes,5,opt,name=admin_state,json=adminState,proto3" json:"admin_state,omitempty"`
1030 SerialNumber *SerialNumber `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
1031 FailReason OnuIndication_ActivationFailReason `protobuf:"varint,6,opt,name=fail_reason,json=failReason,proto3,enum=openolt.OnuIndication_ActivationFailReason" json:"fail_reason,omitempty"`
1032 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1033 XXX_unrecognized []byte `json:"-"`
1034 XXX_sizecache int32 `json:"-"`
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001035}
1036
1037func (m *OnuIndication) Reset() { *m = OnuIndication{} }
1038func (m *OnuIndication) String() string { return proto.CompactTextString(m) }
1039func (*OnuIndication) ProtoMessage() {}
1040func (*OnuIndication) Descriptor() ([]byte, []int) {
1041 return fileDescriptor_c072e7aa0dfd74d5, []int{5}
1042}
1043
1044func (m *OnuIndication) XXX_Unmarshal(b []byte) error {
1045 return xxx_messageInfo_OnuIndication.Unmarshal(m, b)
1046}
1047func (m *OnuIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1048 return xxx_messageInfo_OnuIndication.Marshal(b, m, deterministic)
1049}
1050func (m *OnuIndication) XXX_Merge(src proto.Message) {
1051 xxx_messageInfo_OnuIndication.Merge(m, src)
1052}
1053func (m *OnuIndication) XXX_Size() int {
1054 return xxx_messageInfo_OnuIndication.Size(m)
1055}
1056func (m *OnuIndication) XXX_DiscardUnknown() {
1057 xxx_messageInfo_OnuIndication.DiscardUnknown(m)
1058}
1059
1060var xxx_messageInfo_OnuIndication proto.InternalMessageInfo
1061
1062func (m *OnuIndication) GetIntfId() uint32 {
1063 if m != nil {
1064 return m.IntfId
1065 }
1066 return 0
1067}
1068
1069func (m *OnuIndication) GetOnuId() uint32 {
1070 if m != nil {
1071 return m.OnuId
1072 }
1073 return 0
1074}
1075
1076func (m *OnuIndication) GetOperState() string {
1077 if m != nil {
1078 return m.OperState
1079 }
1080 return ""
1081}
1082
1083func (m *OnuIndication) GetAdminState() string {
1084 if m != nil {
1085 return m.AdminState
1086 }
1087 return ""
1088}
1089
1090func (m *OnuIndication) GetSerialNumber() *SerialNumber {
1091 if m != nil {
1092 return m.SerialNumber
1093 }
1094 return nil
1095}
1096
dbainbri4d3a0dc2020-12-02 00:33:42 +00001097func (m *OnuIndication) GetFailReason() OnuIndication_ActivationFailReason {
1098 if m != nil {
1099 return m.FailReason
1100 }
1101 return OnuIndication_ONU_ACTIVATION_FAIL_REASON_NONE
1102}
1103
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001104type IntfOperIndication struct {
1105 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
1106 IntfId uint32 `protobuf:"fixed32,2,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
1107 OperState string `protobuf:"bytes,3,opt,name=oper_state,json=operState,proto3" json:"oper_state,omitempty"`
1108 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1109 XXX_unrecognized []byte `json:"-"`
1110 XXX_sizecache int32 `json:"-"`
1111}
1112
1113func (m *IntfOperIndication) Reset() { *m = IntfOperIndication{} }
1114func (m *IntfOperIndication) String() string { return proto.CompactTextString(m) }
1115func (*IntfOperIndication) ProtoMessage() {}
1116func (*IntfOperIndication) Descriptor() ([]byte, []int) {
1117 return fileDescriptor_c072e7aa0dfd74d5, []int{6}
1118}
1119
1120func (m *IntfOperIndication) XXX_Unmarshal(b []byte) error {
1121 return xxx_messageInfo_IntfOperIndication.Unmarshal(m, b)
1122}
1123func (m *IntfOperIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1124 return xxx_messageInfo_IntfOperIndication.Marshal(b, m, deterministic)
1125}
1126func (m *IntfOperIndication) XXX_Merge(src proto.Message) {
1127 xxx_messageInfo_IntfOperIndication.Merge(m, src)
1128}
1129func (m *IntfOperIndication) XXX_Size() int {
1130 return xxx_messageInfo_IntfOperIndication.Size(m)
1131}
1132func (m *IntfOperIndication) XXX_DiscardUnknown() {
1133 xxx_messageInfo_IntfOperIndication.DiscardUnknown(m)
1134}
1135
1136var xxx_messageInfo_IntfOperIndication proto.InternalMessageInfo
1137
1138func (m *IntfOperIndication) GetType() string {
1139 if m != nil {
1140 return m.Type
1141 }
1142 return ""
1143}
1144
1145func (m *IntfOperIndication) GetIntfId() uint32 {
1146 if m != nil {
1147 return m.IntfId
1148 }
1149 return 0
1150}
1151
1152func (m *IntfOperIndication) GetOperState() string {
1153 if m != nil {
1154 return m.OperState
1155 }
1156 return ""
1157}
1158
1159type OmciIndication struct {
1160 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
1161 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
1162 Pkt []byte `protobuf:"bytes,3,opt,name=pkt,proto3" json:"pkt,omitempty"`
1163 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1164 XXX_unrecognized []byte `json:"-"`
1165 XXX_sizecache int32 `json:"-"`
1166}
1167
1168func (m *OmciIndication) Reset() { *m = OmciIndication{} }
1169func (m *OmciIndication) String() string { return proto.CompactTextString(m) }
1170func (*OmciIndication) ProtoMessage() {}
1171func (*OmciIndication) Descriptor() ([]byte, []int) {
1172 return fileDescriptor_c072e7aa0dfd74d5, []int{7}
1173}
1174
1175func (m *OmciIndication) XXX_Unmarshal(b []byte) error {
1176 return xxx_messageInfo_OmciIndication.Unmarshal(m, b)
1177}
1178func (m *OmciIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1179 return xxx_messageInfo_OmciIndication.Marshal(b, m, deterministic)
1180}
1181func (m *OmciIndication) XXX_Merge(src proto.Message) {
1182 xxx_messageInfo_OmciIndication.Merge(m, src)
1183}
1184func (m *OmciIndication) XXX_Size() int {
1185 return xxx_messageInfo_OmciIndication.Size(m)
1186}
1187func (m *OmciIndication) XXX_DiscardUnknown() {
1188 xxx_messageInfo_OmciIndication.DiscardUnknown(m)
1189}
1190
1191var xxx_messageInfo_OmciIndication proto.InternalMessageInfo
1192
1193func (m *OmciIndication) GetIntfId() uint32 {
1194 if m != nil {
1195 return m.IntfId
1196 }
1197 return 0
1198}
1199
1200func (m *OmciIndication) GetOnuId() uint32 {
1201 if m != nil {
1202 return m.OnuId
1203 }
1204 return 0
1205}
1206
1207func (m *OmciIndication) GetPkt() []byte {
1208 if m != nil {
1209 return m.Pkt
1210 }
1211 return nil
1212}
1213
1214type PacketIndication struct {
1215 IntfType string `protobuf:"bytes,5,opt,name=intf_type,json=intfType,proto3" json:"intf_type,omitempty"`
1216 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
1217 GemportId uint32 `protobuf:"fixed32,2,opt,name=gemport_id,json=gemportId,proto3" json:"gemport_id,omitempty"`
1218 FlowId uint32 `protobuf:"fixed32,3,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
1219 PortNo uint32 `protobuf:"fixed32,6,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"`
1220 Cookie uint64 `protobuf:"fixed64,7,opt,name=cookie,proto3" json:"cookie,omitempty"`
1221 Pkt []byte `protobuf:"bytes,4,opt,name=pkt,proto3" json:"pkt,omitempty"`
1222 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1223 XXX_unrecognized []byte `json:"-"`
1224 XXX_sizecache int32 `json:"-"`
1225}
1226
1227func (m *PacketIndication) Reset() { *m = PacketIndication{} }
1228func (m *PacketIndication) String() string { return proto.CompactTextString(m) }
1229func (*PacketIndication) ProtoMessage() {}
1230func (*PacketIndication) Descriptor() ([]byte, []int) {
1231 return fileDescriptor_c072e7aa0dfd74d5, []int{8}
1232}
1233
1234func (m *PacketIndication) XXX_Unmarshal(b []byte) error {
1235 return xxx_messageInfo_PacketIndication.Unmarshal(m, b)
1236}
1237func (m *PacketIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1238 return xxx_messageInfo_PacketIndication.Marshal(b, m, deterministic)
1239}
1240func (m *PacketIndication) XXX_Merge(src proto.Message) {
1241 xxx_messageInfo_PacketIndication.Merge(m, src)
1242}
1243func (m *PacketIndication) XXX_Size() int {
1244 return xxx_messageInfo_PacketIndication.Size(m)
1245}
1246func (m *PacketIndication) XXX_DiscardUnknown() {
1247 xxx_messageInfo_PacketIndication.DiscardUnknown(m)
1248}
1249
1250var xxx_messageInfo_PacketIndication proto.InternalMessageInfo
1251
1252func (m *PacketIndication) GetIntfType() string {
1253 if m != nil {
1254 return m.IntfType
1255 }
1256 return ""
1257}
1258
1259func (m *PacketIndication) GetIntfId() uint32 {
1260 if m != nil {
1261 return m.IntfId
1262 }
1263 return 0
1264}
1265
1266func (m *PacketIndication) GetGemportId() uint32 {
1267 if m != nil {
1268 return m.GemportId
1269 }
1270 return 0
1271}
1272
1273func (m *PacketIndication) GetFlowId() uint32 {
1274 if m != nil {
1275 return m.FlowId
1276 }
1277 return 0
1278}
1279
1280func (m *PacketIndication) GetPortNo() uint32 {
1281 if m != nil {
1282 return m.PortNo
1283 }
1284 return 0
1285}
1286
1287func (m *PacketIndication) GetCookie() uint64 {
1288 if m != nil {
1289 return m.Cookie
1290 }
1291 return 0
1292}
1293
1294func (m *PacketIndication) GetPkt() []byte {
1295 if m != nil {
1296 return m.Pkt
1297 }
1298 return nil
1299}
1300
1301type Interface struct {
1302 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
1303 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1304 XXX_unrecognized []byte `json:"-"`
1305 XXX_sizecache int32 `json:"-"`
1306}
1307
1308func (m *Interface) Reset() { *m = Interface{} }
1309func (m *Interface) String() string { return proto.CompactTextString(m) }
1310func (*Interface) ProtoMessage() {}
1311func (*Interface) Descriptor() ([]byte, []int) {
1312 return fileDescriptor_c072e7aa0dfd74d5, []int{9}
1313}
1314
1315func (m *Interface) XXX_Unmarshal(b []byte) error {
1316 return xxx_messageInfo_Interface.Unmarshal(m, b)
1317}
1318func (m *Interface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1319 return xxx_messageInfo_Interface.Marshal(b, m, deterministic)
1320}
1321func (m *Interface) XXX_Merge(src proto.Message) {
1322 xxx_messageInfo_Interface.Merge(m, src)
1323}
1324func (m *Interface) XXX_Size() int {
1325 return xxx_messageInfo_Interface.Size(m)
1326}
1327func (m *Interface) XXX_DiscardUnknown() {
1328 xxx_messageInfo_Interface.DiscardUnknown(m)
1329}
1330
1331var xxx_messageInfo_Interface proto.InternalMessageInfo
1332
1333func (m *Interface) GetIntfId() uint32 {
1334 if m != nil {
1335 return m.IntfId
1336 }
1337 return 0
1338}
1339
1340type Heartbeat struct {
1341 HeartbeatSignature uint32 `protobuf:"fixed32,1,opt,name=heartbeat_signature,json=heartbeatSignature,proto3" json:"heartbeat_signature,omitempty"`
1342 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1343 XXX_unrecognized []byte `json:"-"`
1344 XXX_sizecache int32 `json:"-"`
1345}
1346
1347func (m *Heartbeat) Reset() { *m = Heartbeat{} }
1348func (m *Heartbeat) String() string { return proto.CompactTextString(m) }
1349func (*Heartbeat) ProtoMessage() {}
1350func (*Heartbeat) Descriptor() ([]byte, []int) {
1351 return fileDescriptor_c072e7aa0dfd74d5, []int{10}
1352}
1353
1354func (m *Heartbeat) XXX_Unmarshal(b []byte) error {
1355 return xxx_messageInfo_Heartbeat.Unmarshal(m, b)
1356}
1357func (m *Heartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1358 return xxx_messageInfo_Heartbeat.Marshal(b, m, deterministic)
1359}
1360func (m *Heartbeat) XXX_Merge(src proto.Message) {
1361 xxx_messageInfo_Heartbeat.Merge(m, src)
1362}
1363func (m *Heartbeat) XXX_Size() int {
1364 return xxx_messageInfo_Heartbeat.Size(m)
1365}
1366func (m *Heartbeat) XXX_DiscardUnknown() {
1367 xxx_messageInfo_Heartbeat.DiscardUnknown(m)
1368}
1369
1370var xxx_messageInfo_Heartbeat proto.InternalMessageInfo
1371
1372func (m *Heartbeat) GetHeartbeatSignature() uint32 {
1373 if m != nil {
1374 return m.HeartbeatSignature
1375 }
1376 return 0
1377}
1378
1379type Onu struct {
1380 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
1381 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
1382 SerialNumber *SerialNumber `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
1383 Pir uint32 `protobuf:"fixed32,4,opt,name=pir,proto3" json:"pir,omitempty"`
dbainbri4d3a0dc2020-12-02 00:33:42 +00001384 OmccEncryption bool `protobuf:"varint,5,opt,name=omcc_encryption,json=omccEncryption,proto3" json:"omcc_encryption,omitempty"`
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001385 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1386 XXX_unrecognized []byte `json:"-"`
1387 XXX_sizecache int32 `json:"-"`
1388}
1389
1390func (m *Onu) Reset() { *m = Onu{} }
1391func (m *Onu) String() string { return proto.CompactTextString(m) }
1392func (*Onu) ProtoMessage() {}
1393func (*Onu) Descriptor() ([]byte, []int) {
1394 return fileDescriptor_c072e7aa0dfd74d5, []int{11}
1395}
1396
1397func (m *Onu) XXX_Unmarshal(b []byte) error {
1398 return xxx_messageInfo_Onu.Unmarshal(m, b)
1399}
1400func (m *Onu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1401 return xxx_messageInfo_Onu.Marshal(b, m, deterministic)
1402}
1403func (m *Onu) XXX_Merge(src proto.Message) {
1404 xxx_messageInfo_Onu.Merge(m, src)
1405}
1406func (m *Onu) XXX_Size() int {
1407 return xxx_messageInfo_Onu.Size(m)
1408}
1409func (m *Onu) XXX_DiscardUnknown() {
1410 xxx_messageInfo_Onu.DiscardUnknown(m)
1411}
1412
1413var xxx_messageInfo_Onu proto.InternalMessageInfo
1414
1415func (m *Onu) GetIntfId() uint32 {
1416 if m != nil {
1417 return m.IntfId
1418 }
1419 return 0
1420}
1421
1422func (m *Onu) GetOnuId() uint32 {
1423 if m != nil {
1424 return m.OnuId
1425 }
1426 return 0
1427}
1428
1429func (m *Onu) GetSerialNumber() *SerialNumber {
1430 if m != nil {
1431 return m.SerialNumber
1432 }
1433 return nil
1434}
1435
1436func (m *Onu) GetPir() uint32 {
1437 if m != nil {
1438 return m.Pir
1439 }
1440 return 0
1441}
1442
dbainbri4d3a0dc2020-12-02 00:33:42 +00001443func (m *Onu) GetOmccEncryption() bool {
1444 if m != nil {
1445 return m.OmccEncryption
1446 }
1447 return false
1448}
1449
mpagenkoaf801632020-07-03 10:00:42 +00001450type OnuLogicalDistance struct {
1451 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
1452 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
1453 LogicalOnuDistanceZero uint32 `protobuf:"fixed32,3,opt,name=logical_onu_distance_zero,json=logicalOnuDistanceZero,proto3" json:"logical_onu_distance_zero,omitempty"`
1454 LogicalOnuDistance uint32 `protobuf:"fixed32,4,opt,name=logical_onu_distance,json=logicalOnuDistance,proto3" json:"logical_onu_distance,omitempty"`
1455 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1456 XXX_unrecognized []byte `json:"-"`
1457 XXX_sizecache int32 `json:"-"`
1458}
1459
1460func (m *OnuLogicalDistance) Reset() { *m = OnuLogicalDistance{} }
1461func (m *OnuLogicalDistance) String() string { return proto.CompactTextString(m) }
1462func (*OnuLogicalDistance) ProtoMessage() {}
1463func (*OnuLogicalDistance) Descriptor() ([]byte, []int) {
1464 return fileDescriptor_c072e7aa0dfd74d5, []int{12}
1465}
1466
1467func (m *OnuLogicalDistance) XXX_Unmarshal(b []byte) error {
1468 return xxx_messageInfo_OnuLogicalDistance.Unmarshal(m, b)
1469}
1470func (m *OnuLogicalDistance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1471 return xxx_messageInfo_OnuLogicalDistance.Marshal(b, m, deterministic)
1472}
1473func (m *OnuLogicalDistance) XXX_Merge(src proto.Message) {
1474 xxx_messageInfo_OnuLogicalDistance.Merge(m, src)
1475}
1476func (m *OnuLogicalDistance) XXX_Size() int {
1477 return xxx_messageInfo_OnuLogicalDistance.Size(m)
1478}
1479func (m *OnuLogicalDistance) XXX_DiscardUnknown() {
1480 xxx_messageInfo_OnuLogicalDistance.DiscardUnknown(m)
1481}
1482
1483var xxx_messageInfo_OnuLogicalDistance proto.InternalMessageInfo
1484
1485func (m *OnuLogicalDistance) GetIntfId() uint32 {
1486 if m != nil {
1487 return m.IntfId
1488 }
1489 return 0
1490}
1491
1492func (m *OnuLogicalDistance) GetOnuId() uint32 {
1493 if m != nil {
1494 return m.OnuId
1495 }
1496 return 0
1497}
1498
1499func (m *OnuLogicalDistance) GetLogicalOnuDistanceZero() uint32 {
1500 if m != nil {
1501 return m.LogicalOnuDistanceZero
1502 }
1503 return 0
1504}
1505
1506func (m *OnuLogicalDistance) GetLogicalOnuDistance() uint32 {
1507 if m != nil {
1508 return m.LogicalOnuDistance
1509 }
1510 return 0
1511}
1512
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001513type OmciMsg struct {
1514 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
1515 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
1516 Pkt []byte `protobuf:"bytes,3,opt,name=pkt,proto3" json:"pkt,omitempty"`
1517 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1518 XXX_unrecognized []byte `json:"-"`
1519 XXX_sizecache int32 `json:"-"`
1520}
1521
1522func (m *OmciMsg) Reset() { *m = OmciMsg{} }
1523func (m *OmciMsg) String() string { return proto.CompactTextString(m) }
1524func (*OmciMsg) ProtoMessage() {}
1525func (*OmciMsg) Descriptor() ([]byte, []int) {
mpagenkoaf801632020-07-03 10:00:42 +00001526 return fileDescriptor_c072e7aa0dfd74d5, []int{13}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001527}
1528
1529func (m *OmciMsg) XXX_Unmarshal(b []byte) error {
1530 return xxx_messageInfo_OmciMsg.Unmarshal(m, b)
1531}
1532func (m *OmciMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1533 return xxx_messageInfo_OmciMsg.Marshal(b, m, deterministic)
1534}
1535func (m *OmciMsg) XXX_Merge(src proto.Message) {
1536 xxx_messageInfo_OmciMsg.Merge(m, src)
1537}
1538func (m *OmciMsg) XXX_Size() int {
1539 return xxx_messageInfo_OmciMsg.Size(m)
1540}
1541func (m *OmciMsg) XXX_DiscardUnknown() {
1542 xxx_messageInfo_OmciMsg.DiscardUnknown(m)
1543}
1544
1545var xxx_messageInfo_OmciMsg proto.InternalMessageInfo
1546
1547func (m *OmciMsg) GetIntfId() uint32 {
1548 if m != nil {
1549 return m.IntfId
1550 }
1551 return 0
1552}
1553
1554func (m *OmciMsg) GetOnuId() uint32 {
1555 if m != nil {
1556 return m.OnuId
1557 }
1558 return 0
1559}
1560
1561func (m *OmciMsg) GetPkt() []byte {
1562 if m != nil {
1563 return m.Pkt
1564 }
1565 return nil
1566}
1567
1568type OnuPacket struct {
1569 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
1570 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
1571 PortNo uint32 `protobuf:"fixed32,4,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"`
1572 GemportId uint32 `protobuf:"fixed32,5,opt,name=gemport_id,json=gemportId,proto3" json:"gemport_id,omitempty"`
1573 Pkt []byte `protobuf:"bytes,3,opt,name=pkt,proto3" json:"pkt,omitempty"`
1574 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1575 XXX_unrecognized []byte `json:"-"`
1576 XXX_sizecache int32 `json:"-"`
1577}
1578
1579func (m *OnuPacket) Reset() { *m = OnuPacket{} }
1580func (m *OnuPacket) String() string { return proto.CompactTextString(m) }
1581func (*OnuPacket) ProtoMessage() {}
1582func (*OnuPacket) Descriptor() ([]byte, []int) {
mpagenkoaf801632020-07-03 10:00:42 +00001583 return fileDescriptor_c072e7aa0dfd74d5, []int{14}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001584}
1585
1586func (m *OnuPacket) XXX_Unmarshal(b []byte) error {
1587 return xxx_messageInfo_OnuPacket.Unmarshal(m, b)
1588}
1589func (m *OnuPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1590 return xxx_messageInfo_OnuPacket.Marshal(b, m, deterministic)
1591}
1592func (m *OnuPacket) XXX_Merge(src proto.Message) {
1593 xxx_messageInfo_OnuPacket.Merge(m, src)
1594}
1595func (m *OnuPacket) XXX_Size() int {
1596 return xxx_messageInfo_OnuPacket.Size(m)
1597}
1598func (m *OnuPacket) XXX_DiscardUnknown() {
1599 xxx_messageInfo_OnuPacket.DiscardUnknown(m)
1600}
1601
1602var xxx_messageInfo_OnuPacket proto.InternalMessageInfo
1603
1604func (m *OnuPacket) GetIntfId() uint32 {
1605 if m != nil {
1606 return m.IntfId
1607 }
1608 return 0
1609}
1610
1611func (m *OnuPacket) GetOnuId() uint32 {
1612 if m != nil {
1613 return m.OnuId
1614 }
1615 return 0
1616}
1617
1618func (m *OnuPacket) GetPortNo() uint32 {
1619 if m != nil {
1620 return m.PortNo
1621 }
1622 return 0
1623}
1624
1625func (m *OnuPacket) GetGemportId() uint32 {
1626 if m != nil {
1627 return m.GemportId
1628 }
1629 return 0
1630}
1631
1632func (m *OnuPacket) GetPkt() []byte {
1633 if m != nil {
1634 return m.Pkt
1635 }
1636 return nil
1637}
1638
1639type UplinkPacket struct {
1640 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
1641 Pkt []byte `protobuf:"bytes,2,opt,name=pkt,proto3" json:"pkt,omitempty"`
1642 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1643 XXX_unrecognized []byte `json:"-"`
1644 XXX_sizecache int32 `json:"-"`
1645}
1646
1647func (m *UplinkPacket) Reset() { *m = UplinkPacket{} }
1648func (m *UplinkPacket) String() string { return proto.CompactTextString(m) }
1649func (*UplinkPacket) ProtoMessage() {}
1650func (*UplinkPacket) Descriptor() ([]byte, []int) {
mpagenkoaf801632020-07-03 10:00:42 +00001651 return fileDescriptor_c072e7aa0dfd74d5, []int{15}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001652}
1653
1654func (m *UplinkPacket) XXX_Unmarshal(b []byte) error {
1655 return xxx_messageInfo_UplinkPacket.Unmarshal(m, b)
1656}
1657func (m *UplinkPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1658 return xxx_messageInfo_UplinkPacket.Marshal(b, m, deterministic)
1659}
1660func (m *UplinkPacket) XXX_Merge(src proto.Message) {
1661 xxx_messageInfo_UplinkPacket.Merge(m, src)
1662}
1663func (m *UplinkPacket) XXX_Size() int {
1664 return xxx_messageInfo_UplinkPacket.Size(m)
1665}
1666func (m *UplinkPacket) XXX_DiscardUnknown() {
1667 xxx_messageInfo_UplinkPacket.DiscardUnknown(m)
1668}
1669
1670var xxx_messageInfo_UplinkPacket proto.InternalMessageInfo
1671
1672func (m *UplinkPacket) GetIntfId() uint32 {
1673 if m != nil {
1674 return m.IntfId
1675 }
1676 return 0
1677}
1678
1679func (m *UplinkPacket) GetPkt() []byte {
1680 if m != nil {
1681 return m.Pkt
1682 }
1683 return nil
1684}
1685
1686type DeviceInfo struct {
1687 Vendor string `protobuf:"bytes,1,opt,name=vendor,proto3" json:"vendor,omitempty"`
1688 Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
1689 HardwareVersion string `protobuf:"bytes,3,opt,name=hardware_version,json=hardwareVersion,proto3" json:"hardware_version,omitempty"`
1690 FirmwareVersion string `protobuf:"bytes,4,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
1691 DeviceId string `protobuf:"bytes,16,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
1692 DeviceSerialNumber string `protobuf:"bytes,17,opt,name=device_serial_number,json=deviceSerialNumber,proto3" json:"device_serial_number,omitempty"`
1693 // Total number of pon intf ports on the device
1694 PonPorts uint32 `protobuf:"fixed32,12,opt,name=pon_ports,json=ponPorts,proto3" json:"pon_ports,omitempty"`
1695 // If using global per-device technology profile. To be deprecated
1696 Technology string `protobuf:"bytes,5,opt,name=technology,proto3" json:"technology,omitempty"`
1697 OnuIdStart uint32 `protobuf:"fixed32,6,opt,name=onu_id_start,json=onuIdStart,proto3" json:"onu_id_start,omitempty"`
1698 OnuIdEnd uint32 `protobuf:"fixed32,7,opt,name=onu_id_end,json=onuIdEnd,proto3" json:"onu_id_end,omitempty"`
1699 AllocIdStart uint32 `protobuf:"fixed32,8,opt,name=alloc_id_start,json=allocIdStart,proto3" json:"alloc_id_start,omitempty"`
1700 AllocIdEnd uint32 `protobuf:"fixed32,9,opt,name=alloc_id_end,json=allocIdEnd,proto3" json:"alloc_id_end,omitempty"`
1701 GemportIdStart uint32 `protobuf:"fixed32,10,opt,name=gemport_id_start,json=gemportIdStart,proto3" json:"gemport_id_start,omitempty"`
1702 GemportIdEnd uint32 `protobuf:"fixed32,11,opt,name=gemport_id_end,json=gemportIdEnd,proto3" json:"gemport_id_end,omitempty"`
1703 FlowIdStart uint32 `protobuf:"fixed32,13,opt,name=flow_id_start,json=flowIdStart,proto3" json:"flow_id_start,omitempty"`
1704 FlowIdEnd uint32 `protobuf:"fixed32,14,opt,name=flow_id_end,json=flowIdEnd,proto3" json:"flow_id_end,omitempty"`
1705 Ranges []*DeviceInfo_DeviceResourceRanges `protobuf:"bytes,15,rep,name=ranges,proto3" json:"ranges,omitempty"`
1706 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1707 XXX_unrecognized []byte `json:"-"`
1708 XXX_sizecache int32 `json:"-"`
1709}
1710
1711func (m *DeviceInfo) Reset() { *m = DeviceInfo{} }
1712func (m *DeviceInfo) String() string { return proto.CompactTextString(m) }
1713func (*DeviceInfo) ProtoMessage() {}
1714func (*DeviceInfo) Descriptor() ([]byte, []int) {
mpagenkoaf801632020-07-03 10:00:42 +00001715 return fileDescriptor_c072e7aa0dfd74d5, []int{16}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001716}
1717
1718func (m *DeviceInfo) XXX_Unmarshal(b []byte) error {
1719 return xxx_messageInfo_DeviceInfo.Unmarshal(m, b)
1720}
1721func (m *DeviceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1722 return xxx_messageInfo_DeviceInfo.Marshal(b, m, deterministic)
1723}
1724func (m *DeviceInfo) XXX_Merge(src proto.Message) {
1725 xxx_messageInfo_DeviceInfo.Merge(m, src)
1726}
1727func (m *DeviceInfo) XXX_Size() int {
1728 return xxx_messageInfo_DeviceInfo.Size(m)
1729}
1730func (m *DeviceInfo) XXX_DiscardUnknown() {
1731 xxx_messageInfo_DeviceInfo.DiscardUnknown(m)
1732}
1733
1734var xxx_messageInfo_DeviceInfo proto.InternalMessageInfo
1735
1736func (m *DeviceInfo) GetVendor() string {
1737 if m != nil {
1738 return m.Vendor
1739 }
1740 return ""
1741}
1742
1743func (m *DeviceInfo) GetModel() string {
1744 if m != nil {
1745 return m.Model
1746 }
1747 return ""
1748}
1749
1750func (m *DeviceInfo) GetHardwareVersion() string {
1751 if m != nil {
1752 return m.HardwareVersion
1753 }
1754 return ""
1755}
1756
1757func (m *DeviceInfo) GetFirmwareVersion() string {
1758 if m != nil {
1759 return m.FirmwareVersion
1760 }
1761 return ""
1762}
1763
1764func (m *DeviceInfo) GetDeviceId() string {
1765 if m != nil {
1766 return m.DeviceId
1767 }
1768 return ""
1769}
1770
1771func (m *DeviceInfo) GetDeviceSerialNumber() string {
1772 if m != nil {
1773 return m.DeviceSerialNumber
1774 }
1775 return ""
1776}
1777
1778func (m *DeviceInfo) GetPonPorts() uint32 {
1779 if m != nil {
1780 return m.PonPorts
1781 }
1782 return 0
1783}
1784
1785func (m *DeviceInfo) GetTechnology() string {
1786 if m != nil {
1787 return m.Technology
1788 }
1789 return ""
1790}
1791
1792func (m *DeviceInfo) GetOnuIdStart() uint32 {
1793 if m != nil {
1794 return m.OnuIdStart
1795 }
1796 return 0
1797}
1798
1799func (m *DeviceInfo) GetOnuIdEnd() uint32 {
1800 if m != nil {
1801 return m.OnuIdEnd
1802 }
1803 return 0
1804}
1805
1806func (m *DeviceInfo) GetAllocIdStart() uint32 {
1807 if m != nil {
1808 return m.AllocIdStart
1809 }
1810 return 0
1811}
1812
1813func (m *DeviceInfo) GetAllocIdEnd() uint32 {
1814 if m != nil {
1815 return m.AllocIdEnd
1816 }
1817 return 0
1818}
1819
1820func (m *DeviceInfo) GetGemportIdStart() uint32 {
1821 if m != nil {
1822 return m.GemportIdStart
1823 }
1824 return 0
1825}
1826
1827func (m *DeviceInfo) GetGemportIdEnd() uint32 {
1828 if m != nil {
1829 return m.GemportIdEnd
1830 }
1831 return 0
1832}
1833
1834func (m *DeviceInfo) GetFlowIdStart() uint32 {
1835 if m != nil {
1836 return m.FlowIdStart
1837 }
1838 return 0
1839}
1840
1841func (m *DeviceInfo) GetFlowIdEnd() uint32 {
1842 if m != nil {
1843 return m.FlowIdEnd
1844 }
1845 return 0
1846}
1847
1848func (m *DeviceInfo) GetRanges() []*DeviceInfo_DeviceResourceRanges {
1849 if m != nil {
1850 return m.Ranges
1851 }
1852 return nil
1853}
1854
1855type DeviceInfo_DeviceResourceRanges struct {
1856 // List of 0 or more intf_ids that use the same technology and pools.
1857 // If 0 intf_ids supplied, it implies ALL interfaces
1858 IntfIds []uint32 `protobuf:"fixed32,1,rep,packed,name=intf_ids,json=intfIds,proto3" json:"intf_ids,omitempty"`
1859 // Technology profile for this pool
1860 Technology string `protobuf:"bytes,2,opt,name=technology,proto3" json:"technology,omitempty"`
1861 Pools []*DeviceInfo_DeviceResourceRanges_Pool `protobuf:"bytes,3,rep,name=pools,proto3" json:"pools,omitempty"`
1862 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1863 XXX_unrecognized []byte `json:"-"`
1864 XXX_sizecache int32 `json:"-"`
1865}
1866
1867func (m *DeviceInfo_DeviceResourceRanges) Reset() { *m = DeviceInfo_DeviceResourceRanges{} }
1868func (m *DeviceInfo_DeviceResourceRanges) String() string { return proto.CompactTextString(m) }
1869func (*DeviceInfo_DeviceResourceRanges) ProtoMessage() {}
1870func (*DeviceInfo_DeviceResourceRanges) Descriptor() ([]byte, []int) {
mpagenkoaf801632020-07-03 10:00:42 +00001871 return fileDescriptor_c072e7aa0dfd74d5, []int{16, 0}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001872}
1873
1874func (m *DeviceInfo_DeviceResourceRanges) XXX_Unmarshal(b []byte) error {
1875 return xxx_messageInfo_DeviceInfo_DeviceResourceRanges.Unmarshal(m, b)
1876}
1877func (m *DeviceInfo_DeviceResourceRanges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1878 return xxx_messageInfo_DeviceInfo_DeviceResourceRanges.Marshal(b, m, deterministic)
1879}
1880func (m *DeviceInfo_DeviceResourceRanges) XXX_Merge(src proto.Message) {
1881 xxx_messageInfo_DeviceInfo_DeviceResourceRanges.Merge(m, src)
1882}
1883func (m *DeviceInfo_DeviceResourceRanges) XXX_Size() int {
1884 return xxx_messageInfo_DeviceInfo_DeviceResourceRanges.Size(m)
1885}
1886func (m *DeviceInfo_DeviceResourceRanges) XXX_DiscardUnknown() {
1887 xxx_messageInfo_DeviceInfo_DeviceResourceRanges.DiscardUnknown(m)
1888}
1889
1890var xxx_messageInfo_DeviceInfo_DeviceResourceRanges proto.InternalMessageInfo
1891
1892func (m *DeviceInfo_DeviceResourceRanges) GetIntfIds() []uint32 {
1893 if m != nil {
1894 return m.IntfIds
1895 }
1896 return nil
1897}
1898
1899func (m *DeviceInfo_DeviceResourceRanges) GetTechnology() string {
1900 if m != nil {
1901 return m.Technology
1902 }
1903 return ""
1904}
1905
1906func (m *DeviceInfo_DeviceResourceRanges) GetPools() []*DeviceInfo_DeviceResourceRanges_Pool {
1907 if m != nil {
1908 return m.Pools
1909 }
1910 return nil
1911}
1912
1913type DeviceInfo_DeviceResourceRanges_Pool struct {
1914 Type DeviceInfo_DeviceResourceRanges_Pool_PoolType `protobuf:"varint,1,opt,name=type,proto3,enum=openolt.DeviceInfo_DeviceResourceRanges_Pool_PoolType" json:"type,omitempty"`
1915 Sharing DeviceInfo_DeviceResourceRanges_Pool_SharingType `protobuf:"varint,2,opt,name=sharing,proto3,enum=openolt.DeviceInfo_DeviceResourceRanges_Pool_SharingType" json:"sharing,omitempty"`
1916 Start uint32 `protobuf:"fixed32,3,opt,name=start,proto3" json:"start,omitempty"`
1917 End uint32 `protobuf:"fixed32,4,opt,name=end,proto3" json:"end,omitempty"`
1918 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1919 XXX_unrecognized []byte `json:"-"`
1920 XXX_sizecache int32 `json:"-"`
1921}
1922
1923func (m *DeviceInfo_DeviceResourceRanges_Pool) Reset() { *m = DeviceInfo_DeviceResourceRanges_Pool{} }
1924func (m *DeviceInfo_DeviceResourceRanges_Pool) String() string { return proto.CompactTextString(m) }
1925func (*DeviceInfo_DeviceResourceRanges_Pool) ProtoMessage() {}
1926func (*DeviceInfo_DeviceResourceRanges_Pool) Descriptor() ([]byte, []int) {
mpagenkoaf801632020-07-03 10:00:42 +00001927 return fileDescriptor_c072e7aa0dfd74d5, []int{16, 0, 0}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001928}
1929
1930func (m *DeviceInfo_DeviceResourceRanges_Pool) XXX_Unmarshal(b []byte) error {
1931 return xxx_messageInfo_DeviceInfo_DeviceResourceRanges_Pool.Unmarshal(m, b)
1932}
1933func (m *DeviceInfo_DeviceResourceRanges_Pool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1934 return xxx_messageInfo_DeviceInfo_DeviceResourceRanges_Pool.Marshal(b, m, deterministic)
1935}
1936func (m *DeviceInfo_DeviceResourceRanges_Pool) XXX_Merge(src proto.Message) {
1937 xxx_messageInfo_DeviceInfo_DeviceResourceRanges_Pool.Merge(m, src)
1938}
1939func (m *DeviceInfo_DeviceResourceRanges_Pool) XXX_Size() int {
1940 return xxx_messageInfo_DeviceInfo_DeviceResourceRanges_Pool.Size(m)
1941}
1942func (m *DeviceInfo_DeviceResourceRanges_Pool) XXX_DiscardUnknown() {
1943 xxx_messageInfo_DeviceInfo_DeviceResourceRanges_Pool.DiscardUnknown(m)
1944}
1945
1946var xxx_messageInfo_DeviceInfo_DeviceResourceRanges_Pool proto.InternalMessageInfo
1947
1948func (m *DeviceInfo_DeviceResourceRanges_Pool) GetType() DeviceInfo_DeviceResourceRanges_Pool_PoolType {
1949 if m != nil {
1950 return m.Type
1951 }
1952 return DeviceInfo_DeviceResourceRanges_Pool_ONU_ID
1953}
1954
1955func (m *DeviceInfo_DeviceResourceRanges_Pool) GetSharing() DeviceInfo_DeviceResourceRanges_Pool_SharingType {
1956 if m != nil {
1957 return m.Sharing
1958 }
1959 return DeviceInfo_DeviceResourceRanges_Pool_DEDICATED_PER_INTF
1960}
1961
1962func (m *DeviceInfo_DeviceResourceRanges_Pool) GetStart() uint32 {
1963 if m != nil {
1964 return m.Start
1965 }
1966 return 0
1967}
1968
1969func (m *DeviceInfo_DeviceResourceRanges_Pool) GetEnd() uint32 {
1970 if m != nil {
1971 return m.End
1972 }
1973 return 0
1974}
1975
1976type Classifier struct {
1977 OTpid uint32 `protobuf:"fixed32,1,opt,name=o_tpid,json=oTpid,proto3" json:"o_tpid,omitempty"`
1978 OVid uint32 `protobuf:"fixed32,2,opt,name=o_vid,json=oVid,proto3" json:"o_vid,omitempty"`
1979 ITpid uint32 `protobuf:"fixed32,3,opt,name=i_tpid,json=iTpid,proto3" json:"i_tpid,omitempty"`
1980 IVid uint32 `protobuf:"fixed32,4,opt,name=i_vid,json=iVid,proto3" json:"i_vid,omitempty"`
1981 OPbits uint32 `protobuf:"fixed32,5,opt,name=o_pbits,json=oPbits,proto3" json:"o_pbits,omitempty"`
1982 IPbits uint32 `protobuf:"fixed32,6,opt,name=i_pbits,json=iPbits,proto3" json:"i_pbits,omitempty"`
1983 EthType uint32 `protobuf:"fixed32,7,opt,name=eth_type,json=ethType,proto3" json:"eth_type,omitempty"`
1984 DstMac []byte `protobuf:"bytes,8,opt,name=dst_mac,json=dstMac,proto3" json:"dst_mac,omitempty"`
1985 SrcMac []byte `protobuf:"bytes,9,opt,name=src_mac,json=srcMac,proto3" json:"src_mac,omitempty"`
1986 IpProto uint32 `protobuf:"fixed32,10,opt,name=ip_proto,json=ipProto,proto3" json:"ip_proto,omitempty"`
1987 DstIp uint32 `protobuf:"fixed32,11,opt,name=dst_ip,json=dstIp,proto3" json:"dst_ip,omitempty"`
1988 SrcIp uint32 `protobuf:"fixed32,12,opt,name=src_ip,json=srcIp,proto3" json:"src_ip,omitempty"`
1989 SrcPort uint32 `protobuf:"fixed32,13,opt,name=src_port,json=srcPort,proto3" json:"src_port,omitempty"`
1990 DstPort uint32 `protobuf:"fixed32,14,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"`
1991 PktTagType string `protobuf:"bytes,15,opt,name=pkt_tag_type,json=pktTagType,proto3" json:"pkt_tag_type,omitempty"`
1992 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1993 XXX_unrecognized []byte `json:"-"`
1994 XXX_sizecache int32 `json:"-"`
1995}
1996
1997func (m *Classifier) Reset() { *m = Classifier{} }
1998func (m *Classifier) String() string { return proto.CompactTextString(m) }
1999func (*Classifier) ProtoMessage() {}
2000func (*Classifier) Descriptor() ([]byte, []int) {
mpagenkoaf801632020-07-03 10:00:42 +00002001 return fileDescriptor_c072e7aa0dfd74d5, []int{17}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002002}
2003
2004func (m *Classifier) XXX_Unmarshal(b []byte) error {
2005 return xxx_messageInfo_Classifier.Unmarshal(m, b)
2006}
2007func (m *Classifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2008 return xxx_messageInfo_Classifier.Marshal(b, m, deterministic)
2009}
2010func (m *Classifier) XXX_Merge(src proto.Message) {
2011 xxx_messageInfo_Classifier.Merge(m, src)
2012}
2013func (m *Classifier) XXX_Size() int {
2014 return xxx_messageInfo_Classifier.Size(m)
2015}
2016func (m *Classifier) XXX_DiscardUnknown() {
2017 xxx_messageInfo_Classifier.DiscardUnknown(m)
2018}
2019
2020var xxx_messageInfo_Classifier proto.InternalMessageInfo
2021
2022func (m *Classifier) GetOTpid() uint32 {
2023 if m != nil {
2024 return m.OTpid
2025 }
2026 return 0
2027}
2028
2029func (m *Classifier) GetOVid() uint32 {
2030 if m != nil {
2031 return m.OVid
2032 }
2033 return 0
2034}
2035
2036func (m *Classifier) GetITpid() uint32 {
2037 if m != nil {
2038 return m.ITpid
2039 }
2040 return 0
2041}
2042
2043func (m *Classifier) GetIVid() uint32 {
2044 if m != nil {
2045 return m.IVid
2046 }
2047 return 0
2048}
2049
2050func (m *Classifier) GetOPbits() uint32 {
2051 if m != nil {
2052 return m.OPbits
2053 }
2054 return 0
2055}
2056
2057func (m *Classifier) GetIPbits() uint32 {
2058 if m != nil {
2059 return m.IPbits
2060 }
2061 return 0
2062}
2063
2064func (m *Classifier) GetEthType() uint32 {
2065 if m != nil {
2066 return m.EthType
2067 }
2068 return 0
2069}
2070
2071func (m *Classifier) GetDstMac() []byte {
2072 if m != nil {
2073 return m.DstMac
2074 }
2075 return nil
2076}
2077
2078func (m *Classifier) GetSrcMac() []byte {
2079 if m != nil {
2080 return m.SrcMac
2081 }
2082 return nil
2083}
2084
2085func (m *Classifier) GetIpProto() uint32 {
2086 if m != nil {
2087 return m.IpProto
2088 }
2089 return 0
2090}
2091
2092func (m *Classifier) GetDstIp() uint32 {
2093 if m != nil {
2094 return m.DstIp
2095 }
2096 return 0
2097}
2098
2099func (m *Classifier) GetSrcIp() uint32 {
2100 if m != nil {
2101 return m.SrcIp
2102 }
2103 return 0
2104}
2105
2106func (m *Classifier) GetSrcPort() uint32 {
2107 if m != nil {
2108 return m.SrcPort
2109 }
2110 return 0
2111}
2112
2113func (m *Classifier) GetDstPort() uint32 {
2114 if m != nil {
2115 return m.DstPort
2116 }
2117 return 0
2118}
2119
2120func (m *Classifier) GetPktTagType() string {
2121 if m != nil {
2122 return m.PktTagType
2123 }
2124 return ""
2125}
2126
2127type ActionCmd struct {
2128 AddOuterTag bool `protobuf:"varint,1,opt,name=add_outer_tag,json=addOuterTag,proto3" json:"add_outer_tag,omitempty"`
2129 RemoveOuterTag bool `protobuf:"varint,2,opt,name=remove_outer_tag,json=removeOuterTag,proto3" json:"remove_outer_tag,omitempty"`
2130 TrapToHost bool `protobuf:"varint,3,opt,name=trap_to_host,json=trapToHost,proto3" json:"trap_to_host,omitempty"`
2131 RemarkOuterPbits bool `protobuf:"varint,4,opt,name=remark_outer_pbits,json=remarkOuterPbits,proto3" json:"remark_outer_pbits,omitempty"`
2132 RemarkInnerPbits bool `protobuf:"varint,5,opt,name=remark_inner_pbits,json=remarkInnerPbits,proto3" json:"remark_inner_pbits,omitempty"`
2133 AddInnerTag bool `protobuf:"varint,6,opt,name=add_inner_tag,json=addInnerTag,proto3" json:"add_inner_tag,omitempty"`
2134 RemoveInnerTag bool `protobuf:"varint,7,opt,name=remove_inner_tag,json=removeInnerTag,proto3" json:"remove_inner_tag,omitempty"`
2135 TranslateInnerTag bool `protobuf:"varint,8,opt,name=translate_inner_tag,json=translateInnerTag,proto3" json:"translate_inner_tag,omitempty"`
2136 TranslateOuterTag bool `protobuf:"varint,9,opt,name=translate_outer_tag,json=translateOuterTag,proto3" json:"translate_outer_tag,omitempty"`
2137 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2138 XXX_unrecognized []byte `json:"-"`
2139 XXX_sizecache int32 `json:"-"`
2140}
2141
2142func (m *ActionCmd) Reset() { *m = ActionCmd{} }
2143func (m *ActionCmd) String() string { return proto.CompactTextString(m) }
2144func (*ActionCmd) ProtoMessage() {}
2145func (*ActionCmd) Descriptor() ([]byte, []int) {
mpagenkoaf801632020-07-03 10:00:42 +00002146 return fileDescriptor_c072e7aa0dfd74d5, []int{18}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002147}
2148
2149func (m *ActionCmd) XXX_Unmarshal(b []byte) error {
2150 return xxx_messageInfo_ActionCmd.Unmarshal(m, b)
2151}
2152func (m *ActionCmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2153 return xxx_messageInfo_ActionCmd.Marshal(b, m, deterministic)
2154}
2155func (m *ActionCmd) XXX_Merge(src proto.Message) {
2156 xxx_messageInfo_ActionCmd.Merge(m, src)
2157}
2158func (m *ActionCmd) XXX_Size() int {
2159 return xxx_messageInfo_ActionCmd.Size(m)
2160}
2161func (m *ActionCmd) XXX_DiscardUnknown() {
2162 xxx_messageInfo_ActionCmd.DiscardUnknown(m)
2163}
2164
2165var xxx_messageInfo_ActionCmd proto.InternalMessageInfo
2166
2167func (m *ActionCmd) GetAddOuterTag() bool {
2168 if m != nil {
2169 return m.AddOuterTag
2170 }
2171 return false
2172}
2173
2174func (m *ActionCmd) GetRemoveOuterTag() bool {
2175 if m != nil {
2176 return m.RemoveOuterTag
2177 }
2178 return false
2179}
2180
2181func (m *ActionCmd) GetTrapToHost() bool {
2182 if m != nil {
2183 return m.TrapToHost
2184 }
2185 return false
2186}
2187
2188func (m *ActionCmd) GetRemarkOuterPbits() bool {
2189 if m != nil {
2190 return m.RemarkOuterPbits
2191 }
2192 return false
2193}
2194
2195func (m *ActionCmd) GetRemarkInnerPbits() bool {
2196 if m != nil {
2197 return m.RemarkInnerPbits
2198 }
2199 return false
2200}
2201
2202func (m *ActionCmd) GetAddInnerTag() bool {
2203 if m != nil {
2204 return m.AddInnerTag
2205 }
2206 return false
2207}
2208
2209func (m *ActionCmd) GetRemoveInnerTag() bool {
2210 if m != nil {
2211 return m.RemoveInnerTag
2212 }
2213 return false
2214}
2215
2216func (m *ActionCmd) GetTranslateInnerTag() bool {
2217 if m != nil {
2218 return m.TranslateInnerTag
2219 }
2220 return false
2221}
2222
2223func (m *ActionCmd) GetTranslateOuterTag() bool {
2224 if m != nil {
2225 return m.TranslateOuterTag
2226 }
2227 return false
2228}
2229
2230type Action struct {
2231 Cmd *ActionCmd `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"`
2232 OVid uint32 `protobuf:"fixed32,2,opt,name=o_vid,json=oVid,proto3" json:"o_vid,omitempty"`
2233 OPbits uint32 `protobuf:"fixed32,3,opt,name=o_pbits,json=oPbits,proto3" json:"o_pbits,omitempty"`
2234 OTpid uint32 `protobuf:"fixed32,4,opt,name=o_tpid,json=oTpid,proto3" json:"o_tpid,omitempty"`
2235 IVid uint32 `protobuf:"fixed32,5,opt,name=i_vid,json=iVid,proto3" json:"i_vid,omitempty"`
2236 IPbits uint32 `protobuf:"fixed32,6,opt,name=i_pbits,json=iPbits,proto3" json:"i_pbits,omitempty"`
2237 ITpid uint32 `protobuf:"fixed32,7,opt,name=i_tpid,json=iTpid,proto3" json:"i_tpid,omitempty"`
2238 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2239 XXX_unrecognized []byte `json:"-"`
2240 XXX_sizecache int32 `json:"-"`
2241}
2242
2243func (m *Action) Reset() { *m = Action{} }
2244func (m *Action) String() string { return proto.CompactTextString(m) }
2245func (*Action) ProtoMessage() {}
2246func (*Action) Descriptor() ([]byte, []int) {
mpagenkoaf801632020-07-03 10:00:42 +00002247 return fileDescriptor_c072e7aa0dfd74d5, []int{19}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002248}
2249
2250func (m *Action) XXX_Unmarshal(b []byte) error {
2251 return xxx_messageInfo_Action.Unmarshal(m, b)
2252}
2253func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2254 return xxx_messageInfo_Action.Marshal(b, m, deterministic)
2255}
2256func (m *Action) XXX_Merge(src proto.Message) {
2257 xxx_messageInfo_Action.Merge(m, src)
2258}
2259func (m *Action) XXX_Size() int {
2260 return xxx_messageInfo_Action.Size(m)
2261}
2262func (m *Action) XXX_DiscardUnknown() {
2263 xxx_messageInfo_Action.DiscardUnknown(m)
2264}
2265
2266var xxx_messageInfo_Action proto.InternalMessageInfo
2267
2268func (m *Action) GetCmd() *ActionCmd {
2269 if m != nil {
2270 return m.Cmd
2271 }
2272 return nil
2273}
2274
2275func (m *Action) GetOVid() uint32 {
2276 if m != nil {
2277 return m.OVid
2278 }
2279 return 0
2280}
2281
2282func (m *Action) GetOPbits() uint32 {
2283 if m != nil {
2284 return m.OPbits
2285 }
2286 return 0
2287}
2288
2289func (m *Action) GetOTpid() uint32 {
2290 if m != nil {
2291 return m.OTpid
2292 }
2293 return 0
2294}
2295
2296func (m *Action) GetIVid() uint32 {
2297 if m != nil {
2298 return m.IVid
2299 }
2300 return 0
2301}
2302
2303func (m *Action) GetIPbits() uint32 {
2304 if m != nil {
2305 return m.IPbits
2306 }
2307 return 0
2308}
2309
2310func (m *Action) GetITpid() uint32 {
2311 if m != nil {
2312 return m.ITpid
2313 }
2314 return 0
2315}
2316
2317type Flow struct {
dbainbri4d3a0dc2020-12-02 00:33:42 +00002318 AccessIntfId int32 `protobuf:"fixed32,1,opt,name=access_intf_id,json=accessIntfId,proto3" json:"access_intf_id,omitempty"`
2319 OnuId int32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
2320 UniId int32 `protobuf:"fixed32,11,opt,name=uni_id,json=uniId,proto3" json:"uni_id,omitempty"`
2321 FlowId uint64 `protobuf:"fixed64,3,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
2322 SymmetricFlowId uint64 `protobuf:"fixed64,18,opt,name=symmetric_flow_id,json=symmetricFlowId,proto3" json:"symmetric_flow_id,omitempty"`
2323 FlowType string `protobuf:"bytes,4,opt,name=flow_type,json=flowType,proto3" json:"flow_type,omitempty"`
2324 AllocId int32 `protobuf:"fixed32,10,opt,name=alloc_id,json=allocId,proto3" json:"alloc_id,omitempty"`
2325 NetworkIntfId int32 `protobuf:"fixed32,5,opt,name=network_intf_id,json=networkIntfId,proto3" json:"network_intf_id,omitempty"`
2326 GemportId int32 `protobuf:"fixed32,6,opt,name=gemport_id,json=gemportId,proto3" json:"gemport_id,omitempty"`
2327 Classifier *Classifier `protobuf:"bytes,7,opt,name=classifier,proto3" json:"classifier,omitempty"`
2328 Action *Action `protobuf:"bytes,8,opt,name=action,proto3" json:"action,omitempty"`
2329 Priority int32 `protobuf:"fixed32,9,opt,name=priority,proto3" json:"priority,omitempty"`
2330 Cookie uint64 `protobuf:"fixed64,12,opt,name=cookie,proto3" json:"cookie,omitempty"`
2331 PortNo uint32 `protobuf:"fixed32,13,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"`
2332 GroupId uint32 `protobuf:"fixed32,14,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
2333 TechProfileId uint32 `protobuf:"fixed32,15,opt,name=tech_profile_id,json=techProfileId,proto3" json:"tech_profile_id,omitempty"`
2334 ReplicateFlow bool `protobuf:"varint,16,opt,name=replicate_flow,json=replicateFlow,proto3" json:"replicate_flow,omitempty"`
2335 PbitToGemport map[uint32]uint32 `protobuf:"bytes,17,rep,name=pbit_to_gemport,json=pbitToGemport,proto3" json:"pbit_to_gemport,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
2336 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2337 XXX_unrecognized []byte `json:"-"`
2338 XXX_sizecache int32 `json:"-"`
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002339}
2340
2341func (m *Flow) Reset() { *m = Flow{} }
2342func (m *Flow) String() string { return proto.CompactTextString(m) }
2343func (*Flow) ProtoMessage() {}
2344func (*Flow) Descriptor() ([]byte, []int) {
mpagenkoaf801632020-07-03 10:00:42 +00002345 return fileDescriptor_c072e7aa0dfd74d5, []int{20}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002346}
2347
2348func (m *Flow) XXX_Unmarshal(b []byte) error {
2349 return xxx_messageInfo_Flow.Unmarshal(m, b)
2350}
2351func (m *Flow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2352 return xxx_messageInfo_Flow.Marshal(b, m, deterministic)
2353}
2354func (m *Flow) XXX_Merge(src proto.Message) {
2355 xxx_messageInfo_Flow.Merge(m, src)
2356}
2357func (m *Flow) XXX_Size() int {
2358 return xxx_messageInfo_Flow.Size(m)
2359}
2360func (m *Flow) XXX_DiscardUnknown() {
2361 xxx_messageInfo_Flow.DiscardUnknown(m)
2362}
2363
2364var xxx_messageInfo_Flow proto.InternalMessageInfo
2365
2366func (m *Flow) GetAccessIntfId() int32 {
2367 if m != nil {
2368 return m.AccessIntfId
2369 }
2370 return 0
2371}
2372
2373func (m *Flow) GetOnuId() int32 {
2374 if m != nil {
2375 return m.OnuId
2376 }
2377 return 0
2378}
2379
2380func (m *Flow) GetUniId() int32 {
2381 if m != nil {
2382 return m.UniId
2383 }
2384 return 0
2385}
2386
dbainbri4d3a0dc2020-12-02 00:33:42 +00002387func (m *Flow) GetFlowId() uint64 {
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002388 if m != nil {
2389 return m.FlowId
2390 }
2391 return 0
2392}
2393
dbainbri4d3a0dc2020-12-02 00:33:42 +00002394func (m *Flow) GetSymmetricFlowId() uint64 {
2395 if m != nil {
2396 return m.SymmetricFlowId
2397 }
2398 return 0
2399}
2400
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002401func (m *Flow) GetFlowType() string {
2402 if m != nil {
2403 return m.FlowType
2404 }
2405 return ""
2406}
2407
2408func (m *Flow) GetAllocId() int32 {
2409 if m != nil {
2410 return m.AllocId
2411 }
2412 return 0
2413}
2414
2415func (m *Flow) GetNetworkIntfId() int32 {
2416 if m != nil {
2417 return m.NetworkIntfId
2418 }
2419 return 0
2420}
2421
2422func (m *Flow) GetGemportId() int32 {
2423 if m != nil {
2424 return m.GemportId
2425 }
2426 return 0
2427}
2428
2429func (m *Flow) GetClassifier() *Classifier {
2430 if m != nil {
2431 return m.Classifier
2432 }
2433 return nil
2434}
2435
2436func (m *Flow) GetAction() *Action {
2437 if m != nil {
2438 return m.Action
2439 }
2440 return nil
2441}
2442
2443func (m *Flow) GetPriority() int32 {
2444 if m != nil {
2445 return m.Priority
2446 }
2447 return 0
2448}
2449
2450func (m *Flow) GetCookie() uint64 {
2451 if m != nil {
2452 return m.Cookie
2453 }
2454 return 0
2455}
2456
2457func (m *Flow) GetPortNo() uint32 {
2458 if m != nil {
2459 return m.PortNo
2460 }
2461 return 0
2462}
2463
2464func (m *Flow) GetGroupId() uint32 {
2465 if m != nil {
2466 return m.GroupId
2467 }
2468 return 0
2469}
2470
mpagenkoaf801632020-07-03 10:00:42 +00002471func (m *Flow) GetTechProfileId() uint32 {
2472 if m != nil {
2473 return m.TechProfileId
2474 }
2475 return 0
2476}
2477
dbainbri4d3a0dc2020-12-02 00:33:42 +00002478func (m *Flow) GetReplicateFlow() bool {
mpagenkoaf801632020-07-03 10:00:42 +00002479 if m != nil {
dbainbri4d3a0dc2020-12-02 00:33:42 +00002480 return m.ReplicateFlow
mpagenkoaf801632020-07-03 10:00:42 +00002481 }
dbainbri4d3a0dc2020-12-02 00:33:42 +00002482 return false
mpagenkoaf801632020-07-03 10:00:42 +00002483}
2484
dbainbri4d3a0dc2020-12-02 00:33:42 +00002485func (m *Flow) GetPbitToGemport() map[uint32]uint32 {
mpagenkoaf801632020-07-03 10:00:42 +00002486 if m != nil {
dbainbri4d3a0dc2020-12-02 00:33:42 +00002487 return m.PbitToGemport
mpagenkoaf801632020-07-03 10:00:42 +00002488 }
2489 return nil
2490}
2491
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002492type SerialNumber struct {
2493 VendorId []byte `protobuf:"bytes,1,opt,name=vendor_id,json=vendorId,proto3" json:"vendor_id,omitempty"`
2494 VendorSpecific []byte `protobuf:"bytes,2,opt,name=vendor_specific,json=vendorSpecific,proto3" json:"vendor_specific,omitempty"`
2495 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2496 XXX_unrecognized []byte `json:"-"`
2497 XXX_sizecache int32 `json:"-"`
2498}
2499
2500func (m *SerialNumber) Reset() { *m = SerialNumber{} }
2501func (m *SerialNumber) String() string { return proto.CompactTextString(m) }
2502func (*SerialNumber) ProtoMessage() {}
2503func (*SerialNumber) Descriptor() ([]byte, []int) {
dbainbri4d3a0dc2020-12-02 00:33:42 +00002504 return fileDescriptor_c072e7aa0dfd74d5, []int{21}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002505}
2506
2507func (m *SerialNumber) XXX_Unmarshal(b []byte) error {
2508 return xxx_messageInfo_SerialNumber.Unmarshal(m, b)
2509}
2510func (m *SerialNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2511 return xxx_messageInfo_SerialNumber.Marshal(b, m, deterministic)
2512}
2513func (m *SerialNumber) XXX_Merge(src proto.Message) {
2514 xxx_messageInfo_SerialNumber.Merge(m, src)
2515}
2516func (m *SerialNumber) XXX_Size() int {
2517 return xxx_messageInfo_SerialNumber.Size(m)
2518}
2519func (m *SerialNumber) XXX_DiscardUnknown() {
2520 xxx_messageInfo_SerialNumber.DiscardUnknown(m)
2521}
2522
2523var xxx_messageInfo_SerialNumber proto.InternalMessageInfo
2524
2525func (m *SerialNumber) GetVendorId() []byte {
2526 if m != nil {
2527 return m.VendorId
2528 }
2529 return nil
2530}
2531
2532func (m *SerialNumber) GetVendorSpecific() []byte {
2533 if m != nil {
2534 return m.VendorSpecific
2535 }
2536 return nil
2537}
2538
2539type PortStatistics struct {
2540 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
2541 RxBytes uint64 `protobuf:"fixed64,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
2542 RxPackets uint64 `protobuf:"fixed64,3,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"`
2543 RxUcastPackets uint64 `protobuf:"fixed64,4,opt,name=rx_ucast_packets,json=rxUcastPackets,proto3" json:"rx_ucast_packets,omitempty"`
2544 RxMcastPackets uint64 `protobuf:"fixed64,5,opt,name=rx_mcast_packets,json=rxMcastPackets,proto3" json:"rx_mcast_packets,omitempty"`
2545 RxBcastPackets uint64 `protobuf:"fixed64,6,opt,name=rx_bcast_packets,json=rxBcastPackets,proto3" json:"rx_bcast_packets,omitempty"`
2546 RxErrorPackets uint64 `protobuf:"fixed64,7,opt,name=rx_error_packets,json=rxErrorPackets,proto3" json:"rx_error_packets,omitempty"`
dbainbri4d3a0dc2020-12-02 00:33:42 +00002547 RxFrames uint64 `protobuf:"fixed64,17,opt,name=rx_frames,json=rxFrames,proto3" json:"rx_frames,omitempty"`
2548 RxFrames_64 uint64 `protobuf:"fixed64,18,opt,name=rx_frames_64,json=rxFrames64,proto3" json:"rx_frames_64,omitempty"`
2549 RxFrames_65_127 uint64 `protobuf:"fixed64,19,opt,name=rx_frames_65_127,json=rxFrames65127,proto3" json:"rx_frames_65_127,omitempty"`
2550 RxFrames_128_255 uint64 `protobuf:"fixed64,20,opt,name=rx_frames_128_255,json=rxFrames128255,proto3" json:"rx_frames_128_255,omitempty"`
2551 RxFrames_256_511 uint64 `protobuf:"fixed64,21,opt,name=rx_frames_256_511,json=rxFrames256511,proto3" json:"rx_frames_256_511,omitempty"`
2552 RxFrames_512_1023 uint64 `protobuf:"fixed64,22,opt,name=rx_frames_512_1023,json=rxFrames5121023,proto3" json:"rx_frames_512_1023,omitempty"`
2553 RxFrames_1024_1518 uint64 `protobuf:"fixed64,23,opt,name=rx_frames_1024_1518,json=rxFrames10241518,proto3" json:"rx_frames_1024_1518,omitempty"`
2554 RxFrames_1519_2047 uint64 `protobuf:"fixed64,24,opt,name=rx_frames_1519_2047,json=rxFrames15192047,proto3" json:"rx_frames_1519_2047,omitempty"`
2555 RxFrames_2048_4095 uint64 `protobuf:"fixed64,25,opt,name=rx_frames_2048_4095,json=rxFrames20484095,proto3" json:"rx_frames_2048_4095,omitempty"`
2556 RxFrames_4096_9216 uint64 `protobuf:"fixed64,26,opt,name=rx_frames_4096_9216,json=rxFrames40969216,proto3" json:"rx_frames_4096_9216,omitempty"`
2557 RxFrames_9217_16383 uint64 `protobuf:"fixed64,27,opt,name=rx_frames_9217_16383,json=rxFrames921716383,proto3" json:"rx_frames_9217_16383,omitempty"`
2558 RxCrcErrors uint64 `protobuf:"fixed64,14,opt,name=rx_crc_errors,json=rxCrcErrors,proto3" json:"rx_crc_errors,omitempty"`
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002559 TxBytes uint64 `protobuf:"fixed64,8,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
2560 TxPackets uint64 `protobuf:"fixed64,9,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"`
2561 TxUcastPackets uint64 `protobuf:"fixed64,10,opt,name=tx_ucast_packets,json=txUcastPackets,proto3" json:"tx_ucast_packets,omitempty"`
2562 TxMcastPackets uint64 `protobuf:"fixed64,11,opt,name=tx_mcast_packets,json=txMcastPackets,proto3" json:"tx_mcast_packets,omitempty"`
2563 TxBcastPackets uint64 `protobuf:"fixed64,12,opt,name=tx_bcast_packets,json=txBcastPackets,proto3" json:"tx_bcast_packets,omitempty"`
2564 TxErrorPackets uint64 `protobuf:"fixed64,13,opt,name=tx_error_packets,json=txErrorPackets,proto3" json:"tx_error_packets,omitempty"`
dbainbri4d3a0dc2020-12-02 00:33:42 +00002565 TxFrames uint64 `protobuf:"fixed64,28,opt,name=tx_frames,json=txFrames,proto3" json:"tx_frames,omitempty"`
2566 TxFrames_64 uint64 `protobuf:"fixed64,29,opt,name=tx_frames_64,json=txFrames64,proto3" json:"tx_frames_64,omitempty"`
2567 TxFrames_65_127 uint64 `protobuf:"fixed64,30,opt,name=tx_frames_65_127,json=txFrames65127,proto3" json:"tx_frames_65_127,omitempty"`
2568 TxFrames_128_255 uint64 `protobuf:"fixed64,31,opt,name=tx_frames_128_255,json=txFrames128255,proto3" json:"tx_frames_128_255,omitempty"`
2569 TxFrames_256_511 uint64 `protobuf:"fixed64,32,opt,name=tx_frames_256_511,json=txFrames256511,proto3" json:"tx_frames_256_511,omitempty"`
2570 TxFrames_512_1023 uint64 `protobuf:"fixed64,33,opt,name=tx_frames_512_1023,json=txFrames5121023,proto3" json:"tx_frames_512_1023,omitempty"`
2571 TxFrames_1024_1518 uint64 `protobuf:"fixed64,34,opt,name=tx_frames_1024_1518,json=txFrames10241518,proto3" json:"tx_frames_1024_1518,omitempty"`
2572 TxFrames_1519_2047 uint64 `protobuf:"fixed64,35,opt,name=tx_frames_1519_2047,json=txFrames15192047,proto3" json:"tx_frames_1519_2047,omitempty"`
2573 TxFrames_2048_4095 uint64 `protobuf:"fixed64,36,opt,name=tx_frames_2048_4095,json=txFrames20484095,proto3" json:"tx_frames_2048_4095,omitempty"`
2574 TxFrames_4096_9216 uint64 `protobuf:"fixed64,37,opt,name=tx_frames_4096_9216,json=txFrames40969216,proto3" json:"tx_frames_4096_9216,omitempty"`
2575 TxFrames_9217_16383 uint64 `protobuf:"fixed64,38,opt,name=tx_frames_9217_16383,json=txFrames921716383,proto3" json:"tx_frames_9217_16383,omitempty"`
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002576 BipErrors uint64 `protobuf:"fixed64,15,opt,name=bip_errors,json=bipErrors,proto3" json:"bip_errors,omitempty"`
2577 Timestamp uint32 `protobuf:"fixed32,16,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
2578 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2579 XXX_unrecognized []byte `json:"-"`
2580 XXX_sizecache int32 `json:"-"`
2581}
2582
2583func (m *PortStatistics) Reset() { *m = PortStatistics{} }
2584func (m *PortStatistics) String() string { return proto.CompactTextString(m) }
2585func (*PortStatistics) ProtoMessage() {}
2586func (*PortStatistics) Descriptor() ([]byte, []int) {
dbainbri4d3a0dc2020-12-02 00:33:42 +00002587 return fileDescriptor_c072e7aa0dfd74d5, []int{22}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002588}
2589
2590func (m *PortStatistics) XXX_Unmarshal(b []byte) error {
2591 return xxx_messageInfo_PortStatistics.Unmarshal(m, b)
2592}
2593func (m *PortStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2594 return xxx_messageInfo_PortStatistics.Marshal(b, m, deterministic)
2595}
2596func (m *PortStatistics) XXX_Merge(src proto.Message) {
2597 xxx_messageInfo_PortStatistics.Merge(m, src)
2598}
2599func (m *PortStatistics) XXX_Size() int {
2600 return xxx_messageInfo_PortStatistics.Size(m)
2601}
2602func (m *PortStatistics) XXX_DiscardUnknown() {
2603 xxx_messageInfo_PortStatistics.DiscardUnknown(m)
2604}
2605
2606var xxx_messageInfo_PortStatistics proto.InternalMessageInfo
2607
2608func (m *PortStatistics) GetIntfId() uint32 {
2609 if m != nil {
2610 return m.IntfId
2611 }
2612 return 0
2613}
2614
2615func (m *PortStatistics) GetRxBytes() uint64 {
2616 if m != nil {
2617 return m.RxBytes
2618 }
2619 return 0
2620}
2621
2622func (m *PortStatistics) GetRxPackets() uint64 {
2623 if m != nil {
2624 return m.RxPackets
2625 }
2626 return 0
2627}
2628
2629func (m *PortStatistics) GetRxUcastPackets() uint64 {
2630 if m != nil {
2631 return m.RxUcastPackets
2632 }
2633 return 0
2634}
2635
2636func (m *PortStatistics) GetRxMcastPackets() uint64 {
2637 if m != nil {
2638 return m.RxMcastPackets
2639 }
2640 return 0
2641}
2642
2643func (m *PortStatistics) GetRxBcastPackets() uint64 {
2644 if m != nil {
2645 return m.RxBcastPackets
2646 }
2647 return 0
2648}
2649
2650func (m *PortStatistics) GetRxErrorPackets() uint64 {
2651 if m != nil {
2652 return m.RxErrorPackets
2653 }
2654 return 0
2655}
2656
dbainbri4d3a0dc2020-12-02 00:33:42 +00002657func (m *PortStatistics) GetRxFrames() uint64 {
2658 if m != nil {
2659 return m.RxFrames
2660 }
2661 return 0
2662}
2663
2664func (m *PortStatistics) GetRxFrames_64() uint64 {
2665 if m != nil {
2666 return m.RxFrames_64
2667 }
2668 return 0
2669}
2670
2671func (m *PortStatistics) GetRxFrames_65_127() uint64 {
2672 if m != nil {
2673 return m.RxFrames_65_127
2674 }
2675 return 0
2676}
2677
2678func (m *PortStatistics) GetRxFrames_128_255() uint64 {
2679 if m != nil {
2680 return m.RxFrames_128_255
2681 }
2682 return 0
2683}
2684
2685func (m *PortStatistics) GetRxFrames_256_511() uint64 {
2686 if m != nil {
2687 return m.RxFrames_256_511
2688 }
2689 return 0
2690}
2691
2692func (m *PortStatistics) GetRxFrames_512_1023() uint64 {
2693 if m != nil {
2694 return m.RxFrames_512_1023
2695 }
2696 return 0
2697}
2698
2699func (m *PortStatistics) GetRxFrames_1024_1518() uint64 {
2700 if m != nil {
2701 return m.RxFrames_1024_1518
2702 }
2703 return 0
2704}
2705
2706func (m *PortStatistics) GetRxFrames_1519_2047() uint64 {
2707 if m != nil {
2708 return m.RxFrames_1519_2047
2709 }
2710 return 0
2711}
2712
2713func (m *PortStatistics) GetRxFrames_2048_4095() uint64 {
2714 if m != nil {
2715 return m.RxFrames_2048_4095
2716 }
2717 return 0
2718}
2719
2720func (m *PortStatistics) GetRxFrames_4096_9216() uint64 {
2721 if m != nil {
2722 return m.RxFrames_4096_9216
2723 }
2724 return 0
2725}
2726
2727func (m *PortStatistics) GetRxFrames_9217_16383() uint64 {
2728 if m != nil {
2729 return m.RxFrames_9217_16383
2730 }
2731 return 0
2732}
2733
2734func (m *PortStatistics) GetRxCrcErrors() uint64 {
2735 if m != nil {
2736 return m.RxCrcErrors
2737 }
2738 return 0
2739}
2740
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002741func (m *PortStatistics) GetTxBytes() uint64 {
2742 if m != nil {
2743 return m.TxBytes
2744 }
2745 return 0
2746}
2747
2748func (m *PortStatistics) GetTxPackets() uint64 {
2749 if m != nil {
2750 return m.TxPackets
2751 }
2752 return 0
2753}
2754
2755func (m *PortStatistics) GetTxUcastPackets() uint64 {
2756 if m != nil {
2757 return m.TxUcastPackets
2758 }
2759 return 0
2760}
2761
2762func (m *PortStatistics) GetTxMcastPackets() uint64 {
2763 if m != nil {
2764 return m.TxMcastPackets
2765 }
2766 return 0
2767}
2768
2769func (m *PortStatistics) GetTxBcastPackets() uint64 {
2770 if m != nil {
2771 return m.TxBcastPackets
2772 }
2773 return 0
2774}
2775
2776func (m *PortStatistics) GetTxErrorPackets() uint64 {
2777 if m != nil {
2778 return m.TxErrorPackets
2779 }
2780 return 0
2781}
2782
dbainbri4d3a0dc2020-12-02 00:33:42 +00002783func (m *PortStatistics) GetTxFrames() uint64 {
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002784 if m != nil {
dbainbri4d3a0dc2020-12-02 00:33:42 +00002785 return m.TxFrames
2786 }
2787 return 0
2788}
2789
2790func (m *PortStatistics) GetTxFrames_64() uint64 {
2791 if m != nil {
2792 return m.TxFrames_64
2793 }
2794 return 0
2795}
2796
2797func (m *PortStatistics) GetTxFrames_65_127() uint64 {
2798 if m != nil {
2799 return m.TxFrames_65_127
2800 }
2801 return 0
2802}
2803
2804func (m *PortStatistics) GetTxFrames_128_255() uint64 {
2805 if m != nil {
2806 return m.TxFrames_128_255
2807 }
2808 return 0
2809}
2810
2811func (m *PortStatistics) GetTxFrames_256_511() uint64 {
2812 if m != nil {
2813 return m.TxFrames_256_511
2814 }
2815 return 0
2816}
2817
2818func (m *PortStatistics) GetTxFrames_512_1023() uint64 {
2819 if m != nil {
2820 return m.TxFrames_512_1023
2821 }
2822 return 0
2823}
2824
2825func (m *PortStatistics) GetTxFrames_1024_1518() uint64 {
2826 if m != nil {
2827 return m.TxFrames_1024_1518
2828 }
2829 return 0
2830}
2831
2832func (m *PortStatistics) GetTxFrames_1519_2047() uint64 {
2833 if m != nil {
2834 return m.TxFrames_1519_2047
2835 }
2836 return 0
2837}
2838
2839func (m *PortStatistics) GetTxFrames_2048_4095() uint64 {
2840 if m != nil {
2841 return m.TxFrames_2048_4095
2842 }
2843 return 0
2844}
2845
2846func (m *PortStatistics) GetTxFrames_4096_9216() uint64 {
2847 if m != nil {
2848 return m.TxFrames_4096_9216
2849 }
2850 return 0
2851}
2852
2853func (m *PortStatistics) GetTxFrames_9217_16383() uint64 {
2854 if m != nil {
2855 return m.TxFrames_9217_16383
Holger Hildebrandtfa074992020-03-27 15:42:06 +00002856 }
2857 return 0
2858}
2859
2860func (m *PortStatistics) GetBipErrors() uint64 {
2861 if m != nil {
2862 return m.BipErrors
2863 }
2864 return 0
2865}
2866
2867func (m *PortStatistics) GetTimestamp() uint32 {
2868 if m != nil {
2869 return m.Timestamp
2870 }
2871 return 0
2872}
2873
kesavandfdf77632021-01-26 23:40:33 -05002874type OnuStatistics struct {
2875 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
2876 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
2877 PositiveDrift uint64 `protobuf:"fixed64,3,opt,name=positive_drift,json=positiveDrift,proto3" json:"positive_drift,omitempty"`
2878 NegativeDrift uint64 `protobuf:"fixed64,4,opt,name=negative_drift,json=negativeDrift,proto3" json:"negative_drift,omitempty"`
2879 DelimiterMissDetection uint64 `protobuf:"fixed64,5,opt,name=delimiter_miss_detection,json=delimiterMissDetection,proto3" json:"delimiter_miss_detection,omitempty"`
2880 BipErrors uint64 `protobuf:"fixed64,6,opt,name=bip_errors,json=bipErrors,proto3" json:"bip_errors,omitempty"`
2881 BipUnits uint64 `protobuf:"fixed64,7,opt,name=bip_units,json=bipUnits,proto3" json:"bip_units,omitempty"`
2882 FecCorrectedSymbols uint64 `protobuf:"fixed64,8,opt,name=fec_corrected_symbols,json=fecCorrectedSymbols,proto3" json:"fec_corrected_symbols,omitempty"`
2883 FecCodewordsCorrected uint64 `protobuf:"fixed64,9,opt,name=fec_codewords_corrected,json=fecCodewordsCorrected,proto3" json:"fec_codewords_corrected,omitempty"`
2884 FecCodewordsUncorrectable uint64 `protobuf:"fixed64,10,opt,name=fec_codewords_uncorrectable,json=fecCodewordsUncorrectable,proto3" json:"fec_codewords_uncorrectable,omitempty"`
2885 FecCodewords uint64 `protobuf:"fixed64,11,opt,name=fec_codewords,json=fecCodewords,proto3" json:"fec_codewords,omitempty"`
2886 FecCorrectedUnits uint64 `protobuf:"fixed64,12,opt,name=fec_corrected_units,json=fecCorrectedUnits,proto3" json:"fec_corrected_units,omitempty"`
2887 XgemKeyErrors uint64 `protobuf:"fixed64,13,opt,name=xgem_key_errors,json=xgemKeyErrors,proto3" json:"xgem_key_errors,omitempty"`
2888 XgemLoss uint64 `protobuf:"fixed64,14,opt,name=xgem_loss,json=xgemLoss,proto3" json:"xgem_loss,omitempty"`
2889 RxPloamsError uint64 `protobuf:"fixed64,15,opt,name=rx_ploams_error,json=rxPloamsError,proto3" json:"rx_ploams_error,omitempty"`
2890 RxPloamsNonIdle uint64 `protobuf:"fixed64,16,opt,name=rx_ploams_non_idle,json=rxPloamsNonIdle,proto3" json:"rx_ploams_non_idle,omitempty"`
2891 RxOmci uint64 `protobuf:"fixed64,17,opt,name=rx_omci,json=rxOmci,proto3" json:"rx_omci,omitempty"`
2892 RxOmciPacketsCrcError uint64 `protobuf:"fixed64,18,opt,name=rx_omci_packets_crc_error,json=rxOmciPacketsCrcError,proto3" json:"rx_omci_packets_crc_error,omitempty"`
2893 RxBytes uint64 `protobuf:"fixed64,19,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
2894 RxPackets uint64 `protobuf:"fixed64,20,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"`
2895 TxBytes uint64 `protobuf:"fixed64,21,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
2896 TxPackets uint64 `protobuf:"fixed64,22,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"`
2897 BerReported uint64 `protobuf:"fixed64,23,opt,name=ber_reported,json=berReported,proto3" json:"ber_reported,omitempty"`
2898 LcdgErrors uint64 `protobuf:"fixed64,24,opt,name=lcdg_errors,json=lcdgErrors,proto3" json:"lcdg_errors,omitempty"`
2899 RdiErrors uint64 `protobuf:"fixed64,25,opt,name=rdi_errors,json=rdiErrors,proto3" json:"rdi_errors,omitempty"`
2900 Timestamp uint32 `protobuf:"fixed32,26,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
2901 XXX_NoUnkeyedLiteral struct{} `json:"-"`
2902 XXX_unrecognized []byte `json:"-"`
2903 XXX_sizecache int32 `json:"-"`
2904}
2905
2906func (m *OnuStatistics) Reset() { *m = OnuStatistics{} }
2907func (m *OnuStatistics) String() string { return proto.CompactTextString(m) }
2908func (*OnuStatistics) ProtoMessage() {}
2909func (*OnuStatistics) Descriptor() ([]byte, []int) {
2910 return fileDescriptor_c072e7aa0dfd74d5, []int{23}
2911}
2912
2913func (m *OnuStatistics) XXX_Unmarshal(b []byte) error {
2914 return xxx_messageInfo_OnuStatistics.Unmarshal(m, b)
2915}
2916func (m *OnuStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2917 return xxx_messageInfo_OnuStatistics.Marshal(b, m, deterministic)
2918}
2919func (m *OnuStatistics) XXX_Merge(src proto.Message) {
2920 xxx_messageInfo_OnuStatistics.Merge(m, src)
2921}
2922func (m *OnuStatistics) XXX_Size() int {
2923 return xxx_messageInfo_OnuStatistics.Size(m)
2924}
2925func (m *OnuStatistics) XXX_DiscardUnknown() {
2926 xxx_messageInfo_OnuStatistics.DiscardUnknown(m)
2927}
2928
2929var xxx_messageInfo_OnuStatistics proto.InternalMessageInfo
2930
2931func (m *OnuStatistics) GetIntfId() uint32 {
2932 if m != nil {
2933 return m.IntfId
2934 }
2935 return 0
2936}
2937
2938func (m *OnuStatistics) GetOnuId() uint32 {
2939 if m != nil {
2940 return m.OnuId
2941 }
2942 return 0
2943}
2944
2945func (m *OnuStatistics) GetPositiveDrift() uint64 {
2946 if m != nil {
2947 return m.PositiveDrift
2948 }
2949 return 0
2950}
2951
2952func (m *OnuStatistics) GetNegativeDrift() uint64 {
2953 if m != nil {
2954 return m.NegativeDrift
2955 }
2956 return 0
2957}
2958
2959func (m *OnuStatistics) GetDelimiterMissDetection() uint64 {
2960 if m != nil {
2961 return m.DelimiterMissDetection
2962 }
2963 return 0
2964}
2965
2966func (m *OnuStatistics) GetBipErrors() uint64 {
2967 if m != nil {
2968 return m.BipErrors
2969 }
2970 return 0
2971}
2972
2973func (m *OnuStatistics) GetBipUnits() uint64 {
2974 if m != nil {
2975 return m.BipUnits
2976 }
2977 return 0
2978}
2979
2980func (m *OnuStatistics) GetFecCorrectedSymbols() uint64 {
2981 if m != nil {
2982 return m.FecCorrectedSymbols
2983 }
2984 return 0
2985}
2986
2987func (m *OnuStatistics) GetFecCodewordsCorrected() uint64 {
2988 if m != nil {
2989 return m.FecCodewordsCorrected
2990 }
2991 return 0
2992}
2993
2994func (m *OnuStatistics) GetFecCodewordsUncorrectable() uint64 {
2995 if m != nil {
2996 return m.FecCodewordsUncorrectable
2997 }
2998 return 0
2999}
3000
3001func (m *OnuStatistics) GetFecCodewords() uint64 {
3002 if m != nil {
3003 return m.FecCodewords
3004 }
3005 return 0
3006}
3007
3008func (m *OnuStatistics) GetFecCorrectedUnits() uint64 {
3009 if m != nil {
3010 return m.FecCorrectedUnits
3011 }
3012 return 0
3013}
3014
3015func (m *OnuStatistics) GetXgemKeyErrors() uint64 {
3016 if m != nil {
3017 return m.XgemKeyErrors
3018 }
3019 return 0
3020}
3021
3022func (m *OnuStatistics) GetXgemLoss() uint64 {
3023 if m != nil {
3024 return m.XgemLoss
3025 }
3026 return 0
3027}
3028
3029func (m *OnuStatistics) GetRxPloamsError() uint64 {
3030 if m != nil {
3031 return m.RxPloamsError
3032 }
3033 return 0
3034}
3035
3036func (m *OnuStatistics) GetRxPloamsNonIdle() uint64 {
3037 if m != nil {
3038 return m.RxPloamsNonIdle
3039 }
3040 return 0
3041}
3042
3043func (m *OnuStatistics) GetRxOmci() uint64 {
3044 if m != nil {
3045 return m.RxOmci
3046 }
3047 return 0
3048}
3049
3050func (m *OnuStatistics) GetRxOmciPacketsCrcError() uint64 {
3051 if m != nil {
3052 return m.RxOmciPacketsCrcError
3053 }
3054 return 0
3055}
3056
3057func (m *OnuStatistics) GetRxBytes() uint64 {
3058 if m != nil {
3059 return m.RxBytes
3060 }
3061 return 0
3062}
3063
3064func (m *OnuStatistics) GetRxPackets() uint64 {
3065 if m != nil {
3066 return m.RxPackets
3067 }
3068 return 0
3069}
3070
3071func (m *OnuStatistics) GetTxBytes() uint64 {
3072 if m != nil {
3073 return m.TxBytes
3074 }
3075 return 0
3076}
3077
3078func (m *OnuStatistics) GetTxPackets() uint64 {
3079 if m != nil {
3080 return m.TxPackets
3081 }
3082 return 0
3083}
3084
3085func (m *OnuStatistics) GetBerReported() uint64 {
3086 if m != nil {
3087 return m.BerReported
3088 }
3089 return 0
3090}
3091
3092func (m *OnuStatistics) GetLcdgErrors() uint64 {
3093 if m != nil {
3094 return m.LcdgErrors
3095 }
3096 return 0
3097}
3098
3099func (m *OnuStatistics) GetRdiErrors() uint64 {
3100 if m != nil {
3101 return m.RdiErrors
3102 }
3103 return 0
3104}
3105
3106func (m *OnuStatistics) GetTimestamp() uint32 {
3107 if m != nil {
3108 return m.Timestamp
3109 }
3110 return 0
3111}
3112
3113type GemPortStatistics struct {
3114 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
3115 GemportId uint32 `protobuf:"fixed32,2,opt,name=gemport_id,json=gemportId,proto3" json:"gemport_id,omitempty"`
3116 RxPackets uint64 `protobuf:"fixed64,3,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"`
3117 RxBytes uint64 `protobuf:"fixed64,4,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
3118 TxPackets uint64 `protobuf:"fixed64,5,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"`
3119 TxBytes uint64 `protobuf:"fixed64,6,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
3120 Timestamp uint32 `protobuf:"fixed32,26,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
3121 XXX_NoUnkeyedLiteral struct{} `json:"-"`
3122 XXX_unrecognized []byte `json:"-"`
3123 XXX_sizecache int32 `json:"-"`
3124}
3125
3126func (m *GemPortStatistics) Reset() { *m = GemPortStatistics{} }
3127func (m *GemPortStatistics) String() string { return proto.CompactTextString(m) }
3128func (*GemPortStatistics) ProtoMessage() {}
3129func (*GemPortStatistics) Descriptor() ([]byte, []int) {
3130 return fileDescriptor_c072e7aa0dfd74d5, []int{24}
3131}
3132
3133func (m *GemPortStatistics) XXX_Unmarshal(b []byte) error {
3134 return xxx_messageInfo_GemPortStatistics.Unmarshal(m, b)
3135}
3136func (m *GemPortStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
3137 return xxx_messageInfo_GemPortStatistics.Marshal(b, m, deterministic)
3138}
3139func (m *GemPortStatistics) XXX_Merge(src proto.Message) {
3140 xxx_messageInfo_GemPortStatistics.Merge(m, src)
3141}
3142func (m *GemPortStatistics) XXX_Size() int {
3143 return xxx_messageInfo_GemPortStatistics.Size(m)
3144}
3145func (m *GemPortStatistics) XXX_DiscardUnknown() {
3146 xxx_messageInfo_GemPortStatistics.DiscardUnknown(m)
3147}
3148
3149var xxx_messageInfo_GemPortStatistics proto.InternalMessageInfo
3150
3151func (m *GemPortStatistics) GetIntfId() uint32 {
3152 if m != nil {
3153 return m.IntfId
3154 }
3155 return 0
3156}
3157
3158func (m *GemPortStatistics) GetGemportId() uint32 {
3159 if m != nil {
3160 return m.GemportId
3161 }
3162 return 0
3163}
3164
3165func (m *GemPortStatistics) GetRxPackets() uint64 {
3166 if m != nil {
3167 return m.RxPackets
3168 }
3169 return 0
3170}
3171
3172func (m *GemPortStatistics) GetRxBytes() uint64 {
3173 if m != nil {
3174 return m.RxBytes
3175 }
3176 return 0
3177}
3178
3179func (m *GemPortStatistics) GetTxPackets() uint64 {
3180 if m != nil {
3181 return m.TxPackets
3182 }
3183 return 0
3184}
3185
3186func (m *GemPortStatistics) GetTxBytes() uint64 {
3187 if m != nil {
3188 return m.TxBytes
3189 }
3190 return 0
3191}
3192
3193func (m *GemPortStatistics) GetTimestamp() uint32 {
3194 if m != nil {
3195 return m.Timestamp
3196 }
3197 return 0
3198}
3199
Holger Hildebrandtfa074992020-03-27 15:42:06 +00003200type FlowStatistics struct {
3201 FlowId uint32 `protobuf:"fixed32,1,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
3202 RxBytes uint64 `protobuf:"fixed64,2,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
3203 RxPackets uint64 `protobuf:"fixed64,3,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"`
3204 TxBytes uint64 `protobuf:"fixed64,8,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
3205 TxPackets uint64 `protobuf:"fixed64,9,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"`
3206 Timestamp uint32 `protobuf:"fixed32,16,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
3207 XXX_NoUnkeyedLiteral struct{} `json:"-"`
3208 XXX_unrecognized []byte `json:"-"`
3209 XXX_sizecache int32 `json:"-"`
3210}
3211
3212func (m *FlowStatistics) Reset() { *m = FlowStatistics{} }
3213func (m *FlowStatistics) String() string { return proto.CompactTextString(m) }
3214func (*FlowStatistics) ProtoMessage() {}
3215func (*FlowStatistics) Descriptor() ([]byte, []int) {
kesavandfdf77632021-01-26 23:40:33 -05003216 return fileDescriptor_c072e7aa0dfd74d5, []int{25}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00003217}
3218
3219func (m *FlowStatistics) XXX_Unmarshal(b []byte) error {
3220 return xxx_messageInfo_FlowStatistics.Unmarshal(m, b)
3221}
3222func (m *FlowStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
3223 return xxx_messageInfo_FlowStatistics.Marshal(b, m, deterministic)
3224}
3225func (m *FlowStatistics) XXX_Merge(src proto.Message) {
3226 xxx_messageInfo_FlowStatistics.Merge(m, src)
3227}
3228func (m *FlowStatistics) XXX_Size() int {
3229 return xxx_messageInfo_FlowStatistics.Size(m)
3230}
3231func (m *FlowStatistics) XXX_DiscardUnknown() {
3232 xxx_messageInfo_FlowStatistics.DiscardUnknown(m)
3233}
3234
3235var xxx_messageInfo_FlowStatistics proto.InternalMessageInfo
3236
3237func (m *FlowStatistics) GetFlowId() uint32 {
3238 if m != nil {
3239 return m.FlowId
3240 }
3241 return 0
3242}
3243
3244func (m *FlowStatistics) GetRxBytes() uint64 {
3245 if m != nil {
3246 return m.RxBytes
3247 }
3248 return 0
3249}
3250
3251func (m *FlowStatistics) GetRxPackets() uint64 {
3252 if m != nil {
3253 return m.RxPackets
3254 }
3255 return 0
3256}
3257
3258func (m *FlowStatistics) GetTxBytes() uint64 {
3259 if m != nil {
3260 return m.TxBytes
3261 }
3262 return 0
3263}
3264
3265func (m *FlowStatistics) GetTxPackets() uint64 {
3266 if m != nil {
3267 return m.TxPackets
3268 }
3269 return 0
3270}
3271
3272func (m *FlowStatistics) GetTimestamp() uint32 {
3273 if m != nil {
3274 return m.Timestamp
3275 }
3276 return 0
3277}
3278
3279type LosIndication struct {
3280 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
3281 Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
3282 XXX_NoUnkeyedLiteral struct{} `json:"-"`
3283 XXX_unrecognized []byte `json:"-"`
3284 XXX_sizecache int32 `json:"-"`
3285}
3286
3287func (m *LosIndication) Reset() { *m = LosIndication{} }
3288func (m *LosIndication) String() string { return proto.CompactTextString(m) }
3289func (*LosIndication) ProtoMessage() {}
3290func (*LosIndication) Descriptor() ([]byte, []int) {
kesavandfdf77632021-01-26 23:40:33 -05003291 return fileDescriptor_c072e7aa0dfd74d5, []int{26}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00003292}
3293
3294func (m *LosIndication) XXX_Unmarshal(b []byte) error {
3295 return xxx_messageInfo_LosIndication.Unmarshal(m, b)
3296}
3297func (m *LosIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
3298 return xxx_messageInfo_LosIndication.Marshal(b, m, deterministic)
3299}
3300func (m *LosIndication) XXX_Merge(src proto.Message) {
3301 xxx_messageInfo_LosIndication.Merge(m, src)
3302}
3303func (m *LosIndication) XXX_Size() int {
3304 return xxx_messageInfo_LosIndication.Size(m)
3305}
3306func (m *LosIndication) XXX_DiscardUnknown() {
3307 xxx_messageInfo_LosIndication.DiscardUnknown(m)
3308}
3309
3310var xxx_messageInfo_LosIndication proto.InternalMessageInfo
3311
3312func (m *LosIndication) GetIntfId() uint32 {
3313 if m != nil {
3314 return m.IntfId
3315 }
3316 return 0
3317}
3318
3319func (m *LosIndication) GetStatus() string {
3320 if m != nil {
3321 return m.Status
3322 }
3323 return ""
3324}
3325
3326type DyingGaspIndication struct {
3327 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
3328 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
3329 Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
3330 XXX_NoUnkeyedLiteral struct{} `json:"-"`
3331 XXX_unrecognized []byte `json:"-"`
3332 XXX_sizecache int32 `json:"-"`
3333}
3334
3335func (m *DyingGaspIndication) Reset() { *m = DyingGaspIndication{} }
3336func (m *DyingGaspIndication) String() string { return proto.CompactTextString(m) }
3337func (*DyingGaspIndication) ProtoMessage() {}
3338func (*DyingGaspIndication) Descriptor() ([]byte, []int) {
kesavandfdf77632021-01-26 23:40:33 -05003339 return fileDescriptor_c072e7aa0dfd74d5, []int{27}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00003340}
3341
3342func (m *DyingGaspIndication) XXX_Unmarshal(b []byte) error {
3343 return xxx_messageInfo_DyingGaspIndication.Unmarshal(m, b)
3344}
3345func (m *DyingGaspIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
3346 return xxx_messageInfo_DyingGaspIndication.Marshal(b, m, deterministic)
3347}
3348func (m *DyingGaspIndication) XXX_Merge(src proto.Message) {
3349 xxx_messageInfo_DyingGaspIndication.Merge(m, src)
3350}
3351func (m *DyingGaspIndication) XXX_Size() int {
3352 return xxx_messageInfo_DyingGaspIndication.Size(m)
3353}
3354func (m *DyingGaspIndication) XXX_DiscardUnknown() {
3355 xxx_messageInfo_DyingGaspIndication.DiscardUnknown(m)
3356}
3357
3358var xxx_messageInfo_DyingGaspIndication proto.InternalMessageInfo
3359
3360func (m *DyingGaspIndication) GetIntfId() uint32 {
3361 if m != nil {
3362 return m.IntfId
3363 }
3364 return 0
3365}
3366
3367func (m *DyingGaspIndication) GetOnuId() uint32 {
3368 if m != nil {
3369 return m.OnuId
3370 }
3371 return 0
3372}
3373
3374func (m *DyingGaspIndication) GetStatus() string {
3375 if m != nil {
3376 return m.Status
3377 }
3378 return ""
3379}
3380
3381type OnuAlarmIndication struct {
3382 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
3383 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
3384 LosStatus string `protobuf:"bytes,3,opt,name=los_status,json=losStatus,proto3" json:"los_status,omitempty"`
3385 LobStatus string `protobuf:"bytes,4,opt,name=lob_status,json=lobStatus,proto3" json:"lob_status,omitempty"`
3386 LopcMissStatus string `protobuf:"bytes,5,opt,name=lopc_miss_status,json=lopcMissStatus,proto3" json:"lopc_miss_status,omitempty"`
3387 LopcMicErrorStatus string `protobuf:"bytes,6,opt,name=lopc_mic_error_status,json=lopcMicErrorStatus,proto3" json:"lopc_mic_error_status,omitempty"`
3388 LofiStatus string `protobuf:"bytes,7,opt,name=lofi_status,json=lofiStatus,proto3" json:"lofi_status,omitempty"`
3389 LoamiStatus string `protobuf:"bytes,8,opt,name=loami_status,json=loamiStatus,proto3" json:"loami_status,omitempty"`
3390 XXX_NoUnkeyedLiteral struct{} `json:"-"`
3391 XXX_unrecognized []byte `json:"-"`
3392 XXX_sizecache int32 `json:"-"`
3393}
3394
3395func (m *OnuAlarmIndication) Reset() { *m = OnuAlarmIndication{} }
3396func (m *OnuAlarmIndication) String() string { return proto.CompactTextString(m) }
3397func (*OnuAlarmIndication) ProtoMessage() {}
3398func (*OnuAlarmIndication) Descriptor() ([]byte, []int) {
kesavandfdf77632021-01-26 23:40:33 -05003399 return fileDescriptor_c072e7aa0dfd74d5, []int{28}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00003400}
3401
3402func (m *OnuAlarmIndication) XXX_Unmarshal(b []byte) error {
3403 return xxx_messageInfo_OnuAlarmIndication.Unmarshal(m, b)
3404}
3405func (m *OnuAlarmIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
3406 return xxx_messageInfo_OnuAlarmIndication.Marshal(b, m, deterministic)
3407}
3408func (m *OnuAlarmIndication) XXX_Merge(src proto.Message) {
3409 xxx_messageInfo_OnuAlarmIndication.Merge(m, src)
3410}
3411func (m *OnuAlarmIndication) XXX_Size() int {
3412 return xxx_messageInfo_OnuAlarmIndication.Size(m)
3413}
3414func (m *OnuAlarmIndication) XXX_DiscardUnknown() {
3415 xxx_messageInfo_OnuAlarmIndication.DiscardUnknown(m)
3416}
3417
3418var xxx_messageInfo_OnuAlarmIndication proto.InternalMessageInfo
3419
3420func (m *OnuAlarmIndication) GetIntfId() uint32 {
3421 if m != nil {
3422 return m.IntfId
3423 }
3424 return 0
3425}
3426
3427func (m *OnuAlarmIndication) GetOnuId() uint32 {
3428 if m != nil {
3429 return m.OnuId
3430 }
3431 return 0
3432}
3433
3434func (m *OnuAlarmIndication) GetLosStatus() string {
3435 if m != nil {
3436 return m.LosStatus
3437 }
3438 return ""
3439}
3440
3441func (m *OnuAlarmIndication) GetLobStatus() string {
3442 if m != nil {
3443 return m.LobStatus
3444 }
3445 return ""
3446}
3447
3448func (m *OnuAlarmIndication) GetLopcMissStatus() string {
3449 if m != nil {
3450 return m.LopcMissStatus
3451 }
3452 return ""
3453}
3454
3455func (m *OnuAlarmIndication) GetLopcMicErrorStatus() string {
3456 if m != nil {
3457 return m.LopcMicErrorStatus
3458 }
3459 return ""
3460}
3461
3462func (m *OnuAlarmIndication) GetLofiStatus() string {
3463 if m != nil {
3464 return m.LofiStatus
3465 }
3466 return ""
3467}
3468
3469func (m *OnuAlarmIndication) GetLoamiStatus() string {
3470 if m != nil {
3471 return m.LoamiStatus
3472 }
3473 return ""
3474}
3475
3476type OnuStartupFailureIndication struct {
3477 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
3478 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
3479 Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
3480 XXX_NoUnkeyedLiteral struct{} `json:"-"`
3481 XXX_unrecognized []byte `json:"-"`
3482 XXX_sizecache int32 `json:"-"`
3483}
3484
3485func (m *OnuStartupFailureIndication) Reset() { *m = OnuStartupFailureIndication{} }
3486func (m *OnuStartupFailureIndication) String() string { return proto.CompactTextString(m) }
3487func (*OnuStartupFailureIndication) ProtoMessage() {}
3488func (*OnuStartupFailureIndication) Descriptor() ([]byte, []int) {
kesavandfdf77632021-01-26 23:40:33 -05003489 return fileDescriptor_c072e7aa0dfd74d5, []int{29}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00003490}
3491
3492func (m *OnuStartupFailureIndication) XXX_Unmarshal(b []byte) error {
3493 return xxx_messageInfo_OnuStartupFailureIndication.Unmarshal(m, b)
3494}
3495func (m *OnuStartupFailureIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
3496 return xxx_messageInfo_OnuStartupFailureIndication.Marshal(b, m, deterministic)
3497}
3498func (m *OnuStartupFailureIndication) XXX_Merge(src proto.Message) {
3499 xxx_messageInfo_OnuStartupFailureIndication.Merge(m, src)
3500}
3501func (m *OnuStartupFailureIndication) XXX_Size() int {
3502 return xxx_messageInfo_OnuStartupFailureIndication.Size(m)
3503}
3504func (m *OnuStartupFailureIndication) XXX_DiscardUnknown() {
3505 xxx_messageInfo_OnuStartupFailureIndication.DiscardUnknown(m)
3506}
3507
3508var xxx_messageInfo_OnuStartupFailureIndication proto.InternalMessageInfo
3509
3510func (m *OnuStartupFailureIndication) GetIntfId() uint32 {
3511 if m != nil {
3512 return m.IntfId
3513 }
3514 return 0
3515}
3516
3517func (m *OnuStartupFailureIndication) GetOnuId() uint32 {
3518 if m != nil {
3519 return m.OnuId
3520 }
3521 return 0
3522}
3523
3524func (m *OnuStartupFailureIndication) GetStatus() string {
3525 if m != nil {
3526 return m.Status
3527 }
3528 return ""
3529}
3530
3531type OnuSignalDegradeIndication struct {
3532 IntfId uint32 `protobuf:"fixed32,1,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"`
3533 OnuId uint32 `protobuf:"fixed32,2,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"`
3534 Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
3535 InverseBitErrorRate uint32 `protobuf:"fixed32,4,opt,name=inverse_bit_error_rate,json=inverseBitErrorRate,proto3" json:"inverse_bit_error_rate,omitempty"`
3536 XXX_NoUnkeyedLiteral struct{} `json:"-"`
3537 XXX_unrecognized []byte `json:"-"`
3538 XXX_sizecache int32 `json:"-"`
3539}
3540
3541func (m *OnuSignalDegradeIndication) Reset() { *m = OnuSignalDegradeIndication{} }
3542func (m *OnuSignalDegradeIndication) String() string { return proto.CompactTextString(m) }
3543func (*OnuSignalDegradeIndication) ProtoMessage() {}
3544func (*OnuSignalDegradeIndication) Descriptor() ([]byte, []int) {
kesavandfdf77632021-01-26 23:40:33 -05003545 return fileDescriptor_c072e7aa0dfd74d5, []int{30}
Holger Hildebrandtfa074992020-03-27 15:42:06 +00003546}
3547
3548func (m *OnuSignalDegradeIndication) XXX_Unmarshal(b []byte) error {
3549 return xxx_messageInfo_OnuSignalDegradeIndication.Unmarshal(m, b)
3550}
3551func (m *OnuSignalDegradeIndication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
3552 return xxx_messageInfo_OnuSignalDegradeIndication.Marshal(b, m, deterministic)
3553}
3554func (m *OnuSignalDegradeIndication) XXX_Merge(src proto.Message) {
3555 xxx_messageInfo_OnuSignalDegradeIndication.Merge(m, src)
3556}
3557func (m *OnuSignalDegradeIndication) XXX_Size() int {
3558 return xxx_messageInfo_OnuSignalDegradeIndication.Size(m)
3559}
3560func (m *OnuSignalDegradeIndication) XXX_DiscardUnknown() {
3561 xxx_messageInfo_OnuSignalDegradeIndication.DiscardUnknown(m)
3562}
3563
3564var xxx_messageInfo_OnuSignalDegradeIndication proto.InternalMessageInfo
3565
3566func (m *OnuSignalDegradeIndication) GetIntfId() uint32 {
3567 if m != nil {
3568 return m.IntfId
3569 }
3570 return 0
3571}
3572
3573func (m *OnuSignalDegradeIndication) GetOnuId() uint32 {
3574 if m != nil {
3575 return m.OnuId
3576 }