Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: dmi/sw_management_service.proto |
| 3 | |
| 4 | package dmi |
| 5 | |
| 6 | import ( |
| 7 | context "context" |
| 8 | fmt "fmt" |
| 9 | proto "github.com/golang/protobuf/proto" |
| 10 | grpc "google.golang.org/grpc" |
Andrea Campanella | c795b7d | 2021-04-14 13:24:44 +0200 | [diff] [blame] | 11 | codes "google.golang.org/grpc/codes" |
| 12 | status "google.golang.org/grpc/status" |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 13 | math "math" |
| 14 | ) |
| 15 | |
| 16 | // Reference imports to suppress errors if they are not otherwise used. |
| 17 | var _ = proto.Marshal |
| 18 | var _ = fmt.Errorf |
| 19 | var _ = math.Inf |
| 20 | |
| 21 | // This is a compile-time assertion to ensure that this generated file |
| 22 | // is compatible with the proto package it is being compiled against. |
| 23 | // A compilation error at this line likely means your copy of the |
| 24 | // proto package needs to be updated. |
| 25 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 26 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 27 | type GetSoftwareVersionInformationResponse_Reason int32 |
| 28 | |
| 29 | const ( |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 30 | GetSoftwareVersionInformationResponse_UNDEFINED_REASON GetSoftwareVersionInformationResponse_Reason = 0 |
| 31 | GetSoftwareVersionInformationResponse_UNKNOWN_DEVICE GetSoftwareVersionInformationResponse_Reason = 1 |
| 32 | GetSoftwareVersionInformationResponse_INTERNAL_ERROR GetSoftwareVersionInformationResponse_Reason = 2 |
| 33 | GetSoftwareVersionInformationResponse_DEVICE_UNREACHABLE GetSoftwareVersionInformationResponse_Reason = 3 |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 34 | ) |
| 35 | |
| 36 | var GetSoftwareVersionInformationResponse_Reason_name = map[int32]string{ |
| 37 | 0: "UNDEFINED_REASON", |
| 38 | 1: "UNKNOWN_DEVICE", |
| 39 | 2: "INTERNAL_ERROR", |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 40 | 3: "DEVICE_UNREACHABLE", |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | var GetSoftwareVersionInformationResponse_Reason_value = map[string]int32{ |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 44 | "UNDEFINED_REASON": 0, |
| 45 | "UNKNOWN_DEVICE": 1, |
| 46 | "INTERNAL_ERROR": 2, |
| 47 | "DEVICE_UNREACHABLE": 3, |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | func (x GetSoftwareVersionInformationResponse_Reason) String() string { |
| 51 | return proto.EnumName(GetSoftwareVersionInformationResponse_Reason_name, int32(x)) |
| 52 | } |
| 53 | |
| 54 | func (GetSoftwareVersionInformationResponse_Reason) EnumDescriptor() ([]byte, []int) { |
| 55 | return fileDescriptor_000929e4bec891d7, []int{1, 0} |
| 56 | } |
| 57 | |
| 58 | type ConfigResponse_Reason int32 |
| 59 | |
| 60 | const ( |
| 61 | ConfigResponse_UNDEFINED_REASON ConfigResponse_Reason = 0 |
| 62 | ConfigResponse_UNKNOWN_DEVICE ConfigResponse_Reason = 1 |
| 63 | ConfigResponse_INTERNAL_ERROR ConfigResponse_Reason = 2 |
| 64 | ConfigResponse_ERROR_FETCHING_CONFIG ConfigResponse_Reason = 3 |
| 65 | ConfigResponse_INVALID_CONFIG ConfigResponse_Reason = 4 |
| 66 | ConfigResponse_OPERATION_ALREADY_IN_PROGRESS ConfigResponse_Reason = 5 |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 67 | ConfigResponse_DEVICE_UNREACHABLE ConfigResponse_Reason = 6 |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 68 | ) |
| 69 | |
| 70 | var ConfigResponse_Reason_name = map[int32]string{ |
| 71 | 0: "UNDEFINED_REASON", |
| 72 | 1: "UNKNOWN_DEVICE", |
| 73 | 2: "INTERNAL_ERROR", |
| 74 | 3: "ERROR_FETCHING_CONFIG", |
| 75 | 4: "INVALID_CONFIG", |
| 76 | 5: "OPERATION_ALREADY_IN_PROGRESS", |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 77 | 6: "DEVICE_UNREACHABLE", |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 78 | } |
| 79 | |
| 80 | var ConfigResponse_Reason_value = map[string]int32{ |
| 81 | "UNDEFINED_REASON": 0, |
| 82 | "UNKNOWN_DEVICE": 1, |
| 83 | "INTERNAL_ERROR": 2, |
| 84 | "ERROR_FETCHING_CONFIG": 3, |
| 85 | "INVALID_CONFIG": 4, |
| 86 | "OPERATION_ALREADY_IN_PROGRESS": 5, |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 87 | "DEVICE_UNREACHABLE": 6, |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 88 | } |
| 89 | |
| 90 | func (x ConfigResponse_Reason) String() string { |
| 91 | return proto.EnumName(ConfigResponse_Reason_name, int32(x)) |
| 92 | } |
| 93 | |
| 94 | func (ConfigResponse_Reason) EnumDescriptor() ([]byte, []int) { |
| 95 | return fileDescriptor_000929e4bec891d7, []int{4, 0} |
| 96 | } |
| 97 | |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 98 | type StartupConfigInfoResponse_Reason int32 |
| 99 | |
| 100 | const ( |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 101 | StartupConfigInfoResponse_UNDEFINED_REASON StartupConfigInfoResponse_Reason = 0 |
| 102 | StartupConfigInfoResponse_UNKNOWN_DEVICE StartupConfigInfoResponse_Reason = 1 |
| 103 | StartupConfigInfoResponse_INTERNAL_ERROR StartupConfigInfoResponse_Reason = 2 |
| 104 | StartupConfigInfoResponse_DEVICE_UNREACHABLE StartupConfigInfoResponse_Reason = 3 |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 105 | ) |
| 106 | |
| 107 | var StartupConfigInfoResponse_Reason_name = map[int32]string{ |
| 108 | 0: "UNDEFINED_REASON", |
| 109 | 1: "UNKNOWN_DEVICE", |
| 110 | 2: "INTERNAL_ERROR", |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 111 | 3: "DEVICE_UNREACHABLE", |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 112 | } |
| 113 | |
| 114 | var StartupConfigInfoResponse_Reason_value = map[string]int32{ |
amit.ghosh | bd2022e | 2021-02-22 05:58:53 +0100 | [diff] [blame] | 115 | "UNDEFINED_REASON": 0, |
| 116 | "UNKNOWN_DEVICE": 1, |
| 117 | "INTERNAL_ERROR": 2, |
| 118 | "DEVICE_UNREACHABLE": 3, |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 119 | } |
| 120 | |
| 121 | func (x StartupConfigInfoResponse_Reason) String() string { |
| 122 | return proto.EnumName(StartupConfigInfoResponse_Reason_name, int32(x)) |
| 123 | } |
| 124 | |
| 125 | func (StartupConfigInfoResponse_Reason) EnumDescriptor() ([]byte, []int) { |
| 126 | return fileDescriptor_000929e4bec891d7, []int{6, 0} |
| 127 | } |
| 128 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 129 | type SoftwareVersionInformation struct { |
| 130 | ActiveVersions []*ImageVersion `protobuf:"bytes,1,rep,name=active_versions,json=activeVersions,proto3" json:"active_versions,omitempty"` |
| 131 | StandbyVersions []*ImageVersion `protobuf:"bytes,2,rep,name=standby_versions,json=standbyVersions,proto3" json:"standby_versions,omitempty"` |
| 132 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 133 | XXX_unrecognized []byte `json:"-"` |
| 134 | XXX_sizecache int32 `json:"-"` |
| 135 | } |
| 136 | |
| 137 | func (m *SoftwareVersionInformation) Reset() { *m = SoftwareVersionInformation{} } |
| 138 | func (m *SoftwareVersionInformation) String() string { return proto.CompactTextString(m) } |
| 139 | func (*SoftwareVersionInformation) ProtoMessage() {} |
| 140 | func (*SoftwareVersionInformation) Descriptor() ([]byte, []int) { |
| 141 | return fileDescriptor_000929e4bec891d7, []int{0} |
| 142 | } |
| 143 | |
| 144 | func (m *SoftwareVersionInformation) XXX_Unmarshal(b []byte) error { |
| 145 | return xxx_messageInfo_SoftwareVersionInformation.Unmarshal(m, b) |
| 146 | } |
| 147 | func (m *SoftwareVersionInformation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 148 | return xxx_messageInfo_SoftwareVersionInformation.Marshal(b, m, deterministic) |
| 149 | } |
| 150 | func (m *SoftwareVersionInformation) XXX_Merge(src proto.Message) { |
| 151 | xxx_messageInfo_SoftwareVersionInformation.Merge(m, src) |
| 152 | } |
| 153 | func (m *SoftwareVersionInformation) XXX_Size() int { |
| 154 | return xxx_messageInfo_SoftwareVersionInformation.Size(m) |
| 155 | } |
| 156 | func (m *SoftwareVersionInformation) XXX_DiscardUnknown() { |
| 157 | xxx_messageInfo_SoftwareVersionInformation.DiscardUnknown(m) |
| 158 | } |
| 159 | |
| 160 | var xxx_messageInfo_SoftwareVersionInformation proto.InternalMessageInfo |
| 161 | |
| 162 | func (m *SoftwareVersionInformation) GetActiveVersions() []*ImageVersion { |
| 163 | if m != nil { |
| 164 | return m.ActiveVersions |
| 165 | } |
| 166 | return nil |
| 167 | } |
| 168 | |
| 169 | func (m *SoftwareVersionInformation) GetStandbyVersions() []*ImageVersion { |
| 170 | if m != nil { |
| 171 | return m.StandbyVersions |
| 172 | } |
| 173 | return nil |
| 174 | } |
| 175 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 176 | type GetSoftwareVersionInformationResponse struct { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 177 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 178 | Reason GetSoftwareVersionInformationResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.GetSoftwareVersionInformationResponse_Reason" json:"reason,omitempty"` |
| 179 | Info *SoftwareVersionInformation `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 180 | ReasonDetail string `protobuf:"bytes,4,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"` |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 181 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 182 | XXX_unrecognized []byte `json:"-"` |
| 183 | XXX_sizecache int32 `json:"-"` |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 184 | } |
| 185 | |
| 186 | func (m *GetSoftwareVersionInformationResponse) Reset() { *m = GetSoftwareVersionInformationResponse{} } |
| 187 | func (m *GetSoftwareVersionInformationResponse) String() string { return proto.CompactTextString(m) } |
| 188 | func (*GetSoftwareVersionInformationResponse) ProtoMessage() {} |
| 189 | func (*GetSoftwareVersionInformationResponse) Descriptor() ([]byte, []int) { |
| 190 | return fileDescriptor_000929e4bec891d7, []int{1} |
| 191 | } |
| 192 | |
| 193 | func (m *GetSoftwareVersionInformationResponse) XXX_Unmarshal(b []byte) error { |
| 194 | return xxx_messageInfo_GetSoftwareVersionInformationResponse.Unmarshal(m, b) |
| 195 | } |
| 196 | func (m *GetSoftwareVersionInformationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 197 | return xxx_messageInfo_GetSoftwareVersionInformationResponse.Marshal(b, m, deterministic) |
| 198 | } |
| 199 | func (m *GetSoftwareVersionInformationResponse) XXX_Merge(src proto.Message) { |
| 200 | xxx_messageInfo_GetSoftwareVersionInformationResponse.Merge(m, src) |
| 201 | } |
| 202 | func (m *GetSoftwareVersionInformationResponse) XXX_Size() int { |
| 203 | return xxx_messageInfo_GetSoftwareVersionInformationResponse.Size(m) |
| 204 | } |
| 205 | func (m *GetSoftwareVersionInformationResponse) XXX_DiscardUnknown() { |
| 206 | xxx_messageInfo_GetSoftwareVersionInformationResponse.DiscardUnknown(m) |
| 207 | } |
| 208 | |
| 209 | var xxx_messageInfo_GetSoftwareVersionInformationResponse proto.InternalMessageInfo |
| 210 | |
| 211 | func (m *GetSoftwareVersionInformationResponse) GetStatus() Status { |
| 212 | if m != nil { |
| 213 | return m.Status |
| 214 | } |
| 215 | return Status_UNDEFINED_STATUS |
| 216 | } |
| 217 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 218 | func (m *GetSoftwareVersionInformationResponse) GetReason() GetSoftwareVersionInformationResponse_Reason { |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 219 | if m != nil { |
| 220 | return m.Reason |
| 221 | } |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 222 | return GetSoftwareVersionInformationResponse_UNDEFINED_REASON |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 223 | } |
| 224 | |
| 225 | func (m *GetSoftwareVersionInformationResponse) GetInfo() *SoftwareVersionInformation { |
| 226 | if m != nil { |
| 227 | return m.Info |
| 228 | } |
| 229 | return nil |
| 230 | } |
| 231 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 232 | func (m *GetSoftwareVersionInformationResponse) GetReasonDetail() string { |
| 233 | if m != nil { |
| 234 | return m.ReasonDetail |
| 235 | } |
| 236 | return "" |
| 237 | } |
| 238 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 239 | type DownloadImageRequest struct { |
| 240 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 241 | ImageInfo *ImageInformation `protobuf:"bytes,2,opt,name=image_info,json=imageInfo,proto3" json:"image_info,omitempty"` |
| 242 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 243 | XXX_unrecognized []byte `json:"-"` |
| 244 | XXX_sizecache int32 `json:"-"` |
| 245 | } |
| 246 | |
| 247 | func (m *DownloadImageRequest) Reset() { *m = DownloadImageRequest{} } |
| 248 | func (m *DownloadImageRequest) String() string { return proto.CompactTextString(m) } |
| 249 | func (*DownloadImageRequest) ProtoMessage() {} |
| 250 | func (*DownloadImageRequest) Descriptor() ([]byte, []int) { |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 251 | return fileDescriptor_000929e4bec891d7, []int{2} |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 252 | } |
| 253 | |
| 254 | func (m *DownloadImageRequest) XXX_Unmarshal(b []byte) error { |
| 255 | return xxx_messageInfo_DownloadImageRequest.Unmarshal(m, b) |
| 256 | } |
| 257 | func (m *DownloadImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 258 | return xxx_messageInfo_DownloadImageRequest.Marshal(b, m, deterministic) |
| 259 | } |
| 260 | func (m *DownloadImageRequest) XXX_Merge(src proto.Message) { |
| 261 | xxx_messageInfo_DownloadImageRequest.Merge(m, src) |
| 262 | } |
| 263 | func (m *DownloadImageRequest) XXX_Size() int { |
| 264 | return xxx_messageInfo_DownloadImageRequest.Size(m) |
| 265 | } |
| 266 | func (m *DownloadImageRequest) XXX_DiscardUnknown() { |
| 267 | xxx_messageInfo_DownloadImageRequest.DiscardUnknown(m) |
| 268 | } |
| 269 | |
| 270 | var xxx_messageInfo_DownloadImageRequest proto.InternalMessageInfo |
| 271 | |
| 272 | func (m *DownloadImageRequest) GetDeviceUuid() *Uuid { |
| 273 | if m != nil { |
| 274 | return m.DeviceUuid |
| 275 | } |
| 276 | return nil |
| 277 | } |
| 278 | |
| 279 | func (m *DownloadImageRequest) GetImageInfo() *ImageInformation { |
| 280 | if m != nil { |
| 281 | return m.ImageInfo |
| 282 | } |
| 283 | return nil |
| 284 | } |
| 285 | |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 286 | type ConfigRequest struct { |
| 287 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 288 | // Location of the configuration file, authentication (user/pass) if any should be in the url string |
| 289 | // The config_url would contain the protocol, credentials, the IP address/DNS of the server and the path of the file |
| 290 | // e.g. sftp://download_user:download_pass@192.168.0.1:22/OLT-configs/config-v1.2.3.xml |
| 291 | ConfigUrl string `protobuf:"bytes,2,opt,name=config_url,json=configUrl,proto3" json:"config_url,omitempty"` |
| 292 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 293 | XXX_unrecognized []byte `json:"-"` |
| 294 | XXX_sizecache int32 `json:"-"` |
| 295 | } |
| 296 | |
| 297 | func (m *ConfigRequest) Reset() { *m = ConfigRequest{} } |
| 298 | func (m *ConfigRequest) String() string { return proto.CompactTextString(m) } |
| 299 | func (*ConfigRequest) ProtoMessage() {} |
| 300 | func (*ConfigRequest) Descriptor() ([]byte, []int) { |
| 301 | return fileDescriptor_000929e4bec891d7, []int{3} |
| 302 | } |
| 303 | |
| 304 | func (m *ConfigRequest) XXX_Unmarshal(b []byte) error { |
| 305 | return xxx_messageInfo_ConfigRequest.Unmarshal(m, b) |
| 306 | } |
| 307 | func (m *ConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 308 | return xxx_messageInfo_ConfigRequest.Marshal(b, m, deterministic) |
| 309 | } |
| 310 | func (m *ConfigRequest) XXX_Merge(src proto.Message) { |
| 311 | xxx_messageInfo_ConfigRequest.Merge(m, src) |
| 312 | } |
| 313 | func (m *ConfigRequest) XXX_Size() int { |
| 314 | return xxx_messageInfo_ConfigRequest.Size(m) |
| 315 | } |
| 316 | func (m *ConfigRequest) XXX_DiscardUnknown() { |
| 317 | xxx_messageInfo_ConfigRequest.DiscardUnknown(m) |
| 318 | } |
| 319 | |
| 320 | var xxx_messageInfo_ConfigRequest proto.InternalMessageInfo |
| 321 | |
| 322 | func (m *ConfigRequest) GetDeviceUuid() *Uuid { |
| 323 | if m != nil { |
| 324 | return m.DeviceUuid |
| 325 | } |
| 326 | return nil |
| 327 | } |
| 328 | |
| 329 | func (m *ConfigRequest) GetConfigUrl() string { |
| 330 | if m != nil { |
| 331 | return m.ConfigUrl |
| 332 | } |
| 333 | return "" |
| 334 | } |
| 335 | |
| 336 | type ConfigResponse struct { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 337 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 338 | Reason ConfigResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.ConfigResponse_Reason" json:"reason,omitempty"` |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 339 | ReasonDetail string `protobuf:"bytes,3,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"` |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 340 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 341 | XXX_unrecognized []byte `json:"-"` |
| 342 | XXX_sizecache int32 `json:"-"` |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 343 | } |
| 344 | |
| 345 | func (m *ConfigResponse) Reset() { *m = ConfigResponse{} } |
| 346 | func (m *ConfigResponse) String() string { return proto.CompactTextString(m) } |
| 347 | func (*ConfigResponse) ProtoMessage() {} |
| 348 | func (*ConfigResponse) Descriptor() ([]byte, []int) { |
| 349 | return fileDescriptor_000929e4bec891d7, []int{4} |
| 350 | } |
| 351 | |
| 352 | func (m *ConfigResponse) XXX_Unmarshal(b []byte) error { |
| 353 | return xxx_messageInfo_ConfigResponse.Unmarshal(m, b) |
| 354 | } |
| 355 | func (m *ConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 356 | return xxx_messageInfo_ConfigResponse.Marshal(b, m, deterministic) |
| 357 | } |
| 358 | func (m *ConfigResponse) XXX_Merge(src proto.Message) { |
| 359 | xxx_messageInfo_ConfigResponse.Merge(m, src) |
| 360 | } |
| 361 | func (m *ConfigResponse) XXX_Size() int { |
| 362 | return xxx_messageInfo_ConfigResponse.Size(m) |
| 363 | } |
| 364 | func (m *ConfigResponse) XXX_DiscardUnknown() { |
| 365 | xxx_messageInfo_ConfigResponse.DiscardUnknown(m) |
| 366 | } |
| 367 | |
| 368 | var xxx_messageInfo_ConfigResponse proto.InternalMessageInfo |
| 369 | |
| 370 | func (m *ConfigResponse) GetStatus() Status { |
| 371 | if m != nil { |
| 372 | return m.Status |
| 373 | } |
| 374 | return Status_UNDEFINED_STATUS |
| 375 | } |
| 376 | |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 377 | func (m *ConfigResponse) GetReason() ConfigResponse_Reason { |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 378 | if m != nil { |
| 379 | return m.Reason |
| 380 | } |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 381 | return ConfigResponse_UNDEFINED_REASON |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 382 | } |
| 383 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 384 | func (m *ConfigResponse) GetReasonDetail() string { |
| 385 | if m != nil { |
| 386 | return m.ReasonDetail |
| 387 | } |
| 388 | return "" |
| 389 | } |
| 390 | |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 391 | type StartupConfigInfoRequest struct { |
| 392 | DeviceUuid *Uuid `protobuf:"bytes,1,opt,name=device_uuid,json=deviceUuid,proto3" json:"device_uuid,omitempty"` |
| 393 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 394 | XXX_unrecognized []byte `json:"-"` |
| 395 | XXX_sizecache int32 `json:"-"` |
| 396 | } |
| 397 | |
| 398 | func (m *StartupConfigInfoRequest) Reset() { *m = StartupConfigInfoRequest{} } |
| 399 | func (m *StartupConfigInfoRequest) String() string { return proto.CompactTextString(m) } |
| 400 | func (*StartupConfigInfoRequest) ProtoMessage() {} |
| 401 | func (*StartupConfigInfoRequest) Descriptor() ([]byte, []int) { |
| 402 | return fileDescriptor_000929e4bec891d7, []int{5} |
| 403 | } |
| 404 | |
| 405 | func (m *StartupConfigInfoRequest) XXX_Unmarshal(b []byte) error { |
| 406 | return xxx_messageInfo_StartupConfigInfoRequest.Unmarshal(m, b) |
| 407 | } |
| 408 | func (m *StartupConfigInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 409 | return xxx_messageInfo_StartupConfigInfoRequest.Marshal(b, m, deterministic) |
| 410 | } |
| 411 | func (m *StartupConfigInfoRequest) XXX_Merge(src proto.Message) { |
| 412 | xxx_messageInfo_StartupConfigInfoRequest.Merge(m, src) |
| 413 | } |
| 414 | func (m *StartupConfigInfoRequest) XXX_Size() int { |
| 415 | return xxx_messageInfo_StartupConfigInfoRequest.Size(m) |
| 416 | } |
| 417 | func (m *StartupConfigInfoRequest) XXX_DiscardUnknown() { |
| 418 | xxx_messageInfo_StartupConfigInfoRequest.DiscardUnknown(m) |
| 419 | } |
| 420 | |
| 421 | var xxx_messageInfo_StartupConfigInfoRequest proto.InternalMessageInfo |
| 422 | |
| 423 | func (m *StartupConfigInfoRequest) GetDeviceUuid() *Uuid { |
| 424 | if m != nil { |
| 425 | return m.DeviceUuid |
| 426 | } |
| 427 | return nil |
| 428 | } |
| 429 | |
| 430 | type StartupConfigInfoResponse struct { |
| 431 | Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=dmi.Status" json:"status,omitempty"` |
| 432 | Reason StartupConfigInfoResponse_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=dmi.StartupConfigInfoResponse_Reason" json:"reason,omitempty"` |
| 433 | // The config_url is an optional attribute, the device manager could return the location from |
| 434 | // where the config was downloaded. Also it would not be present/empty for a fresh device into which the |
| 435 | // startup config would have been installed in the factory. |
| 436 | ConfigUrl string `protobuf:"bytes,3,opt,name=config_url,json=configUrl,proto3" json:"config_url,omitempty"` |
| 437 | // The version of the startup configuration. It is recommended to use semVer, but the DM implementations |
| 438 | // and operators could choose any other format as well. |
| 439 | Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 440 | ReasonDetail string `protobuf:"bytes,5,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"` |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 441 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 442 | XXX_unrecognized []byte `json:"-"` |
| 443 | XXX_sizecache int32 `json:"-"` |
| 444 | } |
| 445 | |
| 446 | func (m *StartupConfigInfoResponse) Reset() { *m = StartupConfigInfoResponse{} } |
| 447 | func (m *StartupConfigInfoResponse) String() string { return proto.CompactTextString(m) } |
| 448 | func (*StartupConfigInfoResponse) ProtoMessage() {} |
| 449 | func (*StartupConfigInfoResponse) Descriptor() ([]byte, []int) { |
| 450 | return fileDescriptor_000929e4bec891d7, []int{6} |
| 451 | } |
| 452 | |
| 453 | func (m *StartupConfigInfoResponse) XXX_Unmarshal(b []byte) error { |
| 454 | return xxx_messageInfo_StartupConfigInfoResponse.Unmarshal(m, b) |
| 455 | } |
| 456 | func (m *StartupConfigInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 457 | return xxx_messageInfo_StartupConfigInfoResponse.Marshal(b, m, deterministic) |
| 458 | } |
| 459 | func (m *StartupConfigInfoResponse) XXX_Merge(src proto.Message) { |
| 460 | xxx_messageInfo_StartupConfigInfoResponse.Merge(m, src) |
| 461 | } |
| 462 | func (m *StartupConfigInfoResponse) XXX_Size() int { |
| 463 | return xxx_messageInfo_StartupConfigInfoResponse.Size(m) |
| 464 | } |
| 465 | func (m *StartupConfigInfoResponse) XXX_DiscardUnknown() { |
| 466 | xxx_messageInfo_StartupConfigInfoResponse.DiscardUnknown(m) |
| 467 | } |
| 468 | |
| 469 | var xxx_messageInfo_StartupConfigInfoResponse proto.InternalMessageInfo |
| 470 | |
| 471 | func (m *StartupConfigInfoResponse) GetStatus() Status { |
| 472 | if m != nil { |
| 473 | return m.Status |
| 474 | } |
| 475 | return Status_UNDEFINED_STATUS |
| 476 | } |
| 477 | |
| 478 | func (m *StartupConfigInfoResponse) GetReason() StartupConfigInfoResponse_Reason { |
| 479 | if m != nil { |
| 480 | return m.Reason |
| 481 | } |
| 482 | return StartupConfigInfoResponse_UNDEFINED_REASON |
| 483 | } |
| 484 | |
| 485 | func (m *StartupConfigInfoResponse) GetConfigUrl() string { |
| 486 | if m != nil { |
| 487 | return m.ConfigUrl |
| 488 | } |
| 489 | return "" |
| 490 | } |
| 491 | |
| 492 | func (m *StartupConfigInfoResponse) GetVersion() string { |
| 493 | if m != nil { |
| 494 | return m.Version |
| 495 | } |
| 496 | return "" |
| 497 | } |
| 498 | |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 499 | func (m *StartupConfigInfoResponse) GetReasonDetail() string { |
| 500 | if m != nil { |
| 501 | return m.ReasonDetail |
| 502 | } |
| 503 | return "" |
| 504 | } |
| 505 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 506 | func init() { |
amit.ghosh | ae47303 | 2021-01-10 11:59:10 +0100 | [diff] [blame] | 507 | proto.RegisterEnum("dmi.GetSoftwareVersionInformationResponse_Reason", GetSoftwareVersionInformationResponse_Reason_name, GetSoftwareVersionInformationResponse_Reason_value) |
| 508 | proto.RegisterEnum("dmi.ConfigResponse_Reason", ConfigResponse_Reason_name, ConfigResponse_Reason_value) |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 509 | proto.RegisterEnum("dmi.StartupConfigInfoResponse_Reason", StartupConfigInfoResponse_Reason_name, StartupConfigInfoResponse_Reason_value) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 510 | proto.RegisterType((*SoftwareVersionInformation)(nil), "dmi.SoftwareVersionInformation") |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 511 | proto.RegisterType((*GetSoftwareVersionInformationResponse)(nil), "dmi.GetSoftwareVersionInformationResponse") |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 512 | proto.RegisterType((*DownloadImageRequest)(nil), "dmi.DownloadImageRequest") |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 513 | proto.RegisterType((*ConfigRequest)(nil), "dmi.ConfigRequest") |
| 514 | proto.RegisterType((*ConfigResponse)(nil), "dmi.ConfigResponse") |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 515 | proto.RegisterType((*StartupConfigInfoRequest)(nil), "dmi.StartupConfigInfoRequest") |
| 516 | proto.RegisterType((*StartupConfigInfoResponse)(nil), "dmi.StartupConfigInfoResponse") |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 517 | } |
| 518 | |
| 519 | func init() { proto.RegisterFile("dmi/sw_management_service.proto", fileDescriptor_000929e4bec891d7) } |
| 520 | |
| 521 | var fileDescriptor_000929e4bec891d7 = []byte{ |
amit.ghosh | 8ab1e6e | 2021-02-23 07:40:17 +0100 | [diff] [blame] | 522 | // 804 bytes of a gzipped FileDescriptorProto |
| 523 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xed, 0x6e, 0xe3, 0x44, |
| 524 | 0x14, 0xc5, 0x71, 0x37, 0x28, 0x37, 0xdb, 0xd6, 0x3b, 0x74, 0x51, 0x1a, 0x54, 0x5a, 0xbc, 0x5a, |
| 525 | 0xa9, 0x5a, 0x69, 0x93, 0x25, 0xdd, 0x3f, 0xb0, 0x80, 0xe4, 0x8d, 0xdd, 0xd4, 0xa2, 0x38, 0xcb, |
| 526 | 0xb8, 0x29, 0x62, 0x85, 0x18, 0x4d, 0xe3, 0x49, 0x76, 0xa4, 0xda, 0x13, 0xec, 0x71, 0x0a, 0x2f, |
| 527 | 0xc2, 0x73, 0xf0, 0x02, 0xfc, 0xe0, 0x05, 0x90, 0x78, 0x23, 0xe4, 0x19, 0x87, 0x90, 0x2f, 0xb4, |
| 528 | 0xad, 0xd0, 0xfe, 0xb3, 0xef, 0xdc, 0x73, 0x66, 0xe6, 0x9e, 0x7b, 0xcf, 0xc0, 0x61, 0x14, 0xf3, |
| 529 | 0x76, 0x76, 0x43, 0x62, 0x9a, 0xd0, 0x31, 0x8b, 0x59, 0x22, 0x49, 0xc6, 0xd2, 0x29, 0x1f, 0xb2, |
| 530 | 0xd6, 0x24, 0x15, 0x52, 0x20, 0x33, 0x8a, 0x79, 0xf3, 0x41, 0x91, 0x35, 0x14, 0x71, 0x2c, 0x92, |
| 531 | 0x4c, 0xc7, 0x9b, 0xf7, 0x8b, 0xd0, 0x9b, 0x9b, 0xf2, 0x0f, 0x95, 0x34, 0x3c, 0xa6, 0xe3, 0x12, |
| 532 | 0x69, 0xff, 0x6a, 0x40, 0x33, 0x14, 0x23, 0x79, 0x43, 0x53, 0x76, 0xc9, 0xd2, 0x8c, 0x8b, 0xc4, |
| 533 | 0x4f, 0x46, 0x22, 0x8d, 0xa9, 0xe4, 0x22, 0x41, 0x9f, 0xc3, 0x2e, 0x1d, 0x4a, 0x3e, 0x65, 0x64, |
| 534 | 0xaa, 0x17, 0xb3, 0x86, 0x71, 0x64, 0x1e, 0xd7, 0x3b, 0x0f, 0x5a, 0x51, 0xcc, 0x5b, 0x7e, 0xc1, |
| 535 | 0x54, 0xc2, 0xf0, 0x8e, 0xce, 0x2c, 0x7f, 0x33, 0xf4, 0x05, 0x58, 0x99, 0xa4, 0x49, 0x74, 0xf5, |
| 536 | 0xcb, 0x1c, 0x5c, 0xd9, 0x04, 0xde, 0x2d, 0x53, 0x67, 0x68, 0xfb, 0xaf, 0x0a, 0x3c, 0xee, 0x31, |
| 537 | 0xb9, 0xf9, 0x6c, 0x98, 0x65, 0x13, 0x91, 0x64, 0x0c, 0x3d, 0x82, 0x6a, 0x26, 0xa9, 0xcc, 0x8b, |
| 538 | 0xa3, 0x19, 0xc7, 0x3b, 0x9d, 0xba, 0x62, 0x0f, 0x55, 0x08, 0x97, 0x4b, 0xc8, 0x87, 0x6a, 0xca, |
| 539 | 0x68, 0x26, 0x92, 0x46, 0x45, 0x25, 0x7d, 0xaa, 0x92, 0xde, 0x6a, 0x83, 0x16, 0x56, 0x40, 0x5c, |
| 540 | 0x12, 0xa0, 0x13, 0xd8, 0xe2, 0xc9, 0x48, 0x34, 0xcc, 0x23, 0xe3, 0xb8, 0xde, 0x39, 0xd4, 0xbb, |
| 541 | 0x6d, 0x66, 0x51, 0xc9, 0xe8, 0x11, 0x6c, 0x6b, 0x38, 0x89, 0x98, 0xa4, 0xfc, 0xba, 0xb1, 0x75, |
| 542 | 0x64, 0x1c, 0xd7, 0xf0, 0x7d, 0x1d, 0x74, 0x55, 0xcc, 0xfe, 0x11, 0xaa, 0x7a, 0x2f, 0xb4, 0x07, |
| 543 | 0xd6, 0x20, 0x70, 0xbd, 0x53, 0x3f, 0xf0, 0x5c, 0x82, 0x3d, 0x27, 0xec, 0x07, 0xd6, 0x7b, 0x08, |
| 544 | 0xc1, 0xce, 0x20, 0xf8, 0x3a, 0xe8, 0x7f, 0x17, 0x10, 0xd7, 0xbb, 0xf4, 0xbb, 0x9e, 0x65, 0x14, |
| 545 | 0x31, 0x3f, 0xb8, 0xf0, 0x70, 0xe0, 0x9c, 0x13, 0x0f, 0xe3, 0x3e, 0xb6, 0x2a, 0xe8, 0x43, 0x40, |
| 546 | 0x7a, 0x9d, 0x0c, 0x02, 0xec, 0x39, 0xdd, 0x33, 0xe7, 0xe5, 0xb9, 0x67, 0x99, 0xf6, 0xcf, 0xb0, |
| 547 | 0xe7, 0x8a, 0x9b, 0xe4, 0x5a, 0xd0, 0x48, 0x15, 0x1f, 0xb3, 0x9f, 0x72, 0x96, 0x49, 0xf4, 0x04, |
| 548 | 0xea, 0x11, 0x2b, 0xda, 0x89, 0xe4, 0x39, 0x8f, 0x54, 0x19, 0xeb, 0x9d, 0x9a, 0xba, 0xd8, 0x20, |
| 549 | 0xe7, 0x11, 0x06, 0xbd, 0x5a, 0x7c, 0xa3, 0xe7, 0x00, 0xaa, 0x7f, 0x88, 0xaa, 0x41, 0x45, 0xa5, |
| 550 | 0x3e, 0x9c, 0xeb, 0xf9, 0xef, 0x9b, 0xd7, 0xf8, 0x2c, 0x62, 0xbf, 0x86, 0xed, 0xae, 0x48, 0x46, |
| 551 | 0x7c, 0x7c, 0x97, 0x2d, 0x0f, 0x00, 0x86, 0x0a, 0x4c, 0xf2, 0xf4, 0x5a, 0x6d, 0x59, 0xc3, 0x35, |
| 552 | 0x1d, 0x19, 0xa4, 0xd7, 0xf6, 0x1f, 0x15, 0xd8, 0x99, 0x91, 0xdf, 0xa6, 0x25, 0x3a, 0x4b, 0x2d, |
| 553 | 0xd1, 0x54, 0x49, 0x8b, 0x4c, 0xcb, 0xda, 0xaf, 0xc8, 0x68, 0xae, 0x91, 0xf1, 0x37, 0xe3, 0x7f, |
| 554 | 0xd2, 0x71, 0x1f, 0x1e, 0xaa, 0x4f, 0x72, 0xea, 0x5d, 0x74, 0xcf, 0xfc, 0xa0, 0x47, 0xba, 0xfd, |
| 555 | 0xe0, 0xd4, 0xef, 0x59, 0xa6, 0x4e, 0xbf, 0x74, 0xce, 0x7d, 0x77, 0x16, 0xdb, 0x42, 0x9f, 0xc0, |
| 556 | 0x41, 0xff, 0x95, 0x87, 0x9d, 0x0b, 0xbf, 0x1f, 0x10, 0xe7, 0x1c, 0x7b, 0x8e, 0xfb, 0x3d, 0xf1, |
| 557 | 0x03, 0xf2, 0x0a, 0xf7, 0x7b, 0xd8, 0x0b, 0x43, 0xeb, 0xde, 0x86, 0xce, 0xa8, 0xda, 0xa7, 0xd0, |
| 558 | 0x08, 0x25, 0x4d, 0x65, 0x3e, 0xd1, 0xf7, 0x2f, 0x44, 0xbb, 0x83, 0x54, 0xf6, 0xef, 0x15, 0xd8, |
| 559 | 0x5f, 0x43, 0x74, 0x1b, 0x59, 0xbe, 0x5c, 0x92, 0xe5, 0xf1, 0x2c, 0x69, 0x3d, 0xe9, 0xb2, 0x42, |
| 560 | 0x8b, 0xcd, 0x62, 0x2e, 0x35, 0x0b, 0x6a, 0xc0, 0xfb, 0xa5, 0x19, 0x95, 0x13, 0x38, 0xfb, 0x5d, |
| 561 | 0x95, 0xf6, 0xde, 0xbb, 0x9f, 0xd0, 0xce, 0x9f, 0x26, 0x1c, 0x06, 0xb4, 0xb0, 0xd1, 0x99, 0xa3, |
| 562 | 0x7c, 0xf3, 0x8f, 0xe7, 0x87, 0xda, 0xf2, 0xd1, 0xb7, 0x80, 0x56, 0x7d, 0x0b, 0xed, 0xaa, 0x32, |
| 563 | 0x9d, 0xd1, 0x34, 0x2a, 0xa2, 0xbe, 0xdb, 0x7c, 0xf2, 0xf6, 0x0e, 0x87, 0xbe, 0x82, 0xed, 0x05, |
| 564 | 0x63, 0x40, 0xfb, 0x0a, 0xbc, 0xce, 0x2c, 0x9a, 0xd6, 0x7c, 0xd8, 0xb5, 0x72, 0xcf, 0x0c, 0xf4, |
| 565 | 0x1c, 0xb6, 0x9d, 0xc2, 0xfc, 0xa9, 0x64, 0x1a, 0xbf, 0x72, 0x9a, 0x75, 0xa8, 0x17, 0xb0, 0x87, |
| 566 | 0xd9, 0x94, 0xa5, 0xf2, 0x42, 0x84, 0xda, 0xfd, 0x6f, 0x01, 0xee, 0x41, 0x73, 0x30, 0x89, 0xa8, |
| 567 | 0x64, 0x0b, 0x9d, 0x91, 0xa7, 0xfa, 0xdd, 0x42, 0x0b, 0xb3, 0xac, 0x0f, 0xfe, 0xc1, 0x9a, 0xf9, |
| 568 | 0x7e, 0x66, 0xa0, 0x1f, 0xe0, 0xa3, 0xa2, 0x48, 0x6b, 0x58, 0x8a, 0x4a, 0xa1, 0x83, 0x4d, 0xed, |
| 569 | 0xa7, 0x49, 0x3f, 0xfe, 0xef, 0xee, 0x7c, 0xf9, 0xe2, 0xf5, 0x67, 0x63, 0x2e, 0xdf, 0xe4, 0x57, |
| 570 | 0xad, 0xa1, 0x88, 0xdb, 0x62, 0xc2, 0x92, 0xa1, 0x48, 0xa3, 0xb6, 0x1e, 0x99, 0xa7, 0xf3, 0x07, |
| 571 | 0xfd, 0x29, 0x4f, 0x24, 0x4b, 0x47, 0x74, 0xc8, 0xda, 0xd3, 0x93, 0xf6, 0x58, 0xb4, 0xa3, 0x98, |
| 572 | 0x5f, 0x55, 0xd5, 0x1b, 0x7d, 0xf2, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdd, 0xa9, 0x07, 0xea, |
| 573 | 0x00, 0x08, 0x00, 0x00, |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 574 | } |
| 575 | |
| 576 | // Reference imports to suppress errors if they are not otherwise used. |
| 577 | var _ context.Context |
| 578 | var _ grpc.ClientConn |
| 579 | |
| 580 | // This is a compile-time assertion to ensure that this generated file |
| 581 | // is compatible with the grpc package it is being compiled against. |
| 582 | const _ = grpc.SupportPackageIsVersion4 |
| 583 | |
| 584 | // NativeSoftwareManagementServiceClient is the client API for NativeSoftwareManagementService service. |
| 585 | // |
| 586 | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 587 | type NativeSoftwareManagementServiceClient interface { |
| 588 | // Get the software version information of the Active and Standby images |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 589 | GetSoftwareVersion(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetSoftwareVersionInformationResponse, error) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 590 | // Downloads and installs the image in the standby partition, returns the status/progress of the Install |
| 591 | DownloadImage(ctx context.Context, in *DownloadImageRequest, opts ...grpc.CallOption) (NativeSoftwareManagementService_DownloadImageClient, error) |
| 592 | // Activates and runs the OLT with the image in the standby partition. If things are fine this image will |
| 593 | // henceforth be marked as the Active Partition. The old working image would remain on the Standby partition. |
| 594 | // Any possibly required (sub-)steps like "commit" are left to the "Device Manager" |
| 595 | ActivateImage(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (NativeSoftwareManagementService_ActivateImageClient, error) |
| 596 | // Marks the image in the Standby as Active and reboots the device, so that it boots from that image which was in the standby. |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 597 | // This API is to be used if operator wants to go back to the previous software |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 598 | RevertToStandbyImage(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (NativeSoftwareManagementService_RevertToStandbyImageClient, error) |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 599 | // This API can be used to let the devices pickup their properitary configuration which they need at startup. |
| 600 | UpdateStartupConfiguration(ctx context.Context, in *ConfigRequest, opts ...grpc.CallOption) (NativeSoftwareManagementService_UpdateStartupConfigurationClient, error) |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 601 | // This API can be used to retrieve information about the current startup configuration that a device is using |
| 602 | GetStartupConfigurationInfo(ctx context.Context, in *StartupConfigInfoRequest, opts ...grpc.CallOption) (*StartupConfigInfoResponse, error) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 603 | } |
| 604 | |
| 605 | type nativeSoftwareManagementServiceClient struct { |
| 606 | cc *grpc.ClientConn |
| 607 | } |
| 608 | |
| 609 | func NewNativeSoftwareManagementServiceClient(cc *grpc.ClientConn) NativeSoftwareManagementServiceClient { |
| 610 | return &nativeSoftwareManagementServiceClient{cc} |
| 611 | } |
| 612 | |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 613 | func (c *nativeSoftwareManagementServiceClient) GetSoftwareVersion(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (*GetSoftwareVersionInformationResponse, error) { |
| 614 | out := new(GetSoftwareVersionInformationResponse) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 615 | err := c.cc.Invoke(ctx, "/dmi.NativeSoftwareManagementService/GetSoftwareVersion", in, out, opts...) |
| 616 | if err != nil { |
| 617 | return nil, err |
| 618 | } |
| 619 | return out, nil |
| 620 | } |
| 621 | |
| 622 | func (c *nativeSoftwareManagementServiceClient) DownloadImage(ctx context.Context, in *DownloadImageRequest, opts ...grpc.CallOption) (NativeSoftwareManagementService_DownloadImageClient, error) { |
| 623 | stream, err := c.cc.NewStream(ctx, &_NativeSoftwareManagementService_serviceDesc.Streams[0], "/dmi.NativeSoftwareManagementService/DownloadImage", opts...) |
| 624 | if err != nil { |
| 625 | return nil, err |
| 626 | } |
| 627 | x := &nativeSoftwareManagementServiceDownloadImageClient{stream} |
| 628 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 629 | return nil, err |
| 630 | } |
| 631 | if err := x.ClientStream.CloseSend(); err != nil { |
| 632 | return nil, err |
| 633 | } |
| 634 | return x, nil |
| 635 | } |
| 636 | |
| 637 | type NativeSoftwareManagementService_DownloadImageClient interface { |
| 638 | Recv() (*ImageStatus, error) |
| 639 | grpc.ClientStream |
| 640 | } |
| 641 | |
| 642 | type nativeSoftwareManagementServiceDownloadImageClient struct { |
| 643 | grpc.ClientStream |
| 644 | } |
| 645 | |
| 646 | func (x *nativeSoftwareManagementServiceDownloadImageClient) Recv() (*ImageStatus, error) { |
| 647 | m := new(ImageStatus) |
| 648 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 649 | return nil, err |
| 650 | } |
| 651 | return m, nil |
| 652 | } |
| 653 | |
| 654 | func (c *nativeSoftwareManagementServiceClient) ActivateImage(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (NativeSoftwareManagementService_ActivateImageClient, error) { |
| 655 | stream, err := c.cc.NewStream(ctx, &_NativeSoftwareManagementService_serviceDesc.Streams[1], "/dmi.NativeSoftwareManagementService/ActivateImage", opts...) |
| 656 | if err != nil { |
| 657 | return nil, err |
| 658 | } |
| 659 | x := &nativeSoftwareManagementServiceActivateImageClient{stream} |
| 660 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 661 | return nil, err |
| 662 | } |
| 663 | if err := x.ClientStream.CloseSend(); err != nil { |
| 664 | return nil, err |
| 665 | } |
| 666 | return x, nil |
| 667 | } |
| 668 | |
| 669 | type NativeSoftwareManagementService_ActivateImageClient interface { |
| 670 | Recv() (*ImageStatus, error) |
| 671 | grpc.ClientStream |
| 672 | } |
| 673 | |
| 674 | type nativeSoftwareManagementServiceActivateImageClient struct { |
| 675 | grpc.ClientStream |
| 676 | } |
| 677 | |
| 678 | func (x *nativeSoftwareManagementServiceActivateImageClient) Recv() (*ImageStatus, error) { |
| 679 | m := new(ImageStatus) |
| 680 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 681 | return nil, err |
| 682 | } |
| 683 | return m, nil |
| 684 | } |
| 685 | |
| 686 | func (c *nativeSoftwareManagementServiceClient) RevertToStandbyImage(ctx context.Context, in *HardwareID, opts ...grpc.CallOption) (NativeSoftwareManagementService_RevertToStandbyImageClient, error) { |
| 687 | stream, err := c.cc.NewStream(ctx, &_NativeSoftwareManagementService_serviceDesc.Streams[2], "/dmi.NativeSoftwareManagementService/RevertToStandbyImage", opts...) |
| 688 | if err != nil { |
| 689 | return nil, err |
| 690 | } |
| 691 | x := &nativeSoftwareManagementServiceRevertToStandbyImageClient{stream} |
| 692 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 693 | return nil, err |
| 694 | } |
| 695 | if err := x.ClientStream.CloseSend(); err != nil { |
| 696 | return nil, err |
| 697 | } |
| 698 | return x, nil |
| 699 | } |
| 700 | |
| 701 | type NativeSoftwareManagementService_RevertToStandbyImageClient interface { |
| 702 | Recv() (*ImageStatus, error) |
| 703 | grpc.ClientStream |
| 704 | } |
| 705 | |
| 706 | type nativeSoftwareManagementServiceRevertToStandbyImageClient struct { |
| 707 | grpc.ClientStream |
| 708 | } |
| 709 | |
| 710 | func (x *nativeSoftwareManagementServiceRevertToStandbyImageClient) Recv() (*ImageStatus, error) { |
| 711 | m := new(ImageStatus) |
| 712 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 713 | return nil, err |
| 714 | } |
| 715 | return m, nil |
| 716 | } |
| 717 | |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 718 | func (c *nativeSoftwareManagementServiceClient) UpdateStartupConfiguration(ctx context.Context, in *ConfigRequest, opts ...grpc.CallOption) (NativeSoftwareManagementService_UpdateStartupConfigurationClient, error) { |
| 719 | stream, err := c.cc.NewStream(ctx, &_NativeSoftwareManagementService_serviceDesc.Streams[3], "/dmi.NativeSoftwareManagementService/UpdateStartupConfiguration", opts...) |
| 720 | if err != nil { |
| 721 | return nil, err |
| 722 | } |
| 723 | x := &nativeSoftwareManagementServiceUpdateStartupConfigurationClient{stream} |
| 724 | if err := x.ClientStream.SendMsg(in); err != nil { |
| 725 | return nil, err |
| 726 | } |
| 727 | if err := x.ClientStream.CloseSend(); err != nil { |
| 728 | return nil, err |
| 729 | } |
| 730 | return x, nil |
| 731 | } |
| 732 | |
| 733 | type NativeSoftwareManagementService_UpdateStartupConfigurationClient interface { |
| 734 | Recv() (*ConfigResponse, error) |
| 735 | grpc.ClientStream |
| 736 | } |
| 737 | |
| 738 | type nativeSoftwareManagementServiceUpdateStartupConfigurationClient struct { |
| 739 | grpc.ClientStream |
| 740 | } |
| 741 | |
| 742 | func (x *nativeSoftwareManagementServiceUpdateStartupConfigurationClient) Recv() (*ConfigResponse, error) { |
| 743 | m := new(ConfigResponse) |
| 744 | if err := x.ClientStream.RecvMsg(m); err != nil { |
| 745 | return nil, err |
| 746 | } |
| 747 | return m, nil |
| 748 | } |
| 749 | |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 750 | func (c *nativeSoftwareManagementServiceClient) GetStartupConfigurationInfo(ctx context.Context, in *StartupConfigInfoRequest, opts ...grpc.CallOption) (*StartupConfigInfoResponse, error) { |
| 751 | out := new(StartupConfigInfoResponse) |
| 752 | err := c.cc.Invoke(ctx, "/dmi.NativeSoftwareManagementService/GetStartupConfigurationInfo", in, out, opts...) |
| 753 | if err != nil { |
| 754 | return nil, err |
| 755 | } |
| 756 | return out, nil |
| 757 | } |
| 758 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 759 | // NativeSoftwareManagementServiceServer is the server API for NativeSoftwareManagementService service. |
| 760 | type NativeSoftwareManagementServiceServer interface { |
| 761 | // Get the software version information of the Active and Standby images |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 762 | GetSoftwareVersion(context.Context, *HardwareID) (*GetSoftwareVersionInformationResponse, error) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 763 | // Downloads and installs the image in the standby partition, returns the status/progress of the Install |
| 764 | DownloadImage(*DownloadImageRequest, NativeSoftwareManagementService_DownloadImageServer) error |
| 765 | // Activates and runs the OLT with the image in the standby partition. If things are fine this image will |
| 766 | // henceforth be marked as the Active Partition. The old working image would remain on the Standby partition. |
| 767 | // Any possibly required (sub-)steps like "commit" are left to the "Device Manager" |
| 768 | ActivateImage(*HardwareID, NativeSoftwareManagementService_ActivateImageServer) error |
| 769 | // Marks the image in the Standby as Active and reboots the device, so that it boots from that image which was in the standby. |
aghosh | c301dcd | 2020-09-03 16:55:34 +0100 | [diff] [blame] | 770 | // This API is to be used if operator wants to go back to the previous software |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 771 | RevertToStandbyImage(*HardwareID, NativeSoftwareManagementService_RevertToStandbyImageServer) error |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 772 | // This API can be used to let the devices pickup their properitary configuration which they need at startup. |
| 773 | UpdateStartupConfiguration(*ConfigRequest, NativeSoftwareManagementService_UpdateStartupConfigurationServer) error |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 774 | // This API can be used to retrieve information about the current startup configuration that a device is using |
| 775 | GetStartupConfigurationInfo(context.Context, *StartupConfigInfoRequest) (*StartupConfigInfoResponse, error) |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 776 | } |
| 777 | |
Andrea Campanella | c795b7d | 2021-04-14 13:24:44 +0200 | [diff] [blame] | 778 | // UnimplementedNativeSoftwareManagementServiceServer can be embedded to have forward compatible implementations. |
| 779 | type UnimplementedNativeSoftwareManagementServiceServer struct { |
| 780 | } |
| 781 | |
| 782 | func (*UnimplementedNativeSoftwareManagementServiceServer) GetSoftwareVersion(ctx context.Context, req *HardwareID) (*GetSoftwareVersionInformationResponse, error) { |
| 783 | return nil, status.Errorf(codes.Unimplemented, "method GetSoftwareVersion not implemented") |
| 784 | } |
| 785 | func (*UnimplementedNativeSoftwareManagementServiceServer) DownloadImage(req *DownloadImageRequest, srv NativeSoftwareManagementService_DownloadImageServer) error { |
| 786 | return status.Errorf(codes.Unimplemented, "method DownloadImage not implemented") |
| 787 | } |
| 788 | func (*UnimplementedNativeSoftwareManagementServiceServer) ActivateImage(req *HardwareID, srv NativeSoftwareManagementService_ActivateImageServer) error { |
| 789 | return status.Errorf(codes.Unimplemented, "method ActivateImage not implemented") |
| 790 | } |
| 791 | func (*UnimplementedNativeSoftwareManagementServiceServer) RevertToStandbyImage(req *HardwareID, srv NativeSoftwareManagementService_RevertToStandbyImageServer) error { |
| 792 | return status.Errorf(codes.Unimplemented, "method RevertToStandbyImage not implemented") |
| 793 | } |
| 794 | func (*UnimplementedNativeSoftwareManagementServiceServer) UpdateStartupConfiguration(req *ConfigRequest, srv NativeSoftwareManagementService_UpdateStartupConfigurationServer) error { |
| 795 | return status.Errorf(codes.Unimplemented, "method UpdateStartupConfiguration not implemented") |
| 796 | } |
| 797 | func (*UnimplementedNativeSoftwareManagementServiceServer) GetStartupConfigurationInfo(ctx context.Context, req *StartupConfigInfoRequest) (*StartupConfigInfoResponse, error) { |
| 798 | return nil, status.Errorf(codes.Unimplemented, "method GetStartupConfigurationInfo not implemented") |
| 799 | } |
| 800 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 801 | func RegisterNativeSoftwareManagementServiceServer(s *grpc.Server, srv NativeSoftwareManagementServiceServer) { |
| 802 | s.RegisterService(&_NativeSoftwareManagementService_serviceDesc, srv) |
| 803 | } |
| 804 | |
| 805 | func _NativeSoftwareManagementService_GetSoftwareVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 806 | in := new(HardwareID) |
| 807 | if err := dec(in); err != nil { |
| 808 | return nil, err |
| 809 | } |
| 810 | if interceptor == nil { |
| 811 | return srv.(NativeSoftwareManagementServiceServer).GetSoftwareVersion(ctx, in) |
| 812 | } |
| 813 | info := &grpc.UnaryServerInfo{ |
| 814 | Server: srv, |
| 815 | FullMethod: "/dmi.NativeSoftwareManagementService/GetSoftwareVersion", |
| 816 | } |
| 817 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 818 | return srv.(NativeSoftwareManagementServiceServer).GetSoftwareVersion(ctx, req.(*HardwareID)) |
| 819 | } |
| 820 | return interceptor(ctx, in, info, handler) |
| 821 | } |
| 822 | |
| 823 | func _NativeSoftwareManagementService_DownloadImage_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 824 | m := new(DownloadImageRequest) |
| 825 | if err := stream.RecvMsg(m); err != nil { |
| 826 | return err |
| 827 | } |
| 828 | return srv.(NativeSoftwareManagementServiceServer).DownloadImage(m, &nativeSoftwareManagementServiceDownloadImageServer{stream}) |
| 829 | } |
| 830 | |
| 831 | type NativeSoftwareManagementService_DownloadImageServer interface { |
| 832 | Send(*ImageStatus) error |
| 833 | grpc.ServerStream |
| 834 | } |
| 835 | |
| 836 | type nativeSoftwareManagementServiceDownloadImageServer struct { |
| 837 | grpc.ServerStream |
| 838 | } |
| 839 | |
| 840 | func (x *nativeSoftwareManagementServiceDownloadImageServer) Send(m *ImageStatus) error { |
| 841 | return x.ServerStream.SendMsg(m) |
| 842 | } |
| 843 | |
| 844 | func _NativeSoftwareManagementService_ActivateImage_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 845 | m := new(HardwareID) |
| 846 | if err := stream.RecvMsg(m); err != nil { |
| 847 | return err |
| 848 | } |
| 849 | return srv.(NativeSoftwareManagementServiceServer).ActivateImage(m, &nativeSoftwareManagementServiceActivateImageServer{stream}) |
| 850 | } |
| 851 | |
| 852 | type NativeSoftwareManagementService_ActivateImageServer interface { |
| 853 | Send(*ImageStatus) error |
| 854 | grpc.ServerStream |
| 855 | } |
| 856 | |
| 857 | type nativeSoftwareManagementServiceActivateImageServer struct { |
| 858 | grpc.ServerStream |
| 859 | } |
| 860 | |
| 861 | func (x *nativeSoftwareManagementServiceActivateImageServer) Send(m *ImageStatus) error { |
| 862 | return x.ServerStream.SendMsg(m) |
| 863 | } |
| 864 | |
| 865 | func _NativeSoftwareManagementService_RevertToStandbyImage_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 866 | m := new(HardwareID) |
| 867 | if err := stream.RecvMsg(m); err != nil { |
| 868 | return err |
| 869 | } |
| 870 | return srv.(NativeSoftwareManagementServiceServer).RevertToStandbyImage(m, &nativeSoftwareManagementServiceRevertToStandbyImageServer{stream}) |
| 871 | } |
| 872 | |
| 873 | type NativeSoftwareManagementService_RevertToStandbyImageServer interface { |
| 874 | Send(*ImageStatus) error |
| 875 | grpc.ServerStream |
| 876 | } |
| 877 | |
| 878 | type nativeSoftwareManagementServiceRevertToStandbyImageServer struct { |
| 879 | grpc.ServerStream |
| 880 | } |
| 881 | |
| 882 | func (x *nativeSoftwareManagementServiceRevertToStandbyImageServer) Send(m *ImageStatus) error { |
| 883 | return x.ServerStream.SendMsg(m) |
| 884 | } |
| 885 | |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 886 | func _NativeSoftwareManagementService_UpdateStartupConfiguration_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 887 | m := new(ConfigRequest) |
| 888 | if err := stream.RecvMsg(m); err != nil { |
| 889 | return err |
| 890 | } |
| 891 | return srv.(NativeSoftwareManagementServiceServer).UpdateStartupConfiguration(m, &nativeSoftwareManagementServiceUpdateStartupConfigurationServer{stream}) |
| 892 | } |
| 893 | |
| 894 | type NativeSoftwareManagementService_UpdateStartupConfigurationServer interface { |
| 895 | Send(*ConfigResponse) error |
| 896 | grpc.ServerStream |
| 897 | } |
| 898 | |
| 899 | type nativeSoftwareManagementServiceUpdateStartupConfigurationServer struct { |
| 900 | grpc.ServerStream |
| 901 | } |
| 902 | |
| 903 | func (x *nativeSoftwareManagementServiceUpdateStartupConfigurationServer) Send(m *ConfigResponse) error { |
| 904 | return x.ServerStream.SendMsg(m) |
| 905 | } |
| 906 | |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 907 | func _NativeSoftwareManagementService_GetStartupConfigurationInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 908 | in := new(StartupConfigInfoRequest) |
| 909 | if err := dec(in); err != nil { |
| 910 | return nil, err |
| 911 | } |
| 912 | if interceptor == nil { |
| 913 | return srv.(NativeSoftwareManagementServiceServer).GetStartupConfigurationInfo(ctx, in) |
| 914 | } |
| 915 | info := &grpc.UnaryServerInfo{ |
| 916 | Server: srv, |
| 917 | FullMethod: "/dmi.NativeSoftwareManagementService/GetStartupConfigurationInfo", |
| 918 | } |
| 919 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 920 | return srv.(NativeSoftwareManagementServiceServer).GetStartupConfigurationInfo(ctx, req.(*StartupConfigInfoRequest)) |
| 921 | } |
| 922 | return interceptor(ctx, in, info, handler) |
| 923 | } |
| 924 | |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 925 | var _NativeSoftwareManagementService_serviceDesc = grpc.ServiceDesc{ |
| 926 | ServiceName: "dmi.NativeSoftwareManagementService", |
| 927 | HandlerType: (*NativeSoftwareManagementServiceServer)(nil), |
| 928 | Methods: []grpc.MethodDesc{ |
| 929 | { |
| 930 | MethodName: "GetSoftwareVersion", |
| 931 | Handler: _NativeSoftwareManagementService_GetSoftwareVersion_Handler, |
| 932 | }, |
amit.ghosh | 2c938b8 | 2021-01-14 11:34:03 +0100 | [diff] [blame] | 933 | { |
| 934 | MethodName: "GetStartupConfigurationInfo", |
| 935 | Handler: _NativeSoftwareManagementService_GetStartupConfigurationInfo_Handler, |
| 936 | }, |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 937 | }, |
| 938 | Streams: []grpc.StreamDesc{ |
| 939 | { |
| 940 | StreamName: "DownloadImage", |
| 941 | Handler: _NativeSoftwareManagementService_DownloadImage_Handler, |
| 942 | ServerStreams: true, |
| 943 | }, |
| 944 | { |
| 945 | StreamName: "ActivateImage", |
| 946 | Handler: _NativeSoftwareManagementService_ActivateImage_Handler, |
| 947 | ServerStreams: true, |
| 948 | }, |
| 949 | { |
| 950 | StreamName: "RevertToStandbyImage", |
| 951 | Handler: _NativeSoftwareManagementService_RevertToStandbyImage_Handler, |
| 952 | ServerStreams: true, |
| 953 | }, |
amit.ghosh | ed23db0 | 2020-11-18 10:26:36 +0100 | [diff] [blame] | 954 | { |
| 955 | StreamName: "UpdateStartupConfiguration", |
| 956 | Handler: _NativeSoftwareManagementService_UpdateStartupConfiguration_Handler, |
| 957 | ServerStreams: true, |
| 958 | }, |
Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 959 | }, |
| 960 | Metadata: "dmi/sw_management_service.proto", |
| 961 | } |