blob: 31e6c081a96f24eda8b3d3b5e313565b9fd17729 [file] [log] [blame]
Chip Boling5584d202018-11-09 15:17:40 -06001#
2# Copyright 2018 the original author or authors.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17_alarm_info = {
18 5: {
19 'name': 'CardHolder',
20 0: 'Plug-in circuit pack missing',
21 1: 'Plug-in type mismatch alarm',
22 2: 'Improper card removal',
23 3: 'Plug-in equipment ID mismatch alarm',
24 4: 'Protection switch',
25 },
26 6: {
27 'name': 'CircuitPack',
28 0: 'Equipment alarm',
29 1: 'Powering alarm',
30 2: 'Self-test failure',
31 3: 'Laser end of life',
32 4: 'Temperature yellow',
33 5: 'Temperature red',
34
35 },
36 11: {
37 'name': 'PptpEthernetUni',
38 0: 'LAN Loss Of Signal',
39 },
40 47: {
41 'name': 'MacBridgePortConfigurationData',
42 0: 'Port blocking',
43 },
44 256: {
45 'name': 'OntG',
46 0: 'Equipment alarm',
47 1: 'Powering alarm',
48 2: 'Battery missing',
49 3: 'Battery failure',
50 4: 'Battery low',
51 5: 'Physical intrusion',
52 6: 'Self-test failure',
53 7: 'Dying gasp',
54 8: 'Temperature yellow',
55 9: 'Temperature red',
56 10: 'Voltage yellow',
57 11: 'Voltage red',
58 12: 'ONU manual power off',
59 13: 'Invalid image',
60 14: 'PSE overload yellow',
61 15: 'PSE overload red',
62 },
63 263: {
64 'name': 'AniG',
65 0: 'Low received optical power',
66 1: 'High received optical power',
67 2: 'Signal fail',
68 3: 'Signal degrade',
69 4: 'Low transmit optical power',
70 5: 'High transmit optical power',
71 6: 'Laser bias current',
72 },
73 266: {
74 'name': 'GemInterworkingTp',
75 6: 'Operational state change',
76 },
77 268: {
78 'name': 'GemPortNetworkCtp',
79 5: 'End-to-end loss of continuity',
80 },
81 277: {
82 'name': 'PriorityQueueG',
83 0: 'Block loss',
84 },
85 281: {
86 'name': 'MulticastGemInterworkingTp',
87 0: 'Deprecated',
88 },
89 309: {
90 'name': 'MulticastOperationsProfile',
91 0: 'Lost multicast group',
92 },
93 329: {
94 'name': 'VirtualEthernetInterfacePt',
95 0: 'Connecting function fail',
96 },
97 24: {
98 'name': 'EthernetPMMonitoringHistoryData',
99 0: 'FCS errors',
100 1: 'Excessive collision counter',
101 2: 'Late collision counter',
102 3: 'Frames too long',
103 4: 'Buffer overflows on receive',
104 5: 'Buffer overflows on transmit',
105 6: 'Single collision frame counter',
106 7: 'Multiple collision frame counter',
107 8: 'SQE counter',
108 9: 'Deferred transmission counter',
109 10: 'Internal MAC transmit error counter',
110 11: 'Carrier sense error counter',
111 12: 'Alignment error counter',
112 13: 'Internal MAC receive error counter',
113 },
114 312: {
115 'name': 'FecPerformanceMonitoringHistoryData',
116 0: 'Corrected bytes',
117 1: 'Corrected code words',
118 2: 'Uncorrectable code words',
119 4: 'FEC seconds',
120 },
121 321: {
122 'name': 'EthernetFrameDownstreamPerformanceMonitoringHistoryData',
123 0: 'Drop events',
124 1: 'CRC errored packets',
125 2: 'Undersize packets',
126 3: 'Oversize packets',
127 },
128 322: {
129 'name': 'EthernetFrameUpstreamPerformanceMonitoringHistoryData',
130 0: 'Drop events',
131 1: 'CRC errored packets',
132 2: 'Undersize packets',
133 3: 'Oversize packets',
134 },
135 329: {
136 'name': 'VeipUni',
137 0: 'Connecting function fail'
138 },
139 334: {
140 'name': 'EthernetFrameExtendedPerformanceMonitoring',
141 0: 'Drop events',
142 1: 'CRC errored packets',
143 2: 'Undersize packets',
144 3: 'Oversize packets',
145 },
146 426: {
147 'name': 'EthernetFrameExtendedPerformanceMonitoring64Bit',
148 0: 'Drop events',
149 1: 'CRC errored packets',
150 2: 'Undersize packets',
151 3: 'Oversize packets',
152 },
153 341: {
154 'name': 'GemPortNetworkCtpMonitoringHistoryData',
155 1: 'Encryption key errors',
156 },
157 344: {
158 'name': 'XgPonTcPerformanceMonitoringHistoryData',
159 1: 'PSBd HEC error count',
160 2: 'XGTC HEC error count',
161 3: 'Unknown profile count',
162 4: 'XGEM HEC loss count',
163 5: 'XGEM key errors',
164 6: 'XGEM HEC error count',
165 },
166 345: {
167 'name': 'anceMonitoringHistoryData',
168 1: 'PLOAM MIC error count',
169 2: 'OMCI MIC error count',
170 },
171}
172