-
Type: Story
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.7
-
Component/s: device-management-interface
-
Labels:None
-
Story Points:1
-
Epic Link:
hw_metrics_mgmt_service proto file lists:
METRIC_CPU_USAGE_PERCENTAGE = 101;
METRIC_TRANSCEIVER_WAVELENGTH = 205;
METRIC_DISK_CAPACITY = 301;
METRIC_DISK_USAGE = 302;
METRIC_DISK_USAGE_PERCENTAGE = 303;
METRIC_DISK_READ_WRITE_PERCENTAGE = 304;
METRIC_DISK_FAULTY_CELLS_PERCENTAGE = 305;
METRIC_RAM_CAPACITY = 401;
METRIC_RAM_USAGE = 402;
METRIC_RAM_USAGE_PERCENTAGE = 403;
METRIC_POWER_USAGE_PERCENTAGE = 502;
but the existing Sensor Type definitions do not support reporting the data types needed:
enum SensorValueType
{ SENSOR_VALUE_TYPE_UNDEFINED = 0; SENSOR_VALUE_TYPE_OTHER = 1; SENSOR_VALUE_TYPE_UNKNOWN = 2; SENSOR_VALUE_TYPE_VOLTS_AC = 3; SENSOR_VALUE_TYPE_VOLTS_DC = 4; SENSOR_VALUE_TYPE_AMPERES = 5; SENSOR_VALUE_TYPE_WATTS = 6; SENSOR_VALUE_TYPE_HERTZ = 7; SENSOR_VALUE_TYPE_CELSIUS = 8; SENSOR_VALUE_TYPE_PERCENT_RH = 9; SENSOR_VALUE_TYPE_RPM = 10; SENSOR_VALUE_TYPE_CMM = 11; SENSOR_VALUE_TYPE_TRUTH_VALUE = 12; }
Suggest adding:
SENSOR_VALUE_TYPE_METERS
SENSOR_VALUE_TYPE_PERCENT
SENSOR_VALUE_TYPE_BYTES