VOL-4949: more reasons added along with DEVICE_BUSY for UploadDebugInfoStatus
Change-Id: I623c41ce3419c8ac1c48092e734f345a3155d001
diff --git a/VERSION b/VERSION
index 0eed1a2..feaae22 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.12.0
+1.13.0
diff --git a/cpp/dmi/sw_management_service.pb.cc b/cpp/dmi/sw_management_service.pb.cc
index 92977e6..ccb3774 100644
--- a/cpp/dmi/sw_management_service.pb.cc
+++ b/cpp/dmi/sw_management_service.pb.cc
@@ -347,7 +347,7 @@
"\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022\022\n\016INTERNAL_ERROR"
"\020\002\022\026\n\022DEVICE_UNREACHABLE\020\003\"N\n\026UploadDebu"
"gInfoRequest\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi."
- "Uuid\022\024\n\014location_url\030\003 \001(\t\"\220\004\n\025UploadDeb"
+ "Uuid\022\024\n\014location_url\030\003 \001(\t\"\346\004\n\025UploadDeb"
"ugInfoStatus\022\036\n\013device_uuid\030\001 \001(\0132\t.dmi."
"Uuid\0227\n\006status\030\002 \001(\0162\'.dmi.UploadDebugIn"
"foStatus.UploadStatus\022\030\n\020percent_uploade"
@@ -355,33 +355,35 @@
"gInfoStatus.Reason\022\024\n\014location_url\030\005 \001(\t"
"\022\021\n\tfile_name\030\006 \001(\t\"U\n\014UploadStatus\022\033\n\027U"
"NDEFINED_UPLOAD_STATUS\020\000\022\014\n\010COMPLETE\020\001\022\017"
- "\n\013IN_PROGRESS\020\002\022\t\n\005ERROR\020\003\"\320\001\n\006Reason\022\024\n"
+ "\n\013IN_PROGRESS\020\002\022\t\n\005ERROR\020\003\"\246\002\n\006Reason\022\024\n"
"\020UNDEFINED_REASON\020\000\022\022\n\016UNKNOWN_DEVICE\020\001\022"
- "\022\n\016INTERNAL_ERROR\020\002\022\026\n\022DEVICE_UNREACHABL"
- "E\020\003\022\037\n\033REMOTE_LOCATION_UNREACHABLE\020\004\022%\n!"
- "REMOTE_LOCATION_PERMISSION_DENIED\020\005\022\027\n\023E"
- "RROR_DURING_UPLOAD\020\006\022\017\n\013DEVICE_BUSY\020\0072\234\004"
- "\n\037NativeSoftwareManagementService\022Q\n\022Get"
- "SoftwareVersion\022\017.dmi.HardwareID\032*.dmi.G"
- "etSoftwareVersionInformationResponse\022>\n\r"
- "DownloadImage\022\031.dmi.DownloadImageRequest"
- "\032\020.dmi.ImageStatus0\001\0224\n\rActivateImage\022\017."
- "dmi.HardwareID\032\020.dmi.ImageStatus0\001\022;\n\024Re"
- "vertToStandbyImage\022\017.dmi.HardwareID\032\020.dm"
- "i.ImageStatus0\001\022G\n\032UpdateStartupConfigur"
- "ation\022\022.dmi.ConfigRequest\032\023.dmi.ConfigRe"
- "sponse0\001\022\\\n\033GetStartupConfigurationInfo\022"
- "\035.dmi.StartupConfigInfoRequest\032\036.dmi.Sta"
- "rtupConfigInfoResponse\022L\n\017UploadDebugInf"
- "o\022\033.dmi.UploadDebugInfoRequest\032\032.dmi.Upl"
- "oadDebugInfoStatus0\001B;Z9github.com/openc"
- "ord/device-management-interface/v3/go/dm"
- "ib\006proto3"
+ "\022\n\016INTERNAL_ERROR\020\002\022\030\n\024DEVICE_NOT_REACHA"
+ "BLE\020\003\022\037\n\033REMOTE_LOCATION_UNREACHABLE\020\004\022%"
+ "\n!REMOTE_LOCATION_PERMISSION_DENIED\020\005\022\027\n"
+ "\023ERROR_DURING_UPLOAD\020\006\022\017\n\013DEVICE_BUSY\020\007\022"
+ "\024\n\020ERROR_IN_REQUEST\020\010\022\031\n\025DEVICE_IN_WRONG"
+ "_STATE\020\t\022!\n\035OPERATION_ALREADY_IN_PROGRES"
+ "S\020\n2\234\004\n\037NativeSoftwareManagementService\022"
+ "Q\n\022GetSoftwareVersion\022\017.dmi.HardwareID\032*"
+ ".dmi.GetSoftwareVersionInformationRespon"
+ "se\022>\n\rDownloadImage\022\031.dmi.DownloadImageR"
+ "equest\032\020.dmi.ImageStatus0\001\0224\n\rActivateIm"
+ "age\022\017.dmi.HardwareID\032\020.dmi.ImageStatus0\001"
+ "\022;\n\024RevertToStandbyImage\022\017.dmi.HardwareI"
+ "D\032\020.dmi.ImageStatus0\001\022G\n\032UpdateStartupCo"
+ "nfiguration\022\022.dmi.ConfigRequest\032\023.dmi.Co"
+ "nfigResponse0\001\022\\\n\033GetStartupConfiguratio"
+ "nInfo\022\035.dmi.StartupConfigInfoRequest\032\036.d"
+ "mi.StartupConfigInfoResponse\022L\n\017UploadDe"
+ "bugInfo\022\033.dmi.UploadDebugInfoRequest\032\032.d"
+ "mi.UploadDebugInfoStatus0\001B;Z9github.com"
+ "/opencord/device-management-interface/v3"
+ "/go/dmib\006proto3"
;
::google::protobuf::internal::DescriptorTable descriptor_table_dmi_2fsw_5fmanagement_5fservice_2eproto = {
false, InitDefaults_dmi_2fsw_5fmanagement_5fservice_2eproto,
descriptor_table_protodef_dmi_2fsw_5fmanagement_5fservice_2eproto,
- "dmi/sw_management_service.proto", &assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto, 2529,
+ "dmi/sw_management_service.proto", &assign_descriptors_table_dmi_2fsw_5fmanagement_5fservice_2eproto, 2615,
};
void AddDescriptors_dmi_2fsw_5fmanagement_5fservice_2eproto() {
@@ -517,6 +519,9 @@
case 5:
case 6:
case 7:
+ case 8:
+ case 9:
+ case 10:
return true;
default:
return false;
@@ -527,11 +532,14 @@
const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::UNDEFINED_REASON;
const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::UNKNOWN_DEVICE;
const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::INTERNAL_ERROR;
-const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::DEVICE_UNREACHABLE;
+const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::DEVICE_NOT_REACHABLE;
const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::REMOTE_LOCATION_UNREACHABLE;
const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::REMOTE_LOCATION_PERMISSION_DENIED;
const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::ERROR_DURING_UPLOAD;
const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::DEVICE_BUSY;
+const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::ERROR_IN_REQUEST;
+const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::DEVICE_IN_WRONG_STATE;
+const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::OPERATION_ALREADY_IN_PROGRESS;
const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::Reason_MIN;
const UploadDebugInfoStatus_Reason UploadDebugInfoStatus::Reason_MAX;
const int UploadDebugInfoStatus::Reason_ARRAYSIZE;
diff --git a/cpp/dmi/sw_management_service.pb.h b/cpp/dmi/sw_management_service.pb.h
index fa80e35..617d8ec 100644
--- a/cpp/dmi/sw_management_service.pb.h
+++ b/cpp/dmi/sw_management_service.pb.h
@@ -195,17 +195,20 @@
UploadDebugInfoStatus_Reason_UNDEFINED_REASON = 0,
UploadDebugInfoStatus_Reason_UNKNOWN_DEVICE = 1,
UploadDebugInfoStatus_Reason_INTERNAL_ERROR = 2,
- UploadDebugInfoStatus_Reason_DEVICE_UNREACHABLE = 3,
+ UploadDebugInfoStatus_Reason_DEVICE_NOT_REACHABLE = 3,
UploadDebugInfoStatus_Reason_REMOTE_LOCATION_UNREACHABLE = 4,
UploadDebugInfoStatus_Reason_REMOTE_LOCATION_PERMISSION_DENIED = 5,
UploadDebugInfoStatus_Reason_ERROR_DURING_UPLOAD = 6,
UploadDebugInfoStatus_Reason_DEVICE_BUSY = 7,
+ UploadDebugInfoStatus_Reason_ERROR_IN_REQUEST = 8,
+ UploadDebugInfoStatus_Reason_DEVICE_IN_WRONG_STATE = 9,
+ UploadDebugInfoStatus_Reason_OPERATION_ALREADY_IN_PROGRESS = 10,
UploadDebugInfoStatus_Reason_UploadDebugInfoStatus_Reason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(),
UploadDebugInfoStatus_Reason_UploadDebugInfoStatus_Reason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max()
};
bool UploadDebugInfoStatus_Reason_IsValid(int value);
const UploadDebugInfoStatus_Reason UploadDebugInfoStatus_Reason_Reason_MIN = UploadDebugInfoStatus_Reason_UNDEFINED_REASON;
-const UploadDebugInfoStatus_Reason UploadDebugInfoStatus_Reason_Reason_MAX = UploadDebugInfoStatus_Reason_DEVICE_BUSY;
+const UploadDebugInfoStatus_Reason UploadDebugInfoStatus_Reason_Reason_MAX = UploadDebugInfoStatus_Reason_OPERATION_ALREADY_IN_PROGRESS;
const int UploadDebugInfoStatus_Reason_Reason_ARRAYSIZE = UploadDebugInfoStatus_Reason_Reason_MAX + 1;
const ::google::protobuf::EnumDescriptor* UploadDebugInfoStatus_Reason_descriptor();
@@ -1519,8 +1522,8 @@
UploadDebugInfoStatus_Reason_UNKNOWN_DEVICE;
static const Reason INTERNAL_ERROR =
UploadDebugInfoStatus_Reason_INTERNAL_ERROR;
- static const Reason DEVICE_UNREACHABLE =
- UploadDebugInfoStatus_Reason_DEVICE_UNREACHABLE;
+ static const Reason DEVICE_NOT_REACHABLE =
+ UploadDebugInfoStatus_Reason_DEVICE_NOT_REACHABLE;
static const Reason REMOTE_LOCATION_UNREACHABLE =
UploadDebugInfoStatus_Reason_REMOTE_LOCATION_UNREACHABLE;
static const Reason REMOTE_LOCATION_PERMISSION_DENIED =
@@ -1529,6 +1532,12 @@
UploadDebugInfoStatus_Reason_ERROR_DURING_UPLOAD;
static const Reason DEVICE_BUSY =
UploadDebugInfoStatus_Reason_DEVICE_BUSY;
+ static const Reason ERROR_IN_REQUEST =
+ UploadDebugInfoStatus_Reason_ERROR_IN_REQUEST;
+ static const Reason DEVICE_IN_WRONG_STATE =
+ UploadDebugInfoStatus_Reason_DEVICE_IN_WRONG_STATE;
+ static const Reason OPERATION_ALREADY_IN_PROGRESS =
+ UploadDebugInfoStatus_Reason_OPERATION_ALREADY_IN_PROGRESS;
static inline bool Reason_IsValid(int value) {
return UploadDebugInfoStatus_Reason_IsValid(value);
}
diff --git a/dmi.pb b/dmi.pb
index 9baceb9..2825847 100644
--- a/dmi.pb
+++ b/dmi.pb
Binary files differ
diff --git a/go/dmi/sw_management_service.pb.go b/go/dmi/sw_management_service.pb.go
index b1aad29..74be5d0 100644
--- a/go/dmi/sw_management_service.pb.go
+++ b/go/dmi/sw_management_service.pb.go
@@ -160,36 +160,48 @@
type UploadDebugInfoStatus_Reason int32
const (
- UploadDebugInfoStatus_UNDEFINED_REASON UploadDebugInfoStatus_Reason = 0
- UploadDebugInfoStatus_UNKNOWN_DEVICE UploadDebugInfoStatus_Reason = 1
- UploadDebugInfoStatus_INTERNAL_ERROR UploadDebugInfoStatus_Reason = 2
- UploadDebugInfoStatus_DEVICE_UNREACHABLE UploadDebugInfoStatus_Reason = 3
+ UploadDebugInfoStatus_UNDEFINED_REASON UploadDebugInfoStatus_Reason = 0
+ UploadDebugInfoStatus_UNKNOWN_DEVICE UploadDebugInfoStatus_Reason = 1
+ UploadDebugInfoStatus_INTERNAL_ERROR UploadDebugInfoStatus_Reason = 2
+ // The DM implementations should have retry mechanisms (timeout values dependant on specific implementations)
+ // and even after those if the operation cannot be completed/reached then return error with reason as DEVICE_NOT_REACHABLE
+ UploadDebugInfoStatus_DEVICE_NOT_REACHABLE UploadDebugInfoStatus_Reason = 3
UploadDebugInfoStatus_REMOTE_LOCATION_UNREACHABLE UploadDebugInfoStatus_Reason = 4
UploadDebugInfoStatus_REMOTE_LOCATION_PERMISSION_DENIED UploadDebugInfoStatus_Reason = 5
UploadDebugInfoStatus_ERROR_DURING_UPLOAD UploadDebugInfoStatus_Reason = 6
UploadDebugInfoStatus_DEVICE_BUSY UploadDebugInfoStatus_Reason = 7
+ // wrong location_url in the request
+ UploadDebugInfoStatus_ERROR_IN_REQUEST UploadDebugInfoStatus_Reason = 8
+ UploadDebugInfoStatus_DEVICE_IN_WRONG_STATE UploadDebugInfoStatus_Reason = 9
+ UploadDebugInfoStatus_OPERATION_ALREADY_IN_PROGRESS UploadDebugInfoStatus_Reason = 10
)
var UploadDebugInfoStatus_Reason_name = map[int32]string{
- 0: "UNDEFINED_REASON",
- 1: "UNKNOWN_DEVICE",
- 2: "INTERNAL_ERROR",
- 3: "DEVICE_UNREACHABLE",
- 4: "REMOTE_LOCATION_UNREACHABLE",
- 5: "REMOTE_LOCATION_PERMISSION_DENIED",
- 6: "ERROR_DURING_UPLOAD",
- 7: "DEVICE_BUSY",
+ 0: "UNDEFINED_REASON",
+ 1: "UNKNOWN_DEVICE",
+ 2: "INTERNAL_ERROR",
+ 3: "DEVICE_NOT_REACHABLE",
+ 4: "REMOTE_LOCATION_UNREACHABLE",
+ 5: "REMOTE_LOCATION_PERMISSION_DENIED",
+ 6: "ERROR_DURING_UPLOAD",
+ 7: "DEVICE_BUSY",
+ 8: "ERROR_IN_REQUEST",
+ 9: "DEVICE_IN_WRONG_STATE",
+ 10: "OPERATION_ALREADY_IN_PROGRESS",
}
var UploadDebugInfoStatus_Reason_value = map[string]int32{
"UNDEFINED_REASON": 0,
"UNKNOWN_DEVICE": 1,
"INTERNAL_ERROR": 2,
- "DEVICE_UNREACHABLE": 3,
+ "DEVICE_NOT_REACHABLE": 3,
"REMOTE_LOCATION_UNREACHABLE": 4,
"REMOTE_LOCATION_PERMISSION_DENIED": 5,
"ERROR_DURING_UPLOAD": 6,
"DEVICE_BUSY": 7,
+ "ERROR_IN_REQUEST": 8,
+ "DEVICE_IN_WRONG_STATE": 9,
+ "OPERATION_ALREADY_IN_PROGRESS": 10,
}
func (x UploadDebugInfoStatus_Reason) String() string {
@@ -735,73 +747,76 @@
func init() { proto.RegisterFile("dmi/sw_management_service.proto", fileDescriptor_000929e4bec891d7) }
var fileDescriptor_000929e4bec891d7 = []byte{
- // 1048 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x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, 0x2b, 0xca, 0xd5, 0x08, 0x94, 0x24, 0xd9, 0x4b, 0xa1, 0x17, 0xb0, 0xd8, 0xe0, 0x2b, 0x91,
+ 0x1d, 0x33, 0x69, 0x7f, 0xe3, 0x36, 0xb3, 0xac, 0x5e, 0xc1, 0x32, 0x61, 0xe7, 0x2c, 0x8c, 0x3b,
+ 0x9c, 0xcd, 0x7c, 0x27, 0xba, 0x85, 0x71, 0x0b, 0x2a, 0xd6, 0xd0, 0xb1, 0x63, 0x76, 0xad, 0x5f,
+ 0x8e, 0x42, 0xb9, 0xcd, 0xa1, 0x6b, 0x13, 0x4e, 0x5e, 0xfc, 0xd1, 0x8c, 0xa9, 0xb7, 0x97, 0x42,
+ 0x3f, 0xc0, 0x1a, 0x4f, 0xd2, 0x0c, 0x2f, 0x3c, 0x53, 0x68, 0x7d, 0x5e, 0x53, 0x96, 0x4e, 0x3f,
+ 0xfb, 0x70, 0xcf, 0x46, 0x6d, 0x28, 0x4d, 0x15, 0x2e, 0x5a, 0x9b, 0x55, 0xce, 0x63, 0x7f, 0x95,
+ 0xf9, 0xb5, 0xbe, 0x97, 0x3a, 0x78, 0xf5, 0xee, 0x65, 0xdf, 0x8d, 0xdf, 0x8f, 0xce, 0x76, 0xbb,
+ 0x81, 0x57, 0x0b, 0x86, 0xcc, 0xef, 0x06, 0xa1, 0x53, 0x93, 0x7d, 0xea, 0xf9, 0xd5, 0xd2, 0xfc,
+ 0xdc, 0xf5, 0x63, 0x16, 0xf6, 0xec, 0x2e, 0xab, 0x9d, 0xef, 0xd7, 0xfa, 0x41, 0xcd, 0xf1, 0xdc,
+ 0xb3, 0xbc, 0xd8, 0x83, 0xf7, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x65, 0x3c, 0xff, 0x64,
+ 0x0b, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/protos/dmi/sw_management_service.proto b/protos/dmi/sw_management_service.proto
index 5678cfb..6ced46f 100644
--- a/protos/dmi/sw_management_service.proto
+++ b/protos/dmi/sw_management_service.proto
@@ -114,11 +114,17 @@
UNDEFINED_REASON = 0;
UNKNOWN_DEVICE = 1;
INTERNAL_ERROR = 2;
- DEVICE_UNREACHABLE = 3;
+ // The DM implementations should have retry mechanisms (timeout values dependant on specific implementations)
+ // and even after those if the operation cannot be completed/reached then return error with reason as DEVICE_NOT_REACHABLE
+ DEVICE_NOT_REACHABLE = 3;
REMOTE_LOCATION_UNREACHABLE = 4;
REMOTE_LOCATION_PERMISSION_DENIED = 5;
ERROR_DURING_UPLOAD = 6;
DEVICE_BUSY = 7;
+ // wrong location_url in the request
+ ERROR_IN_REQUEST = 8;
+ DEVICE_IN_WRONG_STATE = 9;
+ OPERATION_ALREADY_IN_PROGRESS = 10;
}
Reason reason = 4; // reason specifies why the status is ERROR
string location_url = 5;
diff --git a/python/dmi/sw_management_service_pb2.py b/python/dmi/sw_management_service_pb2.py
index a0fc9e5..ee158e7 100644
--- a/python/dmi/sw_management_service_pb2.py
+++ b/python/dmi/sw_management_service_pb2.py
@@ -17,7 +17,7 @@
from dmi import sw_image_pb2 as dmi_dot_sw__image__pb2
-DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x64mi/sw_management_service.proto\x12\x03\x64mi\x1a\x11\x64mi/commons.proto\x1a\x0c\x64mi/hw.proto\x1a\x12\x64mi/sw_image.proto\"u\n\x1aSoftwareVersionInformation\x12*\n\x0f\x61\x63tive_versions\x18\x01 \x03(\x0b\x32\x11.dmi.ImageVersion\x12+\n\x10standby_versions\x18\x02 \x03(\x0b\x32\x11.dmi.ImageVersion\"\xad\x02\n%GetSoftwareVersionInformationResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x41\n\x06reason\x18\x02 \x01(\x0e\x32\x31.dmi.GetSoftwareVersionInformationResponse.Reason\x12-\n\x04info\x18\x03 \x01(\x0b\x32\x1f.dmi.SoftwareVersionInformation\x12\x15\n\rreason_detail\x18\x04 \x01(\t\"^\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x03\"a\n\x14\x44ownloadImageRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12)\n\nimage_info\x18\x02 \x01(\x0b\x32\x15.dmi.ImageInformation\"C\n\rConfigRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12\x12\n\nconfig_url\x18\x02 \x01(\t\"\xa3\x02\n\x0e\x43onfigResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12*\n\x06reason\x18\x02 \x01(\x0e\x32\x1a.dmi.ConfigResponse.Reason\x12\x15\n\rreason_detail\x18\x03 \x01(\t\"\xb0\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x19\n\x15\x45RROR_FETCHING_CONFIG\x10\x03\x12\x12\n\x0eINVALID_CONFIG\x10\x04\x12!\n\x1dOPERATION_ALREADY_IN_PROGRESS\x10\x05\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x06\":\n\x18StartupConfigInfoRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\"\x8b\x02\n\x19StartupConfigInfoResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x35\n\x06reason\x18\x02 \x01(\x0e\x32%.dmi.StartupConfigInfoResponse.Reason\x12\x12\n\nconfig_url\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\x12\x15\n\rreason_detail\x18\x05 \x01(\t\"^\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x03\"N\n\x16UploadDebugInfoRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12\x14\n\x0clocation_url\x18\x03 \x01(\t\"\x90\x04\n\x15UploadDebugInfoStatus\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\'.dmi.UploadDebugInfoStatus.UploadStatus\x12\x18\n\x10percent_uploaded\x18\x03 \x01(\x05\x12\x31\n\x06reason\x18\x04 \x01(\x0e\x32!.dmi.UploadDebugInfoStatus.Reason\x12\x14\n\x0clocation_url\x18\x05 \x01(\t\x12\x11\n\tfile_name\x18\x06 \x01(\t\"U\n\x0cUploadStatus\x12\x1b\n\x17UNDEFINED_UPLOAD_STATUS\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"\xd0\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x03\x12\x1f\n\x1bREMOTE_LOCATION_UNREACHABLE\x10\x04\x12%\n!REMOTE_LOCATION_PERMISSION_DENIED\x10\x05\x12\x17\n\x13\x45RROR_DURING_UPLOAD\x10\x06\x12\x0f\n\x0b\x44\x45VICE_BUSY\x10\x07\x32\x9c\x04\n\x1fNativeSoftwareManagementService\x12Q\n\x12GetSoftwareVersion\x12\x0f.dmi.HardwareID\x1a*.dmi.GetSoftwareVersionInformationResponse\x12>\n\rDownloadImage\x12\x19.dmi.DownloadImageRequest\x1a\x10.dmi.ImageStatus0\x01\x12\x34\n\rActivateImage\x12\x0f.dmi.HardwareID\x1a\x10.dmi.ImageStatus0\x01\x12;\n\x14RevertToStandbyImage\x12\x0f.dmi.HardwareID\x1a\x10.dmi.ImageStatus0\x01\x12G\n\x1aUpdateStartupConfiguration\x12\x12.dmi.ConfigRequest\x1a\x13.dmi.ConfigResponse0\x01\x12\\\n\x1bGetStartupConfigurationInfo\x12\x1d.dmi.StartupConfigInfoRequest\x1a\x1e.dmi.StartupConfigInfoResponse\x12L\n\x0fUploadDebugInfo\x12\x1b.dmi.UploadDebugInfoRequest\x1a\x1a.dmi.UploadDebugInfoStatus0\x01\x42;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3')
+DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x64mi/sw_management_service.proto\x12\x03\x64mi\x1a\x11\x64mi/commons.proto\x1a\x0c\x64mi/hw.proto\x1a\x12\x64mi/sw_image.proto\"u\n\x1aSoftwareVersionInformation\x12*\n\x0f\x61\x63tive_versions\x18\x01 \x03(\x0b\x32\x11.dmi.ImageVersion\x12+\n\x10standby_versions\x18\x02 \x03(\x0b\x32\x11.dmi.ImageVersion\"\xad\x02\n%GetSoftwareVersionInformationResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x41\n\x06reason\x18\x02 \x01(\x0e\x32\x31.dmi.GetSoftwareVersionInformationResponse.Reason\x12-\n\x04info\x18\x03 \x01(\x0b\x32\x1f.dmi.SoftwareVersionInformation\x12\x15\n\rreason_detail\x18\x04 \x01(\t\"^\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x03\"a\n\x14\x44ownloadImageRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12)\n\nimage_info\x18\x02 \x01(\x0b\x32\x15.dmi.ImageInformation\"C\n\rConfigRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12\x12\n\nconfig_url\x18\x02 \x01(\t\"\xa3\x02\n\x0e\x43onfigResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12*\n\x06reason\x18\x02 \x01(\x0e\x32\x1a.dmi.ConfigResponse.Reason\x12\x15\n\rreason_detail\x18\x03 \x01(\t\"\xb0\x01\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x19\n\x15\x45RROR_FETCHING_CONFIG\x10\x03\x12\x12\n\x0eINVALID_CONFIG\x10\x04\x12!\n\x1dOPERATION_ALREADY_IN_PROGRESS\x10\x05\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x06\":\n\x18StartupConfigInfoRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\"\x8b\x02\n\x19StartupConfigInfoResponse\x12\x1b\n\x06status\x18\x01 \x01(\x0e\x32\x0b.dmi.Status\x12\x35\n\x06reason\x18\x02 \x01(\x0e\x32%.dmi.StartupConfigInfoResponse.Reason\x12\x12\n\nconfig_url\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\x12\x15\n\rreason_detail\x18\x05 \x01(\t\"^\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x16\n\x12\x44\x45VICE_UNREACHABLE\x10\x03\"N\n\x16UploadDebugInfoRequest\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12\x14\n\x0clocation_url\x18\x03 \x01(\t\"\xe6\x04\n\x15UploadDebugInfoStatus\x12\x1e\n\x0b\x64\x65vice_uuid\x18\x01 \x01(\x0b\x32\t.dmi.Uuid\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\'.dmi.UploadDebugInfoStatus.UploadStatus\x12\x18\n\x10percent_uploaded\x18\x03 \x01(\x05\x12\x31\n\x06reason\x18\x04 \x01(\x0e\x32!.dmi.UploadDebugInfoStatus.Reason\x12\x14\n\x0clocation_url\x18\x05 \x01(\t\x12\x11\n\tfile_name\x18\x06 \x01(\t\"U\n\x0cUploadStatus\x12\x1b\n\x17UNDEFINED_UPLOAD_STATUS\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"\xa6\x02\n\x06Reason\x12\x14\n\x10UNDEFINED_REASON\x10\x00\x12\x12\n\x0eUNKNOWN_DEVICE\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x18\n\x14\x44\x45VICE_NOT_REACHABLE\x10\x03\x12\x1f\n\x1bREMOTE_LOCATION_UNREACHABLE\x10\x04\x12%\n!REMOTE_LOCATION_PERMISSION_DENIED\x10\x05\x12\x17\n\x13\x45RROR_DURING_UPLOAD\x10\x06\x12\x0f\n\x0b\x44\x45VICE_BUSY\x10\x07\x12\x14\n\x10\x45RROR_IN_REQUEST\x10\x08\x12\x19\n\x15\x44\x45VICE_IN_WRONG_STATE\x10\t\x12!\n\x1dOPERATION_ALREADY_IN_PROGRESS\x10\n2\x9c\x04\n\x1fNativeSoftwareManagementService\x12Q\n\x12GetSoftwareVersion\x12\x0f.dmi.HardwareID\x1a*.dmi.GetSoftwareVersionInformationResponse\x12>\n\rDownloadImage\x12\x19.dmi.DownloadImageRequest\x1a\x10.dmi.ImageStatus0\x01\x12\x34\n\rActivateImage\x12\x0f.dmi.HardwareID\x1a\x10.dmi.ImageStatus0\x01\x12;\n\x14RevertToStandbyImage\x12\x0f.dmi.HardwareID\x1a\x10.dmi.ImageStatus0\x01\x12G\n\x1aUpdateStartupConfiguration\x12\x12.dmi.ConfigRequest\x1a\x13.dmi.ConfigResponse0\x01\x12\\\n\x1bGetStartupConfigurationInfo\x12\x1d.dmi.StartupConfigInfoRequest\x1a\x1e.dmi.StartupConfigInfoResponse\x12L\n\x0fUploadDebugInfo\x12\x1b.dmi.UploadDebugInfoRequest\x1a\x1a.dmi.UploadDebugInfoStatus0\x01\x42;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3')
@@ -126,11 +126,11 @@
_UPLOADDEBUGINFOREQUEST._serialized_start=1308
_UPLOADDEBUGINFOREQUEST._serialized_end=1386
_UPLOADDEBUGINFOSTATUS._serialized_start=1389
- _UPLOADDEBUGINFOSTATUS._serialized_end=1917
+ _UPLOADDEBUGINFOSTATUS._serialized_end=2003
_UPLOADDEBUGINFOSTATUS_UPLOADSTATUS._serialized_start=1621
_UPLOADDEBUGINFOSTATUS_UPLOADSTATUS._serialized_end=1706
_UPLOADDEBUGINFOSTATUS_REASON._serialized_start=1709
- _UPLOADDEBUGINFOSTATUS_REASON._serialized_end=1917
- _NATIVESOFTWAREMANAGEMENTSERVICE._serialized_start=1920
- _NATIVESOFTWAREMANAGEMENTSERVICE._serialized_end=2460
+ _UPLOADDEBUGINFOSTATUS_REASON._serialized_end=2003
+ _NATIVESOFTWAREMANAGEMENTSERVICE._serialized_start=2006
+ _NATIVESOFTWAREMANAGEMENTSERVICE._serialized_end=2546
# @@protoc_insertion_point(module_scope)