VOL-3635: Change SetLogLevelRepsonse to return a single device
Change-Id: I8add799be3e5769f27a8ea583f8af0047bf507f1
diff --git a/python/dmi/hw_management_service_pb2_grpc.py b/python/dmi/hw_management_service_pb2_grpc.py
index 06c4f87..ecc2011 100644
--- a/python/dmi/hw_management_service_pb2_grpc.py
+++ b/python/dmi/hw_management_service_pb2_grpc.py
@@ -53,7 +53,7 @@
)
self.GetLoggingEndpoint = channel.unary_unary(
'/dmi.NativeHWManagementService/GetLoggingEndpoint',
- request_serializer=dmi_dot_hw__pb2.Uuid.SerializeToString,
+ request_serializer=dmi_dot_hw__pb2.HardwareID.SerializeToString,
response_deserializer=dmi_dot_hw__management__service__pb2.GetLoggingEndpointResponse.FromString,
)
self.SetMsgBusEndpoint = channel.unary_unary(
@@ -174,7 +174,7 @@
raise NotImplementedError('Method not implemented!')
def SetLogLevel(self, request, context):
- """Sets the log level for one or more devices for each given entity to a certain level.
+ """Sets the log level of the device, for each given entity to a certain level.
If only one EntitiesLogLevel is provided for the device and that request contains only a log level with
no entity in the list it's assumed that the caller wants to set that level for all the entities.
"""
@@ -230,7 +230,7 @@
),
'GetLoggingEndpoint': grpc.unary_unary_rpc_method_handler(
servicer.GetLoggingEndpoint,
- request_deserializer=dmi_dot_hw__pb2.Uuid.FromString,
+ request_deserializer=dmi_dot_hw__pb2.HardwareID.FromString,
response_serializer=dmi_dot_hw__management__service__pb2.GetLoggingEndpointResponse.SerializeToString,
),
'SetMsgBusEndpoint': grpc.unary_unary_rpc_method_handler(
@@ -399,7 +399,7 @@
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/dmi.NativeHWManagementService/GetLoggingEndpoint',
- dmi_dot_hw__pb2.Uuid.SerializeToString,
+ dmi_dot_hw__pb2.HardwareID.SerializeToString,
dmi_dot_hw__management__service__pb2.GetLoggingEndpointResponse.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)