William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: voltha_protos/events.proto |
| 3 | |
| 4 | package voltha // import "github.com/opencord/voltha-protos/go/voltha" |
| 5 | |
| 6 | import proto "github.com/golang/protobuf/proto" |
| 7 | import fmt "fmt" |
| 8 | import math "math" |
| 9 | import _ "github.com/opencord/voltha-protos/go/common" |
| 10 | import _ "google.golang.org/genproto/googleapis/api/annotations" |
| 11 | |
| 12 | // Reference imports to suppress errors if they are not otherwise used. |
| 13 | var _ = proto.Marshal |
| 14 | var _ = fmt.Errorf |
| 15 | var _ = math.Inf |
| 16 | |
| 17 | // This is a compile-time assertion to ensure that this generated file |
| 18 | // is compatible with the proto package it is being compiled against. |
| 19 | // A compilation error at this line likely means your copy of the |
| 20 | // proto package needs to be updated. |
| 21 | const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
| 22 | |
| 23 | type ConfigEventType_ConfigEventType int32 |
| 24 | |
| 25 | const ( |
| 26 | ConfigEventType_add ConfigEventType_ConfigEventType = 0 |
| 27 | ConfigEventType_remove ConfigEventType_ConfigEventType = 1 |
| 28 | ConfigEventType_update ConfigEventType_ConfigEventType = 2 |
| 29 | ) |
| 30 | |
| 31 | var ConfigEventType_ConfigEventType_name = map[int32]string{ |
| 32 | 0: "add", |
| 33 | 1: "remove", |
| 34 | 2: "update", |
| 35 | } |
| 36 | var ConfigEventType_ConfigEventType_value = map[string]int32{ |
| 37 | "add": 0, |
| 38 | "remove": 1, |
| 39 | "update": 2, |
| 40 | } |
| 41 | |
| 42 | func (x ConfigEventType_ConfigEventType) String() string { |
| 43 | return proto.EnumName(ConfigEventType_ConfigEventType_name, int32(x)) |
| 44 | } |
| 45 | func (ConfigEventType_ConfigEventType) EnumDescriptor() ([]byte, []int) { |
| 46 | return fileDescriptor_events_26477559e5dbfb38, []int{0, 0} |
| 47 | } |
| 48 | |
| 49 | type KpiEventType_KpiEventType int32 |
| 50 | |
| 51 | const ( |
| 52 | KpiEventType_slice KpiEventType_KpiEventType = 0 |
| 53 | KpiEventType_ts KpiEventType_KpiEventType = 1 |
| 54 | ) |
| 55 | |
| 56 | var KpiEventType_KpiEventType_name = map[int32]string{ |
| 57 | 0: "slice", |
| 58 | 1: "ts", |
| 59 | } |
| 60 | var KpiEventType_KpiEventType_value = map[string]int32{ |
| 61 | "slice": 0, |
| 62 | "ts": 1, |
| 63 | } |
| 64 | |
| 65 | func (x KpiEventType_KpiEventType) String() string { |
| 66 | return proto.EnumName(KpiEventType_KpiEventType_name, int32(x)) |
| 67 | } |
| 68 | func (KpiEventType_KpiEventType) EnumDescriptor() ([]byte, []int) { |
| 69 | return fileDescriptor_events_26477559e5dbfb38, []int{2, 0} |
| 70 | } |
| 71 | |
| 72 | type AlarmEventType_AlarmEventType int32 |
| 73 | |
| 74 | const ( |
| 75 | AlarmEventType_COMMUNICATION AlarmEventType_AlarmEventType = 0 |
| 76 | AlarmEventType_ENVIRONMENT AlarmEventType_AlarmEventType = 1 |
| 77 | AlarmEventType_EQUIPMENT AlarmEventType_AlarmEventType = 2 |
| 78 | AlarmEventType_SERVICE AlarmEventType_AlarmEventType = 3 |
| 79 | AlarmEventType_PROCESSING AlarmEventType_AlarmEventType = 4 |
| 80 | AlarmEventType_SECURITY AlarmEventType_AlarmEventType = 5 |
| 81 | ) |
| 82 | |
| 83 | var AlarmEventType_AlarmEventType_name = map[int32]string{ |
| 84 | 0: "COMMUNICATION", |
| 85 | 1: "ENVIRONMENT", |
| 86 | 2: "EQUIPMENT", |
| 87 | 3: "SERVICE", |
| 88 | 4: "PROCESSING", |
| 89 | 5: "SECURITY", |
| 90 | } |
| 91 | var AlarmEventType_AlarmEventType_value = map[string]int32{ |
| 92 | "COMMUNICATION": 0, |
| 93 | "ENVIRONMENT": 1, |
| 94 | "EQUIPMENT": 2, |
| 95 | "SERVICE": 3, |
| 96 | "PROCESSING": 4, |
| 97 | "SECURITY": 5, |
| 98 | } |
| 99 | |
| 100 | func (x AlarmEventType_AlarmEventType) String() string { |
| 101 | return proto.EnumName(AlarmEventType_AlarmEventType_name, int32(x)) |
| 102 | } |
| 103 | func (AlarmEventType_AlarmEventType) EnumDescriptor() ([]byte, []int) { |
| 104 | return fileDescriptor_events_26477559e5dbfb38, []int{8, 0} |
| 105 | } |
| 106 | |
| 107 | type AlarmEventCategory_AlarmEventCategory int32 |
| 108 | |
| 109 | const ( |
| 110 | AlarmEventCategory_PON AlarmEventCategory_AlarmEventCategory = 0 |
| 111 | AlarmEventCategory_OLT AlarmEventCategory_AlarmEventCategory = 1 |
| 112 | AlarmEventCategory_ONT AlarmEventCategory_AlarmEventCategory = 2 |
| 113 | AlarmEventCategory_ONU AlarmEventCategory_AlarmEventCategory = 3 |
| 114 | AlarmEventCategory_NNI AlarmEventCategory_AlarmEventCategory = 4 |
| 115 | ) |
| 116 | |
| 117 | var AlarmEventCategory_AlarmEventCategory_name = map[int32]string{ |
| 118 | 0: "PON", |
| 119 | 1: "OLT", |
| 120 | 2: "ONT", |
| 121 | 3: "ONU", |
| 122 | 4: "NNI", |
| 123 | } |
| 124 | var AlarmEventCategory_AlarmEventCategory_value = map[string]int32{ |
| 125 | "PON": 0, |
| 126 | "OLT": 1, |
| 127 | "ONT": 2, |
| 128 | "ONU": 3, |
| 129 | "NNI": 4, |
| 130 | } |
| 131 | |
| 132 | func (x AlarmEventCategory_AlarmEventCategory) String() string { |
| 133 | return proto.EnumName(AlarmEventCategory_AlarmEventCategory_name, int32(x)) |
| 134 | } |
| 135 | func (AlarmEventCategory_AlarmEventCategory) EnumDescriptor() ([]byte, []int) { |
| 136 | return fileDescriptor_events_26477559e5dbfb38, []int{9, 0} |
| 137 | } |
| 138 | |
| 139 | type AlarmEventState_AlarmEventState int32 |
| 140 | |
| 141 | const ( |
| 142 | AlarmEventState_RAISED AlarmEventState_AlarmEventState = 0 |
| 143 | AlarmEventState_CLEARED AlarmEventState_AlarmEventState = 1 |
| 144 | ) |
| 145 | |
| 146 | var AlarmEventState_AlarmEventState_name = map[int32]string{ |
| 147 | 0: "RAISED", |
| 148 | 1: "CLEARED", |
| 149 | } |
| 150 | var AlarmEventState_AlarmEventState_value = map[string]int32{ |
| 151 | "RAISED": 0, |
| 152 | "CLEARED": 1, |
| 153 | } |
| 154 | |
| 155 | func (x AlarmEventState_AlarmEventState) String() string { |
| 156 | return proto.EnumName(AlarmEventState_AlarmEventState_name, int32(x)) |
| 157 | } |
| 158 | func (AlarmEventState_AlarmEventState) EnumDescriptor() ([]byte, []int) { |
| 159 | return fileDescriptor_events_26477559e5dbfb38, []int{10, 0} |
| 160 | } |
| 161 | |
| 162 | type AlarmEventSeverity_AlarmEventSeverity int32 |
| 163 | |
| 164 | const ( |
| 165 | AlarmEventSeverity_INDETERMINATE AlarmEventSeverity_AlarmEventSeverity = 0 |
| 166 | AlarmEventSeverity_WARNING AlarmEventSeverity_AlarmEventSeverity = 1 |
| 167 | AlarmEventSeverity_MINOR AlarmEventSeverity_AlarmEventSeverity = 2 |
| 168 | AlarmEventSeverity_MAJOR AlarmEventSeverity_AlarmEventSeverity = 3 |
| 169 | AlarmEventSeverity_CRITICAL AlarmEventSeverity_AlarmEventSeverity = 4 |
| 170 | ) |
| 171 | |
| 172 | var AlarmEventSeverity_AlarmEventSeverity_name = map[int32]string{ |
| 173 | 0: "INDETERMINATE", |
| 174 | 1: "WARNING", |
| 175 | 2: "MINOR", |
| 176 | 3: "MAJOR", |
| 177 | 4: "CRITICAL", |
| 178 | } |
| 179 | var AlarmEventSeverity_AlarmEventSeverity_value = map[string]int32{ |
| 180 | "INDETERMINATE": 0, |
| 181 | "WARNING": 1, |
| 182 | "MINOR": 2, |
| 183 | "MAJOR": 3, |
| 184 | "CRITICAL": 4, |
| 185 | } |
| 186 | |
| 187 | func (x AlarmEventSeverity_AlarmEventSeverity) String() string { |
| 188 | return proto.EnumName(AlarmEventSeverity_AlarmEventSeverity_name, int32(x)) |
| 189 | } |
| 190 | func (AlarmEventSeverity_AlarmEventSeverity) EnumDescriptor() ([]byte, []int) { |
| 191 | return fileDescriptor_events_26477559e5dbfb38, []int{11, 0} |
| 192 | } |
| 193 | |
| 194 | type ConfigEventType struct { |
| 195 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 196 | XXX_unrecognized []byte `json:"-"` |
| 197 | XXX_sizecache int32 `json:"-"` |
| 198 | } |
| 199 | |
| 200 | func (m *ConfigEventType) Reset() { *m = ConfigEventType{} } |
| 201 | func (m *ConfigEventType) String() string { return proto.CompactTextString(m) } |
| 202 | func (*ConfigEventType) ProtoMessage() {} |
| 203 | func (*ConfigEventType) Descriptor() ([]byte, []int) { |
| 204 | return fileDescriptor_events_26477559e5dbfb38, []int{0} |
| 205 | } |
| 206 | func (m *ConfigEventType) XXX_Unmarshal(b []byte) error { |
| 207 | return xxx_messageInfo_ConfigEventType.Unmarshal(m, b) |
| 208 | } |
| 209 | func (m *ConfigEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 210 | return xxx_messageInfo_ConfigEventType.Marshal(b, m, deterministic) |
| 211 | } |
| 212 | func (dst *ConfigEventType) XXX_Merge(src proto.Message) { |
| 213 | xxx_messageInfo_ConfigEventType.Merge(dst, src) |
| 214 | } |
| 215 | func (m *ConfigEventType) XXX_Size() int { |
| 216 | return xxx_messageInfo_ConfigEventType.Size(m) |
| 217 | } |
| 218 | func (m *ConfigEventType) XXX_DiscardUnknown() { |
| 219 | xxx_messageInfo_ConfigEventType.DiscardUnknown(m) |
| 220 | } |
| 221 | |
| 222 | var xxx_messageInfo_ConfigEventType proto.InternalMessageInfo |
| 223 | |
| 224 | type ConfigEvent struct { |
| 225 | Type ConfigEventType_ConfigEventType `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.ConfigEventType_ConfigEventType" json:"type,omitempty"` |
| 226 | Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` |
| 227 | Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` |
| 228 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 229 | XXX_unrecognized []byte `json:"-"` |
| 230 | XXX_sizecache int32 `json:"-"` |
| 231 | } |
| 232 | |
| 233 | func (m *ConfigEvent) Reset() { *m = ConfigEvent{} } |
| 234 | func (m *ConfigEvent) String() string { return proto.CompactTextString(m) } |
| 235 | func (*ConfigEvent) ProtoMessage() {} |
| 236 | func (*ConfigEvent) Descriptor() ([]byte, []int) { |
| 237 | return fileDescriptor_events_26477559e5dbfb38, []int{1} |
| 238 | } |
| 239 | func (m *ConfigEvent) XXX_Unmarshal(b []byte) error { |
| 240 | return xxx_messageInfo_ConfigEvent.Unmarshal(m, b) |
| 241 | } |
| 242 | func (m *ConfigEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 243 | return xxx_messageInfo_ConfigEvent.Marshal(b, m, deterministic) |
| 244 | } |
| 245 | func (dst *ConfigEvent) XXX_Merge(src proto.Message) { |
| 246 | xxx_messageInfo_ConfigEvent.Merge(dst, src) |
| 247 | } |
| 248 | func (m *ConfigEvent) XXX_Size() int { |
| 249 | return xxx_messageInfo_ConfigEvent.Size(m) |
| 250 | } |
| 251 | func (m *ConfigEvent) XXX_DiscardUnknown() { |
| 252 | xxx_messageInfo_ConfigEvent.DiscardUnknown(m) |
| 253 | } |
| 254 | |
| 255 | var xxx_messageInfo_ConfigEvent proto.InternalMessageInfo |
| 256 | |
| 257 | func (m *ConfigEvent) GetType() ConfigEventType_ConfigEventType { |
| 258 | if m != nil { |
| 259 | return m.Type |
| 260 | } |
| 261 | return ConfigEventType_add |
| 262 | } |
| 263 | |
| 264 | func (m *ConfigEvent) GetHash() string { |
| 265 | if m != nil { |
| 266 | return m.Hash |
| 267 | } |
| 268 | return "" |
| 269 | } |
| 270 | |
| 271 | func (m *ConfigEvent) GetData() string { |
| 272 | if m != nil { |
| 273 | return m.Data |
| 274 | } |
| 275 | return "" |
| 276 | } |
| 277 | |
| 278 | type KpiEventType struct { |
| 279 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 280 | XXX_unrecognized []byte `json:"-"` |
| 281 | XXX_sizecache int32 `json:"-"` |
| 282 | } |
| 283 | |
| 284 | func (m *KpiEventType) Reset() { *m = KpiEventType{} } |
| 285 | func (m *KpiEventType) String() string { return proto.CompactTextString(m) } |
| 286 | func (*KpiEventType) ProtoMessage() {} |
| 287 | func (*KpiEventType) Descriptor() ([]byte, []int) { |
| 288 | return fileDescriptor_events_26477559e5dbfb38, []int{2} |
| 289 | } |
| 290 | func (m *KpiEventType) XXX_Unmarshal(b []byte) error { |
| 291 | return xxx_messageInfo_KpiEventType.Unmarshal(m, b) |
| 292 | } |
| 293 | func (m *KpiEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 294 | return xxx_messageInfo_KpiEventType.Marshal(b, m, deterministic) |
| 295 | } |
| 296 | func (dst *KpiEventType) XXX_Merge(src proto.Message) { |
| 297 | xxx_messageInfo_KpiEventType.Merge(dst, src) |
| 298 | } |
| 299 | func (m *KpiEventType) XXX_Size() int { |
| 300 | return xxx_messageInfo_KpiEventType.Size(m) |
| 301 | } |
| 302 | func (m *KpiEventType) XXX_DiscardUnknown() { |
| 303 | xxx_messageInfo_KpiEventType.DiscardUnknown(m) |
| 304 | } |
| 305 | |
| 306 | var xxx_messageInfo_KpiEventType proto.InternalMessageInfo |
| 307 | |
| 308 | // |
| 309 | // Struct to convey a dictionary of metric metadata. |
| 310 | type MetricMetaData struct { |
| 311 | Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` |
| 312 | Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"` |
| 313 | LogicalDeviceId string `protobuf:"bytes,3,opt,name=logical_device_id,json=logicalDeviceId,proto3" json:"logical_device_id,omitempty"` |
| 314 | // (equivalent to the DPID that ONOS has |
| 315 | // for the VOLTHA device without the |
| 316 | // 'of:' prefix |
| 317 | SerialNo string `protobuf:"bytes,4,opt,name=serial_no,json=serialNo,proto3" json:"serial_no,omitempty"` |
| 318 | DeviceId string `protobuf:"bytes,5,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 319 | 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"` |
| 320 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 321 | XXX_unrecognized []byte `json:"-"` |
| 322 | XXX_sizecache int32 `json:"-"` |
| 323 | } |
| 324 | |
| 325 | func (m *MetricMetaData) Reset() { *m = MetricMetaData{} } |
| 326 | func (m *MetricMetaData) String() string { return proto.CompactTextString(m) } |
| 327 | func (*MetricMetaData) ProtoMessage() {} |
| 328 | func (*MetricMetaData) Descriptor() ([]byte, []int) { |
| 329 | return fileDescriptor_events_26477559e5dbfb38, []int{3} |
| 330 | } |
| 331 | func (m *MetricMetaData) XXX_Unmarshal(b []byte) error { |
| 332 | return xxx_messageInfo_MetricMetaData.Unmarshal(m, b) |
| 333 | } |
| 334 | func (m *MetricMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 335 | return xxx_messageInfo_MetricMetaData.Marshal(b, m, deterministic) |
| 336 | } |
| 337 | func (dst *MetricMetaData) XXX_Merge(src proto.Message) { |
| 338 | xxx_messageInfo_MetricMetaData.Merge(dst, src) |
| 339 | } |
| 340 | func (m *MetricMetaData) XXX_Size() int { |
| 341 | return xxx_messageInfo_MetricMetaData.Size(m) |
| 342 | } |
| 343 | func (m *MetricMetaData) XXX_DiscardUnknown() { |
| 344 | xxx_messageInfo_MetricMetaData.DiscardUnknown(m) |
| 345 | } |
| 346 | |
| 347 | var xxx_messageInfo_MetricMetaData proto.InternalMessageInfo |
| 348 | |
| 349 | func (m *MetricMetaData) GetTitle() string { |
| 350 | if m != nil { |
| 351 | return m.Title |
| 352 | } |
| 353 | return "" |
| 354 | } |
| 355 | |
| 356 | func (m *MetricMetaData) GetTs() float64 { |
| 357 | if m != nil { |
| 358 | return m.Ts |
| 359 | } |
| 360 | return 0 |
| 361 | } |
| 362 | |
| 363 | func (m *MetricMetaData) GetLogicalDeviceId() string { |
| 364 | if m != nil { |
| 365 | return m.LogicalDeviceId |
| 366 | } |
| 367 | return "" |
| 368 | } |
| 369 | |
| 370 | func (m *MetricMetaData) GetSerialNo() string { |
| 371 | if m != nil { |
| 372 | return m.SerialNo |
| 373 | } |
| 374 | return "" |
| 375 | } |
| 376 | |
| 377 | func (m *MetricMetaData) GetDeviceId() string { |
| 378 | if m != nil { |
| 379 | return m.DeviceId |
| 380 | } |
| 381 | return "" |
| 382 | } |
| 383 | |
| 384 | func (m *MetricMetaData) GetContext() map[string]string { |
| 385 | if m != nil { |
| 386 | return m.Context |
| 387 | } |
| 388 | return nil |
| 389 | } |
| 390 | |
| 391 | // |
| 392 | // Struct to convey a dictionary of metric->value pairs. Typically used in |
| 393 | // pure shared-timestamp or shared-timestamp + shared object prefix situations. |
| 394 | type MetricValuePairs struct { |
| 395 | // Metric / value pairs. |
| 396 | 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"` |
| 397 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 398 | XXX_unrecognized []byte `json:"-"` |
| 399 | XXX_sizecache int32 `json:"-"` |
| 400 | } |
| 401 | |
| 402 | func (m *MetricValuePairs) Reset() { *m = MetricValuePairs{} } |
| 403 | func (m *MetricValuePairs) String() string { return proto.CompactTextString(m) } |
| 404 | func (*MetricValuePairs) ProtoMessage() {} |
| 405 | func (*MetricValuePairs) Descriptor() ([]byte, []int) { |
| 406 | return fileDescriptor_events_26477559e5dbfb38, []int{4} |
| 407 | } |
| 408 | func (m *MetricValuePairs) XXX_Unmarshal(b []byte) error { |
| 409 | return xxx_messageInfo_MetricValuePairs.Unmarshal(m, b) |
| 410 | } |
| 411 | func (m *MetricValuePairs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 412 | return xxx_messageInfo_MetricValuePairs.Marshal(b, m, deterministic) |
| 413 | } |
| 414 | func (dst *MetricValuePairs) XXX_Merge(src proto.Message) { |
| 415 | xxx_messageInfo_MetricValuePairs.Merge(dst, src) |
| 416 | } |
| 417 | func (m *MetricValuePairs) XXX_Size() int { |
| 418 | return xxx_messageInfo_MetricValuePairs.Size(m) |
| 419 | } |
| 420 | func (m *MetricValuePairs) XXX_DiscardUnknown() { |
| 421 | xxx_messageInfo_MetricValuePairs.DiscardUnknown(m) |
| 422 | } |
| 423 | |
| 424 | var xxx_messageInfo_MetricValuePairs proto.InternalMessageInfo |
| 425 | |
| 426 | func (m *MetricValuePairs) GetMetrics() map[string]float32 { |
| 427 | if m != nil { |
| 428 | return m.Metrics |
| 429 | } |
| 430 | return nil |
| 431 | } |
| 432 | |
| 433 | // |
| 434 | // Struct to group metadata for a metric (or group of metrics) with the key-value |
| 435 | // pairs of collected metrics |
| 436 | type MetricInformation struct { |
| 437 | Metadata *MetricMetaData `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| 438 | 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"` |
| 439 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 440 | XXX_unrecognized []byte `json:"-"` |
| 441 | XXX_sizecache int32 `json:"-"` |
| 442 | } |
| 443 | |
| 444 | func (m *MetricInformation) Reset() { *m = MetricInformation{} } |
| 445 | func (m *MetricInformation) String() string { return proto.CompactTextString(m) } |
| 446 | func (*MetricInformation) ProtoMessage() {} |
| 447 | func (*MetricInformation) Descriptor() ([]byte, []int) { |
| 448 | return fileDescriptor_events_26477559e5dbfb38, []int{5} |
| 449 | } |
| 450 | func (m *MetricInformation) XXX_Unmarshal(b []byte) error { |
| 451 | return xxx_messageInfo_MetricInformation.Unmarshal(m, b) |
| 452 | } |
| 453 | func (m *MetricInformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 454 | return xxx_messageInfo_MetricInformation.Marshal(b, m, deterministic) |
| 455 | } |
| 456 | func (dst *MetricInformation) XXX_Merge(src proto.Message) { |
| 457 | xxx_messageInfo_MetricInformation.Merge(dst, src) |
| 458 | } |
| 459 | func (m *MetricInformation) XXX_Size() int { |
| 460 | return xxx_messageInfo_MetricInformation.Size(m) |
| 461 | } |
| 462 | func (m *MetricInformation) XXX_DiscardUnknown() { |
| 463 | xxx_messageInfo_MetricInformation.DiscardUnknown(m) |
| 464 | } |
| 465 | |
| 466 | var xxx_messageInfo_MetricInformation proto.InternalMessageInfo |
| 467 | |
| 468 | func (m *MetricInformation) GetMetadata() *MetricMetaData { |
| 469 | if m != nil { |
| 470 | return m.Metadata |
| 471 | } |
| 472 | return nil |
| 473 | } |
| 474 | |
| 475 | func (m *MetricInformation) GetMetrics() map[string]float32 { |
| 476 | if m != nil { |
| 477 | return m.Metrics |
| 478 | } |
| 479 | return nil |
| 480 | } |
| 481 | |
| 482 | // |
| 483 | // Legacy KPI Event structured. In mid-August, the KPI event format was updated |
| 484 | // to a more easily parsable format. See VOL-1140 |
| 485 | // for more information. |
| 486 | type KpiEvent struct { |
| 487 | Type KpiEventType_KpiEventType `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.KpiEventType_KpiEventType" json:"type,omitempty"` |
| 488 | Ts float32 `protobuf:"fixed32,2,opt,name=ts,proto3" json:"ts,omitempty"` |
| 489 | 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"` |
| 490 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 491 | XXX_unrecognized []byte `json:"-"` |
| 492 | XXX_sizecache int32 `json:"-"` |
| 493 | } |
| 494 | |
| 495 | func (m *KpiEvent) Reset() { *m = KpiEvent{} } |
| 496 | func (m *KpiEvent) String() string { return proto.CompactTextString(m) } |
| 497 | func (*KpiEvent) ProtoMessage() {} |
| 498 | func (*KpiEvent) Descriptor() ([]byte, []int) { |
| 499 | return fileDescriptor_events_26477559e5dbfb38, []int{6} |
| 500 | } |
| 501 | func (m *KpiEvent) XXX_Unmarshal(b []byte) error { |
| 502 | return xxx_messageInfo_KpiEvent.Unmarshal(m, b) |
| 503 | } |
| 504 | func (m *KpiEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 505 | return xxx_messageInfo_KpiEvent.Marshal(b, m, deterministic) |
| 506 | } |
| 507 | func (dst *KpiEvent) XXX_Merge(src proto.Message) { |
| 508 | xxx_messageInfo_KpiEvent.Merge(dst, src) |
| 509 | } |
| 510 | func (m *KpiEvent) XXX_Size() int { |
| 511 | return xxx_messageInfo_KpiEvent.Size(m) |
| 512 | } |
| 513 | func (m *KpiEvent) XXX_DiscardUnknown() { |
| 514 | xxx_messageInfo_KpiEvent.DiscardUnknown(m) |
| 515 | } |
| 516 | |
| 517 | var xxx_messageInfo_KpiEvent proto.InternalMessageInfo |
| 518 | |
| 519 | func (m *KpiEvent) GetType() KpiEventType_KpiEventType { |
| 520 | if m != nil { |
| 521 | return m.Type |
| 522 | } |
| 523 | return KpiEventType_slice |
| 524 | } |
| 525 | |
| 526 | func (m *KpiEvent) GetTs() float32 { |
| 527 | if m != nil { |
| 528 | return m.Ts |
| 529 | } |
| 530 | return 0 |
| 531 | } |
| 532 | |
| 533 | func (m *KpiEvent) GetPrefixes() map[string]*MetricValuePairs { |
| 534 | if m != nil { |
| 535 | return m.Prefixes |
| 536 | } |
| 537 | return nil |
| 538 | } |
| 539 | |
| 540 | type KpiEvent2 struct { |
| 541 | // Type of KPI Event |
| 542 | Type KpiEventType_KpiEventType `protobuf:"varint,1,opt,name=type,proto3,enum=voltha.KpiEventType_KpiEventType" json:"type,omitempty"` |
| 543 | // Fields used when for slice: |
| 544 | Ts float64 `protobuf:"fixed64,2,opt,name=ts,proto3" json:"ts,omitempty"` |
| 545 | SliceData []*MetricInformation `protobuf:"bytes,3,rep,name=slice_data,json=sliceData,proto3" json:"slice_data,omitempty"` |
| 546 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 547 | XXX_unrecognized []byte `json:"-"` |
| 548 | XXX_sizecache int32 `json:"-"` |
| 549 | } |
| 550 | |
| 551 | func (m *KpiEvent2) Reset() { *m = KpiEvent2{} } |
| 552 | func (m *KpiEvent2) String() string { return proto.CompactTextString(m) } |
| 553 | func (*KpiEvent2) ProtoMessage() {} |
| 554 | func (*KpiEvent2) Descriptor() ([]byte, []int) { |
| 555 | return fileDescriptor_events_26477559e5dbfb38, []int{7} |
| 556 | } |
| 557 | func (m *KpiEvent2) XXX_Unmarshal(b []byte) error { |
| 558 | return xxx_messageInfo_KpiEvent2.Unmarshal(m, b) |
| 559 | } |
| 560 | func (m *KpiEvent2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 561 | return xxx_messageInfo_KpiEvent2.Marshal(b, m, deterministic) |
| 562 | } |
| 563 | func (dst *KpiEvent2) XXX_Merge(src proto.Message) { |
| 564 | xxx_messageInfo_KpiEvent2.Merge(dst, src) |
| 565 | } |
| 566 | func (m *KpiEvent2) XXX_Size() int { |
| 567 | return xxx_messageInfo_KpiEvent2.Size(m) |
| 568 | } |
| 569 | func (m *KpiEvent2) XXX_DiscardUnknown() { |
| 570 | xxx_messageInfo_KpiEvent2.DiscardUnknown(m) |
| 571 | } |
| 572 | |
| 573 | var xxx_messageInfo_KpiEvent2 proto.InternalMessageInfo |
| 574 | |
| 575 | func (m *KpiEvent2) GetType() KpiEventType_KpiEventType { |
| 576 | if m != nil { |
| 577 | return m.Type |
| 578 | } |
| 579 | return KpiEventType_slice |
| 580 | } |
| 581 | |
| 582 | func (m *KpiEvent2) GetTs() float64 { |
| 583 | if m != nil { |
| 584 | return m.Ts |
| 585 | } |
| 586 | return 0 |
| 587 | } |
| 588 | |
| 589 | func (m *KpiEvent2) GetSliceData() []*MetricInformation { |
| 590 | if m != nil { |
| 591 | return m.SliceData |
| 592 | } |
| 593 | return nil |
| 594 | } |
| 595 | |
| 596 | // |
| 597 | // Identify to the area of the system impacted by the alarm |
| 598 | type AlarmEventType struct { |
| 599 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 600 | XXX_unrecognized []byte `json:"-"` |
| 601 | XXX_sizecache int32 `json:"-"` |
| 602 | } |
| 603 | |
| 604 | func (m *AlarmEventType) Reset() { *m = AlarmEventType{} } |
| 605 | func (m *AlarmEventType) String() string { return proto.CompactTextString(m) } |
| 606 | func (*AlarmEventType) ProtoMessage() {} |
| 607 | func (*AlarmEventType) Descriptor() ([]byte, []int) { |
| 608 | return fileDescriptor_events_26477559e5dbfb38, []int{8} |
| 609 | } |
| 610 | func (m *AlarmEventType) XXX_Unmarshal(b []byte) error { |
| 611 | return xxx_messageInfo_AlarmEventType.Unmarshal(m, b) |
| 612 | } |
| 613 | func (m *AlarmEventType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 614 | return xxx_messageInfo_AlarmEventType.Marshal(b, m, deterministic) |
| 615 | } |
| 616 | func (dst *AlarmEventType) XXX_Merge(src proto.Message) { |
| 617 | xxx_messageInfo_AlarmEventType.Merge(dst, src) |
| 618 | } |
| 619 | func (m *AlarmEventType) XXX_Size() int { |
| 620 | return xxx_messageInfo_AlarmEventType.Size(m) |
| 621 | } |
| 622 | func (m *AlarmEventType) XXX_DiscardUnknown() { |
| 623 | xxx_messageInfo_AlarmEventType.DiscardUnknown(m) |
| 624 | } |
| 625 | |
| 626 | var xxx_messageInfo_AlarmEventType proto.InternalMessageInfo |
| 627 | |
| 628 | // |
| 629 | // Identify to the functional category originating the alarm |
| 630 | type AlarmEventCategory struct { |
| 631 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 632 | XXX_unrecognized []byte `json:"-"` |
| 633 | XXX_sizecache int32 `json:"-"` |
| 634 | } |
| 635 | |
| 636 | func (m *AlarmEventCategory) Reset() { *m = AlarmEventCategory{} } |
| 637 | func (m *AlarmEventCategory) String() string { return proto.CompactTextString(m) } |
| 638 | func (*AlarmEventCategory) ProtoMessage() {} |
| 639 | func (*AlarmEventCategory) Descriptor() ([]byte, []int) { |
| 640 | return fileDescriptor_events_26477559e5dbfb38, []int{9} |
| 641 | } |
| 642 | func (m *AlarmEventCategory) XXX_Unmarshal(b []byte) error { |
| 643 | return xxx_messageInfo_AlarmEventCategory.Unmarshal(m, b) |
| 644 | } |
| 645 | func (m *AlarmEventCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 646 | return xxx_messageInfo_AlarmEventCategory.Marshal(b, m, deterministic) |
| 647 | } |
| 648 | func (dst *AlarmEventCategory) XXX_Merge(src proto.Message) { |
| 649 | xxx_messageInfo_AlarmEventCategory.Merge(dst, src) |
| 650 | } |
| 651 | func (m *AlarmEventCategory) XXX_Size() int { |
| 652 | return xxx_messageInfo_AlarmEventCategory.Size(m) |
| 653 | } |
| 654 | func (m *AlarmEventCategory) XXX_DiscardUnknown() { |
| 655 | xxx_messageInfo_AlarmEventCategory.DiscardUnknown(m) |
| 656 | } |
| 657 | |
| 658 | var xxx_messageInfo_AlarmEventCategory proto.InternalMessageInfo |
| 659 | |
| 660 | // |
| 661 | // Active state of the alarm |
| 662 | type AlarmEventState struct { |
| 663 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 664 | XXX_unrecognized []byte `json:"-"` |
| 665 | XXX_sizecache int32 `json:"-"` |
| 666 | } |
| 667 | |
| 668 | func (m *AlarmEventState) Reset() { *m = AlarmEventState{} } |
| 669 | func (m *AlarmEventState) String() string { return proto.CompactTextString(m) } |
| 670 | func (*AlarmEventState) ProtoMessage() {} |
| 671 | func (*AlarmEventState) Descriptor() ([]byte, []int) { |
| 672 | return fileDescriptor_events_26477559e5dbfb38, []int{10} |
| 673 | } |
| 674 | func (m *AlarmEventState) XXX_Unmarshal(b []byte) error { |
| 675 | return xxx_messageInfo_AlarmEventState.Unmarshal(m, b) |
| 676 | } |
| 677 | func (m *AlarmEventState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 678 | return xxx_messageInfo_AlarmEventState.Marshal(b, m, deterministic) |
| 679 | } |
| 680 | func (dst *AlarmEventState) XXX_Merge(src proto.Message) { |
| 681 | xxx_messageInfo_AlarmEventState.Merge(dst, src) |
| 682 | } |
| 683 | func (m *AlarmEventState) XXX_Size() int { |
| 684 | return xxx_messageInfo_AlarmEventState.Size(m) |
| 685 | } |
| 686 | func (m *AlarmEventState) XXX_DiscardUnknown() { |
| 687 | xxx_messageInfo_AlarmEventState.DiscardUnknown(m) |
| 688 | } |
| 689 | |
| 690 | var xxx_messageInfo_AlarmEventState proto.InternalMessageInfo |
| 691 | |
| 692 | // |
| 693 | // Identify the overall impact of the alarm on the system |
| 694 | type AlarmEventSeverity struct { |
| 695 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 696 | XXX_unrecognized []byte `json:"-"` |
| 697 | XXX_sizecache int32 `json:"-"` |
| 698 | } |
| 699 | |
| 700 | func (m *AlarmEventSeverity) Reset() { *m = AlarmEventSeverity{} } |
| 701 | func (m *AlarmEventSeverity) String() string { return proto.CompactTextString(m) } |
| 702 | func (*AlarmEventSeverity) ProtoMessage() {} |
| 703 | func (*AlarmEventSeverity) Descriptor() ([]byte, []int) { |
| 704 | return fileDescriptor_events_26477559e5dbfb38, []int{11} |
| 705 | } |
| 706 | func (m *AlarmEventSeverity) XXX_Unmarshal(b []byte) error { |
| 707 | return xxx_messageInfo_AlarmEventSeverity.Unmarshal(m, b) |
| 708 | } |
| 709 | func (m *AlarmEventSeverity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 710 | return xxx_messageInfo_AlarmEventSeverity.Marshal(b, m, deterministic) |
| 711 | } |
| 712 | func (dst *AlarmEventSeverity) XXX_Merge(src proto.Message) { |
| 713 | xxx_messageInfo_AlarmEventSeverity.Merge(dst, src) |
| 714 | } |
| 715 | func (m *AlarmEventSeverity) XXX_Size() int { |
| 716 | return xxx_messageInfo_AlarmEventSeverity.Size(m) |
| 717 | } |
| 718 | func (m *AlarmEventSeverity) XXX_DiscardUnknown() { |
| 719 | xxx_messageInfo_AlarmEventSeverity.DiscardUnknown(m) |
| 720 | } |
| 721 | |
| 722 | var xxx_messageInfo_AlarmEventSeverity proto.InternalMessageInfo |
| 723 | |
| 724 | // |
| 725 | // |
| 726 | type AlarmEvent struct { |
| 727 | // Unique ID for this alarm. e.g. voltha.some_olt.1234 |
| 728 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 729 | // Refers to the area of the system impacted by the alarm |
| 730 | Type AlarmEventType_AlarmEventType `protobuf:"varint,2,opt,name=type,proto3,enum=voltha.AlarmEventType_AlarmEventType" json:"type,omitempty"` |
| 731 | // Refers to functional category of the alarm |
| 732 | Category AlarmEventCategory_AlarmEventCategory `protobuf:"varint,3,opt,name=category,proto3,enum=voltha.AlarmEventCategory_AlarmEventCategory" json:"category,omitempty"` |
| 733 | // Current active state of the alarm |
| 734 | State AlarmEventState_AlarmEventState `protobuf:"varint,4,opt,name=state,proto3,enum=voltha.AlarmEventState_AlarmEventState" json:"state,omitempty"` |
| 735 | // Overall impact of the alarm on the system |
| 736 | Severity AlarmEventSeverity_AlarmEventSeverity `protobuf:"varint,5,opt,name=severity,proto3,enum=voltha.AlarmEventSeverity_AlarmEventSeverity" json:"severity,omitempty"` |
| 737 | // Timestamp at which the alarm was first raised |
| 738 | RaisedTs float32 `protobuf:"fixed32,6,opt,name=raised_ts,json=raisedTs,proto3" json:"raised_ts,omitempty"` |
| 739 | // Timestamp at which the alarm was reported |
| 740 | ReportedTs float32 `protobuf:"fixed32,7,opt,name=reported_ts,json=reportedTs,proto3" json:"reported_ts,omitempty"` |
| 741 | // Timestamp at which the alarm has changed since it was raised |
| 742 | ChangedTs float32 `protobuf:"fixed32,8,opt,name=changed_ts,json=changedTs,proto3" json:"changed_ts,omitempty"` |
| 743 | // Identifier of the originating resource of the alarm |
| 744 | ResourceId string `protobuf:"bytes,9,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` |
| 745 | // Textual explanation of the alarm |
| 746 | Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"` |
| 747 | // Key/Value storage for extra information that may give context to the alarm |
| 748 | 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"` |
| 749 | // logical device id |
| 750 | LogicalDeviceId string `protobuf:"bytes,12,opt,name=logical_device_id,json=logicalDeviceId,proto3" json:"logical_device_id,omitempty"` |
| 751 | // alarm_type name indicates clearly the name of the alarm |
| 752 | AlarmTypeName string `protobuf:"bytes,13,opt,name=alarm_type_name,json=alarmTypeName,proto3" json:"alarm_type_name,omitempty"` |
| 753 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 754 | XXX_unrecognized []byte `json:"-"` |
| 755 | XXX_sizecache int32 `json:"-"` |
| 756 | } |
| 757 | |
| 758 | func (m *AlarmEvent) Reset() { *m = AlarmEvent{} } |
| 759 | func (m *AlarmEvent) String() string { return proto.CompactTextString(m) } |
| 760 | func (*AlarmEvent) ProtoMessage() {} |
| 761 | func (*AlarmEvent) Descriptor() ([]byte, []int) { |
| 762 | return fileDescriptor_events_26477559e5dbfb38, []int{12} |
| 763 | } |
| 764 | func (m *AlarmEvent) XXX_Unmarshal(b []byte) error { |
| 765 | return xxx_messageInfo_AlarmEvent.Unmarshal(m, b) |
| 766 | } |
| 767 | func (m *AlarmEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 768 | return xxx_messageInfo_AlarmEvent.Marshal(b, m, deterministic) |
| 769 | } |
| 770 | func (dst *AlarmEvent) XXX_Merge(src proto.Message) { |
| 771 | xxx_messageInfo_AlarmEvent.Merge(dst, src) |
| 772 | } |
| 773 | func (m *AlarmEvent) XXX_Size() int { |
| 774 | return xxx_messageInfo_AlarmEvent.Size(m) |
| 775 | } |
| 776 | func (m *AlarmEvent) XXX_DiscardUnknown() { |
| 777 | xxx_messageInfo_AlarmEvent.DiscardUnknown(m) |
| 778 | } |
| 779 | |
| 780 | var xxx_messageInfo_AlarmEvent proto.InternalMessageInfo |
| 781 | |
| 782 | func (m *AlarmEvent) GetId() string { |
| 783 | if m != nil { |
| 784 | return m.Id |
| 785 | } |
| 786 | return "" |
| 787 | } |
| 788 | |
| 789 | func (m *AlarmEvent) GetType() AlarmEventType_AlarmEventType { |
| 790 | if m != nil { |
| 791 | return m.Type |
| 792 | } |
| 793 | return AlarmEventType_COMMUNICATION |
| 794 | } |
| 795 | |
| 796 | func (m *AlarmEvent) GetCategory() AlarmEventCategory_AlarmEventCategory { |
| 797 | if m != nil { |
| 798 | return m.Category |
| 799 | } |
| 800 | return AlarmEventCategory_PON |
| 801 | } |
| 802 | |
| 803 | func (m *AlarmEvent) GetState() AlarmEventState_AlarmEventState { |
| 804 | if m != nil { |
| 805 | return m.State |
| 806 | } |
| 807 | return AlarmEventState_RAISED |
| 808 | } |
| 809 | |
| 810 | func (m *AlarmEvent) GetSeverity() AlarmEventSeverity_AlarmEventSeverity { |
| 811 | if m != nil { |
| 812 | return m.Severity |
| 813 | } |
| 814 | return AlarmEventSeverity_INDETERMINATE |
| 815 | } |
| 816 | |
| 817 | func (m *AlarmEvent) GetRaisedTs() float32 { |
| 818 | if m != nil { |
| 819 | return m.RaisedTs |
| 820 | } |
| 821 | return 0 |
| 822 | } |
| 823 | |
| 824 | func (m *AlarmEvent) GetReportedTs() float32 { |
| 825 | if m != nil { |
| 826 | return m.ReportedTs |
| 827 | } |
| 828 | return 0 |
| 829 | } |
| 830 | |
| 831 | func (m *AlarmEvent) GetChangedTs() float32 { |
| 832 | if m != nil { |
| 833 | return m.ChangedTs |
| 834 | } |
| 835 | return 0 |
| 836 | } |
| 837 | |
| 838 | func (m *AlarmEvent) GetResourceId() string { |
| 839 | if m != nil { |
| 840 | return m.ResourceId |
| 841 | } |
| 842 | return "" |
| 843 | } |
| 844 | |
| 845 | func (m *AlarmEvent) GetDescription() string { |
| 846 | if m != nil { |
| 847 | return m.Description |
| 848 | } |
| 849 | return "" |
| 850 | } |
| 851 | |
| 852 | func (m *AlarmEvent) GetContext() map[string]string { |
| 853 | if m != nil { |
| 854 | return m.Context |
| 855 | } |
| 856 | return nil |
| 857 | } |
| 858 | |
| 859 | func (m *AlarmEvent) GetLogicalDeviceId() string { |
| 860 | if m != nil { |
| 861 | return m.LogicalDeviceId |
| 862 | } |
| 863 | return "" |
| 864 | } |
| 865 | |
| 866 | func (m *AlarmEvent) GetAlarmTypeName() string { |
| 867 | if m != nil { |
| 868 | return m.AlarmTypeName |
| 869 | } |
| 870 | return "" |
| 871 | } |
| 872 | |
| 873 | func init() { |
| 874 | proto.RegisterType((*ConfigEventType)(nil), "voltha.ConfigEventType") |
| 875 | proto.RegisterType((*ConfigEvent)(nil), "voltha.ConfigEvent") |
| 876 | proto.RegisterType((*KpiEventType)(nil), "voltha.KpiEventType") |
| 877 | proto.RegisterType((*MetricMetaData)(nil), "voltha.MetricMetaData") |
| 878 | proto.RegisterMapType((map[string]string)(nil), "voltha.MetricMetaData.ContextEntry") |
| 879 | proto.RegisterType((*MetricValuePairs)(nil), "voltha.MetricValuePairs") |
| 880 | proto.RegisterMapType((map[string]float32)(nil), "voltha.MetricValuePairs.MetricsEntry") |
| 881 | proto.RegisterType((*MetricInformation)(nil), "voltha.MetricInformation") |
| 882 | proto.RegisterMapType((map[string]float32)(nil), "voltha.MetricInformation.MetricsEntry") |
| 883 | proto.RegisterType((*KpiEvent)(nil), "voltha.KpiEvent") |
| 884 | proto.RegisterMapType((map[string]*MetricValuePairs)(nil), "voltha.KpiEvent.PrefixesEntry") |
| 885 | proto.RegisterType((*KpiEvent2)(nil), "voltha.KpiEvent2") |
| 886 | proto.RegisterType((*AlarmEventType)(nil), "voltha.AlarmEventType") |
| 887 | proto.RegisterType((*AlarmEventCategory)(nil), "voltha.AlarmEventCategory") |
| 888 | proto.RegisterType((*AlarmEventState)(nil), "voltha.AlarmEventState") |
| 889 | proto.RegisterType((*AlarmEventSeverity)(nil), "voltha.AlarmEventSeverity") |
| 890 | proto.RegisterType((*AlarmEvent)(nil), "voltha.AlarmEvent") |
| 891 | proto.RegisterMapType((map[string]string)(nil), "voltha.AlarmEvent.ContextEntry") |
| 892 | proto.RegisterEnum("voltha.ConfigEventType_ConfigEventType", ConfigEventType_ConfigEventType_name, ConfigEventType_ConfigEventType_value) |
| 893 | proto.RegisterEnum("voltha.KpiEventType_KpiEventType", KpiEventType_KpiEventType_name, KpiEventType_KpiEventType_value) |
| 894 | proto.RegisterEnum("voltha.AlarmEventType_AlarmEventType", AlarmEventType_AlarmEventType_name, AlarmEventType_AlarmEventType_value) |
| 895 | proto.RegisterEnum("voltha.AlarmEventCategory_AlarmEventCategory", AlarmEventCategory_AlarmEventCategory_name, AlarmEventCategory_AlarmEventCategory_value) |
| 896 | proto.RegisterEnum("voltha.AlarmEventState_AlarmEventState", AlarmEventState_AlarmEventState_name, AlarmEventState_AlarmEventState_value) |
| 897 | proto.RegisterEnum("voltha.AlarmEventSeverity_AlarmEventSeverity", AlarmEventSeverity_AlarmEventSeverity_name, AlarmEventSeverity_AlarmEventSeverity_value) |
| 898 | } |
| 899 | |
| 900 | func init() { proto.RegisterFile("voltha_protos/events.proto", fileDescriptor_events_26477559e5dbfb38) } |
| 901 | |
| 902 | var fileDescriptor_events_26477559e5dbfb38 = []byte{ |
| 903 | // 1033 bytes of a gzipped FileDescriptorProto |
| 904 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdd, 0x6e, 0xe3, 0x44, |
| 905 | 0x14, 0xae, 0x9d, 0xff, 0x93, 0x36, 0xf5, 0x8e, 0x10, 0x32, 0xe5, 0x67, 0xbb, 0x46, 0x2c, 0xd5, |
| 906 | 0xa2, 0xa6, 0x22, 0x08, 0x69, 0xb7, 0xa8, 0x82, 0xe0, 0x5a, 0xc8, 0xd0, 0x38, 0x65, 0x92, 0x76, |
| 907 | 0x81, 0x9b, 0x68, 0xd6, 0x9e, 0xa6, 0x16, 0x89, 0xc7, 0xb2, 0xa7, 0xd1, 0xe6, 0x8e, 0x07, 0x40, |
| 908 | 0xe2, 0x72, 0x9f, 0x88, 0x37, 0xe1, 0x41, 0xd0, 0xcc, 0xd8, 0xb5, 0x93, 0x7a, 0xc5, 0xc5, 0x8a, |
| 909 | 0xbb, 0x39, 0xdf, 0xf9, 0xf1, 0x77, 0xce, 0x9c, 0x39, 0xc7, 0x70, 0xb0, 0x62, 0x0b, 0x7e, 0x4b, |
| 910 | 0x66, 0x71, 0xc2, 0x38, 0x4b, 0x4f, 0xe8, 0x8a, 0x46, 0x3c, 0xed, 0x4b, 0x09, 0x35, 0x95, 0xee, |
| 911 | 0xc0, 0xdc, 0xb4, 0x59, 0x52, 0x4e, 0x94, 0xc5, 0xc1, 0x47, 0x73, 0xc6, 0xe6, 0x0b, 0x7a, 0x42, |
| 912 | 0xe2, 0xf0, 0x84, 0x44, 0x11, 0xe3, 0x84, 0x87, 0x2c, 0xca, 0xfc, 0x2d, 0x07, 0xf6, 0x6d, 0x16, |
| 913 | 0xdd, 0x84, 0x73, 0x47, 0x44, 0x9d, 0xae, 0x63, 0x6a, 0x0d, 0x1e, 0x40, 0xa8, 0x05, 0x35, 0x12, |
| 914 | 0x04, 0xc6, 0x0e, 0x02, 0x68, 0x26, 0x74, 0xc9, 0x56, 0xd4, 0xd0, 0xc4, 0xf9, 0x2e, 0x0e, 0x08, |
| 915 | 0xa7, 0x86, 0x6e, 0x25, 0xd0, 0x2d, 0xf9, 0xa0, 0x6f, 0xa0, 0xce, 0xd7, 0x31, 0x35, 0xb5, 0x43, |
| 916 | 0xed, 0xa8, 0x37, 0xf8, 0xbc, 0xaf, 0xc8, 0xf5, 0xb7, 0xc2, 0x6e, 0xcb, 0x58, 0x3a, 0x21, 0x04, |
| 917 | 0xf5, 0x5b, 0x92, 0xde, 0x9a, 0xfa, 0xa1, 0x76, 0xd4, 0xc1, 0xf2, 0x2c, 0xb0, 0x80, 0x70, 0x62, |
| 918 | 0xd6, 0x14, 0x26, 0xce, 0xd6, 0x97, 0xb0, 0xfb, 0x53, 0x1c, 0x16, 0xbc, 0x9f, 0x6c, 0xca, 0xa8, |
| 919 | 0x03, 0x8d, 0x74, 0x11, 0xfa, 0xd4, 0xd8, 0x41, 0x4d, 0xd0, 0x79, 0x6a, 0x68, 0xd6, 0x1b, 0x1d, |
| 920 | 0x7a, 0x23, 0xca, 0x93, 0xd0, 0x1f, 0x51, 0x4e, 0xce, 0x09, 0x27, 0xe8, 0x3d, 0x68, 0xf0, 0x90, |
| 921 | 0x2f, 0x14, 0xd7, 0x0e, 0x56, 0x02, 0xea, 0x09, 0x07, 0xc9, 0x40, 0xc3, 0x3a, 0x4f, 0xd1, 0x33, |
| 922 | 0x78, 0xb4, 0x60, 0xf3, 0xd0, 0x27, 0x8b, 0x59, 0x40, 0x57, 0xa1, 0x4f, 0x67, 0x61, 0x90, 0x91, |
| 923 | 0xd9, 0xcf, 0x14, 0xe7, 0x12, 0x77, 0x03, 0xf4, 0x21, 0x74, 0x52, 0x9a, 0x84, 0x64, 0x31, 0x8b, |
| 924 | 0x98, 0x59, 0x97, 0x36, 0x6d, 0x05, 0x78, 0x4c, 0x28, 0x8b, 0x00, 0x0d, 0xa5, 0x0c, 0x72, 0xcf, |
| 925 | 0x33, 0x68, 0xf9, 0x2c, 0xe2, 0xf4, 0x35, 0x37, 0x9b, 0x87, 0xb5, 0xa3, 0xee, 0xe0, 0xd3, 0xbc, |
| 926 | 0x72, 0x9b, 0xa4, 0x45, 0xe1, 0x84, 0x95, 0x13, 0xf1, 0x64, 0x8d, 0x73, 0x9f, 0x83, 0x53, 0xd8, |
| 927 | 0x2d, 0x2b, 0x90, 0x01, 0xb5, 0xdf, 0xe9, 0x3a, 0x4b, 0x4c, 0x1c, 0x45, 0xb2, 0x2b, 0xb2, 0xb8, |
| 928 | 0xa3, 0x59, 0x6d, 0x95, 0x70, 0xaa, 0x3f, 0xd7, 0xac, 0xbf, 0x34, 0x30, 0xd4, 0x47, 0xae, 0x05, |
| 929 | 0x76, 0x49, 0xc2, 0x24, 0x45, 0xdf, 0x42, 0x6b, 0x29, 0xb1, 0xd4, 0xd4, 0x24, 0x9f, 0xcf, 0x36, |
| 930 | 0xf9, 0x14, 0xa6, 0x19, 0x90, 0x66, 0x8c, 0x32, 0x2f, 0xc1, 0xa8, 0xac, 0xf8, 0x2f, 0x46, 0x7a, |
| 931 | 0x99, 0xd1, 0xdf, 0x1a, 0x3c, 0x52, 0xce, 0x6e, 0x74, 0xc3, 0x92, 0xa5, 0x6c, 0x5b, 0x34, 0x80, |
| 932 | 0xb6, 0xe8, 0x6d, 0xd9, 0x0c, 0x22, 0x4c, 0x77, 0xf0, 0x7e, 0x75, 0x8d, 0xf0, 0xbd, 0x1d, 0xfa, |
| 933 | 0xae, 0x48, 0x43, 0x97, 0x69, 0x3c, 0xdd, 0x74, 0x29, 0xc5, 0xff, 0x1f, 0xf2, 0xf8, 0x47, 0x83, |
| 934 | 0x76, 0xde, 0x97, 0xe8, 0xeb, 0x8d, 0x87, 0xf1, 0x24, 0xe7, 0x51, 0xee, 0xdb, 0x0d, 0x21, 0x7b, |
| 935 | 0x12, 0x45, 0x3b, 0xea, 0xb2, 0x1d, 0x4f, 0xa1, 0x1d, 0x27, 0xf4, 0x26, 0x7c, 0x4d, 0x53, 0xb3, |
| 936 | 0x26, 0x53, 0xfa, 0x64, 0x3b, 0x54, 0xff, 0x32, 0x33, 0x50, 0xa9, 0xdc, 0xdb, 0x1f, 0x5c, 0xc1, |
| 937 | 0xde, 0x86, 0xaa, 0x22, 0x99, 0x7e, 0x39, 0x99, 0xee, 0xc0, 0x7c, 0xdb, 0xad, 0x97, 0xd3, 0xfc, |
| 938 | 0x53, 0x83, 0x4e, 0xfe, 0xed, 0xc1, 0xbb, 0xe7, 0xa9, 0x9e, 0xdd, 0x73, 0x00, 0xf9, 0x84, 0x67, |
| 939 | 0xd9, 0xe3, 0x17, 0x99, 0x7e, 0xf0, 0xd6, 0xcb, 0xc3, 0x1d, 0x69, 0x2c, 0x6e, 0xdf, 0xfa, 0x43, |
| 940 | 0x83, 0xde, 0x70, 0x41, 0x92, 0x65, 0x31, 0x1f, 0xa2, 0x6d, 0x04, 0x3d, 0x82, 0x3d, 0x7b, 0x3c, |
| 941 | 0x1a, 0x5d, 0x79, 0xae, 0x3d, 0x9c, 0xba, 0x63, 0xcf, 0xd8, 0x41, 0xfb, 0xd0, 0x75, 0xbc, 0x6b, |
| 942 | 0x17, 0x8f, 0xbd, 0x91, 0xe3, 0x4d, 0x0d, 0x0d, 0xed, 0x41, 0xc7, 0xf9, 0xf9, 0xca, 0xbd, 0x94, |
| 943 | 0xa2, 0x8e, 0xba, 0xd0, 0x9a, 0x38, 0xf8, 0xda, 0xb5, 0x1d, 0xa3, 0x86, 0x7a, 0x00, 0x97, 0x78, |
| 944 | 0x6c, 0x3b, 0x93, 0x89, 0xeb, 0xfd, 0x60, 0xd4, 0xd1, 0x2e, 0xb4, 0x27, 0x8e, 0x7d, 0x85, 0xdd, |
| 945 | 0xe9, 0xaf, 0x46, 0xc3, 0x7a, 0x09, 0xa8, 0xf8, 0x9e, 0x4d, 0x38, 0x9d, 0xb3, 0x64, 0x6d, 0x0d, |
| 946 | 0xab, 0x50, 0x31, 0x60, 0x2f, 0xe5, 0xf7, 0x5b, 0x50, 0x1b, 0x5f, 0x88, 0xef, 0x8a, 0x83, 0xfc, |
| 947 | 0xa2, 0x3c, 0x5c, 0x19, 0x35, 0x71, 0xf0, 0x3c, 0xd7, 0xa8, 0x5b, 0x67, 0xb0, 0x5f, 0x84, 0x98, |
| 948 | 0x70, 0xc2, 0xa9, 0xf5, 0xec, 0x01, 0x24, 0xc6, 0x33, 0x1e, 0xba, 0x13, 0xe7, 0xdc, 0xd8, 0x11, |
| 949 | 0xac, 0xed, 0x0b, 0x67, 0x88, 0x9d, 0x73, 0x43, 0xb3, 0xa2, 0x32, 0x83, 0x09, 0x5d, 0xd1, 0x24, |
| 950 | 0xe4, 0x6b, 0xeb, 0x97, 0x2a, 0x54, 0x54, 0xc8, 0xf5, 0xce, 0x9d, 0xa9, 0x83, 0x47, 0xae, 0x37, |
| 951 | 0x9c, 0x3a, 0x2a, 0xd6, 0xcb, 0x21, 0xf6, 0x44, 0xc6, 0x9a, 0x98, 0xb1, 0x23, 0xd7, 0x1b, 0x63, |
| 952 | 0x43, 0x97, 0xc7, 0xe1, 0x8f, 0x63, 0x6c, 0xd4, 0x44, 0x1d, 0x6c, 0xec, 0x4e, 0x5d, 0x7b, 0x78, |
| 953 | 0x61, 0xd4, 0xad, 0x37, 0x0d, 0x80, 0x22, 0xb4, 0xb8, 0xe3, 0x30, 0xc8, 0xba, 0x4d, 0x0f, 0x03, |
| 954 | 0xf4, 0x22, 0x6b, 0x15, 0x5d, 0xb6, 0xca, 0xfd, 0x84, 0xd9, 0xbc, 0xaa, 0x2d, 0x31, 0x6b, 0x17, |
| 955 | 0x17, 0xda, 0x7e, 0x56, 0x41, 0x39, 0x8c, 0x7b, 0x83, 0xe3, 0x87, 0xee, 0x79, 0x8d, 0x2b, 0x20, |
| 956 | 0x7c, 0xef, 0x8e, 0xce, 0xa0, 0x91, 0x8a, 0xb2, 0xc9, 0x81, 0x5d, 0x5a, 0x59, 0x5b, 0x55, 0xdd, |
| 957 | 0x96, 0xb1, 0xf2, 0x12, 0x4c, 0xd2, 0xac, 0x66, 0x72, 0xaa, 0x57, 0x32, 0xc9, 0xab, 0x5a, 0x01, |
| 958 | 0xe1, 0x7b, 0x77, 0xb1, 0x21, 0x12, 0x12, 0xa6, 0x34, 0x98, 0xf1, 0xd4, 0x6c, 0xca, 0x27, 0xdf, |
| 959 | 0x56, 0xc0, 0x34, 0x45, 0x8f, 0xa1, 0x9b, 0xd0, 0x98, 0x25, 0x5c, 0xa9, 0x5b, 0x52, 0x0d, 0x39, |
| 960 | 0x34, 0x4d, 0xd1, 0xc7, 0x00, 0xfe, 0x2d, 0x89, 0xe6, 0x4a, 0xdf, 0x96, 0xfa, 0x4e, 0x86, 0xe4, |
| 961 | 0xfe, 0x29, 0xbb, 0x4b, 0xd4, 0x02, 0xea, 0xc8, 0x5b, 0x80, 0x1c, 0x72, 0x03, 0x74, 0x08, 0xdd, |
| 962 | 0x80, 0xa6, 0x7e, 0x12, 0xc6, 0xe2, 0x45, 0x99, 0x20, 0x0d, 0xca, 0x10, 0x7a, 0x51, 0x2c, 0xa9, |
| 963 | 0xae, 0x7c, 0x90, 0x8f, 0x1f, 0x66, 0x5a, 0xbd, 0xa0, 0xaa, 0xb7, 0xe8, 0x6e, 0xf5, 0x16, 0x7d, |
| 964 | 0x0a, 0xfb, 0x44, 0xc4, 0x9b, 0x89, 0x9b, 0x9e, 0x45, 0x64, 0x49, 0xcd, 0x3d, 0x69, 0xb9, 0x27, |
| 965 | 0x61, 0xd1, 0x05, 0x1e, 0x59, 0xd2, 0x77, 0x59, 0x7a, 0xdf, 0x1f, 0xff, 0xf6, 0xc5, 0x3c, 0xe4, |
| 966 | 0xb7, 0x77, 0xaf, 0xfa, 0x3e, 0x5b, 0x9e, 0xb0, 0x98, 0x46, 0x3e, 0x4b, 0x82, 0x13, 0x95, 0xce, |
| 967 | 0x71, 0xf6, 0x2b, 0x35, 0x67, 0x19, 0xf0, 0xaa, 0x29, 0x91, 0xaf, 0xfe, 0x0d, 0x00, 0x00, 0xff, |
| 968 | 0xff, 0xba, 0xd4, 0xc8, 0xc8, 0x90, 0x09, 0x00, 0x00, |
| 969 | } |