blob: 7f6a9213aa5ca1c6b29f15f028d9c64a3dd8def2 [file] [log] [blame]
William Kurkianea869482019-04-09 15:16:11 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/events.proto
3
4package voltha
5
6import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
Scott Baker589724f2020-02-10 17:56:58 -08009 timestamp "github.com/golang/protobuf/ptypes/timestamp"
Esin Karamanccb714b2019-11-29 15:02:06 +000010 _ "github.com/opencord/voltha-protos/v3/go/common"
William Kurkianea869482019-04-09 15:16:11 -040011 _ "google.golang.org/genproto/googleapis/api/annotations"
12 math "math"
13)
14
15// Reference imports to suppress errors if they are not otherwise used.
16var _ = proto.Marshal
17var _ = fmt.Errorf
18var _ = math.Inf
19
20// This is a compile-time assertion to ensure that this generated file
21// is compatible with the proto package it is being compiled against.
22// A compilation error at this line likely means your copy of the
23// proto package needs to be updated.
24const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
25
Esin Karamanccb714b2019-11-29 15:02:06 +000026type ConfigEventType_Types int32
William Kurkianea869482019-04-09 15:16:11 -040027
28const (
Esin Karamanccb714b2019-11-29 15:02:06 +000029 ConfigEventType_add ConfigEventType_Types = 0
30 ConfigEventType_remove ConfigEventType_Types = 1
31 ConfigEventType_update ConfigEventType_Types = 2
William Kurkianea869482019-04-09 15:16:11 -040032)
33
Esin Karamanccb714b2019-11-29 15:02:06 +000034var ConfigEventType_Types_name = map[int32]string{
William Kurkianea869482019-04-09 15:16:11 -040035 0: "add",
36 1: "remove",
37 2: "update",
38}
39
Esin Karamanccb714b2019-11-29 15:02:06 +000040var ConfigEventType_Types_value = map[string]int32{
William Kurkianea869482019-04-09 15:16:11 -040041 "add": 0,
42 "remove": 1,
43 "update": 2,
44}
45
Esin Karamanccb714b2019-11-29 15:02:06 +000046func (x ConfigEventType_Types) String() string {
47 return proto.EnumName(ConfigEventType_Types_name, int32(x))
William Kurkianea869482019-04-09 15:16:11 -040048}
49
Esin Karamanccb714b2019-11-29 15:02:06 +000050func (ConfigEventType_Types) EnumDescriptor() ([]byte, []int) {
William Kurkianea869482019-04-09 15:16:11 -040051 return fileDescriptor_e63e6c07044fd2c4, []int{0, 0}
52}
53
Esin Karamanccb714b2019-11-29 15:02:06 +000054type KpiEventType_Types int32
William Kurkianea869482019-04-09 15:16:11 -040055
56const (
Esin Karamanccb714b2019-11-29 15:02:06 +000057 KpiEventType_slice KpiEventType_Types = 0
58 KpiEventType_ts KpiEventType_Types = 1
William Kurkianea869482019-04-09 15:16:11 -040059)
60
Esin Karamanccb714b2019-11-29 15:02:06 +000061var KpiEventType_Types_name = map[int32]string{
William Kurkianea869482019-04-09 15:16:11 -040062 0: "slice",
63 1: "ts",
64}
65
Esin Karamanccb714b2019-11-29 15:02:06 +000066var KpiEventType_Types_value = map[string]int32{
William Kurkianea869482019-04-09 15:16:11 -040067 "slice": 0,
68 "ts": 1,
69}
70
Esin Karamanccb714b2019-11-29 15:02:06 +000071func (x KpiEventType_Types) String() string {
72 return proto.EnumName(KpiEventType_Types_name, int32(x))
William Kurkianea869482019-04-09 15:16:11 -040073}
74
Esin Karamanccb714b2019-11-29 15:02:06 +000075func (KpiEventType_Types) EnumDescriptor() ([]byte, []int) {
William Kurkianea869482019-04-09 15:16:11 -040076 return fileDescriptor_e63e6c07044fd2c4, []int{2, 0}
77}
78
Esin Karamanccb714b2019-11-29 15:02:06 +000079type AlarmEventType_Types int32
William Kurkianea869482019-04-09 15:16:11 -040080
81const (
Esin Karamanccb714b2019-11-29 15:02:06 +000082 AlarmEventType_COMMUNICATION AlarmEventType_Types = 0
83 AlarmEventType_ENVIRONMENT AlarmEventType_Types = 1
84 AlarmEventType_EQUIPMENT AlarmEventType_Types = 2
85 AlarmEventType_SERVICE AlarmEventType_Types = 3
86 AlarmEventType_PROCESSING AlarmEventType_Types = 4
87 AlarmEventType_SECURITY AlarmEventType_Types = 5
William Kurkianea869482019-04-09 15:16:11 -040088)
89
Esin Karamanccb714b2019-11-29 15:02:06 +000090var AlarmEventType_Types_name = map[int32]string{
William Kurkianea869482019-04-09 15:16:11 -040091 0: "COMMUNICATION",
92 1: "ENVIRONMENT",
93 2: "EQUIPMENT",
94 3: "SERVICE",
95 4: "PROCESSING",
96 5: "SECURITY",
97}
98
Esin Karamanccb714b2019-11-29 15:02:06 +000099var AlarmEventType_Types_value = map[string]int32{
William Kurkianea869482019-04-09 15:16:11 -0400100 "COMMUNICATION": 0,
101 "ENVIRONMENT": 1,
102 "EQUIPMENT": 2,
103 "SERVICE": 3,
104 "PROCESSING": 4,
105 "SECURITY": 5,
106}
107
Esin Karamanccb714b2019-11-29 15:02:06 +0000108func (x AlarmEventType_Types) String() string {
109 return proto.EnumName(AlarmEventType_Types_name, int32(x))
William Kurkianea869482019-04-09 15:16:11 -0400110}
111
Esin Karamanccb714b2019-11-29 15:02:06 +0000112func (AlarmEventType_Types) EnumDescriptor() ([]byte, []int) {
William Kurkianea869482019-04-09 15:16:11 -0400113 return fileDescriptor_e63e6c07044fd2c4, []int{8, 0}
114}
115
Esin Karamanccb714b2019-11-29 15:02:06 +0000116type AlarmEventCategory_Types int32
William Kurkianea869482019-04-09 15:16:11 -0400117
118const (
Esin Karamanccb714b2019-11-29 15:02:06 +0000119 AlarmEventCategory_PON AlarmEventCategory_Types = 0
120 AlarmEventCategory_OLT AlarmEventCategory_Types = 1
121 AlarmEventCategory_ONT AlarmEventCategory_Types = 2
122 AlarmEventCategory_ONU AlarmEventCategory_Types = 3
123 AlarmEventCategory_NNI AlarmEventCategory_Types = 4
William Kurkianea869482019-04-09 15:16:11 -0400124)
125
Esin Karamanccb714b2019-11-29 15:02:06 +0000126var AlarmEventCategory_Types_name = map[int32]string{
William Kurkianea869482019-04-09 15:16:11 -0400127 0: "PON",
128 1: "OLT",
129 2: "ONT",
130 3: "ONU",
131 4: "NNI",
132}
133
Esin Karamanccb714b2019-11-29 15:02:06 +0000134var AlarmEventCategory_Types_value = map[string]int32{
William Kurkianea869482019-04-09 15:16:11 -0400135 "PON": 0,
136 "OLT": 1,
137 "ONT": 2,
138 "ONU": 3,
139 "NNI": 4,
140}
141
Esin Karamanccb714b2019-11-29 15:02:06 +0000142func (x AlarmEventCategory_Types) String() string {
143 return proto.EnumName(AlarmEventCategory_Types_name, int32(x))
William Kurkianea869482019-04-09 15:16:11 -0400144}
145
Esin Karamanccb714b2019-11-29 15:02:06 +0000146func (AlarmEventCategory_Types) EnumDescriptor() ([]byte, []int) {
William Kurkianea869482019-04-09 15:16:11 -0400147 return fileDescriptor_e63e6c07044fd2c4, []int{9, 0}
148}
149
Esin Karamanccb714b2019-11-29 15:02:06 +0000150type AlarmEventState_Types int32
William Kurkianea869482019-04-09 15:16:11 -0400151
152const (
Esin Karamanccb714b2019-11-29 15:02:06 +0000153 AlarmEventState_RAISED AlarmEventState_Types = 0
154 AlarmEventState_CLEARED AlarmEventState_Types = 1
William Kurkianea869482019-04-09 15:16:11 -0400155)
156
Esin Karamanccb714b2019-11-29 15:02:06 +0000157var AlarmEventState_Types_name = map[int32]string{
William Kurkianea869482019-04-09 15:16:11 -0400158 0: "RAISED",
159 1: "CLEARED",
160}
161
Esin Karamanccb714b2019-11-29 15:02:06 +0000162var AlarmEventState_Types_value = map[string]int32{
William Kurkianea869482019-04-09 15:16:11 -0400163 "RAISED": 0,
164 "CLEARED": 1,
165}
166
Esin Karamanccb714b2019-11-29 15:02:06 +0000167func (x AlarmEventState_Types) String() string {
168 return proto.EnumName(AlarmEventState_Types_name, int32(x))
William Kurkianea869482019-04-09 15:16:11 -0400169}
170
Esin Karamanccb714b2019-11-29 15:02:06 +0000171func (AlarmEventState_Types) EnumDescriptor() ([]byte, []int) {
William Kurkianea869482019-04-09 15:16:11 -0400172 return fileDescriptor_e63e6c07044fd2c4, []int{10, 0}
173}
174
Esin Karamanccb714b2019-11-29 15:02:06 +0000175type AlarmEventSeverity_Types int32
William Kurkianea869482019-04-09 15:16:11 -0400176
177const (
Esin Karamanccb714b2019-11-29 15:02:06 +0000178 AlarmEventSeverity_INDETERMINATE AlarmEventSeverity_Types = 0
179 AlarmEventSeverity_WARNING AlarmEventSeverity_Types = 1
180 AlarmEventSeverity_MINOR AlarmEventSeverity_Types = 2
181 AlarmEventSeverity_MAJOR AlarmEventSeverity_Types = 3
182 AlarmEventSeverity_CRITICAL AlarmEventSeverity_Types = 4
William Kurkianea869482019-04-09 15:16:11 -0400183)
184
Esin Karamanccb714b2019-11-29 15:02:06 +0000185var AlarmEventSeverity_Types_name = map[int32]string{
William Kurkianea869482019-04-09 15:16:11 -0400186 0: "INDETERMINATE",
187 1: "WARNING",
188 2: "MINOR",
189 3: "MAJOR",
190 4: "CRITICAL",
191}
192
Esin Karamanccb714b2019-11-29 15:02:06 +0000193var AlarmEventSeverity_Types_value = map[string]int32{
William Kurkianea869482019-04-09 15:16:11 -0400194 "INDETERMINATE": 0,
195 "WARNING": 1,
196 "MINOR": 2,
197 "MAJOR": 3,
198 "CRITICAL": 4,
199}
200
Esin Karamanccb714b2019-11-29 15:02:06 +0000201func (x AlarmEventSeverity_Types) String() string {
202 return proto.EnumName(AlarmEventSeverity_Types_name, int32(x))
William Kurkianea869482019-04-09 15:16:11 -0400203}
204
Esin Karamanccb714b2019-11-29 15:02:06 +0000205func (AlarmEventSeverity_Types) EnumDescriptor() ([]byte, []int) {
William Kurkianea869482019-04-09 15:16:11 -0400206 return fileDescriptor_e63e6c07044fd2c4, []int{11, 0}
207}
208
Esin Karamanccb714b2019-11-29 15:02:06 +0000209type EventCategory_Types int32
Mahir Gunyele77977b2019-06-27 05:36:22 -0700210
211const (
Esin Karamanccb714b2019-11-29 15:02:06 +0000212 EventCategory_COMMUNICATION EventCategory_Types = 0
213 EventCategory_ENVIRONMENT EventCategory_Types = 1
214 EventCategory_EQUIPMENT EventCategory_Types = 2
215 EventCategory_SERVICE EventCategory_Types = 3
216 EventCategory_PROCESSING EventCategory_Types = 4
217 EventCategory_SECURITY EventCategory_Types = 5
Mahir Gunyele77977b2019-06-27 05:36:22 -0700218)
219
Esin Karamanccb714b2019-11-29 15:02:06 +0000220var EventCategory_Types_name = map[int32]string{
Mahir Gunyele77977b2019-06-27 05:36:22 -0700221 0: "COMMUNICATION",
222 1: "ENVIRONMENT",
223 2: "EQUIPMENT",
224 3: "SERVICE",
225 4: "PROCESSING",
226 5: "SECURITY",
227}
228
Esin Karamanccb714b2019-11-29 15:02:06 +0000229var EventCategory_Types_value = map[string]int32{
Mahir Gunyele77977b2019-06-27 05:36:22 -0700230 "COMMUNICATION": 0,
231 "ENVIRONMENT": 1,
232 "EQUIPMENT": 2,
233 "SERVICE": 3,
234 "PROCESSING": 4,
235 "SECURITY": 5,
236}
237
Esin Karamanccb714b2019-11-29 15:02:06 +0000238func (x EventCategory_Types) String() string {
239 return proto.EnumName(EventCategory_Types_name, int32(x))
Mahir Gunyele77977b2019-06-27 05:36:22 -0700240}
241
Esin Karamanccb714b2019-11-29 15:02:06 +0000242func (EventCategory_Types) EnumDescriptor() ([]byte, []int) {
Mahir Gunyele77977b2019-06-27 05:36:22 -0700243 return fileDescriptor_e63e6c07044fd2c4, []int{14, 0}
244}
245
Esin Karamanccb714b2019-11-29 15:02:06 +0000246type EventSubCategory_Types int32
Mahir Gunyele77977b2019-06-27 05:36:22 -0700247
248const (
Esin Karamanccb714b2019-11-29 15:02:06 +0000249 EventSubCategory_PON EventSubCategory_Types = 0
250 EventSubCategory_OLT EventSubCategory_Types = 1
251 EventSubCategory_ONT EventSubCategory_Types = 2
252 EventSubCategory_ONU EventSubCategory_Types = 3
253 EventSubCategory_NNI EventSubCategory_Types = 4
Mahir Gunyele77977b2019-06-27 05:36:22 -0700254)
255
Esin Karamanccb714b2019-11-29 15:02:06 +0000256var EventSubCategory_Types_name = map[int32]string{
Mahir Gunyele77977b2019-06-27 05:36:22 -0700257 0: "PON",
258 1: "OLT",
259 2: "ONT",
260 3: "ONU",
261 4: "NNI",
262}
263
Esin Karamanccb714b2019-11-29 15:02:06 +0000264var EventSubCategory_Types_value = map[string]int32{
Mahir Gunyele77977b2019-06-27 05:36:22 -0700265 "PON": 0,
266 "OLT": 1,
267 "ONT": 2,
268 "ONU": 3,
269 "NNI": 4,
270}
271
Esin Karamanccb714b2019-11-29 15:02:06 +0000272func (x EventSubCategory_Types) String() string {
273 return proto.EnumName(EventSubCategory_Types_name, int32(x))
Mahir Gunyele77977b2019-06-27 05:36:22 -0700274}
275
Esin Karamanccb714b2019-11-29 15:02:06 +0000276func (EventSubCategory_Types) EnumDescriptor() ([]byte, []int) {
Mahir Gunyele77977b2019-06-27 05:36:22 -0700277 return fileDescriptor_e63e6c07044fd2c4, []int{15, 0}
278}
279
Esin Karamanccb714b2019-11-29 15:02:06 +0000280type EventType_Types int32
Mahir Gunyele77977b2019-06-27 05:36:22 -0700281
282const (
Esin Karamanccb714b2019-11-29 15:02:06 +0000283 EventType_CONFIG_EVENT EventType_Types = 0
284 EventType_KPI_EVENT EventType_Types = 1
285 EventType_KPI_EVENT2 EventType_Types = 2
286 EventType_DEVICE_EVENT EventType_Types = 3
Mahir Gunyele77977b2019-06-27 05:36:22 -0700287)
288
Esin Karamanccb714b2019-11-29 15:02:06 +0000289var EventType_Types_name = map[int32]string{
Mahir Gunyele77977b2019-06-27 05:36:22 -0700290 0: "CONFIG_EVENT",
291 1: "KPI_EVENT",
292 2: "KPI_EVENT2",
293 3: "DEVICE_EVENT",
294}
295
Esin Karamanccb714b2019-11-29 15:02:06 +0000296var EventType_Types_value = map[string]int32{
Mahir Gunyele77977b2019-06-27 05:36:22 -0700297 "CONFIG_EVENT": 0,
298 "KPI_EVENT": 1,
299 "KPI_EVENT2": 2,
300 "DEVICE_EVENT": 3,
301}
302
Esin Karamanccb714b2019-11-29 15:02:06 +0000303func (x EventType_Types) String() string {
304 return proto.EnumName(EventType_Types_name, int32(x))
Mahir Gunyele77977b2019-06-27 05:36:22 -0700305}
306
Esin Karamanccb714b2019-11-29 15:02:06 +0000307func (EventType_Types) EnumDescriptor() ([]byte, []int) {
Mahir Gunyele77977b2019-06-27 05:36:22 -0700308 return fileDescriptor_e63e6c07044fd2c4, []int{16, 0}
309}
310
William Kurkianea869482019-04-09 15:16:11 -0400311type ConfigEventType struct {
312 XXX_NoUnkeyedLiteral struct{} `json:"-"`
313 XXX_unrecognized []byte `json:"-"`
314 XXX_sizecache int32 `json:"-"`
315}
316
317func (m *ConfigEventType) Reset() { *m = ConfigEventType{} }
318func (m *ConfigEventType) String() string { return proto.CompactTextString(m) }
319func (*ConfigEventType) ProtoMessage() {}
320func (*ConfigEventType) Descriptor() ([]byte, []int) {
321 return fileDescriptor_e63e6c07044fd2c4, []int{0}
322}
323
324func (m *ConfigEventType) XXX_Unmarshal(b []byte) error {
325 return xxx_messageInfo_ConfigEventType.Unmarshal(m, b)
326}
327func (m *ConfigEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
328 return xxx_messageInfo_ConfigEventType.Marshal(b, m, deterministic)
329}
330func (m *ConfigEventType) XXX_Merge(src proto.Message) {
331 xxx_messageInfo_ConfigEventType.Merge(m, src)
332}
333func (m *ConfigEventType) XXX_Size() int {
334 return xxx_messageInfo_ConfigEventType.Size(m)
335}
336func (m *ConfigEventType) XXX_DiscardUnknown() {
337 xxx_messageInfo_ConfigEventType.DiscardUnknown(m)
338}
339
340var xxx_messageInfo_ConfigEventType proto.InternalMessageInfo
341
342type ConfigEvent struct {
Esin Karamanccb714b2019-11-29 15:02:06 +0000343 Type ConfigEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.ConfigEventType_Types" json:"type,omitempty"`
344 Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
345 Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
346 XXX_NoUnkeyedLiteral struct{} `json:"-"`
347 XXX_unrecognized []byte `json:"-"`
348 XXX_sizecache int32 `json:"-"`
William Kurkianea869482019-04-09 15:16:11 -0400349}
350
351func (m *ConfigEvent) Reset() { *m = ConfigEvent{} }
352func (m *ConfigEvent) String() string { return proto.CompactTextString(m) }
353func (*ConfigEvent) ProtoMessage() {}
354func (*ConfigEvent) Descriptor() ([]byte, []int) {
355 return fileDescriptor_e63e6c07044fd2c4, []int{1}
356}
357
358func (m *ConfigEvent) XXX_Unmarshal(b []byte) error {
359 return xxx_messageInfo_ConfigEvent.Unmarshal(m, b)
360}
361func (m *ConfigEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
362 return xxx_messageInfo_ConfigEvent.Marshal(b, m, deterministic)
363}
364func (m *ConfigEvent) XXX_Merge(src proto.Message) {
365 xxx_messageInfo_ConfigEvent.Merge(m, src)
366}
367func (m *ConfigEvent) XXX_Size() int {
368 return xxx_messageInfo_ConfigEvent.Size(m)
369}
370func (m *ConfigEvent) XXX_DiscardUnknown() {
371 xxx_messageInfo_ConfigEvent.DiscardUnknown(m)
372}
373
374var xxx_messageInfo_ConfigEvent proto.InternalMessageInfo
375
Esin Karamanccb714b2019-11-29 15:02:06 +0000376func (m *ConfigEvent) GetType() ConfigEventType_Types {
William Kurkianea869482019-04-09 15:16:11 -0400377 if m != nil {
378 return m.Type
379 }
380 return ConfigEventType_add
381}
382
383func (m *ConfigEvent) GetHash() string {
384 if m != nil {
385 return m.Hash
386 }
387 return ""
388}
389
390func (m *ConfigEvent) GetData() string {
391 if m != nil {
392 return m.Data
393 }
394 return ""
395}
396
397type KpiEventType struct {
398 XXX_NoUnkeyedLiteral struct{} `json:"-"`
399 XXX_unrecognized []byte `json:"-"`
400 XXX_sizecache int32 `json:"-"`
401}
402
403func (m *KpiEventType) Reset() { *m = KpiEventType{} }
404func (m *KpiEventType) String() string { return proto.CompactTextString(m) }
405func (*KpiEventType) ProtoMessage() {}
406func (*KpiEventType) Descriptor() ([]byte, []int) {
407 return fileDescriptor_e63e6c07044fd2c4, []int{2}
408}
409
410func (m *KpiEventType) XXX_Unmarshal(b []byte) error {
411 return xxx_messageInfo_KpiEventType.Unmarshal(m, b)
412}
413func (m *KpiEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
414 return xxx_messageInfo_KpiEventType.Marshal(b, m, deterministic)
415}
416func (m *KpiEventType) XXX_Merge(src proto.Message) {
417 xxx_messageInfo_KpiEventType.Merge(m, src)
418}
419func (m *KpiEventType) XXX_Size() int {
420 return xxx_messageInfo_KpiEventType.Size(m)
421}
422func (m *KpiEventType) XXX_DiscardUnknown() {
423 xxx_messageInfo_KpiEventType.DiscardUnknown(m)
424}
425
426var xxx_messageInfo_KpiEventType proto.InternalMessageInfo
427
428//
429// Struct to convey a dictionary of metric metadata.
430type MetricMetaData struct {
431 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
432 Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"`
433 LogicalDeviceId string `protobuf:"bytes,3,opt,name=logical_device_id,json=logicalDeviceId,proto3" json:"logical_device_id,omitempty"`
434 // (equivalent to the DPID that ONOS has
435 // for the VOLTHA device without the
436 // 'of:' prefix
437 SerialNo string `protobuf:"bytes,4,opt,name=serial_no,json=serialNo,proto3" json:"serial_no,omitempty"`
438 DeviceId string `protobuf:"bytes,5,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
439 Context map[string]string `protobuf:"bytes,6,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
440 XXX_NoUnkeyedLiteral struct{} `json:"-"`
441 XXX_unrecognized []byte `json:"-"`
442 XXX_sizecache int32 `json:"-"`
443}
444
445func (m *MetricMetaData) Reset() { *m = MetricMetaData{} }
446func (m *MetricMetaData) String() string { return proto.CompactTextString(m) }
447func (*MetricMetaData) ProtoMessage() {}
448func (*MetricMetaData) Descriptor() ([]byte, []int) {
449 return fileDescriptor_e63e6c07044fd2c4, []int{3}
450}
451
452func (m *MetricMetaData) XXX_Unmarshal(b []byte) error {
453 return xxx_messageInfo_MetricMetaData.Unmarshal(m, b)
454}
455func (m *MetricMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
456 return xxx_messageInfo_MetricMetaData.Marshal(b, m, deterministic)
457}
458func (m *MetricMetaData) XXX_Merge(src proto.Message) {
459 xxx_messageInfo_MetricMetaData.Merge(m, src)
460}
461func (m *MetricMetaData) XXX_Size() int {
462 return xxx_messageInfo_MetricMetaData.Size(m)
463}
464func (m *MetricMetaData) XXX_DiscardUnknown() {
465 xxx_messageInfo_MetricMetaData.DiscardUnknown(m)
466}
467
468var xxx_messageInfo_MetricMetaData proto.InternalMessageInfo
469
470func (m *MetricMetaData) GetTitle() string {
471 if m != nil {
472 return m.Title
473 }
474 return ""
475}
476
477func (m *MetricMetaData) GetTs() float64 {
478 if m != nil {
479 return m.Ts
480 }
481 return 0
482}
483
484func (m *MetricMetaData) GetLogicalDeviceId() string {
485 if m != nil {
486 return m.LogicalDeviceId
487 }
488 return ""
489}
490
491func (m *MetricMetaData) GetSerialNo() string {
492 if m != nil {
493 return m.SerialNo
494 }
495 return ""
496}
497
498func (m *MetricMetaData) GetDeviceId() string {
499 if m != nil {
500 return m.DeviceId
501 }
502 return ""
503}
504
505func (m *MetricMetaData) GetContext() map[string]string {
506 if m != nil {
507 return m.Context
508 }
509 return nil
510}
511
512//
513// Struct to convey a dictionary of metric->value pairs. Typically used in
514// pure shared-timestamp or shared-timestamp + shared object prefix situations.
515type MetricValuePairs struct {
516 // Metric / value pairs.
517 Metrics map[string]float32 `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
518 XXX_NoUnkeyedLiteral struct{} `json:"-"`
519 XXX_unrecognized []byte `json:"-"`
520 XXX_sizecache int32 `json:"-"`
521}
522
523func (m *MetricValuePairs) Reset() { *m = MetricValuePairs{} }
524func (m *MetricValuePairs) String() string { return proto.CompactTextString(m) }
525func (*MetricValuePairs) ProtoMessage() {}
526func (*MetricValuePairs) Descriptor() ([]byte, []int) {
527 return fileDescriptor_e63e6c07044fd2c4, []int{4}
528}
529
530func (m *MetricValuePairs) XXX_Unmarshal(b []byte) error {
531 return xxx_messageInfo_MetricValuePairs.Unmarshal(m, b)
532}
533func (m *MetricValuePairs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
534 return xxx_messageInfo_MetricValuePairs.Marshal(b, m, deterministic)
535}
536func (m *MetricValuePairs) XXX_Merge(src proto.Message) {
537 xxx_messageInfo_MetricValuePairs.Merge(m, src)
538}
539func (m *MetricValuePairs) XXX_Size() int {
540 return xxx_messageInfo_MetricValuePairs.Size(m)
541}
542func (m *MetricValuePairs) XXX_DiscardUnknown() {
543 xxx_messageInfo_MetricValuePairs.DiscardUnknown(m)
544}
545
546var xxx_messageInfo_MetricValuePairs proto.InternalMessageInfo
547
548func (m *MetricValuePairs) GetMetrics() map[string]float32 {
549 if m != nil {
550 return m.Metrics
551 }
552 return nil
553}
554
555//
556// Struct to group metadata for a metric (or group of metrics) with the key-value
557// pairs of collected metrics
558type MetricInformation struct {
559 Metadata *MetricMetaData `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
560 Metrics map[string]float32 `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"`
561 XXX_NoUnkeyedLiteral struct{} `json:"-"`
562 XXX_unrecognized []byte `json:"-"`
563 XXX_sizecache int32 `json:"-"`
564}
565
566func (m *MetricInformation) Reset() { *m = MetricInformation{} }
567func (m *MetricInformation) String() string { return proto.CompactTextString(m) }
568func (*MetricInformation) ProtoMessage() {}
569func (*MetricInformation) Descriptor() ([]byte, []int) {
570 return fileDescriptor_e63e6c07044fd2c4, []int{5}
571}
572
573func (m *MetricInformation) XXX_Unmarshal(b []byte) error {
574 return xxx_messageInfo_MetricInformation.Unmarshal(m, b)
575}
576func (m *MetricInformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
577 return xxx_messageInfo_MetricInformation.Marshal(b, m, deterministic)
578}
579func (m *MetricInformation) XXX_Merge(src proto.Message) {
580 xxx_messageInfo_MetricInformation.Merge(m, src)
581}
582func (m *MetricInformation) XXX_Size() int {
583 return xxx_messageInfo_MetricInformation.Size(m)
584}
585func (m *MetricInformation) XXX_DiscardUnknown() {
586 xxx_messageInfo_MetricInformation.DiscardUnknown(m)
587}
588
589var xxx_messageInfo_MetricInformation proto.InternalMessageInfo
590
591func (m *MetricInformation) GetMetadata() *MetricMetaData {
592 if m != nil {
593 return m.Metadata
594 }
595 return nil
596}
597
598func (m *MetricInformation) GetMetrics() map[string]float32 {
599 if m != nil {
600 return m.Metrics
601 }
602 return nil
603}
604
605//
606// Legacy KPI Event structured. In mid-August, the KPI event format was updated
607// to a more easily parsable format. See VOL-1140
608// for more information.
609type KpiEvent struct {
Esin Karamanccb714b2019-11-29 15:02:06 +0000610 Type KpiEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.KpiEventType_Types" json:"type,omitempty"`
William Kurkianea869482019-04-09 15:16:11 -0400611 Ts float32 `protobuf:"fixed32,2,opt,name=ts,proto3" json:"ts,omitempty"`
612 Prefixes map[string]*MetricValuePairs `protobuf:"bytes,3,rep,name=prefixes,proto3" json:"prefixes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
613 XXX_NoUnkeyedLiteral struct{} `json:"-"`
614 XXX_unrecognized []byte `json:"-"`
615 XXX_sizecache int32 `json:"-"`
616}
617
618func (m *KpiEvent) Reset() { *m = KpiEvent{} }
619func (m *KpiEvent) String() string { return proto.CompactTextString(m) }
620func (*KpiEvent) ProtoMessage() {}
621func (*KpiEvent) Descriptor() ([]byte, []int) {
622 return fileDescriptor_e63e6c07044fd2c4, []int{6}
623}
624
625func (m *KpiEvent) XXX_Unmarshal(b []byte) error {
626 return xxx_messageInfo_KpiEvent.Unmarshal(m, b)
627}
628func (m *KpiEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
629 return xxx_messageInfo_KpiEvent.Marshal(b, m, deterministic)
630}
631func (m *KpiEvent) XXX_Merge(src proto.Message) {
632 xxx_messageInfo_KpiEvent.Merge(m, src)
633}
634func (m *KpiEvent) XXX_Size() int {
635 return xxx_messageInfo_KpiEvent.Size(m)
636}
637func (m *KpiEvent) XXX_DiscardUnknown() {
638 xxx_messageInfo_KpiEvent.DiscardUnknown(m)
639}
640
641var xxx_messageInfo_KpiEvent proto.InternalMessageInfo
642
Esin Karamanccb714b2019-11-29 15:02:06 +0000643func (m *KpiEvent) GetType() KpiEventType_Types {
William Kurkianea869482019-04-09 15:16:11 -0400644 if m != nil {
645 return m.Type
646 }
647 return KpiEventType_slice
648}
649
650func (m *KpiEvent) GetTs() float32 {
651 if m != nil {
652 return m.Ts
653 }
654 return 0
655}
656
657func (m *KpiEvent) GetPrefixes() map[string]*MetricValuePairs {
658 if m != nil {
659 return m.Prefixes
660 }
661 return nil
662}
663
664type KpiEvent2 struct {
665 // Type of KPI Event
Esin Karamanccb714b2019-11-29 15:02:06 +0000666 Type KpiEventType_Types `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.KpiEventType_Types" json:"type,omitempty"`
William Kurkianea869482019-04-09 15:16:11 -0400667 // Fields used when for slice:
668 Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"`
669 SliceData []*MetricInformation `protobuf:"bytes,3,rep,name=slice_data,json=sliceData,proto3" json:"slice_data,omitempty"`
670 XXX_NoUnkeyedLiteral struct{} `json:"-"`
671 XXX_unrecognized []byte `json:"-"`
672 XXX_sizecache int32 `json:"-"`
673}
674
675func (m *KpiEvent2) Reset() { *m = KpiEvent2{} }
676func (m *KpiEvent2) String() string { return proto.CompactTextString(m) }
677func (*KpiEvent2) ProtoMessage() {}
678func (*KpiEvent2) Descriptor() ([]byte, []int) {
679 return fileDescriptor_e63e6c07044fd2c4, []int{7}
680}
681
682func (m *KpiEvent2) XXX_Unmarshal(b []byte) error {
683 return xxx_messageInfo_KpiEvent2.Unmarshal(m, b)
684}
685func (m *KpiEvent2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
686 return xxx_messageInfo_KpiEvent2.Marshal(b, m, deterministic)
687}
688func (m *KpiEvent2) XXX_Merge(src proto.Message) {
689 xxx_messageInfo_KpiEvent2.Merge(m, src)
690}
691func (m *KpiEvent2) XXX_Size() int {
692 return xxx_messageInfo_KpiEvent2.Size(m)
693}
694func (m *KpiEvent2) XXX_DiscardUnknown() {
695 xxx_messageInfo_KpiEvent2.DiscardUnknown(m)
696}
697
698var xxx_messageInfo_KpiEvent2 proto.InternalMessageInfo
699
Esin Karamanccb714b2019-11-29 15:02:06 +0000700func (m *KpiEvent2) GetType() KpiEventType_Types {
William Kurkianea869482019-04-09 15:16:11 -0400701 if m != nil {
702 return m.Type
703 }
704 return KpiEventType_slice
705}
706
707func (m *KpiEvent2) GetTs() float64 {
708 if m != nil {
709 return m.Ts
710 }
711 return 0
712}
713
714func (m *KpiEvent2) GetSliceData() []*MetricInformation {
715 if m != nil {
716 return m.SliceData
717 }
718 return nil
719}
720
721//
722// Identify to the area of the system impacted by the alarm
Mahir Gunyele77977b2019-06-27 05:36:22 -0700723// To be deprecated once python version of OpenOLT adapter
724// moves to the new event defination for device alarms
William Kurkianea869482019-04-09 15:16:11 -0400725type AlarmEventType struct {
726 XXX_NoUnkeyedLiteral struct{} `json:"-"`
727 XXX_unrecognized []byte `json:"-"`
728 XXX_sizecache int32 `json:"-"`
729}
730
731func (m *AlarmEventType) Reset() { *m = AlarmEventType{} }
732func (m *AlarmEventType) String() string { return proto.CompactTextString(m) }
733func (*AlarmEventType) ProtoMessage() {}
734func (*AlarmEventType) Descriptor() ([]byte, []int) {
735 return fileDescriptor_e63e6c07044fd2c4, []int{8}
736}
737
738func (m *AlarmEventType) XXX_Unmarshal(b []byte) error {
739 return xxx_messageInfo_AlarmEventType.Unmarshal(m, b)
740}
741func (m *AlarmEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
742 return xxx_messageInfo_AlarmEventType.Marshal(b, m, deterministic)
743}
744func (m *AlarmEventType) XXX_Merge(src proto.Message) {
745 xxx_messageInfo_AlarmEventType.Merge(m, src)
746}
747func (m *AlarmEventType) XXX_Size() int {
748 return xxx_messageInfo_AlarmEventType.Size(m)
749}
750func (m *AlarmEventType) XXX_DiscardUnknown() {
751 xxx_messageInfo_AlarmEventType.DiscardUnknown(m)
752}
753
754var xxx_messageInfo_AlarmEventType proto.InternalMessageInfo
755
756//
757// Identify to the functional category originating the alarm
Mahir Gunyele77977b2019-06-27 05:36:22 -0700758// To be deprecated once python version of OpenOLT adapter
759// as well as OpenONU adapter moves to the new event
760// defination for device alarms
William Kurkianea869482019-04-09 15:16:11 -0400761type AlarmEventCategory struct {
762 XXX_NoUnkeyedLiteral struct{} `json:"-"`
763 XXX_unrecognized []byte `json:"-"`
764 XXX_sizecache int32 `json:"-"`
765}
766
767func (m *AlarmEventCategory) Reset() { *m = AlarmEventCategory{} }
768func (m *AlarmEventCategory) String() string { return proto.CompactTextString(m) }
769func (*AlarmEventCategory) ProtoMessage() {}
770func (*AlarmEventCategory) Descriptor() ([]byte, []int) {
771 return fileDescriptor_e63e6c07044fd2c4, []int{9}
772}
773
774func (m *AlarmEventCategory) XXX_Unmarshal(b []byte) error {
775 return xxx_messageInfo_AlarmEventCategory.Unmarshal(m, b)
776}
777func (m *AlarmEventCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
778 return xxx_messageInfo_AlarmEventCategory.Marshal(b, m, deterministic)
779}
780func (m *AlarmEventCategory) XXX_Merge(src proto.Message) {
781 xxx_messageInfo_AlarmEventCategory.Merge(m, src)
782}
783func (m *AlarmEventCategory) XXX_Size() int {
784 return xxx_messageInfo_AlarmEventCategory.Size(m)
785}
786func (m *AlarmEventCategory) XXX_DiscardUnknown() {
787 xxx_messageInfo_AlarmEventCategory.DiscardUnknown(m)
788}
789
790var xxx_messageInfo_AlarmEventCategory proto.InternalMessageInfo
791
792//
793// Active state of the alarm
Mahir Gunyele77977b2019-06-27 05:36:22 -0700794// To be deprecated once python version of OpenOLT adapter
795// as well as OpenONU adapter moves to the new event
796// defination for device alarms
William Kurkianea869482019-04-09 15:16:11 -0400797type AlarmEventState struct {
798 XXX_NoUnkeyedLiteral struct{} `json:"-"`
799 XXX_unrecognized []byte `json:"-"`
800 XXX_sizecache int32 `json:"-"`
801}
802
803func (m *AlarmEventState) Reset() { *m = AlarmEventState{} }
804func (m *AlarmEventState) String() string { return proto.CompactTextString(m) }
805func (*AlarmEventState) ProtoMessage() {}
806func (*AlarmEventState) Descriptor() ([]byte, []int) {
807 return fileDescriptor_e63e6c07044fd2c4, []int{10}
808}
809
810func (m *AlarmEventState) XXX_Unmarshal(b []byte) error {
811 return xxx_messageInfo_AlarmEventState.Unmarshal(m, b)
812}
813func (m *AlarmEventState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
814 return xxx_messageInfo_AlarmEventState.Marshal(b, m, deterministic)
815}
816func (m *AlarmEventState) XXX_Merge(src proto.Message) {
817 xxx_messageInfo_AlarmEventState.Merge(m, src)
818}
819func (m *AlarmEventState) XXX_Size() int {
820 return xxx_messageInfo_AlarmEventState.Size(m)
821}
822func (m *AlarmEventState) XXX_DiscardUnknown() {
823 xxx_messageInfo_AlarmEventState.DiscardUnknown(m)
824}
825
826var xxx_messageInfo_AlarmEventState proto.InternalMessageInfo
827
828//
829// Identify the overall impact of the alarm on the system
Mahir Gunyele77977b2019-06-27 05:36:22 -0700830// To be deprecated once python version of OpenOLT adapter
831// as well as OpenONU adapter moves to the new event
832// defination for device alarms
William Kurkianea869482019-04-09 15:16:11 -0400833type AlarmEventSeverity struct {
834 XXX_NoUnkeyedLiteral struct{} `json:"-"`
835 XXX_unrecognized []byte `json:"-"`
836 XXX_sizecache int32 `json:"-"`
837}
838
839func (m *AlarmEventSeverity) Reset() { *m = AlarmEventSeverity{} }
840func (m *AlarmEventSeverity) String() string { return proto.CompactTextString(m) }
841func (*AlarmEventSeverity) ProtoMessage() {}
842func (*AlarmEventSeverity) Descriptor() ([]byte, []int) {
843 return fileDescriptor_e63e6c07044fd2c4, []int{11}
844}
845
846func (m *AlarmEventSeverity) XXX_Unmarshal(b []byte) error {
847 return xxx_messageInfo_AlarmEventSeverity.Unmarshal(m, b)
848}
849func (m *AlarmEventSeverity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
850 return xxx_messageInfo_AlarmEventSeverity.Marshal(b, m, deterministic)
851}
852func (m *AlarmEventSeverity) XXX_Merge(src proto.Message) {
853 xxx_messageInfo_AlarmEventSeverity.Merge(m, src)
854}
855func (m *AlarmEventSeverity) XXX_Size() int {
856 return xxx_messageInfo_AlarmEventSeverity.Size(m)
857}
858func (m *AlarmEventSeverity) XXX_DiscardUnknown() {
859 xxx_messageInfo_AlarmEventSeverity.DiscardUnknown(m)
860}
861
862var xxx_messageInfo_AlarmEventSeverity proto.InternalMessageInfo
863
864//
Mahir Gunyele77977b2019-06-27 05:36:22 -0700865// To be deprecated once python version of OpenOLT adapter
866// as well as OpenONU adapter moves to the new event
867// defination for device alarms
William Kurkianea869482019-04-09 15:16:11 -0400868type AlarmEvent struct {
869 // Unique ID for this alarm. e.g. voltha.some_olt.1234
870 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
871 // Refers to the area of the system impacted by the alarm
Esin Karamanccb714b2019-11-29 15:02:06 +0000872 Type AlarmEventType_Types `protobuf:"varint,2,opt,name=type,proto3,enum=voltha.AlarmEventType_Types" json:"type,omitempty"`
William Kurkianea869482019-04-09 15:16:11 -0400873 // Refers to functional category of the alarm
Esin Karamanccb714b2019-11-29 15:02:06 +0000874 Category AlarmEventCategory_Types `protobuf:"varint,3,opt,name=category,proto3,enum=voltha.AlarmEventCategory_Types" json:"category,omitempty"`
William Kurkianea869482019-04-09 15:16:11 -0400875 // Current active state of the alarm
Esin Karamanccb714b2019-11-29 15:02:06 +0000876 State AlarmEventState_Types `protobuf:"varint,4,opt,name=state,proto3,enum=voltha.AlarmEventState_Types" json:"state,omitempty"`
William Kurkianea869482019-04-09 15:16:11 -0400877 // Overall impact of the alarm on the system
Esin Karamanccb714b2019-11-29 15:02:06 +0000878 Severity AlarmEventSeverity_Types `protobuf:"varint,5,opt,name=severity,proto3,enum=voltha.AlarmEventSeverity_Types" json:"severity,omitempty"`
William Kurkianea869482019-04-09 15:16:11 -0400879 // Timestamp at which the alarm was first raised
Scott Baker589724f2020-02-10 17:56:58 -0800880 // TODO: Is this obsolete? Eventheader already has a raised_ts
881 RaisedTs *timestamp.Timestamp `protobuf:"bytes,6,opt,name=raised_ts,json=raisedTs,proto3" json:"raised_ts,omitempty"`
William Kurkianea869482019-04-09 15:16:11 -0400882 // Timestamp at which the alarm was reported
Scott Baker589724f2020-02-10 17:56:58 -0800883 // TODO: Is this obsolete? Eventheader already has a reported_ts
884 ReportedTs *timestamp.Timestamp `protobuf:"bytes,7,opt,name=reported_ts,json=reportedTs,proto3" json:"reported_ts,omitempty"`
William Kurkianea869482019-04-09 15:16:11 -0400885 // Timestamp at which the alarm has changed since it was raised
Scott Baker589724f2020-02-10 17:56:58 -0800886 ChangedTs *timestamp.Timestamp `protobuf:"bytes,8,opt,name=changed_ts,json=changedTs,proto3" json:"changed_ts,omitempty"`
William Kurkianea869482019-04-09 15:16:11 -0400887 // Identifier of the originating resource of the alarm
888 ResourceId string `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
889 // Textual explanation of the alarm
890 Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
891 // Key/Value storage for extra information that may give context to the alarm
892 Context map[string]string `protobuf:"bytes,11,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
893 // logical device id
894 LogicalDeviceId string `protobuf:"bytes,12,opt,name=logical_device_id,json=logicalDeviceId,proto3" json:"logical_device_id,omitempty"`
895 // alarm_type name indicates clearly the name of the alarm
896 AlarmTypeName string `protobuf:"bytes,13,opt,name=alarm_type_name,json=alarmTypeName,proto3" json:"alarm_type_name,omitempty"`
897 XXX_NoUnkeyedLiteral struct{} `json:"-"`
898 XXX_unrecognized []byte `json:"-"`
899 XXX_sizecache int32 `json:"-"`
900}
901
902func (m *AlarmEvent) Reset() { *m = AlarmEvent{} }
903func (m *AlarmEvent) String() string { return proto.CompactTextString(m) }
904func (*AlarmEvent) ProtoMessage() {}
905func (*AlarmEvent) Descriptor() ([]byte, []int) {
906 return fileDescriptor_e63e6c07044fd2c4, []int{12}
907}
908
909func (m *AlarmEvent) XXX_Unmarshal(b []byte) error {
910 return xxx_messageInfo_AlarmEvent.Unmarshal(m, b)
911}
912func (m *AlarmEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
913 return xxx_messageInfo_AlarmEvent.Marshal(b, m, deterministic)
914}
915func (m *AlarmEvent) XXX_Merge(src proto.Message) {
916 xxx_messageInfo_AlarmEvent.Merge(m, src)
917}
918func (m *AlarmEvent) XXX_Size() int {
919 return xxx_messageInfo_AlarmEvent.Size(m)
920}
921func (m *AlarmEvent) XXX_DiscardUnknown() {
922 xxx_messageInfo_AlarmEvent.DiscardUnknown(m)
923}
924
925var xxx_messageInfo_AlarmEvent proto.InternalMessageInfo
926
927func (m *AlarmEvent) GetId() string {
928 if m != nil {
929 return m.Id
930 }
931 return ""
932}
933
Esin Karamanccb714b2019-11-29 15:02:06 +0000934func (m *AlarmEvent) GetType() AlarmEventType_Types {
William Kurkianea869482019-04-09 15:16:11 -0400935 if m != nil {
936 return m.Type
937 }
938 return AlarmEventType_COMMUNICATION
939}
940
Esin Karamanccb714b2019-11-29 15:02:06 +0000941func (m *AlarmEvent) GetCategory() AlarmEventCategory_Types {
William Kurkianea869482019-04-09 15:16:11 -0400942 if m != nil {
943 return m.Category
944 }
945 return AlarmEventCategory_PON
946}
947
Esin Karamanccb714b2019-11-29 15:02:06 +0000948func (m *AlarmEvent) GetState() AlarmEventState_Types {
William Kurkianea869482019-04-09 15:16:11 -0400949 if m != nil {
950 return m.State
951 }
952 return AlarmEventState_RAISED
953}
954
Esin Karamanccb714b2019-11-29 15:02:06 +0000955func (m *AlarmEvent) GetSeverity() AlarmEventSeverity_Types {
William Kurkianea869482019-04-09 15:16:11 -0400956 if m != nil {
957 return m.Severity
958 }
959 return AlarmEventSeverity_INDETERMINATE
960}
961
Scott Baker589724f2020-02-10 17:56:58 -0800962func (m *AlarmEvent) GetRaisedTs() *timestamp.Timestamp {
William Kurkianea869482019-04-09 15:16:11 -0400963 if m != nil {
964 return m.RaisedTs
965 }
Scott Baker589724f2020-02-10 17:56:58 -0800966 return nil
William Kurkianea869482019-04-09 15:16:11 -0400967}
968
Scott Baker589724f2020-02-10 17:56:58 -0800969func (m *AlarmEvent) GetReportedTs() *timestamp.Timestamp {
William Kurkianea869482019-04-09 15:16:11 -0400970 if m != nil {
971 return m.ReportedTs
972 }
Scott Baker589724f2020-02-10 17:56:58 -0800973 return nil
William Kurkianea869482019-04-09 15:16:11 -0400974}
975
Scott Baker589724f2020-02-10 17:56:58 -0800976func (m *AlarmEvent) GetChangedTs() *timestamp.Timestamp {
William Kurkianea869482019-04-09 15:16:11 -0400977 if m != nil {
978 return m.ChangedTs
979 }
Scott Baker589724f2020-02-10 17:56:58 -0800980 return nil
William Kurkianea869482019-04-09 15:16:11 -0400981}
982
983func (m *AlarmEvent) GetResourceId() string {
984 if m != nil {
985 return m.ResourceId
986 }
987 return ""
988}
989
990func (m *AlarmEvent) GetDescription() string {
991 if m != nil {
992 return m.Description
993 }
994 return ""
995}
996
997func (m *AlarmEvent) GetContext() map[string]string {
998 if m != nil {
999 return m.Context
1000 }
1001 return nil
1002}
1003
1004func (m *AlarmEvent) GetLogicalDeviceId() string {
1005 if m != nil {
1006 return m.LogicalDeviceId
1007 }
1008 return ""
1009}
1010
1011func (m *AlarmEvent) GetAlarmTypeName() string {
1012 if m != nil {
1013 return m.AlarmTypeName
1014 }
1015 return ""
1016}
1017
Mahir Gunyele77977b2019-06-27 05:36:22 -07001018//
1019// Describes the events specific to device
1020type DeviceEvent struct {
1021 // Identifier of the originating resource of the event, for ex: device_id
1022 ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
1023 // device_event_name indicates clearly the name of the device event
1024 DeviceEventName string `protobuf:"bytes,2,opt,name=device_event_name,json=deviceEventName,proto3" json:"device_event_name,omitempty"`
1025 // Textual explanation of the device event
1026 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
1027 // Key/Value storage for extra information that may give context to the event
1028 Context map[string]string `protobuf:"bytes,4,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
1029 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1030 XXX_unrecognized []byte `json:"-"`
1031 XXX_sizecache int32 `json:"-"`
1032}
1033
1034func (m *DeviceEvent) Reset() { *m = DeviceEvent{} }
1035func (m *DeviceEvent) String() string { return proto.CompactTextString(m) }
1036func (*DeviceEvent) ProtoMessage() {}
1037func (*DeviceEvent) Descriptor() ([]byte, []int) {
1038 return fileDescriptor_e63e6c07044fd2c4, []int{13}
1039}
1040
1041func (m *DeviceEvent) XXX_Unmarshal(b []byte) error {
1042 return xxx_messageInfo_DeviceEvent.Unmarshal(m, b)
1043}
1044func (m *DeviceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1045 return xxx_messageInfo_DeviceEvent.Marshal(b, m, deterministic)
1046}
1047func (m *DeviceEvent) XXX_Merge(src proto.Message) {
1048 xxx_messageInfo_DeviceEvent.Merge(m, src)
1049}
1050func (m *DeviceEvent) XXX_Size() int {
1051 return xxx_messageInfo_DeviceEvent.Size(m)
1052}
1053func (m *DeviceEvent) XXX_DiscardUnknown() {
1054 xxx_messageInfo_DeviceEvent.DiscardUnknown(m)
1055}
1056
1057var xxx_messageInfo_DeviceEvent proto.InternalMessageInfo
1058
1059func (m *DeviceEvent) GetResourceId() string {
1060 if m != nil {
1061 return m.ResourceId
1062 }
1063 return ""
1064}
1065
1066func (m *DeviceEvent) GetDeviceEventName() string {
1067 if m != nil {
1068 return m.DeviceEventName
1069 }
1070 return ""
1071}
1072
1073func (m *DeviceEvent) GetDescription() string {
1074 if m != nil {
1075 return m.Description
1076 }
1077 return ""
1078}
1079
1080func (m *DeviceEvent) GetContext() map[string]string {
1081 if m != nil {
1082 return m.Context
1083 }
1084 return nil
1085}
1086
1087//
1088// Identify the area of the system impacted by the event.
1089type EventCategory struct {
1090 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1091 XXX_unrecognized []byte `json:"-"`
1092 XXX_sizecache int32 `json:"-"`
1093}
1094
1095func (m *EventCategory) Reset() { *m = EventCategory{} }
1096func (m *EventCategory) String() string { return proto.CompactTextString(m) }
1097func (*EventCategory) ProtoMessage() {}
1098func (*EventCategory) Descriptor() ([]byte, []int) {
1099 return fileDescriptor_e63e6c07044fd2c4, []int{14}
1100}
1101
1102func (m *EventCategory) XXX_Unmarshal(b []byte) error {
1103 return xxx_messageInfo_EventCategory.Unmarshal(m, b)
1104}
1105func (m *EventCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1106 return xxx_messageInfo_EventCategory.Marshal(b, m, deterministic)
1107}
1108func (m *EventCategory) XXX_Merge(src proto.Message) {
1109 xxx_messageInfo_EventCategory.Merge(m, src)
1110}
1111func (m *EventCategory) XXX_Size() int {
1112 return xxx_messageInfo_EventCategory.Size(m)
1113}
1114func (m *EventCategory) XXX_DiscardUnknown() {
1115 xxx_messageInfo_EventCategory.DiscardUnknown(m)
1116}
1117
1118var xxx_messageInfo_EventCategory proto.InternalMessageInfo
1119
1120//
1121// Identify the functional category originating the event
1122type EventSubCategory struct {
1123 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1124 XXX_unrecognized []byte `json:"-"`
1125 XXX_sizecache int32 `json:"-"`
1126}
1127
1128func (m *EventSubCategory) Reset() { *m = EventSubCategory{} }
1129func (m *EventSubCategory) String() string { return proto.CompactTextString(m) }
1130func (*EventSubCategory) ProtoMessage() {}
1131func (*EventSubCategory) Descriptor() ([]byte, []int) {
1132 return fileDescriptor_e63e6c07044fd2c4, []int{15}
1133}
1134
1135func (m *EventSubCategory) XXX_Unmarshal(b []byte) error {
1136 return xxx_messageInfo_EventSubCategory.Unmarshal(m, b)
1137}
1138func (m *EventSubCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1139 return xxx_messageInfo_EventSubCategory.Marshal(b, m, deterministic)
1140}
1141func (m *EventSubCategory) XXX_Merge(src proto.Message) {
1142 xxx_messageInfo_EventSubCategory.Merge(m, src)
1143}
1144func (m *EventSubCategory) XXX_Size() int {
1145 return xxx_messageInfo_EventSubCategory.Size(m)
1146}
1147func (m *EventSubCategory) XXX_DiscardUnknown() {
1148 xxx_messageInfo_EventSubCategory.DiscardUnknown(m)
1149}
1150
1151var xxx_messageInfo_EventSubCategory proto.InternalMessageInfo
1152
1153//
1154// Identify the type of event
1155type EventType struct {
1156 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1157 XXX_unrecognized []byte `json:"-"`
1158 XXX_sizecache int32 `json:"-"`
1159}
1160
1161func (m *EventType) Reset() { *m = EventType{} }
1162func (m *EventType) String() string { return proto.CompactTextString(m) }
1163func (*EventType) ProtoMessage() {}
1164func (*EventType) Descriptor() ([]byte, []int) {
1165 return fileDescriptor_e63e6c07044fd2c4, []int{16}
1166}
1167
1168func (m *EventType) XXX_Unmarshal(b []byte) error {
1169 return xxx_messageInfo_EventType.Unmarshal(m, b)
1170}
1171func (m *EventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1172 return xxx_messageInfo_EventType.Marshal(b, m, deterministic)
1173}
1174func (m *EventType) XXX_Merge(src proto.Message) {
1175 xxx_messageInfo_EventType.Merge(m, src)
1176}
1177func (m *EventType) XXX_Size() int {
1178 return xxx_messageInfo_EventType.Size(m)
1179}
1180func (m *EventType) XXX_DiscardUnknown() {
1181 xxx_messageInfo_EventType.DiscardUnknown(m)
1182}
1183
1184var xxx_messageInfo_EventType proto.InternalMessageInfo
1185
1186//
1187// Identify the functional category originating the event
1188type EventHeader struct {
1189 // Unique ID for this event. e.g. voltha.some_olt.1234
1190 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
1191 // Refers to the functional area affect by the event
Esin Karamanccb714b2019-11-29 15:02:06 +00001192 Category EventCategory_Types `protobuf:"varint,2,opt,name=category,proto3,enum=voltha.EventCategory_Types" json:"category,omitempty"`
Mahir Gunyele77977b2019-06-27 05:36:22 -07001193 // Refers to functional category of the event
Esin Karamanccb714b2019-11-29 15:02:06 +00001194 SubCategory EventSubCategory_Types `protobuf:"varint,3,opt,name=sub_category,json=subCategory,proto3,enum=voltha.EventSubCategory_Types" json:"sub_category,omitempty"`
Mahir Gunyele77977b2019-06-27 05:36:22 -07001195 // Refers to the type of the event
Esin Karamanccb714b2019-11-29 15:02:06 +00001196 Type EventType_Types `protobuf:"varint,4,opt,name=type,proto3,enum=voltha.EventType_Types" json:"type,omitempty"`
Mahir Gunyele77977b2019-06-27 05:36:22 -07001197 // The version identifier for this event type, thus allowing each
1198 // event type to evolve independently. The version should be in the
1199 // format “MAJOR.MINOR” format and minor changes must only be additive
1200 // and non-breaking.
1201 TypeVersion string `protobuf:"bytes,5,opt,name=type_version,json=typeVersion,proto3" json:"type_version,omitempty"`
1202 // Timestamp at which the event was first raised.
1203 // This represents the UTC time stamp since epoch (in seconds) when the
1204 // the event was first raised from the source entity.
1205 // If the source entity doesn't send the raised_ts, this shall be set
1206 // to timestamp when the event was received.
Scott Baker589724f2020-02-10 17:56:58 -08001207 RaisedTs *timestamp.Timestamp `protobuf:"bytes,6,opt,name=raised_ts,json=raisedTs,proto3" json:"raised_ts,omitempty"`
Mahir Gunyele77977b2019-06-27 05:36:22 -07001208 // Timestamp at which the event was reported.
1209 // This represents the UTC time stamp since epoch (in seconds) when the
1210 // the event was reported (this time stamp is >= raised_ts).
1211 // If the source entity that reported this event doesn't send the
1212 // reported_ts, this shall be set to the same value as raised_ts.
Scott Baker589724f2020-02-10 17:56:58 -08001213 ReportedTs *timestamp.Timestamp `protobuf:"bytes,7,opt,name=reported_ts,json=reportedTs,proto3" json:"reported_ts,omitempty"`
1214 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1215 XXX_unrecognized []byte `json:"-"`
1216 XXX_sizecache int32 `json:"-"`
Mahir Gunyele77977b2019-06-27 05:36:22 -07001217}
1218
1219func (m *EventHeader) Reset() { *m = EventHeader{} }
1220func (m *EventHeader) String() string { return proto.CompactTextString(m) }
1221func (*EventHeader) ProtoMessage() {}
1222func (*EventHeader) Descriptor() ([]byte, []int) {
1223 return fileDescriptor_e63e6c07044fd2c4, []int{17}
1224}
1225
1226func (m *EventHeader) XXX_Unmarshal(b []byte) error {
1227 return xxx_messageInfo_EventHeader.Unmarshal(m, b)
1228}
1229func (m *EventHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1230 return xxx_messageInfo_EventHeader.Marshal(b, m, deterministic)
1231}
1232func (m *EventHeader) XXX_Merge(src proto.Message) {
1233 xxx_messageInfo_EventHeader.Merge(m, src)
1234}
1235func (m *EventHeader) XXX_Size() int {
1236 return xxx_messageInfo_EventHeader.Size(m)
1237}
1238func (m *EventHeader) XXX_DiscardUnknown() {
1239 xxx_messageInfo_EventHeader.DiscardUnknown(m)
1240}
1241
1242var xxx_messageInfo_EventHeader proto.InternalMessageInfo
1243
1244func (m *EventHeader) GetId() string {
1245 if m != nil {
1246 return m.Id
1247 }
1248 return ""
1249}
1250
Esin Karamanccb714b2019-11-29 15:02:06 +00001251func (m *EventHeader) GetCategory() EventCategory_Types {
Mahir Gunyele77977b2019-06-27 05:36:22 -07001252 if m != nil {
1253 return m.Category
1254 }
1255 return EventCategory_COMMUNICATION
1256}
1257
Esin Karamanccb714b2019-11-29 15:02:06 +00001258func (m *EventHeader) GetSubCategory() EventSubCategory_Types {
Mahir Gunyele77977b2019-06-27 05:36:22 -07001259 if m != nil {
1260 return m.SubCategory
1261 }
1262 return EventSubCategory_PON
1263}
1264
Esin Karamanccb714b2019-11-29 15:02:06 +00001265func (m *EventHeader) GetType() EventType_Types {
Mahir Gunyele77977b2019-06-27 05:36:22 -07001266 if m != nil {
1267 return m.Type
1268 }
1269 return EventType_CONFIG_EVENT
1270}
1271
1272func (m *EventHeader) GetTypeVersion() string {
1273 if m != nil {
1274 return m.TypeVersion
1275 }
1276 return ""
1277}
1278
Scott Baker589724f2020-02-10 17:56:58 -08001279func (m *EventHeader) GetRaisedTs() *timestamp.Timestamp {
Mahir Gunyele77977b2019-06-27 05:36:22 -07001280 if m != nil {
1281 return m.RaisedTs
1282 }
Scott Baker589724f2020-02-10 17:56:58 -08001283 return nil
Mahir Gunyele77977b2019-06-27 05:36:22 -07001284}
1285
Scott Baker589724f2020-02-10 17:56:58 -08001286func (m *EventHeader) GetReportedTs() *timestamp.Timestamp {
Mahir Gunyele77977b2019-06-27 05:36:22 -07001287 if m != nil {
1288 return m.ReportedTs
1289 }
Scott Baker589724f2020-02-10 17:56:58 -08001290 return nil
Mahir Gunyele77977b2019-06-27 05:36:22 -07001291}
1292
1293//
1294// Event Structure
1295type Event struct {
1296 // event header
1297 Header *EventHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
1298 // oneof event types referred by EventType.
1299 //
1300 // Types that are valid to be assigned to EventType:
1301 // *Event_ConfigEvent
1302 // *Event_KpiEvent
1303 // *Event_KpiEvent2
1304 // *Event_DeviceEvent
1305 EventType isEvent_EventType `protobuf_oneof:"event_type"`
1306 XXX_NoUnkeyedLiteral struct{} `json:"-"`
1307 XXX_unrecognized []byte `json:"-"`
1308 XXX_sizecache int32 `json:"-"`
1309}
1310
1311func (m *Event) Reset() { *m = Event{} }
1312func (m *Event) String() string { return proto.CompactTextString(m) }
1313func (*Event) ProtoMessage() {}
1314func (*Event) Descriptor() ([]byte, []int) {
1315 return fileDescriptor_e63e6c07044fd2c4, []int{18}
1316}
1317
1318func (m *Event) XXX_Unmarshal(b []byte) error {
1319 return xxx_messageInfo_Event.Unmarshal(m, b)
1320}
1321func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1322 return xxx_messageInfo_Event.Marshal(b, m, deterministic)
1323}
1324func (m *Event) XXX_Merge(src proto.Message) {
1325 xxx_messageInfo_Event.Merge(m, src)
1326}
1327func (m *Event) XXX_Size() int {
1328 return xxx_messageInfo_Event.Size(m)
1329}
1330func (m *Event) XXX_DiscardUnknown() {
1331 xxx_messageInfo_Event.DiscardUnknown(m)
1332}
1333
1334var xxx_messageInfo_Event proto.InternalMessageInfo
1335
1336func (m *Event) GetHeader() *EventHeader {
1337 if m != nil {
1338 return m.Header
1339 }
1340 return nil
1341}
1342
1343type isEvent_EventType interface {
1344 isEvent_EventType()
1345}
1346
1347type Event_ConfigEvent struct {
1348 ConfigEvent *ConfigEvent `protobuf:"bytes,2,opt,name=config_event,json=configEvent,proto3,oneof"`
1349}
1350
1351type Event_KpiEvent struct {
1352 KpiEvent *KpiEvent `protobuf:"bytes,3,opt,name=kpi_event,json=kpiEvent,proto3,oneof"`
1353}
1354
1355type Event_KpiEvent2 struct {
1356 KpiEvent2 *KpiEvent2 `protobuf:"bytes,4,opt,name=kpi_event2,json=kpiEvent2,proto3,oneof"`
1357}
1358
1359type Event_DeviceEvent struct {
1360 DeviceEvent *DeviceEvent `protobuf:"bytes,5,opt,name=device_event,json=deviceEvent,proto3,oneof"`
1361}
1362
1363func (*Event_ConfigEvent) isEvent_EventType() {}
1364
1365func (*Event_KpiEvent) isEvent_EventType() {}
1366
1367func (*Event_KpiEvent2) isEvent_EventType() {}
1368
1369func (*Event_DeviceEvent) isEvent_EventType() {}
1370
1371func (m *Event) GetEventType() isEvent_EventType {
1372 if m != nil {
1373 return m.EventType
1374 }
1375 return nil
1376}
1377
1378func (m *Event) GetConfigEvent() *ConfigEvent {
1379 if x, ok := m.GetEventType().(*Event_ConfigEvent); ok {
1380 return x.ConfigEvent
1381 }
1382 return nil
1383}
1384
1385func (m *Event) GetKpiEvent() *KpiEvent {
1386 if x, ok := m.GetEventType().(*Event_KpiEvent); ok {
1387 return x.KpiEvent
1388 }
1389 return nil
1390}
1391
1392func (m *Event) GetKpiEvent2() *KpiEvent2 {
1393 if x, ok := m.GetEventType().(*Event_KpiEvent2); ok {
1394 return x.KpiEvent2
1395 }
1396 return nil
1397}
1398
1399func (m *Event) GetDeviceEvent() *DeviceEvent {
1400 if x, ok := m.GetEventType().(*Event_DeviceEvent); ok {
1401 return x.DeviceEvent
1402 }
1403 return nil
1404}
1405
1406// XXX_OneofWrappers is for the internal use of the proto package.
1407func (*Event) XXX_OneofWrappers() []interface{} {
1408 return []interface{}{
1409 (*Event_ConfigEvent)(nil),
1410 (*Event_KpiEvent)(nil),
1411 (*Event_KpiEvent2)(nil),
1412 (*Event_DeviceEvent)(nil),
1413 }
1414}
1415
William Kurkianea869482019-04-09 15:16:11 -04001416func init() {
Esin Karamanccb714b2019-11-29 15:02:06 +00001417 proto.RegisterEnum("voltha.ConfigEventType_Types", ConfigEventType_Types_name, ConfigEventType_Types_value)
1418 proto.RegisterEnum("voltha.KpiEventType_Types", KpiEventType_Types_name, KpiEventType_Types_value)
1419 proto.RegisterEnum("voltha.AlarmEventType_Types", AlarmEventType_Types_name, AlarmEventType_Types_value)
1420 proto.RegisterEnum("voltha.AlarmEventCategory_Types", AlarmEventCategory_Types_name, AlarmEventCategory_Types_value)
1421 proto.RegisterEnum("voltha.AlarmEventState_Types", AlarmEventState_Types_name, AlarmEventState_Types_value)
1422 proto.RegisterEnum("voltha.AlarmEventSeverity_Types", AlarmEventSeverity_Types_name, AlarmEventSeverity_Types_value)
1423 proto.RegisterEnum("voltha.EventCategory_Types", EventCategory_Types_name, EventCategory_Types_value)
1424 proto.RegisterEnum("voltha.EventSubCategory_Types", EventSubCategory_Types_name, EventSubCategory_Types_value)
1425 proto.RegisterEnum("voltha.EventType_Types", EventType_Types_name, EventType_Types_value)
William Kurkianea869482019-04-09 15:16:11 -04001426 proto.RegisterType((*ConfigEventType)(nil), "voltha.ConfigEventType")
1427 proto.RegisterType((*ConfigEvent)(nil), "voltha.ConfigEvent")
1428 proto.RegisterType((*KpiEventType)(nil), "voltha.KpiEventType")
1429 proto.RegisterType((*MetricMetaData)(nil), "voltha.MetricMetaData")
1430 proto.RegisterMapType((map[string]string)(nil), "voltha.MetricMetaData.ContextEntry")
1431 proto.RegisterType((*MetricValuePairs)(nil), "voltha.MetricValuePairs")
1432 proto.RegisterMapType((map[string]float32)(nil), "voltha.MetricValuePairs.MetricsEntry")
1433 proto.RegisterType((*MetricInformation)(nil), "voltha.MetricInformation")
1434 proto.RegisterMapType((map[string]float32)(nil), "voltha.MetricInformation.MetricsEntry")
1435 proto.RegisterType((*KpiEvent)(nil), "voltha.KpiEvent")
1436 proto.RegisterMapType((map[string]*MetricValuePairs)(nil), "voltha.KpiEvent.PrefixesEntry")
1437 proto.RegisterType((*KpiEvent2)(nil), "voltha.KpiEvent2")
1438 proto.RegisterType((*AlarmEventType)(nil), "voltha.AlarmEventType")
1439 proto.RegisterType((*AlarmEventCategory)(nil), "voltha.AlarmEventCategory")
1440 proto.RegisterType((*AlarmEventState)(nil), "voltha.AlarmEventState")
1441 proto.RegisterType((*AlarmEventSeverity)(nil), "voltha.AlarmEventSeverity")
1442 proto.RegisterType((*AlarmEvent)(nil), "voltha.AlarmEvent")
1443 proto.RegisterMapType((map[string]string)(nil), "voltha.AlarmEvent.ContextEntry")
Mahir Gunyele77977b2019-06-27 05:36:22 -07001444 proto.RegisterType((*DeviceEvent)(nil), "voltha.DeviceEvent")
1445 proto.RegisterMapType((map[string]string)(nil), "voltha.DeviceEvent.ContextEntry")
1446 proto.RegisterType((*EventCategory)(nil), "voltha.EventCategory")
1447 proto.RegisterType((*EventSubCategory)(nil), "voltha.EventSubCategory")
1448 proto.RegisterType((*EventType)(nil), "voltha.EventType")
1449 proto.RegisterType((*EventHeader)(nil), "voltha.EventHeader")
1450 proto.RegisterType((*Event)(nil), "voltha.Event")
William Kurkianea869482019-04-09 15:16:11 -04001451}
1452
1453func init() { proto.RegisterFile("voltha_protos/events.proto", fileDescriptor_e63e6c07044fd2c4) }
1454
1455var fileDescriptor_e63e6c07044fd2c4 = []byte{
Scott Baker589724f2020-02-10 17:56:58 -08001456 // 1374 bytes of a gzipped FileDescriptorProto
1457 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x5f, 0x73, 0xdb, 0x44,
1458 0x10, 0xb7, 0xe4, 0x3f, 0xb1, 0x57, 0x4e, 0xa2, 0x5c, 0x19, 0x30, 0x6e, 0x69, 0x83, 0x18, 0x3a,
1459 0x99, 0x76, 0xb0, 0xc1, 0x61, 0xa6, 0x69, 0x0a, 0x03, 0xae, 0x23, 0x1a, 0xb5, 0xb5, 0x1c, 0x64,
1460 0x27, 0x1d, 0x78, 0xf1, 0x5c, 0xac, 0x8b, 0xad, 0x89, 0x6d, 0x79, 0xa4, 0xb3, 0x69, 0x3e, 0x00,
1461 0xcf, 0x3c, 0xf2, 0xc0, 0x77, 0xe1, 0x8d, 0x8f, 0xc1, 0xf0, 0x25, 0xf8, 0x00, 0xcc, 0xfd, 0x91,
1462 0x25, 0x39, 0x2e, 0x7d, 0xc8, 0x14, 0x9e, 0x7c, 0xda, 0xdb, 0xdf, 0xee, 0x6f, 0x77, 0x6f, 0xf7,
1463 0xce, 0x50, 0x5d, 0xf8, 0x63, 0x3a, 0xc2, 0xfd, 0x59, 0xe0, 0x53, 0x3f, 0xac, 0x93, 0x05, 0x99,
1464 0xd2, 0xb0, 0xc6, 0xbf, 0x50, 0x41, 0xec, 0x55, 0x2b, 0x69, 0x9d, 0x09, 0xa1, 0x58, 0x68, 0x54,
1465 0xef, 0x0c, 0x7d, 0x7f, 0x38, 0x26, 0x75, 0x3c, 0xf3, 0xea, 0x78, 0x3a, 0xf5, 0x29, 0xa6, 0x9e,
1466 0x3f, 0x95, 0xf8, 0xea, 0x3d, 0xb9, 0xcb, 0xbf, 0xce, 0xe7, 0x17, 0x75, 0xea, 0x4d, 0x48, 0x48,
1467 0xf1, 0x64, 0x26, 0x14, 0x8c, 0x27, 0xb0, 0xdd, 0xf2, 0xa7, 0x17, 0xde, 0xd0, 0x64, 0x6e, 0x7b,
1468 0x57, 0x33, 0x62, 0xec, 0x41, 0x9e, 0xfd, 0x86, 0x68, 0x03, 0xb2, 0xd8, 0x75, 0xf5, 0x0c, 0x02,
1469 0x28, 0x04, 0x64, 0xe2, 0x2f, 0x88, 0xae, 0xb0, 0xf5, 0x7c, 0xe6, 0x62, 0x4a, 0x74, 0xd5, 0x18,
1470 0x81, 0x96, 0x00, 0xa3, 0x2f, 0x20, 0x47, 0xaf, 0x66, 0xa4, 0xa2, 0xec, 0x2a, 0x7b, 0x5b, 0x8d,
1471 0x8f, 0x6a, 0x82, 0x73, 0x6d, 0xc5, 0x7e, 0x8d, 0x1b, 0x77, 0xb8, 0x2a, 0x42, 0x90, 0x1b, 0xe1,
1472 0x70, 0x54, 0x51, 0x77, 0x95, 0xbd, 0x92, 0xc3, 0xd7, 0x4c, 0xe6, 0x62, 0x8a, 0x2b, 0x59, 0x21,
1473 0x63, 0x6b, 0xe3, 0x01, 0x94, 0x5f, 0xcc, 0xbc, 0x98, 0x63, 0x35, 0xe2, 0x58, 0x82, 0x7c, 0x38,
1474 0xf6, 0x06, 0x44, 0xcf, 0xa0, 0x02, 0xa8, 0x34, 0xd4, 0x15, 0xe3, 0x57, 0x15, 0xb6, 0xda, 0x84,
1475 0x06, 0xde, 0xa0, 0x4d, 0x28, 0x3e, 0xc2, 0x14, 0xa3, 0xf7, 0x20, 0x4f, 0x3d, 0x3a, 0x16, 0xd4,
1476 0x4a, 0x8e, 0xf8, 0x40, 0x5b, 0x0c, 0xc0, 0x5d, 0x2b, 0x8e, 0x4a, 0x43, 0xf4, 0x00, 0x76, 0xc6,
1477 0xfe, 0xd0, 0x1b, 0xe0, 0x71, 0xdf, 0x25, 0x0b, 0x6f, 0x40, 0xfa, 0x9e, 0x2b, 0x59, 0x6c, 0xcb,
1478 0x8d, 0x23, 0x2e, 0xb7, 0x5c, 0x74, 0x1b, 0x4a, 0x21, 0x09, 0x3c, 0x3c, 0xee, 0x4f, 0xfd, 0x4a,
1479 0x8e, 0xeb, 0x14, 0x85, 0xc0, 0xf6, 0xd9, 0x66, 0x6c, 0x20, 0x2f, 0x36, 0xdd, 0x08, 0xf9, 0x35,
1480 0x6c, 0x0c, 0xfc, 0x29, 0x25, 0xaf, 0x69, 0xa5, 0xb0, 0x9b, 0xdd, 0xd3, 0x1a, 0x9f, 0x44, 0x89,
1481 0x4a, 0x93, 0x66, 0x79, 0x63, 0x5a, 0xe6, 0x94, 0x06, 0x57, 0x4e, 0x84, 0xa9, 0x1e, 0x42, 0x39,
1482 0xb9, 0x81, 0x74, 0xc8, 0x5e, 0x92, 0x2b, 0x19, 0x18, 0x5b, 0xb2, 0x60, 0x17, 0x78, 0x3c, 0x27,
1483 0x32, 0xa9, 0xe2, 0xe3, 0x50, 0x3d, 0x50, 0x8c, 0x5f, 0x14, 0xd0, 0x85, 0x93, 0x33, 0x26, 0x3b,
1484 0xc1, 0x5e, 0x10, 0xa2, 0x6f, 0x60, 0x63, 0xc2, 0x65, 0x61, 0x45, 0xe1, 0x7c, 0x3e, 0x4d, 0xf3,
1485 0x89, 0x55, 0xa5, 0x20, 0x94, 0x8c, 0x24, 0x8a, 0x31, 0x4a, 0x6e, 0xbc, 0x8d, 0x91, 0x9a, 0x64,
1486 0xf4, 0x87, 0x02, 0x3b, 0x02, 0x6c, 0x4d, 0x2f, 0xfc, 0x60, 0xc2, 0x0f, 0x2f, 0x6a, 0x40, 0x91,
1487 0x9d, 0x70, 0x7e, 0x0a, 0x98, 0x19, 0xad, 0xf1, 0xfe, 0xfa, 0x1c, 0x39, 0x4b, 0x3d, 0xf4, 0x6d,
1488 0x1c, 0x86, 0xca, 0xc3, 0xb8, 0x9f, 0x86, 0x24, 0xec, 0xbf, 0x83, 0x38, 0xfe, 0x54, 0xa0, 0x18,
1489 0x1d, 0x50, 0x54, 0x4b, 0xf5, 0x41, 0x35, 0xe2, 0x91, 0x3c, 0xc0, 0xa9, 0x26, 0x88, 0xcf, 0xa1,
1490 0xca, 0xcf, 0xe1, 0x21, 0x14, 0x67, 0x01, 0xb9, 0xf0, 0x5e, 0x93, 0xb0, 0x92, 0xe5, 0xb1, 0xdc,
1491 0x5d, 0xb5, 0x51, 0x3b, 0x91, 0x0a, 0x22, 0x86, 0xa5, 0x7e, 0xf5, 0x14, 0x36, 0x53, 0x5b, 0x6b,
1492 0xa2, 0xa8, 0x25, 0xa3, 0xd0, 0x1a, 0x95, 0x37, 0x95, 0x3b, 0x19, 0xdf, 0xcf, 0x0a, 0x94, 0x22,
1493 0xdf, 0x8d, 0x1b, 0x04, 0x28, 0x1a, 0xed, 0x00, 0x80, 0x37, 0x6d, 0x5f, 0xf6, 0x39, 0x0b, 0xf1,
1494 0xc3, 0x37, 0x96, 0xcb, 0x29, 0x71, 0x65, 0x56, 0x6f, 0xe3, 0x27, 0xd8, 0x6a, 0x8e, 0x71, 0x30,
1495 0x89, 0x27, 0x01, 0x89, 0x26, 0xc1, 0x0e, 0x6c, 0xb6, 0x3a, 0xed, 0xf6, 0xa9, 0x6d, 0xb5, 0x9a,
1496 0x3d, 0xab, 0x63, 0xeb, 0x19, 0xb4, 0x0d, 0x9a, 0x69, 0x9f, 0x59, 0x4e, 0xc7, 0x6e, 0x9b, 0x76,
1497 0x4f, 0x57, 0xd0, 0x26, 0x94, 0xcc, 0xef, 0x4f, 0xad, 0x13, 0xfe, 0xa9, 0x22, 0x0d, 0x36, 0xba,
1498 0xa6, 0x73, 0x66, 0xb5, 0x4c, 0x3d, 0x8b, 0xb6, 0x00, 0x4e, 0x9c, 0x4e, 0xcb, 0xec, 0x76, 0x2d,
1499 0xfb, 0x99, 0x9e, 0x43, 0x65, 0x28, 0x76, 0xcd, 0xd6, 0xa9, 0x63, 0xf5, 0x7e, 0xd0, 0xf3, 0xc6,
1500 0x73, 0x40, 0xb1, 0xe3, 0x16, 0xa6, 0x64, 0xe8, 0x07, 0x57, 0xc6, 0x97, 0x89, 0x51, 0x79, 0xc2,
1501 0x5d, 0x6e, 0x40, 0xb6, 0xf3, 0x92, 0xb9, 0x62, 0x0b, 0xee, 0x84, 0x2f, 0x4e, 0xf5, 0x2c, 0x5b,
1502 0xd8, 0xb6, 0xa5, 0xe7, 0x8c, 0x7d, 0xd8, 0x8e, 0x6d, 0x75, 0x29, 0xa6, 0xc4, 0xd8, 0x8d, 0x0c,
1503 0x01, 0x14, 0x9c, 0xa6, 0xd5, 0x35, 0x8f, 0xf4, 0x0c, 0xa3, 0xd7, 0x7a, 0x69, 0x36, 0x1d, 0xf3,
1504 0x48, 0x57, 0x0c, 0x9c, 0x24, 0xd0, 0x25, 0x0b, 0x12, 0x78, 0xf4, 0xca, 0x78, 0x91, 0x88, 0xde,
1505 0xb2, 0x8f, 0xcc, 0x9e, 0xe9, 0xb4, 0x2d, 0xbb, 0xd9, 0x33, 0x05, 0xfc, 0x55, 0xd3, 0xb1, 0x59,
1506 0x34, 0x0a, 0x9b, 0x93, 0x6d, 0xcb, 0xee, 0x38, 0xba, 0xca, 0x97, 0xcd, 0xe7, 0x1d, 0x47, 0xcf,
1507 0xb2, 0x18, 0x5b, 0x8e, 0xd5, 0xb3, 0x5a, 0xcd, 0x97, 0x7a, 0xce, 0xf8, 0x3d, 0x0f, 0x10, 0xfb,
1508 0x60, 0x55, 0xf3, 0x5c, 0x79, 0x70, 0x54, 0xcf, 0x45, 0x9f, 0xcb, 0xaa, 0xab, 0xbc, 0xea, 0x77,
1509 0xa2, 0x7a, 0xa5, 0xeb, 0x91, 0xaa, 0xfb, 0x57, 0x50, 0x1c, 0xc8, 0x54, 0xf1, 0x39, 0xba, 0xd5,
1510 0xd8, 0xbd, 0x8e, 0x8a, 0x92, 0x29, 0x91, 0x4b, 0x04, 0xda, 0x87, 0x7c, 0xc8, 0x92, 0xc3, 0xc7,
1511 0x6b, 0xe2, 0x3e, 0x59, 0xc9, 0x9d, 0xc4, 0x09, 0x5d, 0xe6, 0x32, 0x94, 0xc9, 0xe1, 0x93, 0x77,
1512 0xad, 0xcb, 0x28, 0x7d, 0x91, 0xcb, 0x08, 0x81, 0x1e, 0x41, 0x29, 0xc0, 0x5e, 0x48, 0xdc, 0x3e,
1513 0x0d, 0x2b, 0x05, 0xde, 0x1e, 0xd5, 0x9a, 0xb8, 0x42, 0x6b, 0xd1, 0x15, 0x5a, 0xeb, 0x45, 0x57,
1514 0xa8, 0x53, 0x14, 0xca, 0xbd, 0x10, 0x3d, 0x01, 0x2d, 0x20, 0x33, 0x3f, 0xa0, 0x02, 0xba, 0xf1,
1515 0x56, 0x28, 0x44, 0xea, 0xbd, 0x10, 0x3d, 0x06, 0x18, 0x8c, 0xf0, 0x74, 0x28, 0xb0, 0xc5, 0xb7,
1516 0x62, 0x4b, 0x52, 0xbb, 0x17, 0xa2, 0x7b, 0xcc, 0x6f, 0xe8, 0xcf, 0x03, 0x71, 0xd7, 0x94, 0x78,
1517 0xb1, 0x20, 0x12, 0x59, 0x2e, 0xda, 0x05, 0xcd, 0x25, 0xe1, 0x20, 0xf0, 0x66, 0xac, 0x95, 0x2a,
1518 0xc0, 0x15, 0x92, 0x22, 0xf4, 0x38, 0xbe, 0x8f, 0x34, 0xde, 0x89, 0xf7, 0xae, 0x27, 0x6c, 0xfd,
1519 0x5d, 0xb4, 0xfe, 0xc2, 0x2c, 0xaf, 0xbf, 0x30, 0xef, 0xc3, 0x36, 0x66, 0xf6, 0xfa, 0xec, 0x64,
1520 0xf4, 0xa7, 0x78, 0x42, 0x2a, 0x9b, 0x5c, 0x73, 0x93, 0x8b, 0x59, 0x25, 0x6c, 0x3c, 0x21, 0x37,
1521 0xba, 0xdf, 0xfe, 0x56, 0x40, 0x13, 0x0e, 0xc5, 0x09, 0x5e, 0xc9, 0x8e, 0x72, 0x2d, 0x3b, 0x0f,
1522 0x60, 0x47, 0x12, 0xe7, 0xaf, 0x2e, 0x41, 0x4b, 0x98, 0xdd, 0x76, 0x63, 0x43, 0x8c, 0xd8, 0x6a,
1523 0x26, 0xb3, 0xd7, 0x33, 0x79, 0x18, 0x67, 0x32, 0xc7, 0x33, 0xb9, 0x3c, 0x7a, 0x09, 0x52, 0xef,
1524 0xe0, 0x5a, 0x5f, 0xc0, 0x66, 0x7a, 0x2c, 0xfd, 0x47, 0x33, 0xf1, 0x18, 0x74, 0xd1, 0x4e, 0xf3,
1525 0xf3, 0x1b, 0x4e, 0xc4, 0x57, 0x50, 0x8a, 0x27, 0xfa, 0xf3, 0xc8, 0x84, 0x0e, 0xe5, 0x56, 0xc7,
1526 0xfe, 0xce, 0x7a, 0xd6, 0x37, 0xcf, 0x18, 0xb9, 0x0c, 0xe3, 0xfa, 0xe2, 0xc4, 0x92, 0x9f, 0x0a,
1527 0xa3, 0xb7, 0xfc, 0x6c, 0xe8, 0x2a, 0x03, 0x1c, 0x99, 0x8c, 0xba, 0xd4, 0xc8, 0x1a, 0x7f, 0xa9,
1528 0xa0, 0x71, 0xcb, 0xc7, 0x04, 0xbb, 0x24, 0xb8, 0x36, 0xd3, 0x1e, 0x25, 0x26, 0x94, 0x98, 0x6b,
1529 0xb7, 0xa3, 0x9a, 0xfd, 0xfb, 0x70, 0x6a, 0x42, 0x39, 0x9c, 0x9f, 0xf7, 0x57, 0xc6, 0xdb, 0xdd,
1530 0x14, 0x38, 0x91, 0x17, 0x89, 0xd7, 0xc2, 0x58, 0x84, 0x1e, 0xca, 0x79, 0x2a, 0xc6, 0xdb, 0x07,
1531 0x29, 0xe8, 0xb5, 0x51, 0xfa, 0x31, 0x94, 0x79, 0xe3, 0x2c, 0x48, 0x10, 0xb2, 0xe3, 0x27, 0x5e,
1532 0x95, 0x1a, 0x93, 0x9d, 0x09, 0xd1, 0xff, 0x33, 0xbc, 0x8c, 0xdf, 0x54, 0xc8, 0x8b, 0x6e, 0x7b,
1533 0x08, 0x85, 0x11, 0xcf, 0xb2, 0x7c, 0xb3, 0xdd, 0x4a, 0x45, 0x24, 0x0a, 0xe0, 0x48, 0x15, 0x74,
1534 0x00, 0xe5, 0x01, 0xff, 0x5f, 0x20, 0x3a, 0x4f, 0xbe, 0x45, 0x6e, 0xad, 0xf9, 0xcf, 0x70, 0x9c,
1535 0x71, 0xb4, 0x41, 0xe2, 0x5f, 0x46, 0x1d, 0x4a, 0x97, 0x33, 0x4f, 0xc2, 0xb2, 0x1c, 0xa6, 0xaf,
1536 0xbe, 0x40, 0x8e, 0x33, 0x4e, 0xf1, 0x32, 0x7a, 0x8e, 0x35, 0x00, 0x96, 0x80, 0x06, 0xcf, 0xb6,
1537 0xd6, 0xd8, 0x59, 0x45, 0x34, 0x8e, 0x33, 0x4e, 0xe9, 0x72, 0xf9, 0xc2, 0x39, 0x80, 0x72, 0x72,
1538 0x30, 0xf0, 0x74, 0x27, 0xe8, 0x25, 0xfa, 0x99, 0xd1, 0x4b, 0x8c, 0x8a, 0xa7, 0x65, 0x00, 0x31,
1539 0x4b, 0x58, 0x69, 0x9e, 0x9a, 0x70, 0xcb, 0x0f, 0x86, 0x35, 0x7f, 0x46, 0xa6, 0x03, 0x3f, 0x70,
1540 0x25, 0xfe, 0xc7, 0xda, 0xd0, 0xa3, 0xa3, 0xf9, 0x79, 0x6d, 0xe0, 0x4f, 0xea, 0xd1, 0x5e, 0x5d,
1541 0xec, 0x7d, 0x26, 0xff, 0xe2, 0x2d, 0xf6, 0xeb, 0x43, 0x5f, 0xca, 0xce, 0x0b, 0x5c, 0xb8, 0xff,
1542 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x08, 0xad, 0xf2, 0x6f, 0x2b, 0x0e, 0x00, 0x00,
William Kurkianea869482019-04-09 15:16:11 -04001543}