blob: 3030cfbf60462695706ac20e8535198591c47dd0 [file] [log] [blame]
uwe ottrembka66d91ea2020-08-11 10:50:55 +02001# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3# source: dmi/hw.proto
4
5import sys
6_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
7from google.protobuf.internal import enum_type_wrapper
8from google.protobuf import descriptor as _descriptor
9from google.protobuf import message as _message
10from google.protobuf import reflection as _reflection
11from google.protobuf import symbol_database as _symbol_database
12# @@protoc_insertion_point(imports)
13
14_sym_db = _symbol_database.Default()
15
16
17from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
18
19
20DESCRIPTOR = _descriptor.FileDescriptor(
21 name='dmi/hw.proto',
22 package='dmi',
23 syntax='proto3',
24 serialized_options=_b('Z9github.com/opencord/device-management-interface/v3/go/dmi'),
25 serialized_pb=_b('\n\x0c\x64mi/hw.proto\x12\x03\x64mi\x1a\x1fgoogle/protobuf/timestamp.proto\"\x14\n\x04Uuid\x12\x0c\n\x04uuid\x18\x01 \x01(\t\"%\n\nHardwareID\x12\x17\n\x04uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\"\x12\n\x03Uri\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\xb5\x02\n\x0e\x43omponentState\x12\x36\n\x12state_last_changed\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\x0b\x61\x64min_state\x18\x02 \x01(\x0e\x32\x18.dmi.ComponentAdminState\x12+\n\noper_state\x18\x03 \x01(\x0e\x32\x17.dmi.ComponentOperState\x12-\n\x0busage_state\x18\x04 \x01(\x0e\x32\x18.dmi.ComponentUsageState\x12-\n\x0b\x61larm_state\x18\x05 \x01(\x0e\x32\x18.dmi.ComponentAlarmState\x12\x31\n\rstandby_state\x18\x06 \x01(\x0e\x32\x1a.dmi.ComponentStandbyState\"\x98\x02\n\x13\x43omponentSensorData\x12\r\n\x05value\x18\x01 \x01(\x05\x12\"\n\x04type\x18\x02 \x01(\x0e\x32\x14.dmi.SensorValueType\x12$\n\x05scale\x18\x03 \x01(\x0e\x32\x15.dmi.SensorValueScale\x12\x11\n\tprecision\x18\x04 \x01(\x05\x12!\n\x06status\x18\x05 \x01(\x0e\x32\x11.dmi.SensorStatus\x12\x15\n\runits_display\x18\x06 \x01(\t\x12-\n\ttimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x11value_update_rate\x18\x08 \x01(\r\x12\x11\n\tdata_type\x18\t \x01(\t\"\xf9\x03\n\tComponent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12!\n\x05\x63lass\x18\x02 \x01(\x0e\x32\x12.dmi.ComponentType\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0e\n\x06parent\x18\x04 \x01(\t\x12\x16\n\x0eparent_rel_pos\x18\x05 \x01(\x05\x12 \n\x08\x63hildren\x18\x06 \x03(\x0b\x32\x0e.dmi.Component\x12\x14\n\x0chardware_rev\x18\x07 \x01(\t\x12\x14\n\x0c\x66irmware_rev\x18\x08 \x01(\t\x12\x14\n\x0csoftware_rev\x18\t \x01(\t\x12\x12\n\nserial_num\x18\n \x01(\t\x12\x10\n\x08mfg_name\x18\x0b \x01(\t\x12\x12\n\nmodel_name\x18\x0c \x01(\t\x12\r\n\x05\x61lias\x18\r \x01(\t\x12\x10\n\x08\x61sset_id\x18\x0e \x01(\t\x12\x0e\n\x06is_fru\x18\x0f \x01(\x08\x12,\n\x08mfg_date\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\x03uri\x18\x11 \x01(\x0b\x32\x08.dmi.Uri\x12\x17\n\x04uuid\x18\x12 \x01(\x0b\x32\t.dmi.Uuid\x12\"\n\x05state\x18\x13 \x01(\x0b\x32\x13.dmi.ComponentState\x12-\n\x0bsensor_data\x18\x14 \x03(\x0b\x32\x18.dmi.ComponentSensorData\"Y\n\x08Hardware\x12/\n\x0blast_change\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x04root\x18\x02 \x01(\x0b\x32\x0e.dmi.Component\"\xe5\x01\n\x13ModifiableComponent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12!\n\x05\x63lass\x18\x02 \x01(\x0e\x32\x12.dmi.ComponentType\x12\x1e\n\x06parent\x18\x03 \x01(\x0b\x32\x0e.dmi.Component\x12\x16\n\x0eparent_rel_pos\x18\x04 \x01(\x05\x12\r\n\x05\x61lias\x18\x05 \x01(\t\x12\x10\n\x08\x61sset_id\x18\x06 \x01(\t\x12\x15\n\x03uri\x18\x07 \x01(\x0b\x32\x08.dmi.Uri\x12-\n\x0b\x61\x64min_state\x18\x08 \x01(\x0e\x32\x18.dmi.ComponentAdminState*\xb4\x03\n\rComponentType\x12\x1c\n\x18\x43OMPONENT_TYPE_UNDEFINED\x10\x00\x12\x1a\n\x16\x43OMPONENT_TYPE_UNKNOWN\x10\x01\x12\x1a\n\x16\x43OMPONENT_TYPE_CHASSIS\x10\x02\x12\x1c\n\x18\x43OMPONENT_TYPE_BACKPLANE\x10\x03\x12\x1c\n\x18\x43OMPONENT_TYPE_CONTAINER\x10\x04\x12\x1f\n\x1b\x43OMPONENT_TYPE_POWER_SUPPLY\x10\x05\x12\x16\n\x12\x43OMPONENT_TYPE_FAN\x10\x06\x12\x19\n\x15\x43OMPONENT_TYPE_SENSOR\x10\x07\x12\x19\n\x15\x43OMPONENT_TYPE_MODULE\x10\x08\x12\x17\n\x13\x43OMPONENT_TYPE_PORT\x10\t\x12\x16\n\x12\x43OMPONENT_TYPE_CPU\x10\n\x12\x1a\n\x16\x43OMPONENT_TYPE_BATTERY\x10\x0b\x12\x1a\n\x16\x43OMPONENT_TYPE_STORAGE\x10\x0c\x12\x19\n\x15\x43OMPONENT_TYPE_MEMORY\x10\r\x12\x1e\n\x1a\x43OMPONENT_TYPE_TRANSCEIVER\x10\x0e*\xb3\x01\n\x13\x43omponentAdminState\x12\x1e\n\x1a\x43OMP_ADMIN_STATE_UNDEFINED\x10\x00\x12\x1c\n\x18\x43OMP_ADMIN_STATE_UNKNOWN\x10\x01\x12\x1b\n\x17\x43OMP_ADMIN_STATE_LOCKED\x10\x02\x12\"\n\x1e\x43OMP_ADMIN_STATE_SHUTTING_DOWN\x10\x03\x12\x1d\n\x19\x43OMP_ADMIN_STATE_UNLOCKED\x10\x04*\xa8\x01\n\x12\x43omponentOperState\x12\x1d\n\x19\x43OMP_OPER_STATE_UNDEFINED\x10\x00\x12\x1b\n\x17\x43OMP_OPER_STATE_UNKNOWN\x10\x01\x12\x1c\n\x18\x43OMP_OPER_STATE_DISABLED\x10\x02\x12\x1b\n\x17\x43OMP_OPER_STATE_ENABLED\x10\x03\x12\x1b\n\x17\x43OMP_OPER_STATE_TESTING\x10\x04*\xa6\x01\n\x13\x43omponentUsageState\x12\x1e\n\x1a\x43OMP_USAGE_STATE_UNDEFINED\x10\x00\x12\x1c\n\x18\x43OMP_USAGE_STATE_UNKNOWN\x10\x01\x12\x19\n\x15\x43OMP_USAGE_STATE_IDLE\x10\x02\x12\x1b\n\x17\x43OMP_USAGE_STATE_ACTIVE\x10\x03\x12\x19\n\x15\x43OMP_USAGE_STATE_BUSY\x10\x04*\x8e\x02\n\x13\x43omponentAlarmState\x12\x1e\n\x1a\x43OMP_ALARM_STATE_UNDEFINED\x10\x00\x12\x1c\n\x18\x43OMP_ALARM_STATE_UNKNOWN\x10\x01\x12!\n\x1d\x43OMP_ALARM_STATE_UNDER_REPAIR\x10\x02\x12\x1d\n\x19\x43OMP_ALARM_STATE_CRITICAL\x10\x03\x12\x1a\n\x16\x43OMP_ALARM_STATE_MAJOR\x10\x04\x12\x1a\n\x16\x43OMP_ALARM_STATE_MINOR\x10\x05\x12\x1c\n\x18\x43OMP_ALARM_STATE_WARNING\x10\x06\x12!\n\x1d\x43OMP_ALARM_STATE_INTERMEDIATE\x10\x07*\xbc\x01\n\x15\x43omponentStandbyState\x12 \n\x1c\x43OMP_STANDBY_STATE_UNDEFINED\x10\x00\x12\x1e\n\x1a\x43OMP_STANDBY_STATE_UNKNOWN\x10\x01\x12\x1a\n\x16\x43OMP_STANDBY_STATE_HOT\x10\x02\x12\x1b\n\x17\x43OMP_STANDBY_STATE_COLD\x10\x03\x12(\n$COMP_STANDBY_STATE_PROVIDING_SERVICE\x10\x04*\xa1\x03\n\x0fSensorValueType\x12\x1f\n\x1bSENSOR_VALUE_TYPE_UNDEFINED\x10\x00\x12\x1b\n\x17SENSOR_VALUE_TYPE_OTHER\x10\x01\x12\x1d\n\x19SENSOR_VALUE_TYPE_UNKNOWN\x10\x02\x12\x1e\n\x1aSENSOR_VALUE_TYPE_VOLTS_AC\x10\x03\x12\x1e\n\x1aSENSOR_VALUE_TYPE_VOLTS_DC\x10\x04\x12\x1d\n\x19SENSOR_VALUE_TYPE_AMPERES\x10\x05\x12\x1b\n\x17SENSOR_VALUE_TYPE_WATTS\x10\x06\x12\x1b\n\x17SENSOR_VALUE_TYPE_HERTZ\x10\x07\x12\x1d\n\x19SENSOR_VALUE_TYPE_CELSIUS\x10\x08\x12 \n\x1cSENSOR_VALUE_TYPE_PERCENT_RH\x10\t\x12\x19\n\x15SENSOR_VALUE_TYPE_RPM\x10\n\x12\x19\n\x15SENSOR_VALUE_TYPE_CMM\x10\x0b\x12!\n\x1dSENSOR_VALUE_TYPE_TRUTH_VALUE\x10\x0c*\xa8\x04\n\x10SensorValueScale\x12 \n\x1cSENSOR_VALUE_SCALE_UNDEFINED\x10\x00\x12\x1c\n\x18SENSOR_VALUE_SCALE_YOCTO\x10\x01\x12\x1c\n\x18SENSOR_VALUE_SCALE_ZEPTO\x10\x02\x12\x1b\n\x17SENSOR_VALUE_SCALE_ATTO\x10\x03\x12\x1c\n\x18SENSOR_VALUE_SCALE_FEMTO\x10\x04\x12\x1b\n\x17SENSOR_VALUE_SCALE_PICO\x10\x05\x12\x1b\n\x17SENSOR_VALUE_SCALE_NANO\x10\x06\x12\x1c\n\x18SENSOR_VALUE_SCALE_MICRO\x10\x07\x12\x1c\n\x18SENSOR_VALUE_SCALE_MILLI\x10\x08\x12\x1c\n\x18SENSOR_VALUE_SCALE_UNITS\x10\t\x12\x1b\n\x17SENSOR_VALUE_SCALE_KILO\x10\n\x12\x1b\n\x17SENSOR_VALUE_SCALE_MEGA\x10\x0b\x12\x1b\n\x17SENSOR_VALUE_SCALE_GIGA\x10\x0c\x12\x1b\n\x17SENSOR_VALUE_SCALE_TERA\x10\r\x12\x1b\n\x17SENSOR_VALUE_SCALE_PETA\x10\x0e\x12\x1a\n\x16SENSOR_VALUE_SCALE_EXA\x10\x0f\x12\x1c\n\x18SENSOR_VALUE_SCALE_ZETTA\x10\x10\x12\x1c\n\x18SENSOR_VALUE_SCALE_YOTTA\x10\x11*\x82\x01\n\x0cSensorStatus\x12\x1b\n\x17SENSOR_STATUS_UNDEFINED\x10\x00\x12\x14\n\x10SENSOR_STATUS_OK\x10\x01\x12\x1d\n\x19SENSOR_STATUS_UNAVAILABLE\x10\x02\x12 \n\x1cSENSOR_STATUS_NONOPERATIONAL\x10\x03\x42;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3')
26 ,
27 dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])
28
29_COMPONENTTYPE = _descriptor.EnumDescriptor(
30 name='ComponentType',
31 full_name='dmi.ComponentType',
32 filename=None,
33 file=DESCRIPTOR,
34 values=[
35 _descriptor.EnumValueDescriptor(
36 name='COMPONENT_TYPE_UNDEFINED', index=0, number=0,
37 serialized_options=None,
38 type=None),
39 _descriptor.EnumValueDescriptor(
40 name='COMPONENT_TYPE_UNKNOWN', index=1, number=1,
41 serialized_options=None,
42 type=None),
43 _descriptor.EnumValueDescriptor(
44 name='COMPONENT_TYPE_CHASSIS', index=2, number=2,
45 serialized_options=None,
46 type=None),
47 _descriptor.EnumValueDescriptor(
48 name='COMPONENT_TYPE_BACKPLANE', index=3, number=3,
49 serialized_options=None,
50 type=None),
51 _descriptor.EnumValueDescriptor(
52 name='COMPONENT_TYPE_CONTAINER', index=4, number=4,
53 serialized_options=None,
54 type=None),
55 _descriptor.EnumValueDescriptor(
56 name='COMPONENT_TYPE_POWER_SUPPLY', index=5, number=5,
57 serialized_options=None,
58 type=None),
59 _descriptor.EnumValueDescriptor(
60 name='COMPONENT_TYPE_FAN', index=6, number=6,
61 serialized_options=None,
62 type=None),
63 _descriptor.EnumValueDescriptor(
64 name='COMPONENT_TYPE_SENSOR', index=7, number=7,
65 serialized_options=None,
66 type=None),
67 _descriptor.EnumValueDescriptor(
68 name='COMPONENT_TYPE_MODULE', index=8, number=8,
69 serialized_options=None,
70 type=None),
71 _descriptor.EnumValueDescriptor(
72 name='COMPONENT_TYPE_PORT', index=9, number=9,
73 serialized_options=None,
74 type=None),
75 _descriptor.EnumValueDescriptor(
76 name='COMPONENT_TYPE_CPU', index=10, number=10,
77 serialized_options=None,
78 type=None),
79 _descriptor.EnumValueDescriptor(
80 name='COMPONENT_TYPE_BATTERY', index=11, number=11,
81 serialized_options=None,
82 type=None),
83 _descriptor.EnumValueDescriptor(
84 name='COMPONENT_TYPE_STORAGE', index=12, number=12,
85 serialized_options=None,
86 type=None),
87 _descriptor.EnumValueDescriptor(
88 name='COMPONENT_TYPE_MEMORY', index=13, number=13,
89 serialized_options=None,
90 type=None),
91 _descriptor.EnumValueDescriptor(
92 name='COMPONENT_TYPE_TRANSCEIVER', index=14, number=14,
93 serialized_options=None,
94 type=None),
95 ],
96 containing_type=None,
97 serialized_options=None,
98 serialized_start=1562,
99 serialized_end=1998,
100)
101_sym_db.RegisterEnumDescriptor(_COMPONENTTYPE)
102
103ComponentType = enum_type_wrapper.EnumTypeWrapper(_COMPONENTTYPE)
104_COMPONENTADMINSTATE = _descriptor.EnumDescriptor(
105 name='ComponentAdminState',
106 full_name='dmi.ComponentAdminState',
107 filename=None,
108 file=DESCRIPTOR,
109 values=[
110 _descriptor.EnumValueDescriptor(
111 name='COMP_ADMIN_STATE_UNDEFINED', index=0, number=0,
112 serialized_options=None,
113 type=None),
114 _descriptor.EnumValueDescriptor(
115 name='COMP_ADMIN_STATE_UNKNOWN', index=1, number=1,
116 serialized_options=None,
117 type=None),
118 _descriptor.EnumValueDescriptor(
119 name='COMP_ADMIN_STATE_LOCKED', index=2, number=2,
120 serialized_options=None,
121 type=None),
122 _descriptor.EnumValueDescriptor(
123 name='COMP_ADMIN_STATE_SHUTTING_DOWN', index=3, number=3,
124 serialized_options=None,
125 type=None),
126 _descriptor.EnumValueDescriptor(
127 name='COMP_ADMIN_STATE_UNLOCKED', index=4, number=4,
128 serialized_options=None,
129 type=None),
130 ],
131 containing_type=None,
132 serialized_options=None,
133 serialized_start=2001,
134 serialized_end=2180,
135)
136_sym_db.RegisterEnumDescriptor(_COMPONENTADMINSTATE)
137
138ComponentAdminState = enum_type_wrapper.EnumTypeWrapper(_COMPONENTADMINSTATE)
139_COMPONENTOPERSTATE = _descriptor.EnumDescriptor(
140 name='ComponentOperState',
141 full_name='dmi.ComponentOperState',
142 filename=None,
143 file=DESCRIPTOR,
144 values=[
145 _descriptor.EnumValueDescriptor(
146 name='COMP_OPER_STATE_UNDEFINED', index=0, number=0,
147 serialized_options=None,
148 type=None),
149 _descriptor.EnumValueDescriptor(
150 name='COMP_OPER_STATE_UNKNOWN', index=1, number=1,
151 serialized_options=None,
152 type=None),
153 _descriptor.EnumValueDescriptor(
154 name='COMP_OPER_STATE_DISABLED', index=2, number=2,
155 serialized_options=None,
156 type=None),
157 _descriptor.EnumValueDescriptor(
158 name='COMP_OPER_STATE_ENABLED', index=3, number=3,
159 serialized_options=None,
160 type=None),
161 _descriptor.EnumValueDescriptor(
162 name='COMP_OPER_STATE_TESTING', index=4, number=4,
163 serialized_options=None,
164 type=None),
165 ],
166 containing_type=None,
167 serialized_options=None,
168 serialized_start=2183,
169 serialized_end=2351,
170)
171_sym_db.RegisterEnumDescriptor(_COMPONENTOPERSTATE)
172
173ComponentOperState = enum_type_wrapper.EnumTypeWrapper(_COMPONENTOPERSTATE)
174_COMPONENTUSAGESTATE = _descriptor.EnumDescriptor(
175 name='ComponentUsageState',
176 full_name='dmi.ComponentUsageState',
177 filename=None,
178 file=DESCRIPTOR,
179 values=[
180 _descriptor.EnumValueDescriptor(
181 name='COMP_USAGE_STATE_UNDEFINED', index=0, number=0,
182 serialized_options=None,
183 type=None),
184 _descriptor.EnumValueDescriptor(
185 name='COMP_USAGE_STATE_UNKNOWN', index=1, number=1,
186 serialized_options=None,
187 type=None),
188 _descriptor.EnumValueDescriptor(
189 name='COMP_USAGE_STATE_IDLE', index=2, number=2,
190 serialized_options=None,
191 type=None),
192 _descriptor.EnumValueDescriptor(
193 name='COMP_USAGE_STATE_ACTIVE', index=3, number=3,
194 serialized_options=None,
195 type=None),
196 _descriptor.EnumValueDescriptor(
197 name='COMP_USAGE_STATE_BUSY', index=4, number=4,
198 serialized_options=None,
199 type=None),
200 ],
201 containing_type=None,
202 serialized_options=None,
203 serialized_start=2354,
204 serialized_end=2520,
205)
206_sym_db.RegisterEnumDescriptor(_COMPONENTUSAGESTATE)
207
208ComponentUsageState = enum_type_wrapper.EnumTypeWrapper(_COMPONENTUSAGESTATE)
209_COMPONENTALARMSTATE = _descriptor.EnumDescriptor(
210 name='ComponentAlarmState',
211 full_name='dmi.ComponentAlarmState',
212 filename=None,
213 file=DESCRIPTOR,
214 values=[
215 _descriptor.EnumValueDescriptor(
216 name='COMP_ALARM_STATE_UNDEFINED', index=0, number=0,
217 serialized_options=None,
218 type=None),
219 _descriptor.EnumValueDescriptor(
220 name='COMP_ALARM_STATE_UNKNOWN', index=1, number=1,
221 serialized_options=None,
222 type=None),
223 _descriptor.EnumValueDescriptor(
224 name='COMP_ALARM_STATE_UNDER_REPAIR', index=2, number=2,
225 serialized_options=None,
226 type=None),
227 _descriptor.EnumValueDescriptor(
228 name='COMP_ALARM_STATE_CRITICAL', index=3, number=3,
229 serialized_options=None,
230 type=None),
231 _descriptor.EnumValueDescriptor(
232 name='COMP_ALARM_STATE_MAJOR', index=4, number=4,
233 serialized_options=None,
234 type=None),
235 _descriptor.EnumValueDescriptor(
236 name='COMP_ALARM_STATE_MINOR', index=5, number=5,
237 serialized_options=None,
238 type=None),
239 _descriptor.EnumValueDescriptor(
240 name='COMP_ALARM_STATE_WARNING', index=6, number=6,
241 serialized_options=None,
242 type=None),
243 _descriptor.EnumValueDescriptor(
244 name='COMP_ALARM_STATE_INTERMEDIATE', index=7, number=7,
245 serialized_options=None,
246 type=None),
247 ],
248 containing_type=None,
249 serialized_options=None,
250 serialized_start=2523,
251 serialized_end=2793,
252)
253_sym_db.RegisterEnumDescriptor(_COMPONENTALARMSTATE)
254
255ComponentAlarmState = enum_type_wrapper.EnumTypeWrapper(_COMPONENTALARMSTATE)
256_COMPONENTSTANDBYSTATE = _descriptor.EnumDescriptor(
257 name='ComponentStandbyState',
258 full_name='dmi.ComponentStandbyState',
259 filename=None,
260 file=DESCRIPTOR,
261 values=[
262 _descriptor.EnumValueDescriptor(
263 name='COMP_STANDBY_STATE_UNDEFINED', index=0, number=0,
264 serialized_options=None,
265 type=None),
266 _descriptor.EnumValueDescriptor(
267 name='COMP_STANDBY_STATE_UNKNOWN', index=1, number=1,
268 serialized_options=None,
269 type=None),
270 _descriptor.EnumValueDescriptor(
271 name='COMP_STANDBY_STATE_HOT', index=2, number=2,
272 serialized_options=None,
273 type=None),
274 _descriptor.EnumValueDescriptor(
275 name='COMP_STANDBY_STATE_COLD', index=3, number=3,
276 serialized_options=None,
277 type=None),
278 _descriptor.EnumValueDescriptor(
279 name='COMP_STANDBY_STATE_PROVIDING_SERVICE', index=4, number=4,
280 serialized_options=None,
281 type=None),
282 ],
283 containing_type=None,
284 serialized_options=None,
285 serialized_start=2796,
286 serialized_end=2984,
287)
288_sym_db.RegisterEnumDescriptor(_COMPONENTSTANDBYSTATE)
289
290ComponentStandbyState = enum_type_wrapper.EnumTypeWrapper(_COMPONENTSTANDBYSTATE)
291_SENSORVALUETYPE = _descriptor.EnumDescriptor(
292 name='SensorValueType',
293 full_name='dmi.SensorValueType',
294 filename=None,
295 file=DESCRIPTOR,
296 values=[
297 _descriptor.EnumValueDescriptor(
298 name='SENSOR_VALUE_TYPE_UNDEFINED', index=0, number=0,
299 serialized_options=None,
300 type=None),
301 _descriptor.EnumValueDescriptor(
302 name='SENSOR_VALUE_TYPE_OTHER', index=1, number=1,
303 serialized_options=None,
304 type=None),
305 _descriptor.EnumValueDescriptor(
306 name='SENSOR_VALUE_TYPE_UNKNOWN', index=2, number=2,
307 serialized_options=None,
308 type=None),
309 _descriptor.EnumValueDescriptor(
310 name='SENSOR_VALUE_TYPE_VOLTS_AC', index=3, number=3,
311 serialized_options=None,
312 type=None),
313 _descriptor.EnumValueDescriptor(
314 name='SENSOR_VALUE_TYPE_VOLTS_DC', index=4, number=4,
315 serialized_options=None,
316 type=None),
317 _descriptor.EnumValueDescriptor(
318 name='SENSOR_VALUE_TYPE_AMPERES', index=5, number=5,
319 serialized_options=None,
320 type=None),
321 _descriptor.EnumValueDescriptor(
322 name='SENSOR_VALUE_TYPE_WATTS', index=6, number=6,
323 serialized_options=None,
324 type=None),
325 _descriptor.EnumValueDescriptor(
326 name='SENSOR_VALUE_TYPE_HERTZ', index=7, number=7,
327 serialized_options=None,
328 type=None),
329 _descriptor.EnumValueDescriptor(
330 name='SENSOR_VALUE_TYPE_CELSIUS', index=8, number=8,
331 serialized_options=None,
332 type=None),
333 _descriptor.EnumValueDescriptor(
334 name='SENSOR_VALUE_TYPE_PERCENT_RH', index=9, number=9,
335 serialized_options=None,
336 type=None),
337 _descriptor.EnumValueDescriptor(
338 name='SENSOR_VALUE_TYPE_RPM', index=10, number=10,
339 serialized_options=None,
340 type=None),
341 _descriptor.EnumValueDescriptor(
342 name='SENSOR_VALUE_TYPE_CMM', index=11, number=11,
343 serialized_options=None,
344 type=None),
345 _descriptor.EnumValueDescriptor(
346 name='SENSOR_VALUE_TYPE_TRUTH_VALUE', index=12, number=12,
347 serialized_options=None,
348 type=None),
349 ],
350 containing_type=None,
351 serialized_options=None,
352 serialized_start=2987,
353 serialized_end=3404,
354)
355_sym_db.RegisterEnumDescriptor(_SENSORVALUETYPE)
356
357SensorValueType = enum_type_wrapper.EnumTypeWrapper(_SENSORVALUETYPE)
358_SENSORVALUESCALE = _descriptor.EnumDescriptor(
359 name='SensorValueScale',
360 full_name='dmi.SensorValueScale',
361 filename=None,
362 file=DESCRIPTOR,
363 values=[
364 _descriptor.EnumValueDescriptor(
365 name='SENSOR_VALUE_SCALE_UNDEFINED', index=0, number=0,
366 serialized_options=None,
367 type=None),
368 _descriptor.EnumValueDescriptor(
369 name='SENSOR_VALUE_SCALE_YOCTO', index=1, number=1,
370 serialized_options=None,
371 type=None),
372 _descriptor.EnumValueDescriptor(
373 name='SENSOR_VALUE_SCALE_ZEPTO', index=2, number=2,
374 serialized_options=None,
375 type=None),
376 _descriptor.EnumValueDescriptor(
377 name='SENSOR_VALUE_SCALE_ATTO', index=3, number=3,
378 serialized_options=None,
379 type=None),
380 _descriptor.EnumValueDescriptor(
381 name='SENSOR_VALUE_SCALE_FEMTO', index=4, number=4,
382 serialized_options=None,
383 type=None),
384 _descriptor.EnumValueDescriptor(
385 name='SENSOR_VALUE_SCALE_PICO', index=5, number=5,
386 serialized_options=None,
387 type=None),
388 _descriptor.EnumValueDescriptor(
389 name='SENSOR_VALUE_SCALE_NANO', index=6, number=6,
390 serialized_options=None,
391 type=None),
392 _descriptor.EnumValueDescriptor(
393 name='SENSOR_VALUE_SCALE_MICRO', index=7, number=7,
394 serialized_options=None,
395 type=None),
396 _descriptor.EnumValueDescriptor(
397 name='SENSOR_VALUE_SCALE_MILLI', index=8, number=8,
398 serialized_options=None,
399 type=None),
400 _descriptor.EnumValueDescriptor(
401 name='SENSOR_VALUE_SCALE_UNITS', index=9, number=9,
402 serialized_options=None,
403 type=None),
404 _descriptor.EnumValueDescriptor(
405 name='SENSOR_VALUE_SCALE_KILO', index=10, number=10,
406 serialized_options=None,
407 type=None),
408 _descriptor.EnumValueDescriptor(
409 name='SENSOR_VALUE_SCALE_MEGA', index=11, number=11,
410 serialized_options=None,
411 type=None),
412 _descriptor.EnumValueDescriptor(
413 name='SENSOR_VALUE_SCALE_GIGA', index=12, number=12,
414 serialized_options=None,
415 type=None),
416 _descriptor.EnumValueDescriptor(
417 name='SENSOR_VALUE_SCALE_TERA', index=13, number=13,
418 serialized_options=None,
419 type=None),
420 _descriptor.EnumValueDescriptor(
421 name='SENSOR_VALUE_SCALE_PETA', index=14, number=14,
422 serialized_options=None,
423 type=None),
424 _descriptor.EnumValueDescriptor(
425 name='SENSOR_VALUE_SCALE_EXA', index=15, number=15,
426 serialized_options=None,
427 type=None),
428 _descriptor.EnumValueDescriptor(
429 name='SENSOR_VALUE_SCALE_ZETTA', index=16, number=16,
430 serialized_options=None,
431 type=None),
432 _descriptor.EnumValueDescriptor(
433 name='SENSOR_VALUE_SCALE_YOTTA', index=17, number=17,
434 serialized_options=None,
435 type=None),
436 ],
437 containing_type=None,
438 serialized_options=None,
439 serialized_start=3407,
440 serialized_end=3959,
441)
442_sym_db.RegisterEnumDescriptor(_SENSORVALUESCALE)
443
444SensorValueScale = enum_type_wrapper.EnumTypeWrapper(_SENSORVALUESCALE)
445_SENSORSTATUS = _descriptor.EnumDescriptor(
446 name='SensorStatus',
447 full_name='dmi.SensorStatus',
448 filename=None,
449 file=DESCRIPTOR,
450 values=[
451 _descriptor.EnumValueDescriptor(
452 name='SENSOR_STATUS_UNDEFINED', index=0, number=0,
453 serialized_options=None,
454 type=None),
455 _descriptor.EnumValueDescriptor(
456 name='SENSOR_STATUS_OK', index=1, number=1,
457 serialized_options=None,
458 type=None),
459 _descriptor.EnumValueDescriptor(
460 name='SENSOR_STATUS_UNAVAILABLE', index=2, number=2,
461 serialized_options=None,
462 type=None),
463 _descriptor.EnumValueDescriptor(
464 name='SENSOR_STATUS_NONOPERATIONAL', index=3, number=3,
465 serialized_options=None,
466 type=None),
467 ],
468 containing_type=None,
469 serialized_options=None,
470 serialized_start=3962,
471 serialized_end=4092,
472)
473_sym_db.RegisterEnumDescriptor(_SENSORSTATUS)
474
475SensorStatus = enum_type_wrapper.EnumTypeWrapper(_SENSORSTATUS)
476COMPONENT_TYPE_UNDEFINED = 0
477COMPONENT_TYPE_UNKNOWN = 1
478COMPONENT_TYPE_CHASSIS = 2
479COMPONENT_TYPE_BACKPLANE = 3
480COMPONENT_TYPE_CONTAINER = 4
481COMPONENT_TYPE_POWER_SUPPLY = 5
482COMPONENT_TYPE_FAN = 6
483COMPONENT_TYPE_SENSOR = 7
484COMPONENT_TYPE_MODULE = 8
485COMPONENT_TYPE_PORT = 9
486COMPONENT_TYPE_CPU = 10
487COMPONENT_TYPE_BATTERY = 11
488COMPONENT_TYPE_STORAGE = 12
489COMPONENT_TYPE_MEMORY = 13
490COMPONENT_TYPE_TRANSCEIVER = 14
491COMP_ADMIN_STATE_UNDEFINED = 0
492COMP_ADMIN_STATE_UNKNOWN = 1
493COMP_ADMIN_STATE_LOCKED = 2
494COMP_ADMIN_STATE_SHUTTING_DOWN = 3
495COMP_ADMIN_STATE_UNLOCKED = 4
496COMP_OPER_STATE_UNDEFINED = 0
497COMP_OPER_STATE_UNKNOWN = 1
498COMP_OPER_STATE_DISABLED = 2
499COMP_OPER_STATE_ENABLED = 3
500COMP_OPER_STATE_TESTING = 4
501COMP_USAGE_STATE_UNDEFINED = 0
502COMP_USAGE_STATE_UNKNOWN = 1
503COMP_USAGE_STATE_IDLE = 2
504COMP_USAGE_STATE_ACTIVE = 3
505COMP_USAGE_STATE_BUSY = 4
506COMP_ALARM_STATE_UNDEFINED = 0
507COMP_ALARM_STATE_UNKNOWN = 1
508COMP_ALARM_STATE_UNDER_REPAIR = 2
509COMP_ALARM_STATE_CRITICAL = 3
510COMP_ALARM_STATE_MAJOR = 4
511COMP_ALARM_STATE_MINOR = 5
512COMP_ALARM_STATE_WARNING = 6
513COMP_ALARM_STATE_INTERMEDIATE = 7
514COMP_STANDBY_STATE_UNDEFINED = 0
515COMP_STANDBY_STATE_UNKNOWN = 1
516COMP_STANDBY_STATE_HOT = 2
517COMP_STANDBY_STATE_COLD = 3
518COMP_STANDBY_STATE_PROVIDING_SERVICE = 4
519SENSOR_VALUE_TYPE_UNDEFINED = 0
520SENSOR_VALUE_TYPE_OTHER = 1
521SENSOR_VALUE_TYPE_UNKNOWN = 2
522SENSOR_VALUE_TYPE_VOLTS_AC = 3
523SENSOR_VALUE_TYPE_VOLTS_DC = 4
524SENSOR_VALUE_TYPE_AMPERES = 5
525SENSOR_VALUE_TYPE_WATTS = 6
526SENSOR_VALUE_TYPE_HERTZ = 7
527SENSOR_VALUE_TYPE_CELSIUS = 8
528SENSOR_VALUE_TYPE_PERCENT_RH = 9
529SENSOR_VALUE_TYPE_RPM = 10
530SENSOR_VALUE_TYPE_CMM = 11
531SENSOR_VALUE_TYPE_TRUTH_VALUE = 12
532SENSOR_VALUE_SCALE_UNDEFINED = 0
533SENSOR_VALUE_SCALE_YOCTO = 1
534SENSOR_VALUE_SCALE_ZEPTO = 2
535SENSOR_VALUE_SCALE_ATTO = 3
536SENSOR_VALUE_SCALE_FEMTO = 4
537SENSOR_VALUE_SCALE_PICO = 5
538SENSOR_VALUE_SCALE_NANO = 6
539SENSOR_VALUE_SCALE_MICRO = 7
540SENSOR_VALUE_SCALE_MILLI = 8
541SENSOR_VALUE_SCALE_UNITS = 9
542SENSOR_VALUE_SCALE_KILO = 10
543SENSOR_VALUE_SCALE_MEGA = 11
544SENSOR_VALUE_SCALE_GIGA = 12
545SENSOR_VALUE_SCALE_TERA = 13
546SENSOR_VALUE_SCALE_PETA = 14
547SENSOR_VALUE_SCALE_EXA = 15
548SENSOR_VALUE_SCALE_ZETTA = 16
549SENSOR_VALUE_SCALE_YOTTA = 17
550SENSOR_STATUS_UNDEFINED = 0
551SENSOR_STATUS_OK = 1
552SENSOR_STATUS_UNAVAILABLE = 2
553SENSOR_STATUS_NONOPERATIONAL = 3
554
555
556
557_UUID = _descriptor.Descriptor(
558 name='Uuid',
559 full_name='dmi.Uuid',
560 filename=None,
561 file=DESCRIPTOR,
562 containing_type=None,
563 fields=[
564 _descriptor.FieldDescriptor(
565 name='uuid', full_name='dmi.Uuid.uuid', index=0,
566 number=1, type=9, cpp_type=9, label=1,
567 has_default_value=False, default_value=_b("").decode('utf-8'),
568 message_type=None, enum_type=None, containing_type=None,
569 is_extension=False, extension_scope=None,
570 serialized_options=None, file=DESCRIPTOR),
571 ],
572 extensions=[
573 ],
574 nested_types=[],
575 enum_types=[
576 ],
577 serialized_options=None,
578 is_extendable=False,
579 syntax='proto3',
580 extension_ranges=[],
581 oneofs=[
582 ],
583 serialized_start=54,
584 serialized_end=74,
585)
586
587
588_HARDWAREID = _descriptor.Descriptor(
589 name='HardwareID',
590 full_name='dmi.HardwareID',
591 filename=None,
592 file=DESCRIPTOR,
593 containing_type=None,
594 fields=[
595 _descriptor.FieldDescriptor(
596 name='uuid', full_name='dmi.HardwareID.uuid', index=0,
597 number=1, type=11, cpp_type=10, label=1,
598 has_default_value=False, default_value=None,
599 message_type=None, enum_type=None, containing_type=None,
600 is_extension=False, extension_scope=None,
601 serialized_options=None, file=DESCRIPTOR),
602 ],
603 extensions=[
604 ],
605 nested_types=[],
606 enum_types=[
607 ],
608 serialized_options=None,
609 is_extendable=False,
610 syntax='proto3',
611 extension_ranges=[],
612 oneofs=[
613 ],
614 serialized_start=76,
615 serialized_end=113,
616)
617
618
619_URI = _descriptor.Descriptor(
620 name='Uri',
621 full_name='dmi.Uri',
622 filename=None,
623 file=DESCRIPTOR,
624 containing_type=None,
625 fields=[
626 _descriptor.FieldDescriptor(
627 name='uri', full_name='dmi.Uri.uri', index=0,
628 number=1, type=9, cpp_type=9, label=1,
629 has_default_value=False, default_value=_b("").decode('utf-8'),
630 message_type=None, enum_type=None, containing_type=None,
631 is_extension=False, extension_scope=None,
632 serialized_options=None, file=DESCRIPTOR),
633 ],
634 extensions=[
635 ],
636 nested_types=[],
637 enum_types=[
638 ],
639 serialized_options=None,
640 is_extendable=False,
641 syntax='proto3',
642 extension_ranges=[],
643 oneofs=[
644 ],
645 serialized_start=115,
646 serialized_end=133,
647)
648
649
650_COMPONENTSTATE = _descriptor.Descriptor(
651 name='ComponentState',
652 full_name='dmi.ComponentState',
653 filename=None,
654 file=DESCRIPTOR,
655 containing_type=None,
656 fields=[
657 _descriptor.FieldDescriptor(
658 name='state_last_changed', full_name='dmi.ComponentState.state_last_changed', index=0,
659 number=1, type=11, cpp_type=10, label=1,
660 has_default_value=False, default_value=None,
661 message_type=None, enum_type=None, containing_type=None,
662 is_extension=False, extension_scope=None,
663 serialized_options=None, file=DESCRIPTOR),
664 _descriptor.FieldDescriptor(
665 name='admin_state', full_name='dmi.ComponentState.admin_state', index=1,
666 number=2, type=14, cpp_type=8, label=1,
667 has_default_value=False, default_value=0,
668 message_type=None, enum_type=None, containing_type=None,
669 is_extension=False, extension_scope=None,
670 serialized_options=None, file=DESCRIPTOR),
671 _descriptor.FieldDescriptor(
672 name='oper_state', full_name='dmi.ComponentState.oper_state', index=2,
673 number=3, type=14, cpp_type=8, label=1,
674 has_default_value=False, default_value=0,
675 message_type=None, enum_type=None, containing_type=None,
676 is_extension=False, extension_scope=None,
677 serialized_options=None, file=DESCRIPTOR),
678 _descriptor.FieldDescriptor(
679 name='usage_state', full_name='dmi.ComponentState.usage_state', index=3,
680 number=4, type=14, cpp_type=8, label=1,
681 has_default_value=False, default_value=0,
682 message_type=None, enum_type=None, containing_type=None,
683 is_extension=False, extension_scope=None,
684 serialized_options=None, file=DESCRIPTOR),
685 _descriptor.FieldDescriptor(
686 name='alarm_state', full_name='dmi.ComponentState.alarm_state', index=4,
687 number=5, type=14, cpp_type=8, label=1,
688 has_default_value=False, default_value=0,
689 message_type=None, enum_type=None, containing_type=None,
690 is_extension=False, extension_scope=None,
691 serialized_options=None, file=DESCRIPTOR),
692 _descriptor.FieldDescriptor(
693 name='standby_state', full_name='dmi.ComponentState.standby_state', index=5,
694 number=6, type=14, cpp_type=8, label=1,
695 has_default_value=False, default_value=0,
696 message_type=None, enum_type=None, containing_type=None,
697 is_extension=False, extension_scope=None,
698 serialized_options=None, file=DESCRIPTOR),
699 ],
700 extensions=[
701 ],
702 nested_types=[],
703 enum_types=[
704 ],
705 serialized_options=None,
706 is_extendable=False,
707 syntax='proto3',
708 extension_ranges=[],
709 oneofs=[
710 ],
711 serialized_start=136,
712 serialized_end=445,
713)
714
715
716_COMPONENTSENSORDATA = _descriptor.Descriptor(
717 name='ComponentSensorData',
718 full_name='dmi.ComponentSensorData',
719 filename=None,
720 file=DESCRIPTOR,
721 containing_type=None,
722 fields=[
723 _descriptor.FieldDescriptor(
724 name='value', full_name='dmi.ComponentSensorData.value', index=0,
725 number=1, type=5, cpp_type=1, label=1,
726 has_default_value=False, default_value=0,
727 message_type=None, enum_type=None, containing_type=None,
728 is_extension=False, extension_scope=None,
729 serialized_options=None, file=DESCRIPTOR),
730 _descriptor.FieldDescriptor(
731 name='type', full_name='dmi.ComponentSensorData.type', index=1,
732 number=2, type=14, cpp_type=8, label=1,
733 has_default_value=False, default_value=0,
734 message_type=None, enum_type=None, containing_type=None,
735 is_extension=False, extension_scope=None,
736 serialized_options=None, file=DESCRIPTOR),
737 _descriptor.FieldDescriptor(
738 name='scale', full_name='dmi.ComponentSensorData.scale', index=2,
739 number=3, type=14, cpp_type=8, label=1,
740 has_default_value=False, default_value=0,
741 message_type=None, enum_type=None, containing_type=None,
742 is_extension=False, extension_scope=None,
743 serialized_options=None, file=DESCRIPTOR),
744 _descriptor.FieldDescriptor(
745 name='precision', full_name='dmi.ComponentSensorData.precision', index=3,
746 number=4, type=5, cpp_type=1, label=1,
747 has_default_value=False, default_value=0,
748 message_type=None, enum_type=None, containing_type=None,
749 is_extension=False, extension_scope=None,
750 serialized_options=None, file=DESCRIPTOR),
751 _descriptor.FieldDescriptor(
752 name='status', full_name='dmi.ComponentSensorData.status', index=4,
753 number=5, type=14, cpp_type=8, label=1,
754 has_default_value=False, default_value=0,
755 message_type=None, enum_type=None, containing_type=None,
756 is_extension=False, extension_scope=None,
757 serialized_options=None, file=DESCRIPTOR),
758 _descriptor.FieldDescriptor(
759 name='units_display', full_name='dmi.ComponentSensorData.units_display', index=5,
760 number=6, type=9, cpp_type=9, label=1,
761 has_default_value=False, default_value=_b("").decode('utf-8'),
762 message_type=None, enum_type=None, containing_type=None,
763 is_extension=False, extension_scope=None,
764 serialized_options=None, file=DESCRIPTOR),
765 _descriptor.FieldDescriptor(
766 name='timestamp', full_name='dmi.ComponentSensorData.timestamp', index=6,
767 number=7, type=11, cpp_type=10, label=1,
768 has_default_value=False, default_value=None,
769 message_type=None, enum_type=None, containing_type=None,
770 is_extension=False, extension_scope=None,
771 serialized_options=None, file=DESCRIPTOR),
772 _descriptor.FieldDescriptor(
773 name='value_update_rate', full_name='dmi.ComponentSensorData.value_update_rate', index=7,
774 number=8, type=13, cpp_type=3, label=1,
775 has_default_value=False, default_value=0,
776 message_type=None, enum_type=None, containing_type=None,
777 is_extension=False, extension_scope=None,
778 serialized_options=None, file=DESCRIPTOR),
779 _descriptor.FieldDescriptor(
780 name='data_type', full_name='dmi.ComponentSensorData.data_type', index=8,
781 number=9, type=9, cpp_type=9, label=1,
782 has_default_value=False, default_value=_b("").decode('utf-8'),
783 message_type=None, enum_type=None, containing_type=None,
784 is_extension=False, extension_scope=None,
785 serialized_options=None, file=DESCRIPTOR),
786 ],
787 extensions=[
788 ],
789 nested_types=[],
790 enum_types=[
791 ],
792 serialized_options=None,
793 is_extendable=False,
794 syntax='proto3',
795 extension_ranges=[],
796 oneofs=[
797 ],
798 serialized_start=448,
799 serialized_end=728,
800)
801
802
803_COMPONENT = _descriptor.Descriptor(
804 name='Component',
805 full_name='dmi.Component',
806 filename=None,
807 file=DESCRIPTOR,
808 containing_type=None,
809 fields=[
810 _descriptor.FieldDescriptor(
811 name='name', full_name='dmi.Component.name', index=0,
812 number=1, type=9, cpp_type=9, label=1,
813 has_default_value=False, default_value=_b("").decode('utf-8'),
814 message_type=None, enum_type=None, containing_type=None,
815 is_extension=False, extension_scope=None,
816 serialized_options=None, file=DESCRIPTOR),
817 _descriptor.FieldDescriptor(
818 name='class', full_name='dmi.Component.class', index=1,
819 number=2, type=14, cpp_type=8, label=1,
820 has_default_value=False, default_value=0,
821 message_type=None, enum_type=None, containing_type=None,
822 is_extension=False, extension_scope=None,
823 serialized_options=None, file=DESCRIPTOR),
824 _descriptor.FieldDescriptor(
825 name='description', full_name='dmi.Component.description', index=2,
826 number=3, type=9, cpp_type=9, label=1,
827 has_default_value=False, default_value=_b("").decode('utf-8'),
828 message_type=None, enum_type=None, containing_type=None,
829 is_extension=False, extension_scope=None,
830 serialized_options=None, file=DESCRIPTOR),
831 _descriptor.FieldDescriptor(
832 name='parent', full_name='dmi.Component.parent', index=3,
833 number=4, type=9, cpp_type=9, label=1,
834 has_default_value=False, default_value=_b("").decode('utf-8'),
835 message_type=None, enum_type=None, containing_type=None,
836 is_extension=False, extension_scope=None,
837 serialized_options=None, file=DESCRIPTOR),
838 _descriptor.FieldDescriptor(
839 name='parent_rel_pos', full_name='dmi.Component.parent_rel_pos', index=4,
840 number=5, type=5, cpp_type=1, label=1,
841 has_default_value=False, default_value=0,
842 message_type=None, enum_type=None, containing_type=None,
843 is_extension=False, extension_scope=None,
844 serialized_options=None, file=DESCRIPTOR),
845 _descriptor.FieldDescriptor(
846 name='children', full_name='dmi.Component.children', index=5,
847 number=6, type=11, cpp_type=10, label=3,
848 has_default_value=False, default_value=[],
849 message_type=None, enum_type=None, containing_type=None,
850 is_extension=False, extension_scope=None,
851 serialized_options=None, file=DESCRIPTOR),
852 _descriptor.FieldDescriptor(
853 name='hardware_rev', full_name='dmi.Component.hardware_rev', index=6,
854 number=7, type=9, cpp_type=9, label=1,
855 has_default_value=False, default_value=_b("").decode('utf-8'),
856 message_type=None, enum_type=None, containing_type=None,
857 is_extension=False, extension_scope=None,
858 serialized_options=None, file=DESCRIPTOR),
859 _descriptor.FieldDescriptor(
860 name='firmware_rev', full_name='dmi.Component.firmware_rev', index=7,
861 number=8, type=9, cpp_type=9, label=1,
862 has_default_value=False, default_value=_b("").decode('utf-8'),
863 message_type=None, enum_type=None, containing_type=None,
864 is_extension=False, extension_scope=None,
865 serialized_options=None, file=DESCRIPTOR),
866 _descriptor.FieldDescriptor(
867 name='software_rev', full_name='dmi.Component.software_rev', index=8,
868 number=9, type=9, cpp_type=9, label=1,
869 has_default_value=False, default_value=_b("").decode('utf-8'),
870 message_type=None, enum_type=None, containing_type=None,
871 is_extension=False, extension_scope=None,
872 serialized_options=None, file=DESCRIPTOR),
873 _descriptor.FieldDescriptor(
874 name='serial_num', full_name='dmi.Component.serial_num', index=9,
875 number=10, type=9, cpp_type=9, label=1,
876 has_default_value=False, default_value=_b("").decode('utf-8'),
877 message_type=None, enum_type=None, containing_type=None,
878 is_extension=False, extension_scope=None,
879 serialized_options=None, file=DESCRIPTOR),
880 _descriptor.FieldDescriptor(
881 name='mfg_name', full_name='dmi.Component.mfg_name', index=10,
882 number=11, type=9, cpp_type=9, label=1,
883 has_default_value=False, default_value=_b("").decode('utf-8'),
884 message_type=None, enum_type=None, containing_type=None,
885 is_extension=False, extension_scope=None,
886 serialized_options=None, file=DESCRIPTOR),
887 _descriptor.FieldDescriptor(
888 name='model_name', full_name='dmi.Component.model_name', index=11,
889 number=12, type=9, cpp_type=9, label=1,
890 has_default_value=False, default_value=_b("").decode('utf-8'),
891 message_type=None, enum_type=None, containing_type=None,
892 is_extension=False, extension_scope=None,
893 serialized_options=None, file=DESCRIPTOR),
894 _descriptor.FieldDescriptor(
895 name='alias', full_name='dmi.Component.alias', index=12,
896 number=13, type=9, cpp_type=9, label=1,
897 has_default_value=False, default_value=_b("").decode('utf-8'),
898 message_type=None, enum_type=None, containing_type=None,
899 is_extension=False, extension_scope=None,
900 serialized_options=None, file=DESCRIPTOR),
901 _descriptor.FieldDescriptor(
902 name='asset_id', full_name='dmi.Component.asset_id', index=13,
903 number=14, type=9, cpp_type=9, label=1,
904 has_default_value=False, default_value=_b("").decode('utf-8'),
905 message_type=None, enum_type=None, containing_type=None,
906 is_extension=False, extension_scope=None,
907 serialized_options=None, file=DESCRIPTOR),
908 _descriptor.FieldDescriptor(
909 name='is_fru', full_name='dmi.Component.is_fru', index=14,
910 number=15, type=8, cpp_type=7, label=1,
911 has_default_value=False, default_value=False,
912 message_type=None, enum_type=None, containing_type=None,
913 is_extension=False, extension_scope=None,
914 serialized_options=None, file=DESCRIPTOR),
915 _descriptor.FieldDescriptor(
916 name='mfg_date', full_name='dmi.Component.mfg_date', index=15,
917 number=16, type=11, cpp_type=10, label=1,
918 has_default_value=False, default_value=None,
919 message_type=None, enum_type=None, containing_type=None,
920 is_extension=False, extension_scope=None,
921 serialized_options=None, file=DESCRIPTOR),
922 _descriptor.FieldDescriptor(
923 name='uri', full_name='dmi.Component.uri', index=16,
924 number=17, type=11, cpp_type=10, label=1,
925 has_default_value=False, default_value=None,
926 message_type=None, enum_type=None, containing_type=None,
927 is_extension=False, extension_scope=None,
928 serialized_options=None, file=DESCRIPTOR),
929 _descriptor.FieldDescriptor(
930 name='uuid', full_name='dmi.Component.uuid', index=17,
931 number=18, type=11, cpp_type=10, label=1,
932 has_default_value=False, default_value=None,
933 message_type=None, enum_type=None, containing_type=None,
934 is_extension=False, extension_scope=None,
935 serialized_options=None, file=DESCRIPTOR),
936 _descriptor.FieldDescriptor(
937 name='state', full_name='dmi.Component.state', index=18,
938 number=19, type=11, cpp_type=10, label=1,
939 has_default_value=False, default_value=None,
940 message_type=None, enum_type=None, containing_type=None,
941 is_extension=False, extension_scope=None,
942 serialized_options=None, file=DESCRIPTOR),
943 _descriptor.FieldDescriptor(
944 name='sensor_data', full_name='dmi.Component.sensor_data', index=19,
945 number=20, type=11, cpp_type=10, label=3,
946 has_default_value=False, default_value=[],
947 message_type=None, enum_type=None, containing_type=None,
948 is_extension=False, extension_scope=None,
949 serialized_options=None, file=DESCRIPTOR),
950 ],
951 extensions=[
952 ],
953 nested_types=[],
954 enum_types=[
955 ],
956 serialized_options=None,
957 is_extendable=False,
958 syntax='proto3',
959 extension_ranges=[],
960 oneofs=[
961 ],
962 serialized_start=731,
963 serialized_end=1236,
964)
965
966
967_HARDWARE = _descriptor.Descriptor(
968 name='Hardware',
969 full_name='dmi.Hardware',
970 filename=None,
971 file=DESCRIPTOR,
972 containing_type=None,
973 fields=[
974 _descriptor.FieldDescriptor(
975 name='last_change', full_name='dmi.Hardware.last_change', index=0,
976 number=1, type=11, cpp_type=10, label=1,
977 has_default_value=False, default_value=None,
978 message_type=None, enum_type=None, containing_type=None,
979 is_extension=False, extension_scope=None,
980 serialized_options=None, file=DESCRIPTOR),
981 _descriptor.FieldDescriptor(
982 name='root', full_name='dmi.Hardware.root', index=1,
983 number=2, type=11, cpp_type=10, label=1,
984 has_default_value=False, default_value=None,
985 message_type=None, enum_type=None, containing_type=None,
986 is_extension=False, extension_scope=None,
987 serialized_options=None, file=DESCRIPTOR),
988 ],
989 extensions=[
990 ],
991 nested_types=[],
992 enum_types=[
993 ],
994 serialized_options=None,
995 is_extendable=False,
996 syntax='proto3',
997 extension_ranges=[],
998 oneofs=[
999 ],
1000 serialized_start=1238,
1001 serialized_end=1327,
1002)
1003
1004
1005_MODIFIABLECOMPONENT = _descriptor.Descriptor(
1006 name='ModifiableComponent',
1007 full_name='dmi.ModifiableComponent',
1008 filename=None,
1009 file=DESCRIPTOR,
1010 containing_type=None,
1011 fields=[
1012 _descriptor.FieldDescriptor(
1013 name='name', full_name='dmi.ModifiableComponent.name', index=0,
1014 number=1, type=9, cpp_type=9, label=1,
1015 has_default_value=False, default_value=_b("").decode('utf-8'),
1016 message_type=None, enum_type=None, containing_type=None,
1017 is_extension=False, extension_scope=None,
1018 serialized_options=None, file=DESCRIPTOR),
1019 _descriptor.FieldDescriptor(
1020 name='class', full_name='dmi.ModifiableComponent.class', index=1,
1021 number=2, type=14, cpp_type=8, label=1,
1022 has_default_value=False, default_value=0,
1023 message_type=None, enum_type=None, containing_type=None,
1024 is_extension=False, extension_scope=None,
1025 serialized_options=None, file=DESCRIPTOR),
1026 _descriptor.FieldDescriptor(
1027 name='parent', full_name='dmi.ModifiableComponent.parent', index=2,
1028 number=3, type=11, cpp_type=10, label=1,
1029 has_default_value=False, default_value=None,
1030 message_type=None, enum_type=None, containing_type=None,
1031 is_extension=False, extension_scope=None,
1032 serialized_options=None, file=DESCRIPTOR),
1033 _descriptor.FieldDescriptor(
1034 name='parent_rel_pos', full_name='dmi.ModifiableComponent.parent_rel_pos', index=3,
1035 number=4, type=5, cpp_type=1, label=1,
1036 has_default_value=False, default_value=0,
1037 message_type=None, enum_type=None, containing_type=None,
1038 is_extension=False, extension_scope=None,
1039 serialized_options=None, file=DESCRIPTOR),
1040 _descriptor.FieldDescriptor(
1041 name='alias', full_name='dmi.ModifiableComponent.alias', index=4,
1042 number=5, type=9, cpp_type=9, label=1,
1043 has_default_value=False, default_value=_b("").decode('utf-8'),
1044 message_type=None, enum_type=None, containing_type=None,
1045 is_extension=False, extension_scope=None,
1046 serialized_options=None, file=DESCRIPTOR),
1047 _descriptor.FieldDescriptor(
1048 name='asset_id', full_name='dmi.ModifiableComponent.asset_id', index=5,
1049 number=6, type=9, cpp_type=9, label=1,
1050 has_default_value=False, default_value=_b("").decode('utf-8'),
1051 message_type=None, enum_type=None, containing_type=None,
1052 is_extension=False, extension_scope=None,
1053 serialized_options=None, file=DESCRIPTOR),
1054 _descriptor.FieldDescriptor(
1055 name='uri', full_name='dmi.ModifiableComponent.uri', index=6,
1056 number=7, type=11, cpp_type=10, label=1,
1057 has_default_value=False, default_value=None,
1058 message_type=None, enum_type=None, containing_type=None,
1059 is_extension=False, extension_scope=None,
1060 serialized_options=None, file=DESCRIPTOR),
1061 _descriptor.FieldDescriptor(
1062 name='admin_state', full_name='dmi.ModifiableComponent.admin_state', index=7,
1063 number=8, type=14, cpp_type=8, label=1,
1064 has_default_value=False, default_value=0,
1065 message_type=None, enum_type=None, containing_type=None,
1066 is_extension=False, extension_scope=None,
1067 serialized_options=None, file=DESCRIPTOR),
1068 ],
1069 extensions=[
1070 ],
1071 nested_types=[],
1072 enum_types=[
1073 ],
1074 serialized_options=None,
1075 is_extendable=False,
1076 syntax='proto3',
1077 extension_ranges=[],
1078 oneofs=[
1079 ],
1080 serialized_start=1330,
1081 serialized_end=1559,
1082)
1083
1084_HARDWAREID.fields_by_name['uuid'].message_type = _UUID
1085_COMPONENTSTATE.fields_by_name['state_last_changed'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
1086_COMPONENTSTATE.fields_by_name['admin_state'].enum_type = _COMPONENTADMINSTATE
1087_COMPONENTSTATE.fields_by_name['oper_state'].enum_type = _COMPONENTOPERSTATE
1088_COMPONENTSTATE.fields_by_name['usage_state'].enum_type = _COMPONENTUSAGESTATE
1089_COMPONENTSTATE.fields_by_name['alarm_state'].enum_type = _COMPONENTALARMSTATE
1090_COMPONENTSTATE.fields_by_name['standby_state'].enum_type = _COMPONENTSTANDBYSTATE
1091_COMPONENTSENSORDATA.fields_by_name['type'].enum_type = _SENSORVALUETYPE
1092_COMPONENTSENSORDATA.fields_by_name['scale'].enum_type = _SENSORVALUESCALE
1093_COMPONENTSENSORDATA.fields_by_name['status'].enum_type = _SENSORSTATUS
1094_COMPONENTSENSORDATA.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
1095_COMPONENT.fields_by_name['class'].enum_type = _COMPONENTTYPE
1096_COMPONENT.fields_by_name['children'].message_type = _COMPONENT
1097_COMPONENT.fields_by_name['mfg_date'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
1098_COMPONENT.fields_by_name['uri'].message_type = _URI
1099_COMPONENT.fields_by_name['uuid'].message_type = _UUID
1100_COMPONENT.fields_by_name['state'].message_type = _COMPONENTSTATE
1101_COMPONENT.fields_by_name['sensor_data'].message_type = _COMPONENTSENSORDATA
1102_HARDWARE.fields_by_name['last_change'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
1103_HARDWARE.fields_by_name['root'].message_type = _COMPONENT
1104_MODIFIABLECOMPONENT.fields_by_name['class'].enum_type = _COMPONENTTYPE
1105_MODIFIABLECOMPONENT.fields_by_name['parent'].message_type = _COMPONENT
1106_MODIFIABLECOMPONENT.fields_by_name['uri'].message_type = _URI
1107_MODIFIABLECOMPONENT.fields_by_name['admin_state'].enum_type = _COMPONENTADMINSTATE
1108DESCRIPTOR.message_types_by_name['Uuid'] = _UUID
1109DESCRIPTOR.message_types_by_name['HardwareID'] = _HARDWAREID
1110DESCRIPTOR.message_types_by_name['Uri'] = _URI
1111DESCRIPTOR.message_types_by_name['ComponentState'] = _COMPONENTSTATE
1112DESCRIPTOR.message_types_by_name['ComponentSensorData'] = _COMPONENTSENSORDATA
1113DESCRIPTOR.message_types_by_name['Component'] = _COMPONENT
1114DESCRIPTOR.message_types_by_name['Hardware'] = _HARDWARE
1115DESCRIPTOR.message_types_by_name['ModifiableComponent'] = _MODIFIABLECOMPONENT
1116DESCRIPTOR.enum_types_by_name['ComponentType'] = _COMPONENTTYPE
1117DESCRIPTOR.enum_types_by_name['ComponentAdminState'] = _COMPONENTADMINSTATE
1118DESCRIPTOR.enum_types_by_name['ComponentOperState'] = _COMPONENTOPERSTATE
1119DESCRIPTOR.enum_types_by_name['ComponentUsageState'] = _COMPONENTUSAGESTATE
1120DESCRIPTOR.enum_types_by_name['ComponentAlarmState'] = _COMPONENTALARMSTATE
1121DESCRIPTOR.enum_types_by_name['ComponentStandbyState'] = _COMPONENTSTANDBYSTATE
1122DESCRIPTOR.enum_types_by_name['SensorValueType'] = _SENSORVALUETYPE
1123DESCRIPTOR.enum_types_by_name['SensorValueScale'] = _SENSORVALUESCALE
1124DESCRIPTOR.enum_types_by_name['SensorStatus'] = _SENSORSTATUS
1125_sym_db.RegisterFileDescriptor(DESCRIPTOR)
1126
1127Uuid = _reflection.GeneratedProtocolMessageType('Uuid', (_message.Message,), dict(
1128 DESCRIPTOR = _UUID,
1129 __module__ = 'dmi.hw_pb2'
1130 # @@protoc_insertion_point(class_scope:dmi.Uuid)
1131 ))
1132_sym_db.RegisterMessage(Uuid)
1133
1134HardwareID = _reflection.GeneratedProtocolMessageType('HardwareID', (_message.Message,), dict(
1135 DESCRIPTOR = _HARDWAREID,
1136 __module__ = 'dmi.hw_pb2'
1137 # @@protoc_insertion_point(class_scope:dmi.HardwareID)
1138 ))
1139_sym_db.RegisterMessage(HardwareID)
1140
1141Uri = _reflection.GeneratedProtocolMessageType('Uri', (_message.Message,), dict(
1142 DESCRIPTOR = _URI,
1143 __module__ = 'dmi.hw_pb2'
1144 # @@protoc_insertion_point(class_scope:dmi.Uri)
1145 ))
1146_sym_db.RegisterMessage(Uri)
1147
1148ComponentState = _reflection.GeneratedProtocolMessageType('ComponentState', (_message.Message,), dict(
1149 DESCRIPTOR = _COMPONENTSTATE,
1150 __module__ = 'dmi.hw_pb2'
1151 # @@protoc_insertion_point(class_scope:dmi.ComponentState)
1152 ))
1153_sym_db.RegisterMessage(ComponentState)
1154
1155ComponentSensorData = _reflection.GeneratedProtocolMessageType('ComponentSensorData', (_message.Message,), dict(
1156 DESCRIPTOR = _COMPONENTSENSORDATA,
1157 __module__ = 'dmi.hw_pb2'
1158 # @@protoc_insertion_point(class_scope:dmi.ComponentSensorData)
1159 ))
1160_sym_db.RegisterMessage(ComponentSensorData)
1161
1162Component = _reflection.GeneratedProtocolMessageType('Component', (_message.Message,), dict(
1163 DESCRIPTOR = _COMPONENT,
1164 __module__ = 'dmi.hw_pb2'
1165 # @@protoc_insertion_point(class_scope:dmi.Component)
1166 ))
1167_sym_db.RegisterMessage(Component)
1168
1169Hardware = _reflection.GeneratedProtocolMessageType('Hardware', (_message.Message,), dict(
1170 DESCRIPTOR = _HARDWARE,
1171 __module__ = 'dmi.hw_pb2'
1172 # @@protoc_insertion_point(class_scope:dmi.Hardware)
1173 ))
1174_sym_db.RegisterMessage(Hardware)
1175
1176ModifiableComponent = _reflection.GeneratedProtocolMessageType('ModifiableComponent', (_message.Message,), dict(
1177 DESCRIPTOR = _MODIFIABLECOMPONENT,
1178 __module__ = 'dmi.hw_pb2'
1179 # @@protoc_insertion_point(class_scope:dmi.ModifiableComponent)
1180 ))
1181_sym_db.RegisterMessage(ModifiableComponent)
1182
1183
1184DESCRIPTOR._options = None
1185# @@protoc_insertion_point(module_scope)