Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-3585

Additional Sensor Types required to report all Metrics for CPU,Transceiver,Storage,Memory,Power Supply Component Types

    XMLWordPrintable

    Details

      Description

      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

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            aghosh Amit Ghosh
            Reporter:
            shaun.missett Shaun Missett
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes