blob: e06c03b27107f2b8c58ce7d258df27d3ac3935dd [file] [log] [blame]
uwe ottrembka66d91ea2020-08-11 10:50:55 +02001# -*- coding: utf-8 -*-
2# Generated by the protocol buffer compiler. DO NOT EDIT!
3# source: dmi/sw_management_service.proto
Andrea Campanellacb990bc2020-09-22 12:50:56 +02004"""Generated protocol buffer code."""
uwe ottrembka66d91ea2020-08-11 10:50:55 +02005from google.protobuf import descriptor as _descriptor
Girish Gowdra997432d2022-03-10 15:59:33 -08006from google.protobuf import descriptor_pool as _descriptor_pool
uwe ottrembka66d91ea2020-08-11 10:50:55 +02007from google.protobuf import message as _message
8from google.protobuf import reflection as _reflection
9from google.protobuf import symbol_database as _symbol_database
10# @@protoc_insertion_point(imports)
11
12_sym_db = _symbol_database.Default()
13
14
aghoshc301dcd2020-09-03 16:55:34 +010015from dmi import commons_pb2 as dmi_dot_commons__pb2
uwe ottrembka66d91ea2020-08-11 10:50:55 +020016from dmi import hw_pb2 as dmi_dot_hw__pb2
17from dmi import sw_image_pb2 as dmi_dot_sw__image__pb2
18
19
Girish Gowdra997432d2022-03-10 15:59:33 -080020DESCRIPTOR = _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\x32\xce\x03\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.StartupConfigInfoResponseB;Z9github.com/opencord/device-management-interface/v3/go/dmib\x06proto3')
uwe ottrembka66d91ea2020-08-11 10:50:55 +020021
22
23
Girish Gowdra997432d2022-03-10 15:59:33 -080024_SOFTWAREVERSIONINFORMATION = DESCRIPTOR.message_types_by_name['SoftwareVersionInformation']
25_GETSOFTWAREVERSIONINFORMATIONRESPONSE = DESCRIPTOR.message_types_by_name['GetSoftwareVersionInformationResponse']
26_DOWNLOADIMAGEREQUEST = DESCRIPTOR.message_types_by_name['DownloadImageRequest']
27_CONFIGREQUEST = DESCRIPTOR.message_types_by_name['ConfigRequest']
28_CONFIGRESPONSE = DESCRIPTOR.message_types_by_name['ConfigResponse']
29_STARTUPCONFIGINFOREQUEST = DESCRIPTOR.message_types_by_name['StartupConfigInfoRequest']
30_STARTUPCONFIGINFORESPONSE = DESCRIPTOR.message_types_by_name['StartupConfigInfoResponse']
31_GETSOFTWAREVERSIONINFORMATIONRESPONSE_REASON = _GETSOFTWAREVERSIONINFORMATIONRESPONSE.enum_types_by_name['Reason']
32_CONFIGRESPONSE_REASON = _CONFIGRESPONSE.enum_types_by_name['Reason']
33_STARTUPCONFIGINFORESPONSE_REASON = _STARTUPCONFIGINFORESPONSE.enum_types_by_name['Reason']
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020034SoftwareVersionInformation = _reflection.GeneratedProtocolMessageType('SoftwareVersionInformation', (_message.Message,), {
35 'DESCRIPTOR' : _SOFTWAREVERSIONINFORMATION,
36 '__module__' : 'dmi.sw_management_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +020037 # @@protoc_insertion_point(class_scope:dmi.SoftwareVersionInformation)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020038 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +020039_sym_db.RegisterMessage(SoftwareVersionInformation)
40
aghoshc301dcd2020-09-03 16:55:34 +010041GetSoftwareVersionInformationResponse = _reflection.GeneratedProtocolMessageType('GetSoftwareVersionInformationResponse', (_message.Message,), {
42 'DESCRIPTOR' : _GETSOFTWAREVERSIONINFORMATIONRESPONSE,
43 '__module__' : 'dmi.sw_management_service_pb2'
44 # @@protoc_insertion_point(class_scope:dmi.GetSoftwareVersionInformationResponse)
45 })
46_sym_db.RegisterMessage(GetSoftwareVersionInformationResponse)
47
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020048DownloadImageRequest = _reflection.GeneratedProtocolMessageType('DownloadImageRequest', (_message.Message,), {
49 'DESCRIPTOR' : _DOWNLOADIMAGEREQUEST,
50 '__module__' : 'dmi.sw_management_service_pb2'
uwe ottrembka66d91ea2020-08-11 10:50:55 +020051 # @@protoc_insertion_point(class_scope:dmi.DownloadImageRequest)
uwe ottrembka5ea5c0a2020-08-31 10:37:35 +020052 })
uwe ottrembka66d91ea2020-08-11 10:50:55 +020053_sym_db.RegisterMessage(DownloadImageRequest)
54
amit.ghoshed23db02020-11-18 10:26:36 +010055ConfigRequest = _reflection.GeneratedProtocolMessageType('ConfigRequest', (_message.Message,), {
56 'DESCRIPTOR' : _CONFIGREQUEST,
57 '__module__' : 'dmi.sw_management_service_pb2'
58 # @@protoc_insertion_point(class_scope:dmi.ConfigRequest)
59 })
60_sym_db.RegisterMessage(ConfigRequest)
61
62ConfigResponse = _reflection.GeneratedProtocolMessageType('ConfigResponse', (_message.Message,), {
63 'DESCRIPTOR' : _CONFIGRESPONSE,
64 '__module__' : 'dmi.sw_management_service_pb2'
65 # @@protoc_insertion_point(class_scope:dmi.ConfigResponse)
66 })
67_sym_db.RegisterMessage(ConfigResponse)
68
amit.ghosh2c938b82021-01-14 11:34:03 +010069StartupConfigInfoRequest = _reflection.GeneratedProtocolMessageType('StartupConfigInfoRequest', (_message.Message,), {
70 'DESCRIPTOR' : _STARTUPCONFIGINFOREQUEST,
71 '__module__' : 'dmi.sw_management_service_pb2'
72 # @@protoc_insertion_point(class_scope:dmi.StartupConfigInfoRequest)
73 })
74_sym_db.RegisterMessage(StartupConfigInfoRequest)
75
76StartupConfigInfoResponse = _reflection.GeneratedProtocolMessageType('StartupConfigInfoResponse', (_message.Message,), {
77 'DESCRIPTOR' : _STARTUPCONFIGINFORESPONSE,
78 '__module__' : 'dmi.sw_management_service_pb2'
79 # @@protoc_insertion_point(class_scope:dmi.StartupConfigInfoResponse)
80 })
81_sym_db.RegisterMessage(StartupConfigInfoResponse)
82
Girish Gowdra997432d2022-03-10 15:59:33 -080083_NATIVESOFTWAREMANAGEMENTSERVICE = DESCRIPTOR.services_by_name['NativeSoftwareManagementService']
84if _descriptor._USE_C_DESCRIPTORS == False:
uwe ottrembka66d91ea2020-08-11 10:50:55 +020085
Girish Gowdra997432d2022-03-10 15:59:33 -080086 DESCRIPTOR._options = None
87 DESCRIPTOR._serialized_options = b'Z9github.com/opencord/device-management-interface/v3/go/dmi'
88 _SOFTWAREVERSIONINFORMATION._serialized_start=93
89 _SOFTWAREVERSIONINFORMATION._serialized_end=210
90 _GETSOFTWAREVERSIONINFORMATIONRESPONSE._serialized_start=213
91 _GETSOFTWAREVERSIONINFORMATIONRESPONSE._serialized_end=514
92 _GETSOFTWAREVERSIONINFORMATIONRESPONSE_REASON._serialized_start=420
93 _GETSOFTWAREVERSIONINFORMATIONRESPONSE_REASON._serialized_end=514
94 _DOWNLOADIMAGEREQUEST._serialized_start=516
95 _DOWNLOADIMAGEREQUEST._serialized_end=613
96 _CONFIGREQUEST._serialized_start=615
97 _CONFIGREQUEST._serialized_end=682
98 _CONFIGRESPONSE._serialized_start=685
99 _CONFIGRESPONSE._serialized_end=976
100 _CONFIGRESPONSE_REASON._serialized_start=800
101 _CONFIGRESPONSE_REASON._serialized_end=976
102 _STARTUPCONFIGINFOREQUEST._serialized_start=978
103 _STARTUPCONFIGINFOREQUEST._serialized_end=1036
104 _STARTUPCONFIGINFORESPONSE._serialized_start=1039
105 _STARTUPCONFIGINFORESPONSE._serialized_end=1306
106 _STARTUPCONFIGINFORESPONSE_REASON._serialized_start=420
107 _STARTUPCONFIGINFORESPONSE_REASON._serialized_end=514
108 _NATIVESOFTWAREMANAGEMENTSERVICE._serialized_start=1309
109 _NATIVESOFTWAREMANAGEMENTSERVICE._serialized_end=1771
uwe ottrembka66d91ea2020-08-11 10:50:55 +0200110# @@protoc_insertion_point(module_scope)