VOL-3852: Added DEVICE_UNREACHABLE error reason
Change-Id: I1c75b5380da0344d3087d396ea161739e8dbb630
diff --git a/protos/dmi/hw_events_mgmt_service.proto b/protos/dmi/hw_events_mgmt_service.proto
index 2387420..56f6068 100644
--- a/protos/dmi/hw_events_mgmt_service.proto
+++ b/protos/dmi/hw_events_mgmt_service.proto
@@ -107,6 +107,7 @@
UNDEFINED_REASON = 0;
UNKNOWN_DEVICE = 1;
INTERNAL_ERROR = 2;
+ DEVICE_UNREACHABLE = 3;
}
Status status = 1;
Reason reason = 2;
@@ -127,6 +128,7 @@
UNKNOWN_DEVICE = 1;
INTERNAL_ERROR = 2;
INVALID_CONFIG = 3;
+ DEVICE_UNREACHABLE = 4;
}
Status status = 1;
Reason reason = 2;
diff --git a/protos/dmi/hw_management_service.proto b/protos/dmi/hw_management_service.proto
index cf713ba..209f8b8 100644
--- a/protos/dmi/hw_management_service.proto
+++ b/protos/dmi/hw_management_service.proto
@@ -18,6 +18,7 @@
UNDEFINED_REASON = 0;
UNKNOWN_DEVICE = 1;
INTERNAL_ERROR = 2;
+ DEVICE_UNREACHABLE = 3;
}
Status status = 1;
Reason reason = 2;
@@ -36,6 +37,7 @@
UNKNOWN_DEVICE = 1;
UNKNOWN_COMPONENT = 2;
INTERNAL_ERROR = 3;
+ DEVICE_UNREACHABLE = 4;
}
Status status = 1;
Reason reason = 2;
@@ -56,6 +58,7 @@
UNKNOWN_COMPONENT = 2;
INVALID_PARAMS = 3;
INTERNAL_ERROR = 4;
+ DEVICE_UNREACHABLE = 5;
}
Status status = 1;
Reason reason = 2;
@@ -111,6 +114,7 @@
LOGGING_ENDPOINT_ERROR = 3;
LOGGING_ENDPOINT_PROTOCOL_ERROR = 4;
MSGBUS_ENDPOINT_ERROR = 5;
+ DEVICE_UNREACHABLE = 6;
}
Status status = 1;
Reason reason = 2;
@@ -121,6 +125,7 @@
UNDEFINED_REASON = 0;
UNKNOWN_DEVICE = 1;
INTERNAL_ERROR = 2;
+ DEVICE_UNREACHABLE = 3;
}
Status status = 1;
Reason reason = 2;
@@ -136,6 +141,7 @@
enum Reason {
UNDEFINED_REASON = 0;
INTERNAL_ERROR = 1;
+ DEVICE_UNREACHABLE = 2;
}
Status status = 1;
Reason reason = 2;
@@ -158,6 +164,7 @@
UNKNOWN_DEVICE = 1;
INTERNAL_ERROR = 2;
UNKNOWN_LOG_ENTITY = 3;
+ DEVICE_UNREACHABLE = 4;
}
Uuid device_uuid = 1;
Status status = 2;
@@ -175,6 +182,7 @@
UNKNOWN_DEVICE = 1;
INTERNAL_ERROR = 2;
UNKNOWN_LOG_ENTITY = 3;
+ DEVICE_UNREACHABLE = 4;
}
Uuid device_uuid = 1;
repeated EntitiesLogLevel logLevels = 2;
diff --git a/protos/dmi/hw_metrics_mgmt_service.proto b/protos/dmi/hw_metrics_mgmt_service.proto
index 2fc8078..103df46 100644
--- a/protos/dmi/hw_metrics_mgmt_service.proto
+++ b/protos/dmi/hw_metrics_mgmt_service.proto
@@ -71,6 +71,7 @@
UNDEFINED_REASON = 0;
UNKNOWN_DEVICE = 1;
INTERNAL_ERROR = 2;
+ DEVICE_UNREACHABLE = 3;
}
Status status = 1;
Reason reason = 2;
@@ -92,6 +93,7 @@
INTERNAL_ERROR = 2;
POLL_INTERVAL_UNSUPPORTED = 3;
INVALID_METRIC = 4;
+ DEVICE_UNREACHABLE = 5;
}
Status status = 1;
Reason reason = 2;
@@ -125,6 +127,7 @@
UNKNOWN_COMPONENT = 2;
INTERNAL_ERROR = 3;
INVALID_METRIC = 4;
+ DEVICE_UNREACHABLE = 5;
}
Status status = 1;
Reason reason = 2;
diff --git a/protos/dmi/sw_management_service.proto b/protos/dmi/sw_management_service.proto
index 9fcc322..82917d4 100644
--- a/protos/dmi/sw_management_service.proto
+++ b/protos/dmi/sw_management_service.proto
@@ -23,6 +23,7 @@
UNDEFINED_REASON = 0;
UNKNOWN_DEVICE = 1;
INTERNAL_ERROR = 2;
+ DEVICE_UNREACHABLE = 3;
}
Status status = 1;
Reason reason = 2;
@@ -50,6 +51,7 @@
ERROR_FETCHING_CONFIG = 3;
INVALID_CONFIG = 4;
OPERATION_ALREADY_IN_PROGRESS = 5;
+ DEVICE_UNREACHABLE = 6;
}
Status status = 1;
Reason reason = 2;
@@ -64,6 +66,7 @@
UNDEFINED_REASON = 0;
UNKNOWN_DEVICE = 1;
INTERNAL_ERROR = 2;
+ DEVICE_UNREACHABLE = 3;
}
Status status = 1;
Reason reason = 2;