blob: 52dfc5bd1ec013be08cd9118c511166b0e91c194 [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
Andrea Campanellacb990bc2020-09-22 12:50:56 +02004"""Generated protocol buffer code."""
uwe ottrembka66d91ea2020-08-11 10:50:55 +02005from google.protobuf.internal import enum_type_wrapper
6from google.protobuf import descriptor as _descriptor
Girish Gowdra997432d2022-03-10 15:59:33 -08007from google.protobuf import descriptor_pool as _descriptor_pool
uwe ottrembka66d91ea2020-08-11 10:50:55 +02008from google.protobuf import message as _message
9from google.protobuf import reflection as _reflection
10from google.protobuf import symbol_database as _symbol_database
11# @@protoc_insertion_point(imports)
12
13_sym_db = _symbol_database.Default()
14
15
16from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
17
18
Amit Ghoshe45d9972025-06-26 14:52:48 +020019DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(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\"\x90\x02\n\x13\x43omponentSensorData\x12\r\n\x05value\x18\x01 \x01(\x05\x12 \n\x04type\x18\x02 \x01(\x0e\x32\x12.dmi.DataValueType\x12\x1e\n\x05scale\x18\x03 \x01(\x0e\x32\x0f.dmi.ValueScale\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\"\x85\x06\n\x17PortComponentAttributes\x12\x42\n\x0e\x63onnector_type\x18\x01 \x01(\x0e\x32*.dmi.PortComponentAttributes.ConnectorType\x12\x31\n\x05speed\x18\x02 \x01(\x0e\x32\".dmi.PortComponentAttributes.Speed\x12\x37\n\x08protocol\x18\x03 \x01(\x0e\x32%.dmi.PortComponentAttributes.Protocol\x12\x16\n\x0ephysical_label\x18\x04 \x01(\t\x12\x15\n\rmapping_label\x18\x05 \x01(\t\x12\'\n\rpon_id_config\x18\x06 \x01(\x0b\x32\x10.dmi.PonIdConfig\x12\x1d\n\x15speed_autonegotiation\x18\x07 \x01(\x08\x12\"\n\x08\x64istance\x18\x08 \x01(\x0b\x32\x10.dmi.PonDistance\"p\n\rConnectorType\x12\x1c\n\x18\x43ONNECTOR_TYPE_UNDEFINED\x10\x00\x12\x08\n\x04RJ45\x10\x01\x12\x0c\n\x08\x46IBER_LC\x10\x02\x12\x0f\n\x0b\x46IBER_SC_PC\x10\x03\x12\r\n\tFIBER_MPO\x10\x04\x12\t\n\x05RS232\x10\x05\"\xae\x01\n\x05Speed\x12\x13\n\x0fSPEED_UNDEFINED\x10\x00\x12\x0b\n\x07\x44YNAMIC\x10\x01\x12\r\n\tGIGABIT_1\x10\x02\x12\x0e\n\nGIGABIT_10\x10\x03\x12\x0e\n\nGIGABIT_25\x10\x04\x12\x0e\n\nGIGABIT_40\x10\x05\x12\x0f\n\x0bGIGABIT_100\x10\x06\x12\x0f\n\x0bGIGABIT_400\x10\x07\x12\x10\n\x0cMEGABIT_2500\x10\x08\x12\x10\n\x0cMEGABIT_1250\x10\t\"|\n\x08Protocol\x12\x16\n\x12PROTOCOL_UNDEFINED\x10\x00\x12\x0c\n\x08\x45THERNET\x10\x01\x12\x08\n\x04GPON\x10\x02\x12\t\n\x05XGPON\x10\x03\x12\n\n\x06XGSPON\x10\x04\x12\t\n\x05GFAST\x10\x05\x12\n\n\x06SERIAL\x10\x06\x12\x08\n\x04\x45PON\x10\x07\x12\x08\n\x04\x42ITS\x10\x08\"F\n\x0bPonDistance\x12\x14\n\x0cmax_distance\x18\x01 \x01(\r\x12!\n\x19max_differential_distance\x18\x02 \x01(\r\"l\n\x1dPortComponentChangeAttributes\x12\'\n\rpon_id_config\x18\x01 \x01(\x0b\x32\x10.dmi.PonIdConfig\x12\"\n\x08\x64istance\x18\x02 \x01(\x0b\x32\x10.dmi.PonDistance\"P\n$TransceiverComponentChangeAttributes\x12(\n\ntrans_type\x18\x01 \x01(\x0e\x32\x14.dmi.TransceiverType\"B\n\x0bPonIdConfig\x12\x0e\n\x06pon_id\x18\x01 \x01(\x0c\x12#\n\x1bpon_id_transmit_periodicity\x18\x02 \x01(\r\"6\n\x1c\x43ontainerComponentAttributes\x12\x16\n\x0ephysical_label\x18\x01 \x01(\t\"\xb3\x01\n\x16PsuComponentAttributes\x12G\n\x11supported_voltage\x18\x01 \x01(\x0e\x32,.dmi.PsuComponentAttributes.SupportedVoltage\"P\n\x10SupportedVoltage\x12\x1f\n\x1bSUPPORTED_VOLTAGE_UNDEFINED\x10\x00\x12\x07\n\x03V48\x10\x01\x12\x08\n\x04V230\x10\x02\x12\x08\n\x04V115\x10\x03\"\xb8\x04\n\x1fTransceiverComponentsAttributes\x12\x44\n\x0b\x66orm_factor\x18\x01 \x01(\x0e\x32/.dmi.TransceiverComponentsAttributes.FormFactor\x12(\n\ntrans_type\x18\x02 \x01(\x0e\x32\x14.dmi.TransceiverType\x12\x14\n\x0cmax_distance\x18\x03 \x01(\r\x12+\n\x12max_distance_scale\x18\x04 \x01(\x0e\x32\x0f.dmi.ValueScale\x12\x15\n\rrx_wavelength\x18\x05 \x03(\r\x12\x15\n\rtx_wavelength\x18\x06 \x03(\r\x12)\n\x10wavelength_scale\x18\x07 \x01(\x0e\x32\x0f.dmi.ValueScale\x12\x10\n\x08tx_power\x18\x08 \x03(\x05\x12\'\n\x0etx_power_scale\x18\t \x01(\x0e\x32\x0f.dmi.ValueScale\"\xcd\x01\n\nFormFactor\x12\x17\n\x13\x46ORM_FACTOR_UNKNOWN\x10\x00\x12\x08\n\x04QSFP\x10\x01\x12\r\n\tQSFP_PLUS\x10\x02\x12\n\n\x06QSFP28\x10\x03\x12\x07\n\x03SFP\x10\x04\x12\x0c\n\x08SFP_PLUS\x10\x05\x12\x07\n\x03XFP\x10\x06\x12\x08\n\x04\x43\x46P4\x10\x07\x12\x08\n\x04\x43\x46P2\x10\x08\x12\x08\n\x04\x43PAK\x10\t\x12\x06\n\x02X2\x10\n\x12\t\n\x05OTHER\x10\x0b\x12\x07\n\x03\x43\x46P\x10\x0c\x12\x0c\n\x08\x43\x46P2_ACO\x10\r\x12\x0c\n\x08\x43\x46P2_DCO\x10\x0e\x12\x0b\n\x07QSFP_DD\x10\x0f\"\xe8\x05\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\x12\x31\n\tport_attr\x18\x32 \x01(\x0b\x32\x1c.dmi.PortComponentAttributesH\x00\x12;\n\x0e\x63ontainer_attr\x18\x33 \x01(\x0b\x32!.dmi.ContainerComponentAttributesH\x00\x12/\n\x08psu_attr\x18\x34 \x01(\x0b\x32\x1b.dmi.PsuComponentAttributesH\x00\x12@\n\x10transceiver_attr\x18\x35 \x01(\x0b\x32$.dmi.TransceiverComponentsAttributesH\x00\x42\n\n\x08specific\"\x8a\x01\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\x12/\n\x0blast_booted\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xe9\x02\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\x12\x37\n\tport_attr\x18\x32 \x01(\x0b\x32\".dmi.PortComponentChangeAttributesH\x00\x12=\n\x08trx_attr\x18\x33 \x01(\x0b\x32).dmi.TransceiverComponentChangeAttributesH\x00\x42\n\n\x08specific*\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*\xf3\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\x12\x1d\n\x19\x43OMP_ADMIN_STATE_ISOLATED\x10\x06\x12\x1f\n\x1b\x43OMP_ADMIN_STATE_PROHIBITED\x10\x05*\xc3\x03\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\x12\x1a\n\x16\x43OMP_OPER_STATE_NORMAL\x10\x05\x12\x1f\n\x1b\x43OMP_OPER_STATE_CONFIGURING\x10\x06\x12%\n!COMP_OPER_STATE_AUTOMATIC_LOADING\x10\x07\x12\x1a\n\x16\x43OMP_OPER_STATE_FAILED\x10\x08\x12&\n\"COMP_OPER_STATE_HIGH_TEMP_SHUTDOWN\x10\t\x12#\n\x1f\x43OMP_OPER_STATE_MANUAL_SHUTDOWN\x10\n\x12)\n%COMP_OPER_STATE_POWER_SAVING_SHUTDOWN\x10\x0b\x12!\n\x1d\x43OMP_OPER_STATE_TYPE_MISMATCH\x10\x0c*\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*\x8f\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\x1e\x43OMP_ALARM_STATE_INDETERMINATE\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*\x9d\x03\n\rDataValueType\x12\x18\n\x14VALUE_TYPE_UNDEFINED\x10\x00\x12\x14\n\x10VALUE_TYPE_OTHER\x10\x01\x12\x16\n\x12VALUE_TYPE_UNKNOWN\x10\x02\x12\x17\n\x13VALUE_TYPE_VOLTS_AC\x10\x03\x12\x17\n\x13VALUE_TYPE_VOLTS_DC\x10\x04\x12\x16\n\x12VALUE_TYPE_AMPERES\x10\x05\x12\x14\n\x10VALUE_TYPE_WATTS\x10\x06\x12\x14\n\x10VALUE_TYPE_HERTZ\x10\x07\x12\x16\n\x12VALUE_TYPE_CELSIUS\x10\x08\x12\x19\n\x15VALUE_TYPE_PERCENT_RH\x10\t\x12\x12\n\x0eVALUE_TYPE_RPM\x10\n\x12\x12\n\x0eVALUE_TYPE_CMM\x10\x0b\x12\x1a\n\x16VALUE_TYPE_TRUTH_VALUE\x10\x0c\x12\x16\n\x12VALUE_TYPE_PERCENT\x10\r\x12\x15\n\x11VALUE_TYPE_METERS\x10\x0e\x12\x14\n\x10VALUE_TYPE_BYTES\x10\x0f\x12\x12\n\x0eVALUE_TYPE_DBM\x10\x10*\xa4\x03\n\nValueScale\x12\x19\n\x15VALUE_SCALE_UNDEFINED\x10\x00\x12\x15\n\x11VALUE_SCALE_YOCTO\x10\x01\x12\x15\n\x11VALUE_SCALE_ZEPTO\x10\x02\x12\x14\n\x10VALUE_SCALE_ATTO\x10\x03\x12\x15\n\x11VALUE_SCALE_FEMTO\x10\x04\x12\x14\n\x10VALUE_SCALE_PICO\x10\x05\x12\x14\n\x10VALUE_SCALE_NANO\x10\x06\x12\x15\n\x11VALUE_SCALE_MICRO\x10\x07\x12\x15\n\x11VALUE_SCALE_MILLI\x10\x08\x12\x15\n\x11VALUE_SCALE_UNITS\x10\t\x12\x14\n\x10VALUE_SCALE_KILO\x10\n\x12\x14\n\x10VALUE_SCALE_MEGA\x10\x0b\x12\x14\n\x10VALUE_SCALE_GIGA\x10\x0c\x12\x14\n\x10VALUE_SCALE_TERA\x10\r\x12\x14\n\x10VALUE_SCALE_PETA\x10\x0e\x12\x13\n\x0fVALUE_SCALE_EXA\x10\x0f\x12\x15\n\x11VALUE_SCALE_ZETTA\x10\x10\x12\x15\n\x11VALUE_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*\xa4\x01\n\x0fTransceiverType\x12\x12\n\x0eTYPE_UNDEFINED\x10\x00\x12\x0c\n\x08\x45THERNET\x10\x01\x12\x08\n\x04GPON\x10\x02\x12\t\n\x05XGPON\x10\x03\x12\n\n\x06XGSPON\x10\x04\x12\x08\n\x04\x43PON\x10\x05\x12\x0b\n\x07NG_PON2\x10\x06\x12\x08\n\x04\x45PON\x10\x07\x12\x15\n\x11\x43OMBO_GPON_XGSPON\x10\x08\x12\x16\n\x11TYPE_NOT_DETECTED\x10\xff\x01\x42;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3')
uwe ottrembka66d91ea2020-08-11 10:50:55 +020020
Girish Gowdra997432d2022-03-10 15:59:33 -080021_COMPONENTTYPE = DESCRIPTOR.enum_types_by_name['ComponentType']
uwe ottrembka66d91ea2020-08-11 10:50:55 +020022ComponentType = enum_type_wrapper.EnumTypeWrapper(_COMPONENTTYPE)
Girish Gowdra997432d2022-03-10 15:59:33 -080023_COMPONENTADMINSTATE = DESCRIPTOR.enum_types_by_name['ComponentAdminState']
uwe ottrembka66d91ea2020-08-11 10:50:55 +020024ComponentAdminState = enum_type_wrapper.EnumTypeWrapper(_COMPONENTADMINSTATE)
Girish Gowdra997432d2022-03-10 15:59:33 -080025_COMPONENTOPERSTATE = DESCRIPTOR.enum_types_by_name['ComponentOperState']
uwe ottrembka66d91ea2020-08-11 10:50:55 +020026ComponentOperState = enum_type_wrapper.EnumTypeWrapper(_COMPONENTOPERSTATE)
Girish Gowdra997432d2022-03-10 15:59:33 -080027_COMPONENTUSAGESTATE = DESCRIPTOR.enum_types_by_name['ComponentUsageState']
uwe ottrembka66d91ea2020-08-11 10:50:55 +020028ComponentUsageState = enum_type_wrapper.EnumTypeWrapper(_COMPONENTUSAGESTATE)
Girish Gowdra997432d2022-03-10 15:59:33 -080029_COMPONENTALARMSTATE = DESCRIPTOR.enum_types_by_name['ComponentAlarmState']
uwe ottrembka66d91ea2020-08-11 10:50:55 +020030ComponentAlarmState = enum_type_wrapper.EnumTypeWrapper(_COMPONENTALARMSTATE)
Girish Gowdra997432d2022-03-10 15:59:33 -080031_COMPONENTSTANDBYSTATE = DESCRIPTOR.enum_types_by_name['ComponentStandbyState']
uwe ottrembka66d91ea2020-08-11 10:50:55 +020032ComponentStandbyState = enum_type_wrapper.EnumTypeWrapper(_COMPONENTSTANDBYSTATE)
Girish Gowdra997432d2022-03-10 15:59:33 -080033_DATAVALUETYPE = DESCRIPTOR.enum_types_by_name['DataValueType']
amit.ghosh2a6b60b2021-02-03 15:16:02 +010034DataValueType = enum_type_wrapper.EnumTypeWrapper(_DATAVALUETYPE)
Girish Gowdra997432d2022-03-10 15:59:33 -080035_VALUESCALE = DESCRIPTOR.enum_types_by_name['ValueScale']
amit.ghosh2a6b60b2021-02-03 15:16:02 +010036ValueScale = enum_type_wrapper.EnumTypeWrapper(_VALUESCALE)
Girish Gowdra997432d2022-03-10 15:59:33 -080037_SENSORSTATUS = DESCRIPTOR.enum_types_by_name['SensorStatus']
uwe ottrembka66d91ea2020-08-11 10:50:55 +020038SensorStatus = enum_type_wrapper.EnumTypeWrapper(_SENSORSTATUS)
Girish Gowdra997432d2022-03-10 15:59:33 -080039_TRANSCEIVERTYPE = DESCRIPTOR.enum_types_by_name['TransceiverType']
40TransceiverType = enum_type_wrapper.EnumTypeWrapper(_TRANSCEIVERTYPE)
uwe ottrembka66d91ea2020-08-11 10:50:55 +020041COMPONENT_TYPE_UNDEFINED = 0
42COMPONENT_TYPE_UNKNOWN = 1
43COMPONENT_TYPE_CHASSIS = 2
44COMPONENT_TYPE_BACKPLANE = 3
45COMPONENT_TYPE_CONTAINER = 4
46COMPONENT_TYPE_POWER_SUPPLY = 5
47COMPONENT_TYPE_FAN = 6
48COMPONENT_TYPE_SENSOR = 7
49COMPONENT_TYPE_MODULE = 8
50COMPONENT_TYPE_PORT = 9
51COMPONENT_TYPE_CPU = 10
52COMPONENT_TYPE_BATTERY = 11
53COMPONENT_TYPE_STORAGE = 12
54COMPONENT_TYPE_MEMORY = 13
55COMPONENT_TYPE_TRANSCEIVER = 14
56COMP_ADMIN_STATE_UNDEFINED = 0
57COMP_ADMIN_STATE_UNKNOWN = 1
58COMP_ADMIN_STATE_LOCKED = 2
59COMP_ADMIN_STATE_SHUTTING_DOWN = 3
60COMP_ADMIN_STATE_UNLOCKED = 4
Amit Ghoshe45d9972025-06-26 14:52:48 +020061COMP_ADMIN_STATE_ISOLATED = 6
62COMP_ADMIN_STATE_PROHIBITED = 5
uwe ottrembka66d91ea2020-08-11 10:50:55 +020063COMP_OPER_STATE_UNDEFINED = 0
64COMP_OPER_STATE_UNKNOWN = 1
65COMP_OPER_STATE_DISABLED = 2
66COMP_OPER_STATE_ENABLED = 3
67COMP_OPER_STATE_TESTING = 4
Amit Ghoshe45d9972025-06-26 14:52:48 +020068COMP_OPER_STATE_NORMAL = 5
69COMP_OPER_STATE_CONFIGURING = 6
70COMP_OPER_STATE_AUTOMATIC_LOADING = 7
71COMP_OPER_STATE_FAILED = 8
72COMP_OPER_STATE_HIGH_TEMP_SHUTDOWN = 9
73COMP_OPER_STATE_MANUAL_SHUTDOWN = 10
74COMP_OPER_STATE_POWER_SAVING_SHUTDOWN = 11
75COMP_OPER_STATE_TYPE_MISMATCH = 12
uwe ottrembka66d91ea2020-08-11 10:50:55 +020076COMP_USAGE_STATE_UNDEFINED = 0
77COMP_USAGE_STATE_UNKNOWN = 1
78COMP_USAGE_STATE_IDLE = 2
79COMP_USAGE_STATE_ACTIVE = 3
80COMP_USAGE_STATE_BUSY = 4
81COMP_ALARM_STATE_UNDEFINED = 0
82COMP_ALARM_STATE_UNKNOWN = 1
83COMP_ALARM_STATE_UNDER_REPAIR = 2
84COMP_ALARM_STATE_CRITICAL = 3
85COMP_ALARM_STATE_MAJOR = 4
86COMP_ALARM_STATE_MINOR = 5
87COMP_ALARM_STATE_WARNING = 6
amit.ghosh3a5c7f12020-12-11 13:56:26 +010088COMP_ALARM_STATE_INDETERMINATE = 7
uwe ottrembka66d91ea2020-08-11 10:50:55 +020089COMP_STANDBY_STATE_UNDEFINED = 0
90COMP_STANDBY_STATE_UNKNOWN = 1
91COMP_STANDBY_STATE_HOT = 2
92COMP_STANDBY_STATE_COLD = 3
93COMP_STANDBY_STATE_PROVIDING_SERVICE = 4
amit.ghosh2a6b60b2021-02-03 15:16:02 +010094VALUE_TYPE_UNDEFINED = 0
95VALUE_TYPE_OTHER = 1
96VALUE_TYPE_UNKNOWN = 2
97VALUE_TYPE_VOLTS_AC = 3
98VALUE_TYPE_VOLTS_DC = 4
99VALUE_TYPE_AMPERES = 5
100VALUE_TYPE_WATTS = 6
101VALUE_TYPE_HERTZ = 7
102VALUE_TYPE_CELSIUS = 8
103VALUE_TYPE_PERCENT_RH = 9
104VALUE_TYPE_RPM = 10
105VALUE_TYPE_CMM = 11
106VALUE_TYPE_TRUTH_VALUE = 12
amit.ghoshf54a9a32021-03-10 16:39:54 +0100107VALUE_TYPE_PERCENT = 13
108VALUE_TYPE_METERS = 14
109VALUE_TYPE_BYTES = 15
amit.ghosh93921ec2022-09-08 17:22:40 +0200110VALUE_TYPE_DBM = 16
amit.ghosh2a6b60b2021-02-03 15:16:02 +0100111VALUE_SCALE_UNDEFINED = 0
112VALUE_SCALE_YOCTO = 1
113VALUE_SCALE_ZEPTO = 2
114VALUE_SCALE_ATTO = 3
115VALUE_SCALE_FEMTO = 4
116VALUE_SCALE_PICO = 5
117VALUE_SCALE_NANO = 6
118VALUE_SCALE_MICRO = 7
119VALUE_SCALE_MILLI = 8
120VALUE_SCALE_UNITS = 9
121VALUE_SCALE_KILO = 10
122VALUE_SCALE_MEGA = 11
123VALUE_SCALE_GIGA = 12
124VALUE_SCALE_TERA = 13
125VALUE_SCALE_PETA = 14
126VALUE_SCALE_EXA = 15
127VALUE_SCALE_ZETTA = 16
128VALUE_SCALE_YOTTA = 17
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200129SENSOR_STATUS_UNDEFINED = 0
130SENSOR_STATUS_OK = 1
131SENSOR_STATUS_UNAVAILABLE = 2
132SENSOR_STATUS_NONOPERATIONAL = 3
Girish Gowdra997432d2022-03-10 15:59:33 -0800133TYPE_UNDEFINED = 0
134ETHERNET = 1
135GPON = 2
136XGPON = 3
137XGSPON = 4
138CPON = 5
139NG_PON2 = 6
140EPON = 7
amit.ghoshecfad5d2022-03-17 13:37:14 +0100141COMBO_GPON_XGSPON = 8
Girish Gowdra997432d2022-03-10 15:59:33 -0800142TYPE_NOT_DETECTED = 255
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200143
144
Girish Gowdra997432d2022-03-10 15:59:33 -0800145_UUID = DESCRIPTOR.message_types_by_name['Uuid']
146_HARDWAREID = DESCRIPTOR.message_types_by_name['HardwareID']
147_URI = DESCRIPTOR.message_types_by_name['Uri']
148_COMPONENTSTATE = DESCRIPTOR.message_types_by_name['ComponentState']
149_COMPONENTSENSORDATA = DESCRIPTOR.message_types_by_name['ComponentSensorData']
150_PORTCOMPONENTATTRIBUTES = DESCRIPTOR.message_types_by_name['PortComponentAttributes']
Abhilash laxmeshward4a9fa32023-09-15 16:10:22 +0530151_PONDISTANCE = DESCRIPTOR.message_types_by_name['PonDistance']
Girish Gowdra997432d2022-03-10 15:59:33 -0800152_PORTCOMPONENTCHANGEATTRIBUTES = DESCRIPTOR.message_types_by_name['PortComponentChangeAttributes']
153_TRANSCEIVERCOMPONENTCHANGEATTRIBUTES = DESCRIPTOR.message_types_by_name['TransceiverComponentChangeAttributes']
154_PONIDCONFIG = DESCRIPTOR.message_types_by_name['PonIdConfig']
155_CONTAINERCOMPONENTATTRIBUTES = DESCRIPTOR.message_types_by_name['ContainerComponentAttributes']
156_PSUCOMPONENTATTRIBUTES = DESCRIPTOR.message_types_by_name['PsuComponentAttributes']
157_TRANSCEIVERCOMPONENTSATTRIBUTES = DESCRIPTOR.message_types_by_name['TransceiverComponentsAttributes']
158_COMPONENT = DESCRIPTOR.message_types_by_name['Component']
159_HARDWARE = DESCRIPTOR.message_types_by_name['Hardware']
160_MODIFIABLECOMPONENT = DESCRIPTOR.message_types_by_name['ModifiableComponent']
161_PORTCOMPONENTATTRIBUTES_CONNECTORTYPE = _PORTCOMPONENTATTRIBUTES.enum_types_by_name['ConnectorType']
162_PORTCOMPONENTATTRIBUTES_SPEED = _PORTCOMPONENTATTRIBUTES.enum_types_by_name['Speed']
163_PORTCOMPONENTATTRIBUTES_PROTOCOL = _PORTCOMPONENTATTRIBUTES.enum_types_by_name['Protocol']
164_PSUCOMPONENTATTRIBUTES_SUPPORTEDVOLTAGE = _PSUCOMPONENTATTRIBUTES.enum_types_by_name['SupportedVoltage']
165_TRANSCEIVERCOMPONENTSATTRIBUTES_FORMFACTOR = _TRANSCEIVERCOMPONENTSATTRIBUTES.enum_types_by_name['FormFactor']
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200166Uuid = _reflection.GeneratedProtocolMessageType('Uuid', (_message.Message,), {
167 'DESCRIPTOR' : _UUID,
168 '__module__' : 'dmi.hw_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200169 # @@protoc_insertion_point(class_scope:dmi.Uuid)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200170 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200171_sym_db.RegisterMessage(Uuid)
172
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200173HardwareID = _reflection.GeneratedProtocolMessageType('HardwareID', (_message.Message,), {
174 'DESCRIPTOR' : _HARDWAREID,
175 '__module__' : 'dmi.hw_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200176 # @@protoc_insertion_point(class_scope:dmi.HardwareID)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200177 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200178_sym_db.RegisterMessage(HardwareID)
179
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200180Uri = _reflection.GeneratedProtocolMessageType('Uri', (_message.Message,), {
181 'DESCRIPTOR' : _URI,
182 '__module__' : 'dmi.hw_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200183 # @@protoc_insertion_point(class_scope:dmi.Uri)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200184 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200185_sym_db.RegisterMessage(Uri)
186
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200187ComponentState = _reflection.GeneratedProtocolMessageType('ComponentState', (_message.Message,), {
188 'DESCRIPTOR' : _COMPONENTSTATE,
189 '__module__' : 'dmi.hw_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200190 # @@protoc_insertion_point(class_scope:dmi.ComponentState)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200191 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200192_sym_db.RegisterMessage(ComponentState)
193
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200194ComponentSensorData = _reflection.GeneratedProtocolMessageType('ComponentSensorData', (_message.Message,), {
195 'DESCRIPTOR' : _COMPONENTSENSORDATA,
196 '__module__' : 'dmi.hw_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200197 # @@protoc_insertion_point(class_scope:dmi.ComponentSensorData)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200198 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200199_sym_db.RegisterMessage(ComponentSensorData)
200
amit.ghosh2a6b60b2021-02-03 15:16:02 +0100201PortComponentAttributes = _reflection.GeneratedProtocolMessageType('PortComponentAttributes', (_message.Message,), {
202 'DESCRIPTOR' : _PORTCOMPONENTATTRIBUTES,
203 '__module__' : 'dmi.hw_pb2'
204 # @@protoc_insertion_point(class_scope:dmi.PortComponentAttributes)
205 })
206_sym_db.RegisterMessage(PortComponentAttributes)
207
Abhilash laxmeshward4a9fa32023-09-15 16:10:22 +0530208PonDistance = _reflection.GeneratedProtocolMessageType('PonDistance', (_message.Message,), {
209 'DESCRIPTOR' : _PONDISTANCE,
210 '__module__' : 'dmi.hw_pb2'
211 # @@protoc_insertion_point(class_scope:dmi.PonDistance)
212 })
213_sym_db.RegisterMessage(PonDistance)
214
amit.ghosh98c5a6c2021-08-12 16:19:46 +0200215PortComponentChangeAttributes = _reflection.GeneratedProtocolMessageType('PortComponentChangeAttributes', (_message.Message,), {
216 'DESCRIPTOR' : _PORTCOMPONENTCHANGEATTRIBUTES,
217 '__module__' : 'dmi.hw_pb2'
218 # @@protoc_insertion_point(class_scope:dmi.PortComponentChangeAttributes)
219 })
220_sym_db.RegisterMessage(PortComponentChangeAttributes)
221
Girish Gowdra997432d2022-03-10 15:59:33 -0800222TransceiverComponentChangeAttributes = _reflection.GeneratedProtocolMessageType('TransceiverComponentChangeAttributes', (_message.Message,), {
223 'DESCRIPTOR' : _TRANSCEIVERCOMPONENTCHANGEATTRIBUTES,
224 '__module__' : 'dmi.hw_pb2'
225 # @@protoc_insertion_point(class_scope:dmi.TransceiverComponentChangeAttributes)
226 })
227_sym_db.RegisterMessage(TransceiverComponentChangeAttributes)
228
amit.ghosh98c5a6c2021-08-12 16:19:46 +0200229PonIdConfig = _reflection.GeneratedProtocolMessageType('PonIdConfig', (_message.Message,), {
230 'DESCRIPTOR' : _PONIDCONFIG,
231 '__module__' : 'dmi.hw_pb2'
232 # @@protoc_insertion_point(class_scope:dmi.PonIdConfig)
233 })
234_sym_db.RegisterMessage(PonIdConfig)
235
amit.ghosh2a6b60b2021-02-03 15:16:02 +0100236ContainerComponentAttributes = _reflection.GeneratedProtocolMessageType('ContainerComponentAttributes', (_message.Message,), {
237 'DESCRIPTOR' : _CONTAINERCOMPONENTATTRIBUTES,
238 '__module__' : 'dmi.hw_pb2'
239 # @@protoc_insertion_point(class_scope:dmi.ContainerComponentAttributes)
240 })
241_sym_db.RegisterMessage(ContainerComponentAttributes)
242
243PsuComponentAttributes = _reflection.GeneratedProtocolMessageType('PsuComponentAttributes', (_message.Message,), {
244 'DESCRIPTOR' : _PSUCOMPONENTATTRIBUTES,
245 '__module__' : 'dmi.hw_pb2'
246 # @@protoc_insertion_point(class_scope:dmi.PsuComponentAttributes)
247 })
248_sym_db.RegisterMessage(PsuComponentAttributes)
249
250TransceiverComponentsAttributes = _reflection.GeneratedProtocolMessageType('TransceiverComponentsAttributes', (_message.Message,), {
251 'DESCRIPTOR' : _TRANSCEIVERCOMPONENTSATTRIBUTES,
252 '__module__' : 'dmi.hw_pb2'
253 # @@protoc_insertion_point(class_scope:dmi.TransceiverComponentsAttributes)
254 })
255_sym_db.RegisterMessage(TransceiverComponentsAttributes)
256
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200257Component = _reflection.GeneratedProtocolMessageType('Component', (_message.Message,), {
258 'DESCRIPTOR' : _COMPONENT,
259 '__module__' : 'dmi.hw_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200260 # @@protoc_insertion_point(class_scope:dmi.Component)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200261 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200262_sym_db.RegisterMessage(Component)
263
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200264Hardware = _reflection.GeneratedProtocolMessageType('Hardware', (_message.Message,), {
265 'DESCRIPTOR' : _HARDWARE,
266 '__module__' : 'dmi.hw_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200267 # @@protoc_insertion_point(class_scope:dmi.Hardware)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200268 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200269_sym_db.RegisterMessage(Hardware)
270
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200271ModifiableComponent = _reflection.GeneratedProtocolMessageType('ModifiableComponent', (_message.Message,), {
272 'DESCRIPTOR' : _MODIFIABLECOMPONENT,
273 '__module__' : 'dmi.hw_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200274 # @@protoc_insertion_point(class_scope:dmi.ModifiableComponent)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +0200275 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200276_sym_db.RegisterMessage(ModifiableComponent)
277
Girish Gowdra997432d2022-03-10 15:59:33 -0800278if _descriptor._USE_C_DESCRIPTORS == False:
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200279
Girish Gowdra997432d2022-03-10 15:59:33 -0800280 DESCRIPTOR._options = None
281 DESCRIPTOR._serialized_options = b'Z9github.com/opencord/device-management-interface/v3/go/dmi'
amit.ghoshb68828f2023-10-25 18:56:01 +0200282 _COMPONENTTYPE._serialized_start=3892
283 _COMPONENTTYPE._serialized_end=4328
284 _COMPONENTADMINSTATE._serialized_start=4331
Amit Ghoshe45d9972025-06-26 14:52:48 +0200285 _COMPONENTADMINSTATE._serialized_end=4574
286 _COMPONENTOPERSTATE._serialized_start=4577
287 _COMPONENTOPERSTATE._serialized_end=5028
288 _COMPONENTUSAGESTATE._serialized_start=5031
289 _COMPONENTUSAGESTATE._serialized_end=5197
290 _COMPONENTALARMSTATE._serialized_start=5200
291 _COMPONENTALARMSTATE._serialized_end=5471
292 _COMPONENTSTANDBYSTATE._serialized_start=5474
293 _COMPONENTSTANDBYSTATE._serialized_end=5662
294 _DATAVALUETYPE._serialized_start=5665
295 _DATAVALUETYPE._serialized_end=6078
296 _VALUESCALE._serialized_start=6081
297 _VALUESCALE._serialized_end=6501
298 _SENSORSTATUS._serialized_start=6504
299 _SENSORSTATUS._serialized_end=6634
300 _TRANSCEIVERTYPE._serialized_start=6637
301 _TRANSCEIVERTYPE._serialized_end=6801
Girish Gowdra997432d2022-03-10 15:59:33 -0800302 _UUID._serialized_start=54
303 _UUID._serialized_end=74
304 _HARDWAREID._serialized_start=76
305 _HARDWAREID._serialized_end=113
306 _URI._serialized_start=115
307 _URI._serialized_end=133
308 _COMPONENTSTATE._serialized_start=136
309 _COMPONENTSTATE._serialized_end=445
310 _COMPONENTSENSORDATA._serialized_start=448
311 _COMPONENTSENSORDATA._serialized_end=720
312 _PORTCOMPONENTATTRIBUTES._serialized_start=723
Abhilash laxmeshward4a9fa32023-09-15 16:10:22 +0530313 _PORTCOMPONENTATTRIBUTES._serialized_end=1496
314 _PORTCOMPONENTATTRIBUTES_CONNECTORTYPE._serialized_start=1081
315 _PORTCOMPONENTATTRIBUTES_CONNECTORTYPE._serialized_end=1193
316 _PORTCOMPONENTATTRIBUTES_SPEED._serialized_start=1196
317 _PORTCOMPONENTATTRIBUTES_SPEED._serialized_end=1370
318 _PORTCOMPONENTATTRIBUTES_PROTOCOL._serialized_start=1372
319 _PORTCOMPONENTATTRIBUTES_PROTOCOL._serialized_end=1496
320 _PONDISTANCE._serialized_start=1498
321 _PONDISTANCE._serialized_end=1568
322 _PORTCOMPONENTCHANGEATTRIBUTES._serialized_start=1570
323 _PORTCOMPONENTCHANGEATTRIBUTES._serialized_end=1678
324 _TRANSCEIVERCOMPONENTCHANGEATTRIBUTES._serialized_start=1680
325 _TRANSCEIVERCOMPONENTCHANGEATTRIBUTES._serialized_end=1760
326 _PONIDCONFIG._serialized_start=1762
327 _PONIDCONFIG._serialized_end=1828
328 _CONTAINERCOMPONENTATTRIBUTES._serialized_start=1830
329 _CONTAINERCOMPONENTATTRIBUTES._serialized_end=1884
330 _PSUCOMPONENTATTRIBUTES._serialized_start=1887
331 _PSUCOMPONENTATTRIBUTES._serialized_end=2066
332 _PSUCOMPONENTATTRIBUTES_SUPPORTEDVOLTAGE._serialized_start=1986
333 _PSUCOMPONENTATTRIBUTES_SUPPORTEDVOLTAGE._serialized_end=2066
334 _TRANSCEIVERCOMPONENTSATTRIBUTES._serialized_start=2069
amit.ghoshb68828f2023-10-25 18:56:01 +0200335 _TRANSCEIVERCOMPONENTSATTRIBUTES._serialized_end=2637
Abhilash laxmeshward4a9fa32023-09-15 16:10:22 +0530336 _TRANSCEIVERCOMPONENTSATTRIBUTES_FORMFACTOR._serialized_start=2432
amit.ghoshb68828f2023-10-25 18:56:01 +0200337 _TRANSCEIVERCOMPONENTSATTRIBUTES_FORMFACTOR._serialized_end=2637
338 _COMPONENT._serialized_start=2640
339 _COMPONENT._serialized_end=3384
340 _HARDWARE._serialized_start=3387
341 _HARDWARE._serialized_end=3525
342 _MODIFIABLECOMPONENT._serialized_start=3528
343 _MODIFIABLECOMPONENT._serialized_end=3889
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200344# @@protoc_insertion_point(module_scope)