Commit 80b18b44 authored by James Hughes's avatar James Hughes
Browse files

Merge pull request #14 from Seagate/DeviceGetLog

Providing a method for getting proprietary logs out of a device.
parents 337cdcef cdcb0d4b
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -346,6 +346,7 @@ message Message {
      STATISTICS = 4;
      MESSAGES = 5;
      LIMITS = 6;
      DEVICE = 7;
    }

    repeated Utilization utilization = 2;
@@ -355,6 +356,7 @@ message Message {
    repeated Statistics statistics = 6;
    optional bytes messages = 7;
    optional Limits limits = 8;
    optional Device device = 9;

    message Utilization {

@@ -455,6 +457,21 @@ message Message {
      optional uint32 maxKeyRangeCount = 9;
    }

     // The Device GetLog message is to ask the device to send back the
      // log of a certain name in the value field. The limit of each
      // log is 1m byte.
      //
      // Proprietary names should be prefaced by the vendor name so that name
      // collisions do not happen in the future. An example could be names that
      // start with “com.WD” would be for Western Digital devices.
      //
      // If the name is not found, the get log returns NOT_FOUND.
      //
      // There can be only one Device in the list of logs that can be retrieved.!
      message Device {
          optional bytes name = 1;
      }

  }

  message Security {