VOL-3949: Include device uuid in the GetManagedDevicesResponse
Change-Id: Ib524f028cfe0cdd5e0c892a6b398ac11fec90225
diff --git a/protos/dmi/hw_management_service.proto b/protos/dmi/hw_management_service.proto
index 3a703c4..fb2a454 100644
--- a/protos/dmi/hw_management_service.proto
+++ b/protos/dmi/hw_management_service.proto
@@ -97,15 +97,26 @@
// device to be stopped is not found
enum Reason {
UNDEFINED_REASON = 0;
- UNKNOWN_DEVICE= 1;
+ UNKNOWN_DEVICE = 1;
}
Status status = 1;
Reason reason = 2;
string reason_detail = 3;
}
+message ManagedDeviceInfo {
+ ModifiableComponent info = 1;
+ Uuid device_uuid = 2;
+}
+
message ManagedDevicesResponse {
- repeated ModifiableComponent devices = 1;
+ enum Reason {
+ UNDEFINED_REASON = 0;
+ INTERNAL_ERROR = 1;
+ }
+ Status status = 1;
+ Reason reason = 2;
+ repeated ManagedDeviceInfo devices = 3;
}
message SetLoggingEndpointRequest {