William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: voltha_protos/device.proto |
| 3 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 4 | package voltha |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 5 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
| 9 | any "github.com/golang/protobuf/ptypes/any" |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 10 | common "github.com/opencord/voltha-protos/v5/go/common" |
| 11 | openflow_13 "github.com/opencord/voltha-protos/v5/go/openflow_13" |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 12 | math "math" |
| 13 | ) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 14 | |
| 15 | // Reference imports to suppress errors if they are not otherwise used. |
| 16 | var _ = proto.Marshal |
| 17 | var _ = fmt.Errorf |
| 18 | var _ = math.Inf |
| 19 | |
| 20 | // This is a compile-time assertion to ensure that this generated file |
| 21 | // is compatible with the proto package it is being compiled against. |
| 22 | // A compilation error at this line likely means your copy of the |
| 23 | // proto package needs to be updated. |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 24 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 25 | |
| 26 | type PmConfig_PmType int32 |
| 27 | |
| 28 | const ( |
| 29 | PmConfig_COUNTER PmConfig_PmType = 0 |
| 30 | PmConfig_GAUGE PmConfig_PmType = 1 |
| 31 | PmConfig_STATE PmConfig_PmType = 2 |
| 32 | PmConfig_CONTEXT PmConfig_PmType = 3 |
| 33 | ) |
| 34 | |
| 35 | var PmConfig_PmType_name = map[int32]string{ |
| 36 | 0: "COUNTER", |
| 37 | 1: "GAUGE", |
| 38 | 2: "STATE", |
| 39 | 3: "CONTEXT", |
| 40 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 41 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 42 | var PmConfig_PmType_value = map[string]int32{ |
| 43 | "COUNTER": 0, |
| 44 | "GAUGE": 1, |
| 45 | "STATE": 2, |
| 46 | "CONTEXT": 3, |
| 47 | } |
| 48 | |
| 49 | func (x PmConfig_PmType) String() string { |
| 50 | return proto.EnumName(PmConfig_PmType_name, int32(x)) |
| 51 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 52 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 53 | func (PmConfig_PmType) EnumDescriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 54 | return fileDescriptor_200940f73d155856, []int{2, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 55 | } |
| 56 | |
| 57 | type ImageDownload_ImageDownloadState int32 |
| 58 | |
| 59 | const ( |
| 60 | ImageDownload_DOWNLOAD_UNKNOWN ImageDownload_ImageDownloadState = 0 |
| 61 | ImageDownload_DOWNLOAD_SUCCEEDED ImageDownload_ImageDownloadState = 1 |
| 62 | ImageDownload_DOWNLOAD_REQUESTED ImageDownload_ImageDownloadState = 2 |
| 63 | ImageDownload_DOWNLOAD_STARTED ImageDownload_ImageDownloadState = 3 |
| 64 | ImageDownload_DOWNLOAD_FAILED ImageDownload_ImageDownloadState = 4 |
| 65 | ImageDownload_DOWNLOAD_UNSUPPORTED ImageDownload_ImageDownloadState = 5 |
| 66 | ImageDownload_DOWNLOAD_CANCELLED ImageDownload_ImageDownloadState = 6 |
| 67 | ) |
| 68 | |
| 69 | var ImageDownload_ImageDownloadState_name = map[int32]string{ |
| 70 | 0: "DOWNLOAD_UNKNOWN", |
| 71 | 1: "DOWNLOAD_SUCCEEDED", |
| 72 | 2: "DOWNLOAD_REQUESTED", |
| 73 | 3: "DOWNLOAD_STARTED", |
| 74 | 4: "DOWNLOAD_FAILED", |
| 75 | 5: "DOWNLOAD_UNSUPPORTED", |
| 76 | 6: "DOWNLOAD_CANCELLED", |
| 77 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 78 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 79 | var ImageDownload_ImageDownloadState_value = map[string]int32{ |
| 80 | "DOWNLOAD_UNKNOWN": 0, |
| 81 | "DOWNLOAD_SUCCEEDED": 1, |
| 82 | "DOWNLOAD_REQUESTED": 2, |
| 83 | "DOWNLOAD_STARTED": 3, |
| 84 | "DOWNLOAD_FAILED": 4, |
| 85 | "DOWNLOAD_UNSUPPORTED": 5, |
| 86 | "DOWNLOAD_CANCELLED": 6, |
| 87 | } |
| 88 | |
| 89 | func (x ImageDownload_ImageDownloadState) String() string { |
| 90 | return proto.EnumName(ImageDownload_ImageDownloadState_name, int32(x)) |
| 91 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 92 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 93 | func (ImageDownload_ImageDownloadState) EnumDescriptor() ([]byte, []int) { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 94 | return fileDescriptor_200940f73d155856, []int{6, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 95 | } |
| 96 | |
| 97 | type ImageDownload_ImageDownloadFailureReason int32 |
| 98 | |
| 99 | const ( |
| 100 | ImageDownload_NO_ERROR ImageDownload_ImageDownloadFailureReason = 0 |
| 101 | ImageDownload_INVALID_URL ImageDownload_ImageDownloadFailureReason = 1 |
| 102 | ImageDownload_DEVICE_BUSY ImageDownload_ImageDownloadFailureReason = 2 |
| 103 | ImageDownload_INSUFFICIENT_SPACE ImageDownload_ImageDownloadFailureReason = 3 |
| 104 | ImageDownload_UNKNOWN_ERROR ImageDownload_ImageDownloadFailureReason = 4 |
| 105 | ImageDownload_CANCELLED ImageDownload_ImageDownloadFailureReason = 5 |
| 106 | ) |
| 107 | |
| 108 | var ImageDownload_ImageDownloadFailureReason_name = map[int32]string{ |
| 109 | 0: "NO_ERROR", |
| 110 | 1: "INVALID_URL", |
| 111 | 2: "DEVICE_BUSY", |
| 112 | 3: "INSUFFICIENT_SPACE", |
| 113 | 4: "UNKNOWN_ERROR", |
| 114 | 5: "CANCELLED", |
| 115 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 116 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 117 | var ImageDownload_ImageDownloadFailureReason_value = map[string]int32{ |
| 118 | "NO_ERROR": 0, |
| 119 | "INVALID_URL": 1, |
| 120 | "DEVICE_BUSY": 2, |
| 121 | "INSUFFICIENT_SPACE": 3, |
| 122 | "UNKNOWN_ERROR": 4, |
| 123 | "CANCELLED": 5, |
| 124 | } |
| 125 | |
| 126 | func (x ImageDownload_ImageDownloadFailureReason) String() string { |
| 127 | return proto.EnumName(ImageDownload_ImageDownloadFailureReason_name, int32(x)) |
| 128 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 129 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 130 | func (ImageDownload_ImageDownloadFailureReason) EnumDescriptor() ([]byte, []int) { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 131 | return fileDescriptor_200940f73d155856, []int{6, 1} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 132 | } |
| 133 | |
| 134 | type ImageDownload_ImageActivateState int32 |
| 135 | |
| 136 | const ( |
| 137 | ImageDownload_IMAGE_UNKNOWN ImageDownload_ImageActivateState = 0 |
| 138 | ImageDownload_IMAGE_INACTIVE ImageDownload_ImageActivateState = 1 |
| 139 | ImageDownload_IMAGE_ACTIVATING ImageDownload_ImageActivateState = 2 |
| 140 | ImageDownload_IMAGE_ACTIVE ImageDownload_ImageActivateState = 3 |
| 141 | ImageDownload_IMAGE_REVERTING ImageDownload_ImageActivateState = 4 |
| 142 | ImageDownload_IMAGE_REVERTED ImageDownload_ImageActivateState = 5 |
| 143 | ) |
| 144 | |
| 145 | var ImageDownload_ImageActivateState_name = map[int32]string{ |
| 146 | 0: "IMAGE_UNKNOWN", |
| 147 | 1: "IMAGE_INACTIVE", |
| 148 | 2: "IMAGE_ACTIVATING", |
| 149 | 3: "IMAGE_ACTIVE", |
| 150 | 4: "IMAGE_REVERTING", |
| 151 | 5: "IMAGE_REVERTED", |
| 152 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 153 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 154 | var ImageDownload_ImageActivateState_value = map[string]int32{ |
| 155 | "IMAGE_UNKNOWN": 0, |
| 156 | "IMAGE_INACTIVE": 1, |
| 157 | "IMAGE_ACTIVATING": 2, |
| 158 | "IMAGE_ACTIVE": 3, |
| 159 | "IMAGE_REVERTING": 4, |
| 160 | "IMAGE_REVERTED": 5, |
| 161 | } |
| 162 | |
| 163 | func (x ImageDownload_ImageActivateState) String() string { |
| 164 | return proto.EnumName(ImageDownload_ImageActivateState_name, int32(x)) |
| 165 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 166 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 167 | func (ImageDownload_ImageActivateState) EnumDescriptor() ([]byte, []int) { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 168 | return fileDescriptor_200940f73d155856, []int{6, 2} |
| 169 | } |
| 170 | |
| 171 | type ImageState_ImageDownloadState int32 |
| 172 | |
| 173 | const ( |
| 174 | ImageState_DOWNLOAD_UNKNOWN ImageState_ImageDownloadState = 0 |
| 175 | ImageState_DOWNLOAD_SUCCEEDED ImageState_ImageDownloadState = 1 |
| 176 | ImageState_DOWNLOAD_REQUESTED ImageState_ImageDownloadState = 2 |
| 177 | ImageState_DOWNLOAD_STARTED ImageState_ImageDownloadState = 3 |
| 178 | ImageState_DOWNLOAD_FAILED ImageState_ImageDownloadState = 4 |
| 179 | ImageState_DOWNLOAD_UNSUPPORTED ImageState_ImageDownloadState = 5 |
| 180 | ImageState_DOWNLOAD_CANCELLING ImageState_ImageDownloadState = 6 |
| 181 | ImageState_DOWNLOAD_CANCELLED ImageState_ImageDownloadState = 7 |
| 182 | ) |
| 183 | |
| 184 | var ImageState_ImageDownloadState_name = map[int32]string{ |
| 185 | 0: "DOWNLOAD_UNKNOWN", |
| 186 | 1: "DOWNLOAD_SUCCEEDED", |
| 187 | 2: "DOWNLOAD_REQUESTED", |
| 188 | 3: "DOWNLOAD_STARTED", |
| 189 | 4: "DOWNLOAD_FAILED", |
| 190 | 5: "DOWNLOAD_UNSUPPORTED", |
| 191 | 6: "DOWNLOAD_CANCELLING", |
| 192 | 7: "DOWNLOAD_CANCELLED", |
| 193 | } |
| 194 | |
| 195 | var ImageState_ImageDownloadState_value = map[string]int32{ |
| 196 | "DOWNLOAD_UNKNOWN": 0, |
| 197 | "DOWNLOAD_SUCCEEDED": 1, |
| 198 | "DOWNLOAD_REQUESTED": 2, |
| 199 | "DOWNLOAD_STARTED": 3, |
| 200 | "DOWNLOAD_FAILED": 4, |
| 201 | "DOWNLOAD_UNSUPPORTED": 5, |
| 202 | "DOWNLOAD_CANCELLING": 6, |
| 203 | "DOWNLOAD_CANCELLED": 7, |
| 204 | } |
| 205 | |
| 206 | func (x ImageState_ImageDownloadState) String() string { |
| 207 | return proto.EnumName(ImageState_ImageDownloadState_name, int32(x)) |
| 208 | } |
| 209 | |
| 210 | func (ImageState_ImageDownloadState) EnumDescriptor() ([]byte, []int) { |
| 211 | return fileDescriptor_200940f73d155856, []int{12, 0} |
| 212 | } |
| 213 | |
| 214 | type ImageState_ImageFailureReason int32 |
| 215 | |
| 216 | const ( |
| 217 | ImageState_NO_ERROR ImageState_ImageFailureReason = 0 |
| 218 | ImageState_INVALID_URL ImageState_ImageFailureReason = 1 |
| 219 | ImageState_DEVICE_BUSY ImageState_ImageFailureReason = 2 |
| 220 | ImageState_INSUFFICIENT_SPACE ImageState_ImageFailureReason = 3 |
| 221 | ImageState_UNKNOWN_ERROR ImageState_ImageFailureReason = 4 |
| 222 | ImageState_CANCELLED_ON_REQUEST ImageState_ImageFailureReason = 5 |
| 223 | ImageState_CANCELLED_ON_ONU_STATE ImageState_ImageFailureReason = 6 |
| 224 | ImageState_VENDOR_DEVICE_MISMATCH ImageState_ImageFailureReason = 7 |
| 225 | ImageState_OMCI_TRANSFER_ERROR ImageState_ImageFailureReason = 8 |
| 226 | ImageState_IMAGE_REFUSED_BY_ONU ImageState_ImageFailureReason = 9 |
| 227 | ) |
| 228 | |
| 229 | var ImageState_ImageFailureReason_name = map[int32]string{ |
| 230 | 0: "NO_ERROR", |
| 231 | 1: "INVALID_URL", |
| 232 | 2: "DEVICE_BUSY", |
| 233 | 3: "INSUFFICIENT_SPACE", |
| 234 | 4: "UNKNOWN_ERROR", |
| 235 | 5: "CANCELLED_ON_REQUEST", |
| 236 | 6: "CANCELLED_ON_ONU_STATE", |
| 237 | 7: "VENDOR_DEVICE_MISMATCH", |
| 238 | 8: "OMCI_TRANSFER_ERROR", |
| 239 | 9: "IMAGE_REFUSED_BY_ONU", |
| 240 | } |
| 241 | |
| 242 | var ImageState_ImageFailureReason_value = map[string]int32{ |
| 243 | "NO_ERROR": 0, |
| 244 | "INVALID_URL": 1, |
| 245 | "DEVICE_BUSY": 2, |
| 246 | "INSUFFICIENT_SPACE": 3, |
| 247 | "UNKNOWN_ERROR": 4, |
| 248 | "CANCELLED_ON_REQUEST": 5, |
| 249 | "CANCELLED_ON_ONU_STATE": 6, |
| 250 | "VENDOR_DEVICE_MISMATCH": 7, |
| 251 | "OMCI_TRANSFER_ERROR": 8, |
| 252 | "IMAGE_REFUSED_BY_ONU": 9, |
| 253 | } |
| 254 | |
| 255 | func (x ImageState_ImageFailureReason) String() string { |
| 256 | return proto.EnumName(ImageState_ImageFailureReason_name, int32(x)) |
| 257 | } |
| 258 | |
| 259 | func (ImageState_ImageFailureReason) EnumDescriptor() ([]byte, []int) { |
| 260 | return fileDescriptor_200940f73d155856, []int{12, 1} |
| 261 | } |
| 262 | |
| 263 | type ImageState_ImageActivationState int32 |
| 264 | |
| 265 | const ( |
| 266 | ImageState_IMAGE_UNKNOWN ImageState_ImageActivationState = 0 |
| 267 | ImageState_IMAGE_INACTIVE ImageState_ImageActivationState = 1 |
| 268 | ImageState_IMAGE_ACTIVATING ImageState_ImageActivationState = 2 |
| 269 | ImageState_IMAGE_ACTIVE ImageState_ImageActivationState = 3 |
| 270 | ImageState_IMAGE_COMMITTING ImageState_ImageActivationState = 4 |
| 271 | ImageState_IMAGE_COMMITTED ImageState_ImageActivationState = 5 |
| 272 | ImageState_IMAGE_ACTIVATION_ABORTING ImageState_ImageActivationState = 6 |
| 273 | ImageState_IMAGE_ACTIVATION_ABORTED ImageState_ImageActivationState = 7 |
| 274 | ImageState_IMAGE_COMMIT_ABORTING ImageState_ImageActivationState = 8 |
| 275 | ImageState_IMAGE_COMMIT_ABORTED ImageState_ImageActivationState = 9 |
| 276 | ImageState_IMAGE_DOWNLOADING ImageState_ImageActivationState = 10 |
| 277 | ) |
| 278 | |
| 279 | var ImageState_ImageActivationState_name = map[int32]string{ |
| 280 | 0: "IMAGE_UNKNOWN", |
| 281 | 1: "IMAGE_INACTIVE", |
| 282 | 2: "IMAGE_ACTIVATING", |
| 283 | 3: "IMAGE_ACTIVE", |
| 284 | 4: "IMAGE_COMMITTING", |
| 285 | 5: "IMAGE_COMMITTED", |
| 286 | 6: "IMAGE_ACTIVATION_ABORTING", |
| 287 | 7: "IMAGE_ACTIVATION_ABORTED", |
| 288 | 8: "IMAGE_COMMIT_ABORTING", |
| 289 | 9: "IMAGE_COMMIT_ABORTED", |
| 290 | 10: "IMAGE_DOWNLOADING", |
| 291 | } |
| 292 | |
| 293 | var ImageState_ImageActivationState_value = map[string]int32{ |
| 294 | "IMAGE_UNKNOWN": 0, |
| 295 | "IMAGE_INACTIVE": 1, |
| 296 | "IMAGE_ACTIVATING": 2, |
| 297 | "IMAGE_ACTIVE": 3, |
| 298 | "IMAGE_COMMITTING": 4, |
| 299 | "IMAGE_COMMITTED": 5, |
| 300 | "IMAGE_ACTIVATION_ABORTING": 6, |
| 301 | "IMAGE_ACTIVATION_ABORTED": 7, |
| 302 | "IMAGE_COMMIT_ABORTING": 8, |
| 303 | "IMAGE_COMMIT_ABORTED": 9, |
| 304 | "IMAGE_DOWNLOADING": 10, |
| 305 | } |
| 306 | |
| 307 | func (x ImageState_ImageActivationState) String() string { |
| 308 | return proto.EnumName(ImageState_ImageActivationState_name, int32(x)) |
| 309 | } |
| 310 | |
| 311 | func (ImageState_ImageActivationState) EnumDescriptor() ([]byte, []int) { |
| 312 | return fileDescriptor_200940f73d155856, []int{12, 2} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 313 | } |
| 314 | |
| 315 | type Port_PortType int32 |
| 316 | |
| 317 | const ( |
| 318 | Port_UNKNOWN Port_PortType = 0 |
| 319 | Port_ETHERNET_NNI Port_PortType = 1 |
| 320 | Port_ETHERNET_UNI Port_PortType = 2 |
| 321 | Port_PON_OLT Port_PortType = 3 |
| 322 | Port_PON_ONU Port_PortType = 4 |
| 323 | Port_VENET_OLT Port_PortType = 5 |
| 324 | Port_VENET_ONU Port_PortType = 6 |
| 325 | ) |
| 326 | |
| 327 | var Port_PortType_name = map[int32]string{ |
| 328 | 0: "UNKNOWN", |
| 329 | 1: "ETHERNET_NNI", |
| 330 | 2: "ETHERNET_UNI", |
| 331 | 3: "PON_OLT", |
| 332 | 4: "PON_ONU", |
| 333 | 5: "VENET_OLT", |
| 334 | 6: "VENET_ONU", |
| 335 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 336 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 337 | var Port_PortType_value = map[string]int32{ |
| 338 | "UNKNOWN": 0, |
| 339 | "ETHERNET_NNI": 1, |
| 340 | "ETHERNET_UNI": 2, |
| 341 | "PON_OLT": 3, |
| 342 | "PON_ONU": 4, |
| 343 | "VENET_OLT": 5, |
| 344 | "VENET_ONU": 6, |
| 345 | } |
| 346 | |
| 347 | func (x Port_PortType) String() string { |
| 348 | return proto.EnumName(Port_PortType_name, int32(x)) |
| 349 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 350 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 351 | func (Port_PortType) EnumDescriptor() ([]byte, []int) { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 352 | return fileDescriptor_200940f73d155856, []int{13, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 353 | } |
| 354 | |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 355 | type SelfTestResponse_SelfTestResult int32 |
| 356 | |
| 357 | const ( |
| 358 | SelfTestResponse_SUCCESS SelfTestResponse_SelfTestResult = 0 |
| 359 | SelfTestResponse_FAILURE SelfTestResponse_SelfTestResult = 1 |
| 360 | SelfTestResponse_NOT_SUPPORTED SelfTestResponse_SelfTestResult = 2 |
| 361 | SelfTestResponse_UNKNOWN_ERROR SelfTestResponse_SelfTestResult = 3 |
| 362 | ) |
| 363 | |
| 364 | var SelfTestResponse_SelfTestResult_name = map[int32]string{ |
| 365 | 0: "SUCCESS", |
| 366 | 1: "FAILURE", |
| 367 | 2: "NOT_SUPPORTED", |
| 368 | 3: "UNKNOWN_ERROR", |
| 369 | } |
| 370 | |
| 371 | var SelfTestResponse_SelfTestResult_value = map[string]int32{ |
| 372 | "SUCCESS": 0, |
| 373 | "FAILURE": 1, |
| 374 | "NOT_SUPPORTED": 2, |
| 375 | "UNKNOWN_ERROR": 3, |
| 376 | } |
| 377 | |
| 378 | func (x SelfTestResponse_SelfTestResult) String() string { |
| 379 | return proto.EnumName(SelfTestResponse_SelfTestResult_name, int32(x)) |
| 380 | } |
| 381 | |
| 382 | func (SelfTestResponse_SelfTestResult) EnumDescriptor() ([]byte, []int) { |
| 383 | return fileDescriptor_200940f73d155856, []int{19, 0} |
| 384 | } |
| 385 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 386 | type SimulateAlarmRequest_OperationType int32 |
| 387 | |
| 388 | const ( |
| 389 | SimulateAlarmRequest_RAISE SimulateAlarmRequest_OperationType = 0 |
| 390 | SimulateAlarmRequest_CLEAR SimulateAlarmRequest_OperationType = 1 |
| 391 | ) |
| 392 | |
| 393 | var SimulateAlarmRequest_OperationType_name = map[int32]string{ |
| 394 | 0: "RAISE", |
| 395 | 1: "CLEAR", |
| 396 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 397 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 398 | var SimulateAlarmRequest_OperationType_value = map[string]int32{ |
| 399 | "RAISE": 0, |
| 400 | "CLEAR": 1, |
| 401 | } |
| 402 | |
| 403 | func (x SimulateAlarmRequest_OperationType) String() string { |
| 404 | return proto.EnumName(SimulateAlarmRequest_OperationType_name, int32(x)) |
| 405 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 406 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 407 | func (SimulateAlarmRequest_OperationType) EnumDescriptor() ([]byte, []int) { |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 408 | return fileDescriptor_200940f73d155856, []int{21, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 409 | } |
| 410 | |
| 411 | // A Device Type |
| 412 | type DeviceType struct { |
| 413 | // Unique name for the device type |
| 414 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 415 | // Unique vendor id for the device type applicable to ONU |
| 416 | // 4 bytes of vendor id from ONU serial number |
| 417 | VendorId string `protobuf:"bytes,5,opt,name=vendor_id,json=vendorId,proto3" json:"vendor_id,omitempty"` |
| 418 | VendorIds []string `protobuf:"bytes,6,rep,name=vendor_ids,json=vendorIds,proto3" json:"vendor_ids,omitempty"` |
| 419 | // Name of the adapter that handles device type |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 420 | // Deprecated and replaced by adapterType |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 421 | Adapter string `protobuf:"bytes,2,opt,name=adapter,proto3" json:"adapter,omitempty"` |
| 422 | // Capabilities |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 423 | AcceptsBulkFlowUpdate bool `protobuf:"varint,3,opt,name=accepts_bulk_flow_update,json=acceptsBulkFlowUpdate,proto3" json:"accepts_bulk_flow_update,omitempty"` |
| 424 | AcceptsAddRemoveFlowUpdates bool `protobuf:"varint,4,opt,name=accepts_add_remove_flow_updates,json=acceptsAddRemoveFlowUpdates,proto3" json:"accepts_add_remove_flow_updates,omitempty"` |
| 425 | AcceptsDirectLogicalFlowsUpdate bool `protobuf:"varint,7,opt,name=accepts_direct_logical_flows_update,json=acceptsDirectLogicalFlowsUpdate,proto3" json:"accepts_direct_logical_flows_update,omitempty"` |
| 426 | // Type of adapter that can handle this device type |
| 427 | AdapterType string `protobuf:"bytes,8,opt,name=adapter_type,json=adapterType,proto3" json:"adapter_type,omitempty"` |
| 428 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 429 | XXX_unrecognized []byte `json:"-"` |
| 430 | XXX_sizecache int32 `json:"-"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 431 | } |
| 432 | |
| 433 | func (m *DeviceType) Reset() { *m = DeviceType{} } |
| 434 | func (m *DeviceType) String() string { return proto.CompactTextString(m) } |
| 435 | func (*DeviceType) ProtoMessage() {} |
| 436 | func (*DeviceType) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 437 | return fileDescriptor_200940f73d155856, []int{0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 438 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 439 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 440 | func (m *DeviceType) XXX_Unmarshal(b []byte) error { |
| 441 | return xxx_messageInfo_DeviceType.Unmarshal(m, b) |
| 442 | } |
| 443 | func (m *DeviceType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 444 | return xxx_messageInfo_DeviceType.Marshal(b, m, deterministic) |
| 445 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 446 | func (m *DeviceType) XXX_Merge(src proto.Message) { |
| 447 | xxx_messageInfo_DeviceType.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 448 | } |
| 449 | func (m *DeviceType) XXX_Size() int { |
| 450 | return xxx_messageInfo_DeviceType.Size(m) |
| 451 | } |
| 452 | func (m *DeviceType) XXX_DiscardUnknown() { |
| 453 | xxx_messageInfo_DeviceType.DiscardUnknown(m) |
| 454 | } |
| 455 | |
| 456 | var xxx_messageInfo_DeviceType proto.InternalMessageInfo |
| 457 | |
| 458 | func (m *DeviceType) GetId() string { |
| 459 | if m != nil { |
| 460 | return m.Id |
| 461 | } |
| 462 | return "" |
| 463 | } |
| 464 | |
| 465 | func (m *DeviceType) GetVendorId() string { |
| 466 | if m != nil { |
| 467 | return m.VendorId |
| 468 | } |
| 469 | return "" |
| 470 | } |
| 471 | |
| 472 | func (m *DeviceType) GetVendorIds() []string { |
| 473 | if m != nil { |
| 474 | return m.VendorIds |
| 475 | } |
| 476 | return nil |
| 477 | } |
| 478 | |
| 479 | func (m *DeviceType) GetAdapter() string { |
| 480 | if m != nil { |
| 481 | return m.Adapter |
| 482 | } |
| 483 | return "" |
| 484 | } |
| 485 | |
| 486 | func (m *DeviceType) GetAcceptsBulkFlowUpdate() bool { |
| 487 | if m != nil { |
| 488 | return m.AcceptsBulkFlowUpdate |
| 489 | } |
| 490 | return false |
| 491 | } |
| 492 | |
| 493 | func (m *DeviceType) GetAcceptsAddRemoveFlowUpdates() bool { |
| 494 | if m != nil { |
| 495 | return m.AcceptsAddRemoveFlowUpdates |
| 496 | } |
| 497 | return false |
| 498 | } |
| 499 | |
| 500 | func (m *DeviceType) GetAcceptsDirectLogicalFlowsUpdate() bool { |
| 501 | if m != nil { |
| 502 | return m.AcceptsDirectLogicalFlowsUpdate |
| 503 | } |
| 504 | return false |
| 505 | } |
| 506 | |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 507 | func (m *DeviceType) GetAdapterType() string { |
| 508 | if m != nil { |
| 509 | return m.AdapterType |
| 510 | } |
| 511 | return "" |
| 512 | } |
| 513 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 514 | // A plurality of device types |
| 515 | type DeviceTypes struct { |
| 516 | Items []*DeviceType `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 517 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 518 | XXX_unrecognized []byte `json:"-"` |
| 519 | XXX_sizecache int32 `json:"-"` |
| 520 | } |
| 521 | |
| 522 | func (m *DeviceTypes) Reset() { *m = DeviceTypes{} } |
| 523 | func (m *DeviceTypes) String() string { return proto.CompactTextString(m) } |
| 524 | func (*DeviceTypes) ProtoMessage() {} |
| 525 | func (*DeviceTypes) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 526 | return fileDescriptor_200940f73d155856, []int{1} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 527 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 528 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 529 | func (m *DeviceTypes) XXX_Unmarshal(b []byte) error { |
| 530 | return xxx_messageInfo_DeviceTypes.Unmarshal(m, b) |
| 531 | } |
| 532 | func (m *DeviceTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 533 | return xxx_messageInfo_DeviceTypes.Marshal(b, m, deterministic) |
| 534 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 535 | func (m *DeviceTypes) XXX_Merge(src proto.Message) { |
| 536 | xxx_messageInfo_DeviceTypes.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 537 | } |
| 538 | func (m *DeviceTypes) XXX_Size() int { |
| 539 | return xxx_messageInfo_DeviceTypes.Size(m) |
| 540 | } |
| 541 | func (m *DeviceTypes) XXX_DiscardUnknown() { |
| 542 | xxx_messageInfo_DeviceTypes.DiscardUnknown(m) |
| 543 | } |
| 544 | |
| 545 | var xxx_messageInfo_DeviceTypes proto.InternalMessageInfo |
| 546 | |
| 547 | func (m *DeviceTypes) GetItems() []*DeviceType { |
| 548 | if m != nil { |
| 549 | return m.Items |
| 550 | } |
| 551 | return nil |
| 552 | } |
| 553 | |
| 554 | type PmConfig struct { |
| 555 | Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 556 | Type PmConfig_PmType `protobuf:"varint,2,opt,name=type,proto3,enum=device.PmConfig_PmType" json:"type,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 557 | Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` |
| 558 | SampleFreq uint32 `protobuf:"varint,4,opt,name=sample_freq,json=sampleFreq,proto3" json:"sample_freq,omitempty"` |
| 559 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 560 | XXX_unrecognized []byte `json:"-"` |
| 561 | XXX_sizecache int32 `json:"-"` |
| 562 | } |
| 563 | |
| 564 | func (m *PmConfig) Reset() { *m = PmConfig{} } |
| 565 | func (m *PmConfig) String() string { return proto.CompactTextString(m) } |
| 566 | func (*PmConfig) ProtoMessage() {} |
| 567 | func (*PmConfig) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 568 | return fileDescriptor_200940f73d155856, []int{2} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 569 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 570 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 571 | func (m *PmConfig) XXX_Unmarshal(b []byte) error { |
| 572 | return xxx_messageInfo_PmConfig.Unmarshal(m, b) |
| 573 | } |
| 574 | func (m *PmConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 575 | return xxx_messageInfo_PmConfig.Marshal(b, m, deterministic) |
| 576 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 577 | func (m *PmConfig) XXX_Merge(src proto.Message) { |
| 578 | xxx_messageInfo_PmConfig.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 579 | } |
| 580 | func (m *PmConfig) XXX_Size() int { |
| 581 | return xxx_messageInfo_PmConfig.Size(m) |
| 582 | } |
| 583 | func (m *PmConfig) XXX_DiscardUnknown() { |
| 584 | xxx_messageInfo_PmConfig.DiscardUnknown(m) |
| 585 | } |
| 586 | |
| 587 | var xxx_messageInfo_PmConfig proto.InternalMessageInfo |
| 588 | |
| 589 | func (m *PmConfig) GetName() string { |
| 590 | if m != nil { |
| 591 | return m.Name |
| 592 | } |
| 593 | return "" |
| 594 | } |
| 595 | |
| 596 | func (m *PmConfig) GetType() PmConfig_PmType { |
| 597 | if m != nil { |
| 598 | return m.Type |
| 599 | } |
| 600 | return PmConfig_COUNTER |
| 601 | } |
| 602 | |
| 603 | func (m *PmConfig) GetEnabled() bool { |
| 604 | if m != nil { |
| 605 | return m.Enabled |
| 606 | } |
| 607 | return false |
| 608 | } |
| 609 | |
| 610 | func (m *PmConfig) GetSampleFreq() uint32 { |
| 611 | if m != nil { |
| 612 | return m.SampleFreq |
| 613 | } |
| 614 | return 0 |
| 615 | } |
| 616 | |
| 617 | type PmGroupConfig struct { |
| 618 | GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` |
| 619 | GroupFreq uint32 `protobuf:"varint,2,opt,name=group_freq,json=groupFreq,proto3" json:"group_freq,omitempty"` |
| 620 | Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` |
| 621 | Metrics []*PmConfig `protobuf:"bytes,4,rep,name=metrics,proto3" json:"metrics,omitempty"` |
| 622 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 623 | XXX_unrecognized []byte `json:"-"` |
| 624 | XXX_sizecache int32 `json:"-"` |
| 625 | } |
| 626 | |
| 627 | func (m *PmGroupConfig) Reset() { *m = PmGroupConfig{} } |
| 628 | func (m *PmGroupConfig) String() string { return proto.CompactTextString(m) } |
| 629 | func (*PmGroupConfig) ProtoMessage() {} |
| 630 | func (*PmGroupConfig) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 631 | return fileDescriptor_200940f73d155856, []int{3} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 632 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 633 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 634 | func (m *PmGroupConfig) XXX_Unmarshal(b []byte) error { |
| 635 | return xxx_messageInfo_PmGroupConfig.Unmarshal(m, b) |
| 636 | } |
| 637 | func (m *PmGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 638 | return xxx_messageInfo_PmGroupConfig.Marshal(b, m, deterministic) |
| 639 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 640 | func (m *PmGroupConfig) XXX_Merge(src proto.Message) { |
| 641 | xxx_messageInfo_PmGroupConfig.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 642 | } |
| 643 | func (m *PmGroupConfig) XXX_Size() int { |
| 644 | return xxx_messageInfo_PmGroupConfig.Size(m) |
| 645 | } |
| 646 | func (m *PmGroupConfig) XXX_DiscardUnknown() { |
| 647 | xxx_messageInfo_PmGroupConfig.DiscardUnknown(m) |
| 648 | } |
| 649 | |
| 650 | var xxx_messageInfo_PmGroupConfig proto.InternalMessageInfo |
| 651 | |
| 652 | func (m *PmGroupConfig) GetGroupName() string { |
| 653 | if m != nil { |
| 654 | return m.GroupName |
| 655 | } |
| 656 | return "" |
| 657 | } |
| 658 | |
| 659 | func (m *PmGroupConfig) GetGroupFreq() uint32 { |
| 660 | if m != nil { |
| 661 | return m.GroupFreq |
| 662 | } |
| 663 | return 0 |
| 664 | } |
| 665 | |
| 666 | func (m *PmGroupConfig) GetEnabled() bool { |
| 667 | if m != nil { |
| 668 | return m.Enabled |
| 669 | } |
| 670 | return false |
| 671 | } |
| 672 | |
| 673 | func (m *PmGroupConfig) GetMetrics() []*PmConfig { |
| 674 | if m != nil { |
| 675 | return m.Metrics |
| 676 | } |
| 677 | return nil |
| 678 | } |
| 679 | |
| 680 | type PmConfigs struct { |
| 681 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 682 | DefaultFreq uint32 `protobuf:"varint,2,opt,name=default_freq,json=defaultFreq,proto3" json:"default_freq,omitempty"` |
| 683 | // Forces group names and group semantics |
| 684 | Grouped bool `protobuf:"varint,3,opt,name=grouped,proto3" json:"grouped,omitempty"` |
| 685 | // Allows Pm to set an individual sample frequency |
| 686 | FreqOverride bool `protobuf:"varint,4,opt,name=freq_override,json=freqOverride,proto3" json:"freq_override,omitempty"` |
| 687 | Groups []*PmGroupConfig `protobuf:"bytes,5,rep,name=groups,proto3" json:"groups,omitempty"` |
| 688 | Metrics []*PmConfig `protobuf:"bytes,6,rep,name=metrics,proto3" json:"metrics,omitempty"` |
Rohan Agrawal | 065c818 | 2020-06-29 11:05:32 +0000 | [diff] [blame] | 689 | MaxSkew uint32 `protobuf:"varint,7,opt,name=max_skew,json=maxSkew,proto3" json:"max_skew,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 690 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 691 | XXX_unrecognized []byte `json:"-"` |
| 692 | XXX_sizecache int32 `json:"-"` |
| 693 | } |
| 694 | |
| 695 | func (m *PmConfigs) Reset() { *m = PmConfigs{} } |
| 696 | func (m *PmConfigs) String() string { return proto.CompactTextString(m) } |
| 697 | func (*PmConfigs) ProtoMessage() {} |
| 698 | func (*PmConfigs) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 699 | return fileDescriptor_200940f73d155856, []int{4} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 700 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 701 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 702 | func (m *PmConfigs) XXX_Unmarshal(b []byte) error { |
| 703 | return xxx_messageInfo_PmConfigs.Unmarshal(m, b) |
| 704 | } |
| 705 | func (m *PmConfigs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 706 | return xxx_messageInfo_PmConfigs.Marshal(b, m, deterministic) |
| 707 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 708 | func (m *PmConfigs) XXX_Merge(src proto.Message) { |
| 709 | xxx_messageInfo_PmConfigs.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 710 | } |
| 711 | func (m *PmConfigs) XXX_Size() int { |
| 712 | return xxx_messageInfo_PmConfigs.Size(m) |
| 713 | } |
| 714 | func (m *PmConfigs) XXX_DiscardUnknown() { |
| 715 | xxx_messageInfo_PmConfigs.DiscardUnknown(m) |
| 716 | } |
| 717 | |
| 718 | var xxx_messageInfo_PmConfigs proto.InternalMessageInfo |
| 719 | |
| 720 | func (m *PmConfigs) GetId() string { |
| 721 | if m != nil { |
| 722 | return m.Id |
| 723 | } |
| 724 | return "" |
| 725 | } |
| 726 | |
| 727 | func (m *PmConfigs) GetDefaultFreq() uint32 { |
| 728 | if m != nil { |
| 729 | return m.DefaultFreq |
| 730 | } |
| 731 | return 0 |
| 732 | } |
| 733 | |
| 734 | func (m *PmConfigs) GetGrouped() bool { |
| 735 | if m != nil { |
| 736 | return m.Grouped |
| 737 | } |
| 738 | return false |
| 739 | } |
| 740 | |
| 741 | func (m *PmConfigs) GetFreqOverride() bool { |
| 742 | if m != nil { |
| 743 | return m.FreqOverride |
| 744 | } |
| 745 | return false |
| 746 | } |
| 747 | |
| 748 | func (m *PmConfigs) GetGroups() []*PmGroupConfig { |
| 749 | if m != nil { |
| 750 | return m.Groups |
| 751 | } |
| 752 | return nil |
| 753 | } |
| 754 | |
| 755 | func (m *PmConfigs) GetMetrics() []*PmConfig { |
| 756 | if m != nil { |
| 757 | return m.Metrics |
| 758 | } |
| 759 | return nil |
| 760 | } |
| 761 | |
Rohan Agrawal | 065c818 | 2020-06-29 11:05:32 +0000 | [diff] [blame] | 762 | func (m *PmConfigs) GetMaxSkew() uint32 { |
| 763 | if m != nil { |
| 764 | return m.MaxSkew |
| 765 | } |
| 766 | return 0 |
| 767 | } |
| 768 | |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 769 | //Object representing an image |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 770 | type Image struct { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 771 | Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 772 | // Version, this is the sole identifier of the image. it's the vendor specified OMCI version |
| 773 | // must be known at the time of initiating a download, activate, commit image on an onu. |
| 774 | Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` |
| 775 | // hash of the image to be verified against |
| 776 | // Deprecated in voltha 2.8, will be removed |
| 777 | Hash uint32 `protobuf:"varint,3,opt,name=hash,proto3" json:"hash,omitempty"` |
| 778 | // Deprecated in voltha 2.8, will be removed |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 779 | InstallDatetime string `protobuf:"bytes,4,opt,name=install_datetime,json=installDatetime,proto3" json:"install_datetime,omitempty"` |
| 780 | // The active software image is one that is currently loaded and executing |
| 781 | // in the ONU or circuit pack. Under normal operation, one software image |
| 782 | // is always active while the other is inactive. Under no circumstances are |
| 783 | // both software images allowed to be active at the same time |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 784 | // Deprecated in voltha 2.8, will be removed |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 785 | IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` |
| 786 | // The committed software image is loaded and executed upon reboot of the |
| 787 | // ONU and/or circuit pack. During normal operation, one software image is |
| 788 | // always committed, while the other is uncommitted. |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 789 | // Deprecated in voltha 2.8, will be removed |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 790 | IsCommitted bool `protobuf:"varint,6,opt,name=is_committed,json=isCommitted,proto3" json:"is_committed,omitempty"` |
| 791 | // A software image is valid if it has been verified to be an executable |
| 792 | // code image. The verification mechanism is not subject to standardization; |
| 793 | // however, it should include at least a data integrity (e.g., CRC) check of |
| 794 | // the entire code image. |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 795 | // Deprecated in voltha 2.8, will be removed |
| 796 | IsValid bool `protobuf:"varint,7,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"` |
| 797 | // URL where the image is available |
| 798 | // URL MUST be fully qualified, |
| 799 | // including filename, username and password |
| 800 | Url string `protobuf:"bytes,8,opt,name=url,proto3" json:"url,omitempty"` |
| 801 | // Represents the vendor/device mfr |
| 802 | // Needs to match the vendor of the device the image will be installed on |
| 803 | // optional, if not matched no check will be performed |
| 804 | Vendor string `protobuf:"bytes,9,opt,name=vendor,proto3" json:"vendor,omitempty"` |
| 805 | // Represents the ONU Image CRC value. |
| 806 | // Default to value 0 if not specified. |
| 807 | // If different then 0 it's used to verify the image retrieved from outside before sending it to the ONU. |
| 808 | // Calculation of this needs to be done according to ITU-T I.363.5 as per OMCI spec (section A.2.27) |
| 809 | Crc32 uint32 `protobuf:"varint,10,opt,name=crc32,proto3" json:"crc32,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 810 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 811 | XXX_unrecognized []byte `json:"-"` |
| 812 | XXX_sizecache int32 `json:"-"` |
| 813 | } |
| 814 | |
| 815 | func (m *Image) Reset() { *m = Image{} } |
| 816 | func (m *Image) String() string { return proto.CompactTextString(m) } |
| 817 | func (*Image) ProtoMessage() {} |
| 818 | func (*Image) Descriptor() ([]byte, []int) { |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 819 | return fileDescriptor_200940f73d155856, []int{5} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 820 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 821 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 822 | func (m *Image) XXX_Unmarshal(b []byte) error { |
| 823 | return xxx_messageInfo_Image.Unmarshal(m, b) |
| 824 | } |
| 825 | func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 826 | return xxx_messageInfo_Image.Marshal(b, m, deterministic) |
| 827 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 828 | func (m *Image) XXX_Merge(src proto.Message) { |
| 829 | xxx_messageInfo_Image.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 830 | } |
| 831 | func (m *Image) XXX_Size() int { |
| 832 | return xxx_messageInfo_Image.Size(m) |
| 833 | } |
| 834 | func (m *Image) XXX_DiscardUnknown() { |
| 835 | xxx_messageInfo_Image.DiscardUnknown(m) |
| 836 | } |
| 837 | |
| 838 | var xxx_messageInfo_Image proto.InternalMessageInfo |
| 839 | |
| 840 | func (m *Image) GetName() string { |
| 841 | if m != nil { |
| 842 | return m.Name |
| 843 | } |
| 844 | return "" |
| 845 | } |
| 846 | |
| 847 | func (m *Image) GetVersion() string { |
| 848 | if m != nil { |
| 849 | return m.Version |
| 850 | } |
| 851 | return "" |
| 852 | } |
| 853 | |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 854 | func (m *Image) GetHash() uint32 { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 855 | if m != nil { |
| 856 | return m.Hash |
| 857 | } |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 858 | return 0 |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 859 | } |
| 860 | |
| 861 | func (m *Image) GetInstallDatetime() string { |
| 862 | if m != nil { |
| 863 | return m.InstallDatetime |
| 864 | } |
| 865 | return "" |
| 866 | } |
| 867 | |
| 868 | func (m *Image) GetIsActive() bool { |
| 869 | if m != nil { |
| 870 | return m.IsActive |
| 871 | } |
| 872 | return false |
| 873 | } |
| 874 | |
| 875 | func (m *Image) GetIsCommitted() bool { |
| 876 | if m != nil { |
| 877 | return m.IsCommitted |
| 878 | } |
| 879 | return false |
| 880 | } |
| 881 | |
| 882 | func (m *Image) GetIsValid() bool { |
| 883 | if m != nil { |
| 884 | return m.IsValid |
| 885 | } |
| 886 | return false |
| 887 | } |
| 888 | |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 889 | func (m *Image) GetUrl() string { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 890 | if m != nil { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 891 | return m.Url |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 892 | } |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 893 | return "" |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 894 | } |
| 895 | |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 896 | func (m *Image) GetVendor() string { |
| 897 | if m != nil { |
| 898 | return m.Vendor |
| 899 | } |
| 900 | return "" |
| 901 | } |
| 902 | |
| 903 | func (m *Image) GetCrc32() uint32 { |
| 904 | if m != nil { |
| 905 | return m.Crc32 |
| 906 | } |
| 907 | return 0 |
| 908 | } |
| 909 | |
| 910 | // Older version of the API please see DeviceImageDownloadRequest |
| 911 | // Deprecated in voltha 2.8, will be removed |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 912 | // |
| 913 | // Deprecated: Do not use. |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 914 | type ImageDownload struct { |
| 915 | // Device Identifier |
| 916 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 917 | // Image unique identifier |
| 918 | Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| 919 | // URL where the image is available |
| 920 | // should include username password |
| 921 | Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` |
| 922 | // CRC of the image to be verified aginst |
| 923 | Crc uint32 `protobuf:"varint,4,opt,name=crc,proto3" json:"crc,omitempty"` |
| 924 | // Download state |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 925 | DownloadState ImageDownload_ImageDownloadState `protobuf:"varint,5,opt,name=download_state,json=downloadState,proto3,enum=device.ImageDownload_ImageDownloadState" json:"download_state,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 926 | // Downloaded version |
| 927 | ImageVersion string `protobuf:"bytes,6,opt,name=image_version,json=imageVersion,proto3" json:"image_version,omitempty"` |
| 928 | // Bytes downloaded |
| 929 | DownloadedBytes uint32 `protobuf:"varint,7,opt,name=downloaded_bytes,json=downloadedBytes,proto3" json:"downloaded_bytes,omitempty"` |
| 930 | // Download failure reason |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 931 | Reason ImageDownload_ImageDownloadFailureReason `protobuf:"varint,8,opt,name=reason,proto3,enum=device.ImageDownload_ImageDownloadFailureReason" json:"reason,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 932 | // Additional info |
| 933 | AdditionalInfo string `protobuf:"bytes,9,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"` |
| 934 | // Save current configuration |
| 935 | SaveConfig bool `protobuf:"varint,10,opt,name=save_config,json=saveConfig,proto3" json:"save_config,omitempty"` |
| 936 | // Image local location |
| 937 | LocalDir string `protobuf:"bytes,11,opt,name=local_dir,json=localDir,proto3" json:"local_dir,omitempty"` |
| 938 | // Image activation state |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 939 | ImageState ImageDownload_ImageActivateState `protobuf:"varint,12,opt,name=image_state,json=imageState,proto3,enum=device.ImageDownload_ImageActivateState" json:"image_state,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 940 | // Image file size |
| 941 | FileSize uint32 `protobuf:"varint,13,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` |
| 942 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 943 | XXX_unrecognized []byte `json:"-"` |
| 944 | XXX_sizecache int32 `json:"-"` |
| 945 | } |
| 946 | |
| 947 | func (m *ImageDownload) Reset() { *m = ImageDownload{} } |
| 948 | func (m *ImageDownload) String() string { return proto.CompactTextString(m) } |
| 949 | func (*ImageDownload) ProtoMessage() {} |
| 950 | func (*ImageDownload) Descriptor() ([]byte, []int) { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 951 | return fileDescriptor_200940f73d155856, []int{6} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 952 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 953 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 954 | func (m *ImageDownload) XXX_Unmarshal(b []byte) error { |
| 955 | return xxx_messageInfo_ImageDownload.Unmarshal(m, b) |
| 956 | } |
| 957 | func (m *ImageDownload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 958 | return xxx_messageInfo_ImageDownload.Marshal(b, m, deterministic) |
| 959 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 960 | func (m *ImageDownload) XXX_Merge(src proto.Message) { |
| 961 | xxx_messageInfo_ImageDownload.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 962 | } |
| 963 | func (m *ImageDownload) XXX_Size() int { |
| 964 | return xxx_messageInfo_ImageDownload.Size(m) |
| 965 | } |
| 966 | func (m *ImageDownload) XXX_DiscardUnknown() { |
| 967 | xxx_messageInfo_ImageDownload.DiscardUnknown(m) |
| 968 | } |
| 969 | |
| 970 | var xxx_messageInfo_ImageDownload proto.InternalMessageInfo |
| 971 | |
| 972 | func (m *ImageDownload) GetId() string { |
| 973 | if m != nil { |
| 974 | return m.Id |
| 975 | } |
| 976 | return "" |
| 977 | } |
| 978 | |
| 979 | func (m *ImageDownload) GetName() string { |
| 980 | if m != nil { |
| 981 | return m.Name |
| 982 | } |
| 983 | return "" |
| 984 | } |
| 985 | |
| 986 | func (m *ImageDownload) GetUrl() string { |
| 987 | if m != nil { |
| 988 | return m.Url |
| 989 | } |
| 990 | return "" |
| 991 | } |
| 992 | |
| 993 | func (m *ImageDownload) GetCrc() uint32 { |
| 994 | if m != nil { |
| 995 | return m.Crc |
| 996 | } |
| 997 | return 0 |
| 998 | } |
| 999 | |
| 1000 | func (m *ImageDownload) GetDownloadState() ImageDownload_ImageDownloadState { |
| 1001 | if m != nil { |
| 1002 | return m.DownloadState |
| 1003 | } |
| 1004 | return ImageDownload_DOWNLOAD_UNKNOWN |
| 1005 | } |
| 1006 | |
| 1007 | func (m *ImageDownload) GetImageVersion() string { |
| 1008 | if m != nil { |
| 1009 | return m.ImageVersion |
| 1010 | } |
| 1011 | return "" |
| 1012 | } |
| 1013 | |
| 1014 | func (m *ImageDownload) GetDownloadedBytes() uint32 { |
| 1015 | if m != nil { |
| 1016 | return m.DownloadedBytes |
| 1017 | } |
| 1018 | return 0 |
| 1019 | } |
| 1020 | |
| 1021 | func (m *ImageDownload) GetReason() ImageDownload_ImageDownloadFailureReason { |
| 1022 | if m != nil { |
| 1023 | return m.Reason |
| 1024 | } |
| 1025 | return ImageDownload_NO_ERROR |
| 1026 | } |
| 1027 | |
| 1028 | func (m *ImageDownload) GetAdditionalInfo() string { |
| 1029 | if m != nil { |
| 1030 | return m.AdditionalInfo |
| 1031 | } |
| 1032 | return "" |
| 1033 | } |
| 1034 | |
| 1035 | func (m *ImageDownload) GetSaveConfig() bool { |
| 1036 | if m != nil { |
| 1037 | return m.SaveConfig |
| 1038 | } |
| 1039 | return false |
| 1040 | } |
| 1041 | |
| 1042 | func (m *ImageDownload) GetLocalDir() string { |
| 1043 | if m != nil { |
| 1044 | return m.LocalDir |
| 1045 | } |
| 1046 | return "" |
| 1047 | } |
| 1048 | |
| 1049 | func (m *ImageDownload) GetImageState() ImageDownload_ImageActivateState { |
| 1050 | if m != nil { |
| 1051 | return m.ImageState |
| 1052 | } |
| 1053 | return ImageDownload_IMAGE_UNKNOWN |
| 1054 | } |
| 1055 | |
| 1056 | func (m *ImageDownload) GetFileSize() uint32 { |
| 1057 | if m != nil { |
| 1058 | return m.FileSize |
| 1059 | } |
| 1060 | return 0 |
| 1061 | } |
| 1062 | |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 1063 | // Deprecated in voltha 2.8, will be removed |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1064 | // |
| 1065 | // Deprecated: Do not use. |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1066 | type ImageDownloads struct { |
| 1067 | Items []*ImageDownload `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` |
| 1068 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1069 | XXX_unrecognized []byte `json:"-"` |
| 1070 | XXX_sizecache int32 `json:"-"` |
| 1071 | } |
| 1072 | |
| 1073 | func (m *ImageDownloads) Reset() { *m = ImageDownloads{} } |
| 1074 | func (m *ImageDownloads) String() string { return proto.CompactTextString(m) } |
| 1075 | func (*ImageDownloads) ProtoMessage() {} |
| 1076 | func (*ImageDownloads) Descriptor() ([]byte, []int) { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 1077 | return fileDescriptor_200940f73d155856, []int{7} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1078 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1079 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1080 | func (m *ImageDownloads) XXX_Unmarshal(b []byte) error { |
| 1081 | return xxx_messageInfo_ImageDownloads.Unmarshal(m, b) |
| 1082 | } |
| 1083 | func (m *ImageDownloads) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1084 | return xxx_messageInfo_ImageDownloads.Marshal(b, m, deterministic) |
| 1085 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1086 | func (m *ImageDownloads) XXX_Merge(src proto.Message) { |
| 1087 | xxx_messageInfo_ImageDownloads.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1088 | } |
| 1089 | func (m *ImageDownloads) XXX_Size() int { |
| 1090 | return xxx_messageInfo_ImageDownloads.Size(m) |
| 1091 | } |
| 1092 | func (m *ImageDownloads) XXX_DiscardUnknown() { |
| 1093 | xxx_messageInfo_ImageDownloads.DiscardUnknown(m) |
| 1094 | } |
| 1095 | |
| 1096 | var xxx_messageInfo_ImageDownloads proto.InternalMessageInfo |
| 1097 | |
| 1098 | func (m *ImageDownloads) GetItems() []*ImageDownload { |
| 1099 | if m != nil { |
| 1100 | return m.Items |
| 1101 | } |
| 1102 | return nil |
| 1103 | } |
| 1104 | |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 1105 | type Images struct { |
| 1106 | Image []*Image `protobuf:"bytes,1,rep,name=image,proto3" json:"image,omitempty"` |
| 1107 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1108 | XXX_unrecognized []byte `json:"-"` |
| 1109 | XXX_sizecache int32 `json:"-"` |
| 1110 | } |
| 1111 | |
| 1112 | func (m *Images) Reset() { *m = Images{} } |
| 1113 | func (m *Images) String() string { return proto.CompactTextString(m) } |
| 1114 | func (*Images) ProtoMessage() {} |
| 1115 | func (*Images) Descriptor() ([]byte, []int) { |
| 1116 | return fileDescriptor_200940f73d155856, []int{8} |
| 1117 | } |
| 1118 | |
| 1119 | func (m *Images) XXX_Unmarshal(b []byte) error { |
| 1120 | return xxx_messageInfo_Images.Unmarshal(m, b) |
| 1121 | } |
| 1122 | func (m *Images) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1123 | return xxx_messageInfo_Images.Marshal(b, m, deterministic) |
| 1124 | } |
| 1125 | func (m *Images) XXX_Merge(src proto.Message) { |
| 1126 | xxx_messageInfo_Images.Merge(m, src) |
| 1127 | } |
| 1128 | func (m *Images) XXX_Size() int { |
| 1129 | return xxx_messageInfo_Images.Size(m) |
| 1130 | } |
| 1131 | func (m *Images) XXX_DiscardUnknown() { |
| 1132 | xxx_messageInfo_Images.DiscardUnknown(m) |
| 1133 | } |
| 1134 | |
| 1135 | var xxx_messageInfo_Images proto.InternalMessageInfo |
| 1136 | |
| 1137 | func (m *Images) GetImage() []*Image { |
| 1138 | if m != nil { |
| 1139 | return m.Image |
| 1140 | } |
| 1141 | return nil |
| 1142 | } |
| 1143 | |
| 1144 | // OnuImage represents the OMCI information as per OMCI spec |
| 1145 | // the information will be populates exactly as extracted from the device. |
| 1146 | type OnuImage struct { |
| 1147 | //image version |
| 1148 | Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 1149 | IsCommited bool `protobuf:"varint,2,opt,name=isCommited,proto3" json:"isCommited,omitempty"` |
| 1150 | IsActive bool `protobuf:"varint,3,opt,name=isActive,proto3" json:"isActive,omitempty"` |
| 1151 | IsValid bool `protobuf:"varint,4,opt,name=isValid,proto3" json:"isValid,omitempty"` |
| 1152 | ProductCode string `protobuf:"bytes,5,opt,name=productCode,proto3" json:"productCode,omitempty"` |
| 1153 | // Hash is computed by the ONU and is optional as per OMCI spec (paragraph 9.1.4) |
| 1154 | // No assumption should be made on the existence of this attribute at any time. |
| 1155 | Hash string `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"` |
| 1156 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1157 | XXX_unrecognized []byte `json:"-"` |
| 1158 | XXX_sizecache int32 `json:"-"` |
| 1159 | } |
| 1160 | |
| 1161 | func (m *OnuImage) Reset() { *m = OnuImage{} } |
| 1162 | func (m *OnuImage) String() string { return proto.CompactTextString(m) } |
| 1163 | func (*OnuImage) ProtoMessage() {} |
| 1164 | func (*OnuImage) Descriptor() ([]byte, []int) { |
| 1165 | return fileDescriptor_200940f73d155856, []int{9} |
| 1166 | } |
| 1167 | |
| 1168 | func (m *OnuImage) XXX_Unmarshal(b []byte) error { |
| 1169 | return xxx_messageInfo_OnuImage.Unmarshal(m, b) |
| 1170 | } |
| 1171 | func (m *OnuImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1172 | return xxx_messageInfo_OnuImage.Marshal(b, m, deterministic) |
| 1173 | } |
| 1174 | func (m *OnuImage) XXX_Merge(src proto.Message) { |
| 1175 | xxx_messageInfo_OnuImage.Merge(m, src) |
| 1176 | } |
| 1177 | func (m *OnuImage) XXX_Size() int { |
| 1178 | return xxx_messageInfo_OnuImage.Size(m) |
| 1179 | } |
| 1180 | func (m *OnuImage) XXX_DiscardUnknown() { |
| 1181 | xxx_messageInfo_OnuImage.DiscardUnknown(m) |
| 1182 | } |
| 1183 | |
| 1184 | var xxx_messageInfo_OnuImage proto.InternalMessageInfo |
| 1185 | |
| 1186 | func (m *OnuImage) GetVersion() string { |
| 1187 | if m != nil { |
| 1188 | return m.Version |
| 1189 | } |
| 1190 | return "" |
| 1191 | } |
| 1192 | |
| 1193 | func (m *OnuImage) GetIsCommited() bool { |
| 1194 | if m != nil { |
| 1195 | return m.IsCommited |
| 1196 | } |
| 1197 | return false |
| 1198 | } |
| 1199 | |
| 1200 | func (m *OnuImage) GetIsActive() bool { |
| 1201 | if m != nil { |
| 1202 | return m.IsActive |
| 1203 | } |
| 1204 | return false |
| 1205 | } |
| 1206 | |
| 1207 | func (m *OnuImage) GetIsValid() bool { |
| 1208 | if m != nil { |
| 1209 | return m.IsValid |
| 1210 | } |
| 1211 | return false |
| 1212 | } |
| 1213 | |
| 1214 | func (m *OnuImage) GetProductCode() string { |
| 1215 | if m != nil { |
| 1216 | return m.ProductCode |
| 1217 | } |
| 1218 | return "" |
| 1219 | } |
| 1220 | |
| 1221 | func (m *OnuImage) GetHash() string { |
| 1222 | if m != nil { |
| 1223 | return m.Hash |
| 1224 | } |
| 1225 | return "" |
| 1226 | } |
| 1227 | |
| 1228 | type OnuImages struct { |
| 1229 | Items []*OnuImage `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 1230 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1231 | XXX_unrecognized []byte `json:"-"` |
| 1232 | XXX_sizecache int32 `json:"-"` |
| 1233 | } |
| 1234 | |
| 1235 | func (m *OnuImages) Reset() { *m = OnuImages{} } |
| 1236 | func (m *OnuImages) String() string { return proto.CompactTextString(m) } |
| 1237 | func (*OnuImages) ProtoMessage() {} |
| 1238 | func (*OnuImages) Descriptor() ([]byte, []int) { |
| 1239 | return fileDescriptor_200940f73d155856, []int{10} |
| 1240 | } |
| 1241 | |
| 1242 | func (m *OnuImages) XXX_Unmarshal(b []byte) error { |
| 1243 | return xxx_messageInfo_OnuImages.Unmarshal(m, b) |
| 1244 | } |
| 1245 | func (m *OnuImages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1246 | return xxx_messageInfo_OnuImages.Marshal(b, m, deterministic) |
| 1247 | } |
| 1248 | func (m *OnuImages) XXX_Merge(src proto.Message) { |
| 1249 | xxx_messageInfo_OnuImages.Merge(m, src) |
| 1250 | } |
| 1251 | func (m *OnuImages) XXX_Size() int { |
| 1252 | return xxx_messageInfo_OnuImages.Size(m) |
| 1253 | } |
| 1254 | func (m *OnuImages) XXX_DiscardUnknown() { |
| 1255 | xxx_messageInfo_OnuImages.DiscardUnknown(m) |
| 1256 | } |
| 1257 | |
| 1258 | var xxx_messageInfo_OnuImages proto.InternalMessageInfo |
| 1259 | |
| 1260 | func (m *OnuImages) GetItems() []*OnuImage { |
| 1261 | if m != nil { |
| 1262 | return m.Items |
| 1263 | } |
| 1264 | return nil |
| 1265 | } |
| 1266 | |
| 1267 | type DeviceImageState struct { |
| 1268 | DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 1269 | ImageState *ImageState `protobuf:"bytes,2,opt,name=imageState,proto3" json:"imageState,omitempty"` |
| 1270 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1271 | XXX_unrecognized []byte `json:"-"` |
| 1272 | XXX_sizecache int32 `json:"-"` |
| 1273 | } |
| 1274 | |
| 1275 | func (m *DeviceImageState) Reset() { *m = DeviceImageState{} } |
| 1276 | func (m *DeviceImageState) String() string { return proto.CompactTextString(m) } |
| 1277 | func (*DeviceImageState) ProtoMessage() {} |
| 1278 | func (*DeviceImageState) Descriptor() ([]byte, []int) { |
| 1279 | return fileDescriptor_200940f73d155856, []int{11} |
| 1280 | } |
| 1281 | |
| 1282 | func (m *DeviceImageState) XXX_Unmarshal(b []byte) error { |
| 1283 | return xxx_messageInfo_DeviceImageState.Unmarshal(m, b) |
| 1284 | } |
| 1285 | func (m *DeviceImageState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1286 | return xxx_messageInfo_DeviceImageState.Marshal(b, m, deterministic) |
| 1287 | } |
| 1288 | func (m *DeviceImageState) XXX_Merge(src proto.Message) { |
| 1289 | xxx_messageInfo_DeviceImageState.Merge(m, src) |
| 1290 | } |
| 1291 | func (m *DeviceImageState) XXX_Size() int { |
| 1292 | return xxx_messageInfo_DeviceImageState.Size(m) |
| 1293 | } |
| 1294 | func (m *DeviceImageState) XXX_DiscardUnknown() { |
| 1295 | xxx_messageInfo_DeviceImageState.DiscardUnknown(m) |
| 1296 | } |
| 1297 | |
| 1298 | var xxx_messageInfo_DeviceImageState proto.InternalMessageInfo |
| 1299 | |
| 1300 | func (m *DeviceImageState) GetDeviceId() string { |
| 1301 | if m != nil { |
| 1302 | return m.DeviceId |
| 1303 | } |
| 1304 | return "" |
| 1305 | } |
| 1306 | |
| 1307 | func (m *DeviceImageState) GetImageState() *ImageState { |
| 1308 | if m != nil { |
| 1309 | return m.ImageState |
| 1310 | } |
| 1311 | return nil |
| 1312 | } |
| 1313 | |
| 1314 | type ImageState struct { |
| 1315 | // image version |
| 1316 | Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` |
| 1317 | // Download state |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1318 | DownloadState ImageState_ImageDownloadState `protobuf:"varint,2,opt,name=download_state,json=downloadState,proto3,enum=device.ImageState_ImageDownloadState" json:"download_state,omitempty"` |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 1319 | // Image Operation Failure reason (use for both Download and Activate) |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1320 | Reason ImageState_ImageFailureReason `protobuf:"varint,3,opt,name=reason,proto3,enum=device.ImageState_ImageFailureReason" json:"reason,omitempty"` |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 1321 | // Image activation state |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1322 | ImageState ImageState_ImageActivationState `protobuf:"varint,4,opt,name=image_state,json=imageState,proto3,enum=device.ImageState_ImageActivationState" json:"image_state,omitempty"` |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 1323 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1324 | XXX_unrecognized []byte `json:"-"` |
| 1325 | XXX_sizecache int32 `json:"-"` |
| 1326 | } |
| 1327 | |
| 1328 | func (m *ImageState) Reset() { *m = ImageState{} } |
| 1329 | func (m *ImageState) String() string { return proto.CompactTextString(m) } |
| 1330 | func (*ImageState) ProtoMessage() {} |
| 1331 | func (*ImageState) Descriptor() ([]byte, []int) { |
| 1332 | return fileDescriptor_200940f73d155856, []int{12} |
| 1333 | } |
| 1334 | |
| 1335 | func (m *ImageState) XXX_Unmarshal(b []byte) error { |
| 1336 | return xxx_messageInfo_ImageState.Unmarshal(m, b) |
| 1337 | } |
| 1338 | func (m *ImageState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1339 | return xxx_messageInfo_ImageState.Marshal(b, m, deterministic) |
| 1340 | } |
| 1341 | func (m *ImageState) XXX_Merge(src proto.Message) { |
| 1342 | xxx_messageInfo_ImageState.Merge(m, src) |
| 1343 | } |
| 1344 | func (m *ImageState) XXX_Size() int { |
| 1345 | return xxx_messageInfo_ImageState.Size(m) |
| 1346 | } |
| 1347 | func (m *ImageState) XXX_DiscardUnknown() { |
| 1348 | xxx_messageInfo_ImageState.DiscardUnknown(m) |
| 1349 | } |
| 1350 | |
| 1351 | var xxx_messageInfo_ImageState proto.InternalMessageInfo |
| 1352 | |
| 1353 | func (m *ImageState) GetVersion() string { |
| 1354 | if m != nil { |
| 1355 | return m.Version |
| 1356 | } |
| 1357 | return "" |
| 1358 | } |
| 1359 | |
| 1360 | func (m *ImageState) GetDownloadState() ImageState_ImageDownloadState { |
| 1361 | if m != nil { |
| 1362 | return m.DownloadState |
| 1363 | } |
| 1364 | return ImageState_DOWNLOAD_UNKNOWN |
| 1365 | } |
| 1366 | |
| 1367 | func (m *ImageState) GetReason() ImageState_ImageFailureReason { |
| 1368 | if m != nil { |
| 1369 | return m.Reason |
| 1370 | } |
| 1371 | return ImageState_NO_ERROR |
| 1372 | } |
| 1373 | |
| 1374 | func (m *ImageState) GetImageState() ImageState_ImageActivationState { |
| 1375 | if m != nil { |
| 1376 | return m.ImageState |
| 1377 | } |
| 1378 | return ImageState_IMAGE_UNKNOWN |
| 1379 | } |
| 1380 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1381 | type Port struct { |
khenaidoo | ce41ea4 | 2020-06-09 18:10:16 -0400 | [diff] [blame] | 1382 | PortNo uint32 `protobuf:"varint,1,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"` |
| 1383 | Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1384 | Type Port_PortType `protobuf:"varint,3,opt,name=type,proto3,enum=device.Port_PortType" json:"type,omitempty"` |
khenaidoo | ce41ea4 | 2020-06-09 18:10:16 -0400 | [diff] [blame] | 1385 | AdminState common.AdminState_Types `protobuf:"varint,5,opt,name=admin_state,json=adminState,proto3,enum=common.AdminState_Types" json:"admin_state,omitempty"` |
| 1386 | OperStatus common.OperStatus_Types `protobuf:"varint,6,opt,name=oper_status,json=operStatus,proto3,enum=common.OperStatus_Types" json:"oper_status,omitempty"` |
| 1387 | DeviceId string `protobuf:"bytes,7,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 1388 | Peers []*Port_PeerPort `protobuf:"bytes,8,rep,name=peers,proto3" json:"peers,omitempty"` |
| 1389 | RxPackets uint64 `protobuf:"fixed64,9,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"` |
| 1390 | RxBytes uint64 `protobuf:"fixed64,10,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"` |
| 1391 | RxErrors uint64 `protobuf:"fixed64,11,opt,name=rx_errors,json=rxErrors,proto3" json:"rx_errors,omitempty"` |
| 1392 | TxPackets uint64 `protobuf:"fixed64,12,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"` |
| 1393 | TxBytes uint64 `protobuf:"fixed64,13,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"` |
| 1394 | TxErrors uint64 `protobuf:"fixed64,14,opt,name=tx_errors,json=txErrors,proto3" json:"tx_errors,omitempty"` |
| 1395 | // ofp_port represents the characteristics of a port, e.g. hardware |
| 1396 | // address and supported features. This field is relevant only for |
| 1397 | // UNI and NNI ports. For PON ports, it can be left empty. |
| 1398 | OfpPort *openflow_13.OfpPort `protobuf:"bytes,15,opt,name=ofp_port,json=ofpPort,proto3" json:"ofp_port,omitempty"` |
| 1399 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1400 | XXX_unrecognized []byte `json:"-"` |
| 1401 | XXX_sizecache int32 `json:"-"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1402 | } |
| 1403 | |
| 1404 | func (m *Port) Reset() { *m = Port{} } |
| 1405 | func (m *Port) String() string { return proto.CompactTextString(m) } |
| 1406 | func (*Port) ProtoMessage() {} |
| 1407 | func (*Port) Descriptor() ([]byte, []int) { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 1408 | return fileDescriptor_200940f73d155856, []int{13} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1409 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1410 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1411 | func (m *Port) XXX_Unmarshal(b []byte) error { |
| 1412 | return xxx_messageInfo_Port.Unmarshal(m, b) |
| 1413 | } |
| 1414 | func (m *Port) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1415 | return xxx_messageInfo_Port.Marshal(b, m, deterministic) |
| 1416 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1417 | func (m *Port) XXX_Merge(src proto.Message) { |
| 1418 | xxx_messageInfo_Port.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1419 | } |
| 1420 | func (m *Port) XXX_Size() int { |
| 1421 | return xxx_messageInfo_Port.Size(m) |
| 1422 | } |
| 1423 | func (m *Port) XXX_DiscardUnknown() { |
| 1424 | xxx_messageInfo_Port.DiscardUnknown(m) |
| 1425 | } |
| 1426 | |
| 1427 | var xxx_messageInfo_Port proto.InternalMessageInfo |
| 1428 | |
| 1429 | func (m *Port) GetPortNo() uint32 { |
| 1430 | if m != nil { |
| 1431 | return m.PortNo |
| 1432 | } |
| 1433 | return 0 |
| 1434 | } |
| 1435 | |
| 1436 | func (m *Port) GetLabel() string { |
| 1437 | if m != nil { |
| 1438 | return m.Label |
| 1439 | } |
| 1440 | return "" |
| 1441 | } |
| 1442 | |
| 1443 | func (m *Port) GetType() Port_PortType { |
| 1444 | if m != nil { |
| 1445 | return m.Type |
| 1446 | } |
| 1447 | return Port_UNKNOWN |
| 1448 | } |
| 1449 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 1450 | func (m *Port) GetAdminState() common.AdminState_Types { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1451 | if m != nil { |
| 1452 | return m.AdminState |
| 1453 | } |
| 1454 | return common.AdminState_UNKNOWN |
| 1455 | } |
| 1456 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 1457 | func (m *Port) GetOperStatus() common.OperStatus_Types { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1458 | if m != nil { |
| 1459 | return m.OperStatus |
| 1460 | } |
| 1461 | return common.OperStatus_UNKNOWN |
| 1462 | } |
| 1463 | |
| 1464 | func (m *Port) GetDeviceId() string { |
| 1465 | if m != nil { |
| 1466 | return m.DeviceId |
| 1467 | } |
| 1468 | return "" |
| 1469 | } |
| 1470 | |
| 1471 | func (m *Port) GetPeers() []*Port_PeerPort { |
| 1472 | if m != nil { |
| 1473 | return m.Peers |
| 1474 | } |
| 1475 | return nil |
| 1476 | } |
| 1477 | |
| 1478 | func (m *Port) GetRxPackets() uint64 { |
| 1479 | if m != nil { |
| 1480 | return m.RxPackets |
| 1481 | } |
| 1482 | return 0 |
| 1483 | } |
| 1484 | |
| 1485 | func (m *Port) GetRxBytes() uint64 { |
| 1486 | if m != nil { |
| 1487 | return m.RxBytes |
| 1488 | } |
| 1489 | return 0 |
| 1490 | } |
| 1491 | |
| 1492 | func (m *Port) GetRxErrors() uint64 { |
| 1493 | if m != nil { |
| 1494 | return m.RxErrors |
| 1495 | } |
| 1496 | return 0 |
| 1497 | } |
| 1498 | |
| 1499 | func (m *Port) GetTxPackets() uint64 { |
| 1500 | if m != nil { |
| 1501 | return m.TxPackets |
| 1502 | } |
| 1503 | return 0 |
| 1504 | } |
| 1505 | |
| 1506 | func (m *Port) GetTxBytes() uint64 { |
| 1507 | if m != nil { |
| 1508 | return m.TxBytes |
| 1509 | } |
| 1510 | return 0 |
| 1511 | } |
| 1512 | |
| 1513 | func (m *Port) GetTxErrors() uint64 { |
| 1514 | if m != nil { |
| 1515 | return m.TxErrors |
| 1516 | } |
| 1517 | return 0 |
| 1518 | } |
| 1519 | |
khenaidoo | ce41ea4 | 2020-06-09 18:10:16 -0400 | [diff] [blame] | 1520 | func (m *Port) GetOfpPort() *openflow_13.OfpPort { |
| 1521 | if m != nil { |
| 1522 | return m.OfpPort |
| 1523 | } |
| 1524 | return nil |
| 1525 | } |
| 1526 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1527 | type Port_PeerPort struct { |
| 1528 | DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 1529 | PortNo uint32 `protobuf:"varint,2,opt,name=port_no,json=portNo,proto3" json:"port_no,omitempty"` |
| 1530 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1531 | XXX_unrecognized []byte `json:"-"` |
| 1532 | XXX_sizecache int32 `json:"-"` |
| 1533 | } |
| 1534 | |
| 1535 | func (m *Port_PeerPort) Reset() { *m = Port_PeerPort{} } |
| 1536 | func (m *Port_PeerPort) String() string { return proto.CompactTextString(m) } |
| 1537 | func (*Port_PeerPort) ProtoMessage() {} |
| 1538 | func (*Port_PeerPort) Descriptor() ([]byte, []int) { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 1539 | return fileDescriptor_200940f73d155856, []int{13, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1540 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1541 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1542 | func (m *Port_PeerPort) XXX_Unmarshal(b []byte) error { |
| 1543 | return xxx_messageInfo_Port_PeerPort.Unmarshal(m, b) |
| 1544 | } |
| 1545 | func (m *Port_PeerPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1546 | return xxx_messageInfo_Port_PeerPort.Marshal(b, m, deterministic) |
| 1547 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1548 | func (m *Port_PeerPort) XXX_Merge(src proto.Message) { |
| 1549 | xxx_messageInfo_Port_PeerPort.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1550 | } |
| 1551 | func (m *Port_PeerPort) XXX_Size() int { |
| 1552 | return xxx_messageInfo_Port_PeerPort.Size(m) |
| 1553 | } |
| 1554 | func (m *Port_PeerPort) XXX_DiscardUnknown() { |
| 1555 | xxx_messageInfo_Port_PeerPort.DiscardUnknown(m) |
| 1556 | } |
| 1557 | |
| 1558 | var xxx_messageInfo_Port_PeerPort proto.InternalMessageInfo |
| 1559 | |
| 1560 | func (m *Port_PeerPort) GetDeviceId() string { |
| 1561 | if m != nil { |
| 1562 | return m.DeviceId |
| 1563 | } |
| 1564 | return "" |
| 1565 | } |
| 1566 | |
| 1567 | func (m *Port_PeerPort) GetPortNo() uint32 { |
| 1568 | if m != nil { |
| 1569 | return m.PortNo |
| 1570 | } |
| 1571 | return 0 |
| 1572 | } |
| 1573 | |
| 1574 | type Ports struct { |
| 1575 | Items []*Port `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 1576 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1577 | XXX_unrecognized []byte `json:"-"` |
| 1578 | XXX_sizecache int32 `json:"-"` |
| 1579 | } |
| 1580 | |
| 1581 | func (m *Ports) Reset() { *m = Ports{} } |
| 1582 | func (m *Ports) String() string { return proto.CompactTextString(m) } |
| 1583 | func (*Ports) ProtoMessage() {} |
| 1584 | func (*Ports) Descriptor() ([]byte, []int) { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 1585 | return fileDescriptor_200940f73d155856, []int{14} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1586 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1587 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1588 | func (m *Ports) XXX_Unmarshal(b []byte) error { |
| 1589 | return xxx_messageInfo_Ports.Unmarshal(m, b) |
| 1590 | } |
| 1591 | func (m *Ports) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1592 | return xxx_messageInfo_Ports.Marshal(b, m, deterministic) |
| 1593 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1594 | func (m *Ports) XXX_Merge(src proto.Message) { |
| 1595 | xxx_messageInfo_Ports.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1596 | } |
| 1597 | func (m *Ports) XXX_Size() int { |
| 1598 | return xxx_messageInfo_Ports.Size(m) |
| 1599 | } |
| 1600 | func (m *Ports) XXX_DiscardUnknown() { |
| 1601 | xxx_messageInfo_Ports.DiscardUnknown(m) |
| 1602 | } |
| 1603 | |
| 1604 | var xxx_messageInfo_Ports proto.InternalMessageInfo |
| 1605 | |
| 1606 | func (m *Ports) GetItems() []*Port { |
| 1607 | if m != nil { |
| 1608 | return m.Items |
| 1609 | } |
| 1610 | return nil |
| 1611 | } |
| 1612 | |
| 1613 | // A Physical Device instance |
| 1614 | type Device struct { |
| 1615 | // Voltha's device identifier |
| 1616 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 1617 | // Device type, refers to one of the registered device types |
| 1618 | Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` |
| 1619 | // Is this device a root device. Each logical switch has one root |
| 1620 | // device that is associated with the logical flow switch. |
| 1621 | Root bool `protobuf:"varint,3,opt,name=root,proto3" json:"root,omitempty"` |
| 1622 | // Parent device id, in the device tree (for a root device, the parent_id |
| 1623 | // is the logical_device.id) |
| 1624 | ParentId string `protobuf:"bytes,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` |
| 1625 | ParentPortNo uint32 `protobuf:"varint,20,opt,name=parent_port_no,json=parentPortNo,proto3" json:"parent_port_no,omitempty"` |
| 1626 | // Vendor, version, serial number, etc. |
| 1627 | Vendor string `protobuf:"bytes,5,opt,name=vendor,proto3" json:"vendor,omitempty"` |
| 1628 | Model string `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"` |
| 1629 | HardwareVersion string `protobuf:"bytes,7,opt,name=hardware_version,json=hardwareVersion,proto3" json:"hardware_version,omitempty"` |
| 1630 | FirmwareVersion string `protobuf:"bytes,8,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"` |
| 1631 | // List of software on the device |
| 1632 | Images *Images `protobuf:"bytes,9,opt,name=images,proto3" json:"images,omitempty"` |
| 1633 | SerialNumber string `protobuf:"bytes,10,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` |
| 1634 | VendorId string `protobuf:"bytes,24,opt,name=vendor_id,json=vendorId,proto3" json:"vendor_id,omitempty"` |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 1635 | // Indicates how to reach the adapter instance that manages this device |
| 1636 | AdapterEndpoint string `protobuf:"bytes,25,opt,name=adapter_endpoint,json=adapterEndpoint,proto3" json:"adapter_endpoint,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1637 | // Device contact on vlan (if 0, no vlan) |
| 1638 | Vlan uint32 `protobuf:"varint,12,opt,name=vlan,proto3" json:"vlan,omitempty"` |
| 1639 | // Device contact MAC address (format: "xx:xx:xx:xx:xx:xx") |
| 1640 | MacAddress string `protobuf:"bytes,13,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` |
| 1641 | // Types that are valid to be assigned to Address: |
| 1642 | // *Device_Ipv4Address |
| 1643 | // *Device_Ipv6Address |
| 1644 | // *Device_HostAndPort |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 1645 | Address isDevice_Address `protobuf_oneof:"address"` |
| 1646 | ExtraArgs string `protobuf:"bytes,23,opt,name=extra_args,json=extraArgs,proto3" json:"extra_args,omitempty"` |
| 1647 | ProxyAddress *Device_ProxyAddress `protobuf:"bytes,19,opt,name=proxy_address,json=proxyAddress,proto3" json:"proxy_address,omitempty"` |
| 1648 | AdminState common.AdminState_Types `protobuf:"varint,16,opt,name=admin_state,json=adminState,proto3,enum=common.AdminState_Types" json:"admin_state,omitempty"` |
| 1649 | OperStatus common.OperStatus_Types `protobuf:"varint,17,opt,name=oper_status,json=operStatus,proto3,enum=common.OperStatus_Types" json:"oper_status,omitempty"` |
khenaidoo Nursimulu | e9ae045 | 2021-01-13 15:23:48 +0000 | [diff] [blame] | 1650 | Reason string `protobuf:"bytes,22,opt,name=reason,proto3" json:"reason,omitempty"` |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 1651 | ConnectStatus common.ConnectStatus_Types `protobuf:"varint,18,opt,name=connect_status,json=connectStatus,proto3,enum=common.ConnectStatus_Types" json:"connect_status,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1652 | // Device type specific attributes |
Kent Hagerman | 66e56b4 | 2020-07-09 14:30:23 -0400 | [diff] [blame] | 1653 | Custom *any.Any `protobuf:"bytes,64,opt,name=custom,proto3" json:"custom,omitempty"` |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1654 | // PmConfigs type |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1655 | PmConfigs *PmConfigs `protobuf:"bytes,131,opt,name=pm_configs,json=pmConfigs,proto3" json:"pm_configs,omitempty"` |
| 1656 | ImageDownloads []*ImageDownload `protobuf:"bytes,133,rep,name=image_downloads,json=imageDownloads,proto3" json:"image_downloads,omitempty"` |
| 1657 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1658 | XXX_unrecognized []byte `json:"-"` |
| 1659 | XXX_sizecache int32 `json:"-"` |
| 1660 | } |
| 1661 | |
| 1662 | func (m *Device) Reset() { *m = Device{} } |
| 1663 | func (m *Device) String() string { return proto.CompactTextString(m) } |
| 1664 | func (*Device) ProtoMessage() {} |
| 1665 | func (*Device) Descriptor() ([]byte, []int) { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 1666 | return fileDescriptor_200940f73d155856, []int{15} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1667 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1668 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1669 | func (m *Device) XXX_Unmarshal(b []byte) error { |
| 1670 | return xxx_messageInfo_Device.Unmarshal(m, b) |
| 1671 | } |
| 1672 | func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1673 | return xxx_messageInfo_Device.Marshal(b, m, deterministic) |
| 1674 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1675 | func (m *Device) XXX_Merge(src proto.Message) { |
| 1676 | xxx_messageInfo_Device.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1677 | } |
| 1678 | func (m *Device) XXX_Size() int { |
| 1679 | return xxx_messageInfo_Device.Size(m) |
| 1680 | } |
| 1681 | func (m *Device) XXX_DiscardUnknown() { |
| 1682 | xxx_messageInfo_Device.DiscardUnknown(m) |
| 1683 | } |
| 1684 | |
| 1685 | var xxx_messageInfo_Device proto.InternalMessageInfo |
| 1686 | |
| 1687 | func (m *Device) GetId() string { |
| 1688 | if m != nil { |
| 1689 | return m.Id |
| 1690 | } |
| 1691 | return "" |
| 1692 | } |
| 1693 | |
| 1694 | func (m *Device) GetType() string { |
| 1695 | if m != nil { |
| 1696 | return m.Type |
| 1697 | } |
| 1698 | return "" |
| 1699 | } |
| 1700 | |
| 1701 | func (m *Device) GetRoot() bool { |
| 1702 | if m != nil { |
| 1703 | return m.Root |
| 1704 | } |
| 1705 | return false |
| 1706 | } |
| 1707 | |
| 1708 | func (m *Device) GetParentId() string { |
| 1709 | if m != nil { |
| 1710 | return m.ParentId |
| 1711 | } |
| 1712 | return "" |
| 1713 | } |
| 1714 | |
| 1715 | func (m *Device) GetParentPortNo() uint32 { |
| 1716 | if m != nil { |
| 1717 | return m.ParentPortNo |
| 1718 | } |
| 1719 | return 0 |
| 1720 | } |
| 1721 | |
| 1722 | func (m *Device) GetVendor() string { |
| 1723 | if m != nil { |
| 1724 | return m.Vendor |
| 1725 | } |
| 1726 | return "" |
| 1727 | } |
| 1728 | |
| 1729 | func (m *Device) GetModel() string { |
| 1730 | if m != nil { |
| 1731 | return m.Model |
| 1732 | } |
| 1733 | return "" |
| 1734 | } |
| 1735 | |
| 1736 | func (m *Device) GetHardwareVersion() string { |
| 1737 | if m != nil { |
| 1738 | return m.HardwareVersion |
| 1739 | } |
| 1740 | return "" |
| 1741 | } |
| 1742 | |
| 1743 | func (m *Device) GetFirmwareVersion() string { |
| 1744 | if m != nil { |
| 1745 | return m.FirmwareVersion |
| 1746 | } |
| 1747 | return "" |
| 1748 | } |
| 1749 | |
| 1750 | func (m *Device) GetImages() *Images { |
| 1751 | if m != nil { |
| 1752 | return m.Images |
| 1753 | } |
| 1754 | return nil |
| 1755 | } |
| 1756 | |
| 1757 | func (m *Device) GetSerialNumber() string { |
| 1758 | if m != nil { |
| 1759 | return m.SerialNumber |
| 1760 | } |
| 1761 | return "" |
| 1762 | } |
| 1763 | |
| 1764 | func (m *Device) GetVendorId() string { |
| 1765 | if m != nil { |
| 1766 | return m.VendorId |
| 1767 | } |
| 1768 | return "" |
| 1769 | } |
| 1770 | |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 1771 | func (m *Device) GetAdapterEndpoint() string { |
| 1772 | if m != nil { |
| 1773 | return m.AdapterEndpoint |
| 1774 | } |
| 1775 | return "" |
| 1776 | } |
| 1777 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1778 | func (m *Device) GetVlan() uint32 { |
| 1779 | if m != nil { |
| 1780 | return m.Vlan |
| 1781 | } |
| 1782 | return 0 |
| 1783 | } |
| 1784 | |
| 1785 | func (m *Device) GetMacAddress() string { |
| 1786 | if m != nil { |
| 1787 | return m.MacAddress |
| 1788 | } |
| 1789 | return "" |
| 1790 | } |
| 1791 | |
| 1792 | type isDevice_Address interface { |
| 1793 | isDevice_Address() |
| 1794 | } |
| 1795 | |
| 1796 | type Device_Ipv4Address struct { |
| 1797 | Ipv4Address string `protobuf:"bytes,14,opt,name=ipv4_address,json=ipv4Address,proto3,oneof"` |
| 1798 | } |
| 1799 | |
| 1800 | type Device_Ipv6Address struct { |
| 1801 | Ipv6Address string `protobuf:"bytes,15,opt,name=ipv6_address,json=ipv6Address,proto3,oneof"` |
| 1802 | } |
| 1803 | |
| 1804 | type Device_HostAndPort struct { |
| 1805 | HostAndPort string `protobuf:"bytes,21,opt,name=host_and_port,json=hostAndPort,proto3,oneof"` |
| 1806 | } |
| 1807 | |
| 1808 | func (*Device_Ipv4Address) isDevice_Address() {} |
| 1809 | |
| 1810 | func (*Device_Ipv6Address) isDevice_Address() {} |
| 1811 | |
| 1812 | func (*Device_HostAndPort) isDevice_Address() {} |
| 1813 | |
| 1814 | func (m *Device) GetAddress() isDevice_Address { |
| 1815 | if m != nil { |
| 1816 | return m.Address |
| 1817 | } |
| 1818 | return nil |
| 1819 | } |
| 1820 | |
| 1821 | func (m *Device) GetIpv4Address() string { |
| 1822 | if x, ok := m.GetAddress().(*Device_Ipv4Address); ok { |
| 1823 | return x.Ipv4Address |
| 1824 | } |
| 1825 | return "" |
| 1826 | } |
| 1827 | |
| 1828 | func (m *Device) GetIpv6Address() string { |
| 1829 | if x, ok := m.GetAddress().(*Device_Ipv6Address); ok { |
| 1830 | return x.Ipv6Address |
| 1831 | } |
| 1832 | return "" |
| 1833 | } |
| 1834 | |
| 1835 | func (m *Device) GetHostAndPort() string { |
| 1836 | if x, ok := m.GetAddress().(*Device_HostAndPort); ok { |
| 1837 | return x.HostAndPort |
| 1838 | } |
| 1839 | return "" |
| 1840 | } |
| 1841 | |
| 1842 | func (m *Device) GetExtraArgs() string { |
| 1843 | if m != nil { |
| 1844 | return m.ExtraArgs |
| 1845 | } |
| 1846 | return "" |
| 1847 | } |
| 1848 | |
| 1849 | func (m *Device) GetProxyAddress() *Device_ProxyAddress { |
| 1850 | if m != nil { |
| 1851 | return m.ProxyAddress |
| 1852 | } |
| 1853 | return nil |
| 1854 | } |
| 1855 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 1856 | func (m *Device) GetAdminState() common.AdminState_Types { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1857 | if m != nil { |
| 1858 | return m.AdminState |
| 1859 | } |
| 1860 | return common.AdminState_UNKNOWN |
| 1861 | } |
| 1862 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 1863 | func (m *Device) GetOperStatus() common.OperStatus_Types { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1864 | if m != nil { |
| 1865 | return m.OperStatus |
| 1866 | } |
| 1867 | return common.OperStatus_UNKNOWN |
| 1868 | } |
| 1869 | |
khenaidoo Nursimulu | e9ae045 | 2021-01-13 15:23:48 +0000 | [diff] [blame] | 1870 | func (m *Device) GetReason() string { |
| 1871 | if m != nil { |
| 1872 | return m.Reason |
| 1873 | } |
| 1874 | return "" |
| 1875 | } |
| 1876 | |
Serkant Uluderya | cbcfaa4 | 2019-10-18 13:25:08 +0300 | [diff] [blame] | 1877 | func (m *Device) GetConnectStatus() common.ConnectStatus_Types { |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1878 | if m != nil { |
| 1879 | return m.ConnectStatus |
| 1880 | } |
| 1881 | return common.ConnectStatus_UNKNOWN |
| 1882 | } |
| 1883 | |
| 1884 | func (m *Device) GetCustom() *any.Any { |
| 1885 | if m != nil { |
| 1886 | return m.Custom |
| 1887 | } |
| 1888 | return nil |
| 1889 | } |
| 1890 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1891 | func (m *Device) GetPmConfigs() *PmConfigs { |
| 1892 | if m != nil { |
| 1893 | return m.PmConfigs |
| 1894 | } |
| 1895 | return nil |
| 1896 | } |
| 1897 | |
| 1898 | func (m *Device) GetImageDownloads() []*ImageDownload { |
| 1899 | if m != nil { |
| 1900 | return m.ImageDownloads |
| 1901 | } |
| 1902 | return nil |
| 1903 | } |
| 1904 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1905 | // XXX_OneofWrappers is for the internal use of the proto package. |
| 1906 | func (*Device) XXX_OneofWrappers() []interface{} { |
| 1907 | return []interface{}{ |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1908 | (*Device_Ipv4Address)(nil), |
| 1909 | (*Device_Ipv6Address)(nil), |
| 1910 | (*Device_HostAndPort)(nil), |
| 1911 | } |
| 1912 | } |
| 1913 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1914 | type Device_ProxyAddress struct { |
| 1915 | DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 1916 | DeviceType string `protobuf:"bytes,2,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` |
| 1917 | ChannelId uint32 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` |
| 1918 | ChannelGroupId uint32 `protobuf:"varint,4,opt,name=channel_group_id,json=channelGroupId,proto3" json:"channel_group_id,omitempty"` |
| 1919 | ChannelTermination string `protobuf:"bytes,5,opt,name=channel_termination,json=channelTermination,proto3" json:"channel_termination,omitempty"` |
| 1920 | OnuId uint32 `protobuf:"varint,6,opt,name=onu_id,json=onuId,proto3" json:"onu_id,omitempty"` |
| 1921 | OnuSessionId uint32 `protobuf:"varint,7,opt,name=onu_session_id,json=onuSessionId,proto3" json:"onu_session_id,omitempty"` |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 1922 | AdapterEndpoint string `protobuf:"bytes,8,opt,name=adapter_endpoint,json=adapterEndpoint,proto3" json:"adapter_endpoint,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1923 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1924 | XXX_unrecognized []byte `json:"-"` |
| 1925 | XXX_sizecache int32 `json:"-"` |
| 1926 | } |
| 1927 | |
| 1928 | func (m *Device_ProxyAddress) Reset() { *m = Device_ProxyAddress{} } |
| 1929 | func (m *Device_ProxyAddress) String() string { return proto.CompactTextString(m) } |
| 1930 | func (*Device_ProxyAddress) ProtoMessage() {} |
| 1931 | func (*Device_ProxyAddress) Descriptor() ([]byte, []int) { |
Andrea Campanella | 9e94e8a | 2021-01-19 15:21:25 +0100 | [diff] [blame] | 1932 | return fileDescriptor_200940f73d155856, []int{15, 0} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1933 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1934 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1935 | func (m *Device_ProxyAddress) XXX_Unmarshal(b []byte) error { |
| 1936 | return xxx_messageInfo_Device_ProxyAddress.Unmarshal(m, b) |
| 1937 | } |
| 1938 | func (m *Device_ProxyAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1939 | return xxx_messageInfo_Device_ProxyAddress.Marshal(b, m, deterministic) |
| 1940 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 1941 | func (m *Device_ProxyAddress) XXX_Merge(src proto.Message) { |
| 1942 | xxx_messageInfo_Device_ProxyAddress.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1943 | } |
| 1944 | func (m *Device_ProxyAddress) XXX_Size() int { |
| 1945 | return xxx_messageInfo_Device_ProxyAddress.Size(m) |
| 1946 | } |
| 1947 | func (m *Device_ProxyAddress) XXX_DiscardUnknown() { |
| 1948 | xxx_messageInfo_Device_ProxyAddress.DiscardUnknown(m) |
| 1949 | } |
| 1950 | |
| 1951 | var xxx_messageInfo_Device_ProxyAddress proto.InternalMessageInfo |
| 1952 | |
| 1953 | func (m *Device_ProxyAddress) GetDeviceId() string { |
| 1954 | if m != nil { |
| 1955 | return m.DeviceId |
| 1956 | } |
| 1957 | return "" |
| 1958 | } |
| 1959 | |
| 1960 | func (m *Device_ProxyAddress) GetDeviceType() string { |
| 1961 | if m != nil { |
| 1962 | return m.DeviceType |
| 1963 | } |
| 1964 | return "" |
| 1965 | } |
| 1966 | |
| 1967 | func (m *Device_ProxyAddress) GetChannelId() uint32 { |
| 1968 | if m != nil { |
| 1969 | return m.ChannelId |
| 1970 | } |
| 1971 | return 0 |
| 1972 | } |
| 1973 | |
| 1974 | func (m *Device_ProxyAddress) GetChannelGroupId() uint32 { |
| 1975 | if m != nil { |
| 1976 | return m.ChannelGroupId |
| 1977 | } |
| 1978 | return 0 |
| 1979 | } |
| 1980 | |
| 1981 | func (m *Device_ProxyAddress) GetChannelTermination() string { |
| 1982 | if m != nil { |
| 1983 | return m.ChannelTermination |
| 1984 | } |
| 1985 | return "" |
| 1986 | } |
| 1987 | |
| 1988 | func (m *Device_ProxyAddress) GetOnuId() uint32 { |
| 1989 | if m != nil { |
| 1990 | return m.OnuId |
| 1991 | } |
| 1992 | return 0 |
| 1993 | } |
| 1994 | |
| 1995 | func (m *Device_ProxyAddress) GetOnuSessionId() uint32 { |
| 1996 | if m != nil { |
| 1997 | return m.OnuSessionId |
| 1998 | } |
| 1999 | return 0 |
| 2000 | } |
| 2001 | |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 2002 | func (m *Device_ProxyAddress) GetAdapterEndpoint() string { |
| 2003 | if m != nil { |
| 2004 | return m.AdapterEndpoint |
| 2005 | } |
| 2006 | return "" |
| 2007 | } |
| 2008 | |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 2009 | type DeviceImageDownloadRequest struct { |
| 2010 | // Device Id |
| 2011 | // allows for operations on multiple devices. |
| 2012 | DeviceId []*common.ID `protobuf:"bytes,1,rep,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 2013 | //The image for the device containing all the information |
| 2014 | Image *Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` |
| 2015 | //Activate the image if the download to the device is successful |
| 2016 | ActivateOnSuccess bool `protobuf:"varint,3,opt,name=activateOnSuccess,proto3" json:"activateOnSuccess,omitempty"` |
| 2017 | //Automatically commit the image if the activation on the device is successful |
| 2018 | CommitOnSuccess bool `protobuf:"varint,4,opt,name=commitOnSuccess,proto3" json:"commitOnSuccess,omitempty"` |
| 2019 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2020 | XXX_unrecognized []byte `json:"-"` |
| 2021 | XXX_sizecache int32 `json:"-"` |
| 2022 | } |
| 2023 | |
| 2024 | func (m *DeviceImageDownloadRequest) Reset() { *m = DeviceImageDownloadRequest{} } |
| 2025 | func (m *DeviceImageDownloadRequest) String() string { return proto.CompactTextString(m) } |
| 2026 | func (*DeviceImageDownloadRequest) ProtoMessage() {} |
| 2027 | func (*DeviceImageDownloadRequest) Descriptor() ([]byte, []int) { |
| 2028 | return fileDescriptor_200940f73d155856, []int{16} |
| 2029 | } |
| 2030 | |
| 2031 | func (m *DeviceImageDownloadRequest) XXX_Unmarshal(b []byte) error { |
| 2032 | return xxx_messageInfo_DeviceImageDownloadRequest.Unmarshal(m, b) |
| 2033 | } |
| 2034 | func (m *DeviceImageDownloadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2035 | return xxx_messageInfo_DeviceImageDownloadRequest.Marshal(b, m, deterministic) |
| 2036 | } |
| 2037 | func (m *DeviceImageDownloadRequest) XXX_Merge(src proto.Message) { |
| 2038 | xxx_messageInfo_DeviceImageDownloadRequest.Merge(m, src) |
| 2039 | } |
| 2040 | func (m *DeviceImageDownloadRequest) XXX_Size() int { |
| 2041 | return xxx_messageInfo_DeviceImageDownloadRequest.Size(m) |
| 2042 | } |
| 2043 | func (m *DeviceImageDownloadRequest) XXX_DiscardUnknown() { |
| 2044 | xxx_messageInfo_DeviceImageDownloadRequest.DiscardUnknown(m) |
| 2045 | } |
| 2046 | |
| 2047 | var xxx_messageInfo_DeviceImageDownloadRequest proto.InternalMessageInfo |
| 2048 | |
| 2049 | func (m *DeviceImageDownloadRequest) GetDeviceId() []*common.ID { |
| 2050 | if m != nil { |
| 2051 | return m.DeviceId |
| 2052 | } |
| 2053 | return nil |
| 2054 | } |
| 2055 | |
| 2056 | func (m *DeviceImageDownloadRequest) GetImage() *Image { |
| 2057 | if m != nil { |
| 2058 | return m.Image |
| 2059 | } |
| 2060 | return nil |
| 2061 | } |
| 2062 | |
| 2063 | func (m *DeviceImageDownloadRequest) GetActivateOnSuccess() bool { |
| 2064 | if m != nil { |
| 2065 | return m.ActivateOnSuccess |
| 2066 | } |
| 2067 | return false |
| 2068 | } |
| 2069 | |
| 2070 | func (m *DeviceImageDownloadRequest) GetCommitOnSuccess() bool { |
| 2071 | if m != nil { |
| 2072 | return m.CommitOnSuccess |
| 2073 | } |
| 2074 | return false |
| 2075 | } |
| 2076 | |
| 2077 | type DeviceImageRequest struct { |
| 2078 | //Device Id |
| 2079 | //allows for operations on multiple adapters. |
| 2080 | DeviceId []*common.ID `protobuf:"bytes,1,rep,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 2081 | // Image Version, this is the sole identifier of the image. it's the vendor specified OMCI version |
| 2082 | // must be known at the time of initiating a download, activate, commit image on an onu. |
| 2083 | Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` |
| 2084 | //Automatically commit the image if the activation on the device is successful |
| 2085 | CommitOnSuccess bool `protobuf:"varint,3,opt,name=commitOnSuccess,proto3" json:"commitOnSuccess,omitempty"` |
| 2086 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2087 | XXX_unrecognized []byte `json:"-"` |
| 2088 | XXX_sizecache int32 `json:"-"` |
| 2089 | } |
| 2090 | |
| 2091 | func (m *DeviceImageRequest) Reset() { *m = DeviceImageRequest{} } |
| 2092 | func (m *DeviceImageRequest) String() string { return proto.CompactTextString(m) } |
| 2093 | func (*DeviceImageRequest) ProtoMessage() {} |
| 2094 | func (*DeviceImageRequest) Descriptor() ([]byte, []int) { |
| 2095 | return fileDescriptor_200940f73d155856, []int{17} |
| 2096 | } |
| 2097 | |
| 2098 | func (m *DeviceImageRequest) XXX_Unmarshal(b []byte) error { |
| 2099 | return xxx_messageInfo_DeviceImageRequest.Unmarshal(m, b) |
| 2100 | } |
| 2101 | func (m *DeviceImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2102 | return xxx_messageInfo_DeviceImageRequest.Marshal(b, m, deterministic) |
| 2103 | } |
| 2104 | func (m *DeviceImageRequest) XXX_Merge(src proto.Message) { |
| 2105 | xxx_messageInfo_DeviceImageRequest.Merge(m, src) |
| 2106 | } |
| 2107 | func (m *DeviceImageRequest) XXX_Size() int { |
| 2108 | return xxx_messageInfo_DeviceImageRequest.Size(m) |
| 2109 | } |
| 2110 | func (m *DeviceImageRequest) XXX_DiscardUnknown() { |
| 2111 | xxx_messageInfo_DeviceImageRequest.DiscardUnknown(m) |
| 2112 | } |
| 2113 | |
| 2114 | var xxx_messageInfo_DeviceImageRequest proto.InternalMessageInfo |
| 2115 | |
| 2116 | func (m *DeviceImageRequest) GetDeviceId() []*common.ID { |
| 2117 | if m != nil { |
| 2118 | return m.DeviceId |
| 2119 | } |
| 2120 | return nil |
| 2121 | } |
| 2122 | |
| 2123 | func (m *DeviceImageRequest) GetVersion() string { |
| 2124 | if m != nil { |
| 2125 | return m.Version |
| 2126 | } |
| 2127 | return "" |
| 2128 | } |
| 2129 | |
| 2130 | func (m *DeviceImageRequest) GetCommitOnSuccess() bool { |
| 2131 | if m != nil { |
| 2132 | return m.CommitOnSuccess |
| 2133 | } |
| 2134 | return false |
| 2135 | } |
| 2136 | |
| 2137 | type DeviceImageResponse struct { |
| 2138 | //Image state for the different devices |
| 2139 | DeviceImageStates []*DeviceImageState `protobuf:"bytes,1,rep,name=device_image_states,json=deviceImageStates,proto3" json:"device_image_states,omitempty"` |
| 2140 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2141 | XXX_unrecognized []byte `json:"-"` |
| 2142 | XXX_sizecache int32 `json:"-"` |
| 2143 | } |
| 2144 | |
| 2145 | func (m *DeviceImageResponse) Reset() { *m = DeviceImageResponse{} } |
| 2146 | func (m *DeviceImageResponse) String() string { return proto.CompactTextString(m) } |
| 2147 | func (*DeviceImageResponse) ProtoMessage() {} |
| 2148 | func (*DeviceImageResponse) Descriptor() ([]byte, []int) { |
| 2149 | return fileDescriptor_200940f73d155856, []int{18} |
| 2150 | } |
| 2151 | |
| 2152 | func (m *DeviceImageResponse) XXX_Unmarshal(b []byte) error { |
| 2153 | return xxx_messageInfo_DeviceImageResponse.Unmarshal(m, b) |
| 2154 | } |
| 2155 | func (m *DeviceImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2156 | return xxx_messageInfo_DeviceImageResponse.Marshal(b, m, deterministic) |
| 2157 | } |
| 2158 | func (m *DeviceImageResponse) XXX_Merge(src proto.Message) { |
| 2159 | xxx_messageInfo_DeviceImageResponse.Merge(m, src) |
| 2160 | } |
| 2161 | func (m *DeviceImageResponse) XXX_Size() int { |
| 2162 | return xxx_messageInfo_DeviceImageResponse.Size(m) |
| 2163 | } |
| 2164 | func (m *DeviceImageResponse) XXX_DiscardUnknown() { |
| 2165 | xxx_messageInfo_DeviceImageResponse.DiscardUnknown(m) |
| 2166 | } |
| 2167 | |
| 2168 | var xxx_messageInfo_DeviceImageResponse proto.InternalMessageInfo |
| 2169 | |
| 2170 | func (m *DeviceImageResponse) GetDeviceImageStates() []*DeviceImageState { |
| 2171 | if m != nil { |
| 2172 | return m.DeviceImageStates |
| 2173 | } |
| 2174 | return nil |
| 2175 | } |
| 2176 | |
| 2177 | // Device Self Test Response |
| 2178 | type SelfTestResponse struct { |
| 2179 | Result SelfTestResponse_SelfTestResult `protobuf:"varint,1,opt,name=result,proto3,enum=device.SelfTestResponse_SelfTestResult" json:"result,omitempty"` |
| 2180 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2181 | XXX_unrecognized []byte `json:"-"` |
| 2182 | XXX_sizecache int32 `json:"-"` |
| 2183 | } |
| 2184 | |
| 2185 | func (m *SelfTestResponse) Reset() { *m = SelfTestResponse{} } |
| 2186 | func (m *SelfTestResponse) String() string { return proto.CompactTextString(m) } |
| 2187 | func (*SelfTestResponse) ProtoMessage() {} |
| 2188 | func (*SelfTestResponse) Descriptor() ([]byte, []int) { |
| 2189 | return fileDescriptor_200940f73d155856, []int{19} |
| 2190 | } |
| 2191 | |
| 2192 | func (m *SelfTestResponse) XXX_Unmarshal(b []byte) error { |
| 2193 | return xxx_messageInfo_SelfTestResponse.Unmarshal(m, b) |
| 2194 | } |
| 2195 | func (m *SelfTestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2196 | return xxx_messageInfo_SelfTestResponse.Marshal(b, m, deterministic) |
| 2197 | } |
| 2198 | func (m *SelfTestResponse) XXX_Merge(src proto.Message) { |
| 2199 | xxx_messageInfo_SelfTestResponse.Merge(m, src) |
| 2200 | } |
| 2201 | func (m *SelfTestResponse) XXX_Size() int { |
| 2202 | return xxx_messageInfo_SelfTestResponse.Size(m) |
| 2203 | } |
| 2204 | func (m *SelfTestResponse) XXX_DiscardUnknown() { |
| 2205 | xxx_messageInfo_SelfTestResponse.DiscardUnknown(m) |
| 2206 | } |
| 2207 | |
| 2208 | var xxx_messageInfo_SelfTestResponse proto.InternalMessageInfo |
| 2209 | |
| 2210 | func (m *SelfTestResponse) GetResult() SelfTestResponse_SelfTestResult { |
| 2211 | if m != nil { |
| 2212 | return m.Result |
| 2213 | } |
| 2214 | return SelfTestResponse_SUCCESS |
| 2215 | } |
| 2216 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2217 | type Devices struct { |
| 2218 | Items []*Device `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 2219 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2220 | XXX_unrecognized []byte `json:"-"` |
| 2221 | XXX_sizecache int32 `json:"-"` |
| 2222 | } |
| 2223 | |
| 2224 | func (m *Devices) Reset() { *m = Devices{} } |
| 2225 | func (m *Devices) String() string { return proto.CompactTextString(m) } |
| 2226 | func (*Devices) ProtoMessage() {} |
| 2227 | func (*Devices) Descriptor() ([]byte, []int) { |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 2228 | return fileDescriptor_200940f73d155856, []int{20} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2229 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 2230 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2231 | func (m *Devices) XXX_Unmarshal(b []byte) error { |
| 2232 | return xxx_messageInfo_Devices.Unmarshal(m, b) |
| 2233 | } |
| 2234 | func (m *Devices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2235 | return xxx_messageInfo_Devices.Marshal(b, m, deterministic) |
| 2236 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 2237 | func (m *Devices) XXX_Merge(src proto.Message) { |
| 2238 | xxx_messageInfo_Devices.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2239 | } |
| 2240 | func (m *Devices) XXX_Size() int { |
| 2241 | return xxx_messageInfo_Devices.Size(m) |
| 2242 | } |
| 2243 | func (m *Devices) XXX_DiscardUnknown() { |
| 2244 | xxx_messageInfo_Devices.DiscardUnknown(m) |
| 2245 | } |
| 2246 | |
| 2247 | var xxx_messageInfo_Devices proto.InternalMessageInfo |
| 2248 | |
| 2249 | func (m *Devices) GetItems() []*Device { |
| 2250 | if m != nil { |
| 2251 | return m.Items |
| 2252 | } |
| 2253 | return nil |
| 2254 | } |
| 2255 | |
| 2256 | type SimulateAlarmRequest struct { |
| 2257 | // Device Identifier |
| 2258 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 2259 | Indicator string `protobuf:"bytes,2,opt,name=indicator,proto3" json:"indicator,omitempty"` |
| 2260 | IntfId string `protobuf:"bytes,3,opt,name=intf_id,json=intfId,proto3" json:"intf_id,omitempty"` |
| 2261 | PortTypeName string `protobuf:"bytes,4,opt,name=port_type_name,json=portTypeName,proto3" json:"port_type_name,omitempty"` |
| 2262 | OnuDeviceId string `protobuf:"bytes,5,opt,name=onu_device_id,json=onuDeviceId,proto3" json:"onu_device_id,omitempty"` |
| 2263 | InverseBitErrorRate int32 `protobuf:"varint,6,opt,name=inverse_bit_error_rate,json=inverseBitErrorRate,proto3" json:"inverse_bit_error_rate,omitempty"` |
| 2264 | Drift int32 `protobuf:"varint,7,opt,name=drift,proto3" json:"drift,omitempty"` |
| 2265 | NewEqd int32 `protobuf:"varint,8,opt,name=new_eqd,json=newEqd,proto3" json:"new_eqd,omitempty"` |
| 2266 | OnuSerialNumber string `protobuf:"bytes,9,opt,name=onu_serial_number,json=onuSerialNumber,proto3" json:"onu_serial_number,omitempty"` |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 2267 | Operation SimulateAlarmRequest_OperationType `protobuf:"varint,10,opt,name=operation,proto3,enum=device.SimulateAlarmRequest_OperationType" json:"operation,omitempty"` |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2268 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 2269 | XXX_unrecognized []byte `json:"-"` |
| 2270 | XXX_sizecache int32 `json:"-"` |
| 2271 | } |
| 2272 | |
| 2273 | func (m *SimulateAlarmRequest) Reset() { *m = SimulateAlarmRequest{} } |
| 2274 | func (m *SimulateAlarmRequest) String() string { return proto.CompactTextString(m) } |
| 2275 | func (*SimulateAlarmRequest) ProtoMessage() {} |
| 2276 | func (*SimulateAlarmRequest) Descriptor() ([]byte, []int) { |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 2277 | return fileDescriptor_200940f73d155856, []int{21} |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2278 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 2279 | |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2280 | func (m *SimulateAlarmRequest) XXX_Unmarshal(b []byte) error { |
| 2281 | return xxx_messageInfo_SimulateAlarmRequest.Unmarshal(m, b) |
| 2282 | } |
| 2283 | func (m *SimulateAlarmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 2284 | return xxx_messageInfo_SimulateAlarmRequest.Marshal(b, m, deterministic) |
| 2285 | } |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 2286 | func (m *SimulateAlarmRequest) XXX_Merge(src proto.Message) { |
| 2287 | xxx_messageInfo_SimulateAlarmRequest.Merge(m, src) |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2288 | } |
| 2289 | func (m *SimulateAlarmRequest) XXX_Size() int { |
| 2290 | return xxx_messageInfo_SimulateAlarmRequest.Size(m) |
| 2291 | } |
| 2292 | func (m *SimulateAlarmRequest) XXX_DiscardUnknown() { |
| 2293 | xxx_messageInfo_SimulateAlarmRequest.DiscardUnknown(m) |
| 2294 | } |
| 2295 | |
| 2296 | var xxx_messageInfo_SimulateAlarmRequest proto.InternalMessageInfo |
| 2297 | |
| 2298 | func (m *SimulateAlarmRequest) GetId() string { |
| 2299 | if m != nil { |
| 2300 | return m.Id |
| 2301 | } |
| 2302 | return "" |
| 2303 | } |
| 2304 | |
| 2305 | func (m *SimulateAlarmRequest) GetIndicator() string { |
| 2306 | if m != nil { |
| 2307 | return m.Indicator |
| 2308 | } |
| 2309 | return "" |
| 2310 | } |
| 2311 | |
| 2312 | func (m *SimulateAlarmRequest) GetIntfId() string { |
| 2313 | if m != nil { |
| 2314 | return m.IntfId |
| 2315 | } |
| 2316 | return "" |
| 2317 | } |
| 2318 | |
| 2319 | func (m *SimulateAlarmRequest) GetPortTypeName() string { |
| 2320 | if m != nil { |
| 2321 | return m.PortTypeName |
| 2322 | } |
| 2323 | return "" |
| 2324 | } |
| 2325 | |
| 2326 | func (m *SimulateAlarmRequest) GetOnuDeviceId() string { |
| 2327 | if m != nil { |
| 2328 | return m.OnuDeviceId |
| 2329 | } |
| 2330 | return "" |
| 2331 | } |
| 2332 | |
| 2333 | func (m *SimulateAlarmRequest) GetInverseBitErrorRate() int32 { |
| 2334 | if m != nil { |
| 2335 | return m.InverseBitErrorRate |
| 2336 | } |
| 2337 | return 0 |
| 2338 | } |
| 2339 | |
| 2340 | func (m *SimulateAlarmRequest) GetDrift() int32 { |
| 2341 | if m != nil { |
| 2342 | return m.Drift |
| 2343 | } |
| 2344 | return 0 |
| 2345 | } |
| 2346 | |
| 2347 | func (m *SimulateAlarmRequest) GetNewEqd() int32 { |
| 2348 | if m != nil { |
| 2349 | return m.NewEqd |
| 2350 | } |
| 2351 | return 0 |
| 2352 | } |
| 2353 | |
| 2354 | func (m *SimulateAlarmRequest) GetOnuSerialNumber() string { |
| 2355 | if m != nil { |
| 2356 | return m.OnuSerialNumber |
| 2357 | } |
| 2358 | return "" |
| 2359 | } |
| 2360 | |
| 2361 | func (m *SimulateAlarmRequest) GetOperation() SimulateAlarmRequest_OperationType { |
| 2362 | if m != nil { |
| 2363 | return m.Operation |
| 2364 | } |
| 2365 | return SimulateAlarmRequest_RAISE |
| 2366 | } |
| 2367 | |
| 2368 | func init() { |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 2369 | proto.RegisterEnum("device.PmConfig_PmType", PmConfig_PmType_name, PmConfig_PmType_value) |
| 2370 | proto.RegisterEnum("device.ImageDownload_ImageDownloadState", ImageDownload_ImageDownloadState_name, ImageDownload_ImageDownloadState_value) |
| 2371 | proto.RegisterEnum("device.ImageDownload_ImageDownloadFailureReason", ImageDownload_ImageDownloadFailureReason_name, ImageDownload_ImageDownloadFailureReason_value) |
| 2372 | proto.RegisterEnum("device.ImageDownload_ImageActivateState", ImageDownload_ImageActivateState_name, ImageDownload_ImageActivateState_value) |
| 2373 | proto.RegisterEnum("device.ImageState_ImageDownloadState", ImageState_ImageDownloadState_name, ImageState_ImageDownloadState_value) |
| 2374 | proto.RegisterEnum("device.ImageState_ImageFailureReason", ImageState_ImageFailureReason_name, ImageState_ImageFailureReason_value) |
| 2375 | proto.RegisterEnum("device.ImageState_ImageActivationState", ImageState_ImageActivationState_name, ImageState_ImageActivationState_value) |
| 2376 | proto.RegisterEnum("device.Port_PortType", Port_PortType_name, Port_PortType_value) |
| 2377 | proto.RegisterEnum("device.SelfTestResponse_SelfTestResult", SelfTestResponse_SelfTestResult_name, SelfTestResponse_SelfTestResult_value) |
| 2378 | proto.RegisterEnum("device.SimulateAlarmRequest_OperationType", SimulateAlarmRequest_OperationType_name, SimulateAlarmRequest_OperationType_value) |
| 2379 | proto.RegisterType((*DeviceType)(nil), "device.DeviceType") |
| 2380 | proto.RegisterType((*DeviceTypes)(nil), "device.DeviceTypes") |
| 2381 | proto.RegisterType((*PmConfig)(nil), "device.PmConfig") |
| 2382 | proto.RegisterType((*PmGroupConfig)(nil), "device.PmGroupConfig") |
| 2383 | proto.RegisterType((*PmConfigs)(nil), "device.PmConfigs") |
| 2384 | proto.RegisterType((*Image)(nil), "device.Image") |
| 2385 | proto.RegisterType((*ImageDownload)(nil), "device.ImageDownload") |
| 2386 | proto.RegisterType((*ImageDownloads)(nil), "device.ImageDownloads") |
| 2387 | proto.RegisterType((*Images)(nil), "device.Images") |
| 2388 | proto.RegisterType((*OnuImage)(nil), "device.OnuImage") |
| 2389 | proto.RegisterType((*OnuImages)(nil), "device.OnuImages") |
| 2390 | proto.RegisterType((*DeviceImageState)(nil), "device.DeviceImageState") |
| 2391 | proto.RegisterType((*ImageState)(nil), "device.ImageState") |
| 2392 | proto.RegisterType((*Port)(nil), "device.Port") |
| 2393 | proto.RegisterType((*Port_PeerPort)(nil), "device.Port.PeerPort") |
| 2394 | proto.RegisterType((*Ports)(nil), "device.Ports") |
| 2395 | proto.RegisterType((*Device)(nil), "device.Device") |
| 2396 | proto.RegisterType((*Device_ProxyAddress)(nil), "device.Device.ProxyAddress") |
| 2397 | proto.RegisterType((*DeviceImageDownloadRequest)(nil), "device.DeviceImageDownloadRequest") |
| 2398 | proto.RegisterType((*DeviceImageRequest)(nil), "device.DeviceImageRequest") |
| 2399 | proto.RegisterType((*DeviceImageResponse)(nil), "device.DeviceImageResponse") |
| 2400 | proto.RegisterType((*SelfTestResponse)(nil), "device.SelfTestResponse") |
| 2401 | proto.RegisterType((*Devices)(nil), "device.Devices") |
| 2402 | proto.RegisterType((*SimulateAlarmRequest)(nil), "device.SimulateAlarmRequest") |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2403 | } |
| 2404 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 2405 | func init() { proto.RegisterFile("voltha_protos/device.proto", fileDescriptor_200940f73d155856) } |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2406 | |
William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 2407 | var fileDescriptor_200940f73d155856 = []byte{ |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 2408 | // 2853 bytes of a gzipped FileDescriptorProto |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 2409 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4d, 0x73, 0xdb, 0xc6, |
khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 2410 | 0xf9, 0x37, 0x49, 0xf1, 0x05, 0x0f, 0x5f, 0x04, 0xad, 0x24, 0x1b, 0x96, 0xe2, 0xbf, 0x1d, 0x38, |
| 2411 | 0x2f, 0x72, 0x9c, 0x48, 0x89, 0xfd, 0x6f, 0xd2, 0x76, 0xa6, 0x13, 0x53, 0x24, 0x64, 0xb1, 0x95, |
| 2412 | 0x41, 0x75, 0x49, 0x2a, 0x4d, 0x2e, 0x18, 0x88, 0x58, 0x4a, 0x18, 0x83, 0x00, 0xbd, 0x00, 0x25, |
| 2413 | 0x39, 0xb7, 0x4e, 0xa7, 0x3d, 0x75, 0xa6, 0x87, 0x9e, 0xfa, 0x01, 0x3a, 0xd3, 0x53, 0xa7, 0xb7, |
| 2414 | 0x5c, 0x3b, 0xfd, 0x04, 0x3d, 0xf6, 0xdc, 0x1e, 0xfa, 0x01, 0xda, 0x0f, 0xd0, 0xd9, 0x37, 0x02, |
| 2415 | 0x90, 0x64, 0x27, 0xe9, 0x74, 0x3a, 0xbd, 0x70, 0xb0, 0xbf, 0xe7, 0xd9, 0x67, 0x77, 0x9f, 0x7d, |
| 2416 | 0x5e, 0x97, 0xb0, 0x71, 0x16, 0x05, 0xc9, 0xa9, 0xeb, 0xcc, 0x68, 0x94, 0x44, 0xf1, 0x8e, 0x47, |
| 2417 | 0xce, 0xfc, 0x31, 0xd9, 0xe6, 0x23, 0x54, 0x11, 0xa3, 0x8d, 0xdb, 0x27, 0x51, 0x74, 0x12, 0x90, |
| 2418 | 0x1d, 0x8e, 0x1e, 0xcf, 0x27, 0x3b, 0x6e, 0xf8, 0x52, 0xb0, 0x6c, 0x5c, 0x9a, 0x3e, 0x8e, 0xa6, |
| 2419 | 0xd3, 0x28, 0x94, 0xb4, 0xbb, 0x79, 0x5a, 0x34, 0x23, 0xe1, 0x24, 0x88, 0xce, 0x9d, 0x8f, 0x1e, |
| 2420 | 0x0b, 0x06, 0xf3, 0xaf, 0x45, 0x80, 0x2e, 0x5f, 0x62, 0xf8, 0x72, 0x46, 0x50, 0x0b, 0x8a, 0xbe, |
| 2421 | 0x67, 0x14, 0xee, 0x15, 0xb6, 0x34, 0x5c, 0xf4, 0x3d, 0xb4, 0x09, 0xda, 0x19, 0x09, 0xbd, 0x88, |
| 2422 | 0x3a, 0xbe, 0x67, 0x94, 0x39, 0x5c, 0x13, 0x40, 0xcf, 0x43, 0x77, 0x00, 0x16, 0xc4, 0xd8, 0xa8, |
| 2423 | 0xdc, 0x2b, 0x6d, 0x69, 0x58, 0x53, 0xd4, 0x18, 0x19, 0x50, 0x75, 0x3d, 0x77, 0x96, 0x10, 0x6a, |
| 2424 | 0x14, 0xf9, 0x4c, 0x35, 0x44, 0x9f, 0x80, 0xe1, 0x8e, 0xc7, 0x64, 0x96, 0xc4, 0xce, 0xf1, 0x3c, |
| 2425 | 0x78, 0xee, 0xf0, 0x2d, 0xcd, 0x67, 0x9e, 0x9b, 0x10, 0xa3, 0x74, 0xaf, 0xb0, 0x55, 0xc3, 0xeb, |
| 2426 | 0x92, 0xbe, 0x3b, 0x0f, 0x9e, 0xef, 0x05, 0xd1, 0xf9, 0x88, 0x13, 0x51, 0x17, 0xee, 0xaa, 0x89, |
| 2427 | 0xae, 0xe7, 0x39, 0x94, 0x4c, 0xa3, 0x33, 0x92, 0x9d, 0x1e, 0x1b, 0x4b, 0x7c, 0xfe, 0xa6, 0x64, |
| 2428 | 0x6b, 0x7b, 0x1e, 0xe6, 0x4c, 0xa9, 0x90, 0x18, 0x1d, 0xc0, 0x7d, 0x25, 0xc5, 0xf3, 0x29, 0x19, |
| 2429 | 0x27, 0x4e, 0x10, 0x9d, 0xf8, 0x63, 0x37, 0xe0, 0x92, 0x62, 0xb5, 0x93, 0x2a, 0x97, 0xa4, 0x16, |
| 2430 | 0xec, 0x72, 0xce, 0x03, 0xc1, 0xc8, 0xa4, 0xc5, 0x72, 0x4f, 0x6f, 0x42, 0x43, 0x9e, 0xcb, 0x49, |
| 2431 | 0x5e, 0xce, 0x88, 0x51, 0xe3, 0x67, 0xad, 0x4b, 0x8c, 0x69, 0xd5, 0xfc, 0x04, 0xea, 0xa9, 0x8e, |
| 2432 | 0x63, 0xb4, 0x05, 0x65, 0x3f, 0x21, 0xd3, 0xd8, 0x28, 0xdc, 0x2b, 0x6d, 0xd5, 0x1f, 0xa1, 0x6d, |
| 2433 | 0x79, 0xe3, 0x29, 0x0f, 0x16, 0x0c, 0xe6, 0x1f, 0x0b, 0x50, 0x3b, 0x9c, 0x76, 0xa2, 0x70, 0xe2, |
| 2434 | 0x9f, 0x20, 0x04, 0x4b, 0xa1, 0x3b, 0x25, 0xf2, 0x76, 0xf8, 0x37, 0x7a, 0x08, 0x4b, 0x7c, 0x51, |
| 2435 | 0xa6, 0xe0, 0xd6, 0xa3, 0x5b, 0x4a, 0x92, 0x9a, 0xb3, 0x7d, 0x38, 0xe5, 0xe2, 0x38, 0x13, 0xbb, |
| 2436 | 0x10, 0x12, 0xba, 0xc7, 0x01, 0xf1, 0xa4, 0x96, 0xd5, 0x10, 0xdd, 0x85, 0x7a, 0xec, 0x4e, 0x67, |
| 2437 | 0x01, 0x71, 0x26, 0x94, 0xbc, 0xe0, 0x3a, 0x6c, 0x62, 0x10, 0xd0, 0x1e, 0x25, 0x2f, 0xcc, 0xef, |
| 2438 | 0x42, 0x45, 0x88, 0x42, 0x75, 0xa8, 0x76, 0xfa, 0x23, 0x7b, 0x68, 0x61, 0xfd, 0x06, 0xd2, 0xa0, |
| 2439 | 0xfc, 0xb4, 0x3d, 0x7a, 0x6a, 0xe9, 0x05, 0xf6, 0x39, 0x18, 0xb6, 0x87, 0x96, 0x5e, 0x14, 0x2c, |
| 2440 | 0xf6, 0xd0, 0xfa, 0xc9, 0x50, 0x2f, 0x99, 0xbf, 0x2e, 0x40, 0xf3, 0x70, 0xfa, 0x94, 0x46, 0xf3, |
| 2441 | 0x99, 0x3c, 0xc7, 0x1d, 0x80, 0x13, 0x36, 0x74, 0x32, 0xa7, 0xd1, 0x38, 0x62, 0xb3, 0x23, 0x2d, |
| 2442 | 0xc8, 0x7c, 0x2b, 0x45, 0xbe, 0x15, 0x41, 0x66, 0x3b, 0x79, 0xcd, 0x21, 0xde, 0x83, 0xea, 0x94, |
| 2443 | 0x24, 0xd4, 0x1f, 0x33, 0x23, 0x60, 0x8a, 0xd5, 0x2f, 0xab, 0x03, 0x2b, 0x06, 0xf3, 0x1f, 0x05, |
| 2444 | 0xd0, 0x14, 0x1a, 0x5f, 0xb1, 0xfa, 0x37, 0xa1, 0xe1, 0x91, 0x89, 0x3b, 0x0f, 0x92, 0xec, 0x26, |
| 2445 | 0xea, 0x12, 0x53, 0xdb, 0xe0, 0x7b, 0x4a, 0xb7, 0x21, 0x87, 0xe8, 0x3e, 0x34, 0xd9, 0x24, 0x27, |
| 2446 | 0x3a, 0x23, 0x94, 0xfa, 0x1e, 0x91, 0x16, 0xd9, 0x60, 0x60, 0x5f, 0x62, 0xe8, 0x03, 0xa8, 0x70, |
| 2447 | 0xfe, 0xd8, 0x28, 0xf3, 0xad, 0xae, 0xa7, 0x5b, 0xcd, 0xa8, 0x0a, 0x4b, 0xa6, 0xec, 0xd1, 0x2a, |
| 2448 | 0x5f, 0x73, 0x34, 0x74, 0x1b, 0x6a, 0x53, 0xf7, 0xc2, 0x89, 0x9f, 0x93, 0x73, 0x6e, 0xc2, 0x4d, |
| 2449 | 0x5c, 0x9d, 0xba, 0x17, 0x83, 0xe7, 0xe4, 0xdc, 0xfc, 0x55, 0x11, 0xca, 0xbd, 0xa9, 0x7b, 0x42, |
| 2450 | 0xae, 0xb5, 0x25, 0x03, 0xaa, 0x67, 0x84, 0xc6, 0x7e, 0x14, 0x2a, 0x7f, 0x95, 0x43, 0xc6, 0x7d, |
| 2451 | 0xea, 0xc6, 0xa7, 0xfc, 0xa4, 0x4d, 0xcc, 0xbf, 0xd1, 0x03, 0xd0, 0xfd, 0x30, 0x4e, 0xdc, 0x20, |
| 2452 | 0x70, 0x98, 0x1b, 0x24, 0xfe, 0x54, 0x9c, 0x54, 0xc3, 0xcb, 0x12, 0xef, 0x4a, 0x98, 0x05, 0x11, |
| 2453 | 0x3f, 0x76, 0xdc, 0x71, 0xe2, 0x9f, 0x11, 0x1e, 0x44, 0x6a, 0xb8, 0xe6, 0xc7, 0x6d, 0x3e, 0x66, |
| 2454 | 0xba, 0xf6, 0x63, 0x87, 0x05, 0x2d, 0x3f, 0x49, 0x88, 0x67, 0x54, 0x38, 0xbd, 0xee, 0xc7, 0x1d, |
| 2455 | 0x05, 0xb1, 0x13, 0xf9, 0xb1, 0x73, 0xe6, 0x06, 0xbe, 0x27, 0x9d, 0xb2, 0xea, 0xc7, 0x47, 0x6c, |
| 2456 | 0x88, 0x74, 0x28, 0xcd, 0x69, 0x20, 0x7d, 0x8e, 0x7d, 0xa2, 0x9b, 0x50, 0x11, 0x21, 0xc8, 0xd0, |
| 2457 | 0x38, 0x28, 0x47, 0x68, 0x0d, 0xca, 0x63, 0x3a, 0x7e, 0xfc, 0xc8, 0x00, 0x7e, 0x08, 0x31, 0x30, |
| 2458 | 0xff, 0x5e, 0x85, 0x26, 0xd7, 0x48, 0x37, 0x3a, 0x0f, 0x83, 0xc8, 0xf5, 0xae, 0xd8, 0x82, 0xd2, |
| 2459 | 0x54, 0x31, 0xa3, 0x29, 0xb9, 0x6a, 0x29, 0x5d, 0x55, 0x87, 0xd2, 0x98, 0x8e, 0xa5, 0xe3, 0xb0, |
| 2460 | 0x4f, 0xd4, 0x87, 0x96, 0x27, 0x65, 0x3a, 0x71, 0xc2, 0xe2, 0x49, 0x99, 0xfb, 0xe8, 0x96, 0xba, |
| 2461 | 0xb9, 0xdc, 0xb2, 0xf9, 0xd1, 0x80, 0xf1, 0xe3, 0xa6, 0x97, 0x1d, 0x32, 0xbb, 0xf2, 0x19, 0x93, |
| 2462 | 0xa3, 0x2e, 0xa9, 0xc2, 0x97, 0x6f, 0x70, 0xf0, 0x48, 0xde, 0xd4, 0x03, 0xd0, 0xd5, 0x2c, 0xe2, |
| 2463 | 0x39, 0xc7, 0x2f, 0x59, 0x44, 0x14, 0x46, 0xb0, 0x9c, 0xe2, 0xbb, 0x0c, 0x46, 0xfb, 0x50, 0xa1, |
| 2464 | 0xc4, 0x8d, 0xa3, 0x90, 0x6b, 0xaf, 0xf5, 0xe8, 0xc3, 0x6f, 0xb0, 0xb1, 0x3d, 0xd7, 0x0f, 0xe6, |
| 2465 | 0x94, 0x60, 0x3e, 0x0f, 0xcb, 0xf9, 0xe8, 0x5d, 0x58, 0x76, 0x3d, 0xcf, 0x4f, 0xfc, 0x28, 0x74, |
| 2466 | 0x03, 0xc7, 0x0f, 0x27, 0x91, 0xd4, 0x7d, 0x2b, 0x85, 0x7b, 0xe1, 0x24, 0x12, 0x61, 0xe6, 0x8c, |
| 2467 | 0x38, 0x63, 0x6e, 0xb2, 0xfc, 0x26, 0x6a, 0x2c, 0xcc, 0x9c, 0x11, 0x19, 0x1a, 0x36, 0x41, 0x0b, |
| 2468 | 0x22, 0x16, 0x88, 0x3d, 0x9f, 0x1a, 0x75, 0x91, 0x6e, 0x38, 0xd0, 0xf5, 0x29, 0xea, 0x41, 0x5d, |
| 2469 | 0x28, 0x40, 0xa8, 0xb3, 0xf1, 0xb5, 0xea, 0xe4, 0x16, 0xe6, 0x26, 0x44, 0xa8, 0x13, 0xf8, 0x64, |
| 2470 | 0xa1, 0xcb, 0x4d, 0xd0, 0x26, 0x7e, 0x40, 0x9c, 0xd8, 0xff, 0x92, 0x18, 0x4d, 0xae, 0x9f, 0x1a, |
| 2471 | 0x03, 0x06, 0xfe, 0x97, 0xc4, 0xfc, 0xaa, 0x00, 0xe8, 0xea, 0x75, 0xa0, 0x35, 0xd0, 0xbb, 0xfd, |
| 2472 | 0xcf, 0xec, 0x83, 0x7e, 0xbb, 0xeb, 0x8c, 0xec, 0x1f, 0xd9, 0xfd, 0xcf, 0x6c, 0xfd, 0x06, 0xba, |
| 2473 | 0x09, 0x68, 0x81, 0x0e, 0x46, 0x9d, 0x8e, 0x65, 0x75, 0xad, 0xae, 0x5e, 0xc8, 0xe1, 0xd8, 0xfa, |
| 2474 | 0xf1, 0xc8, 0x1a, 0x0c, 0xad, 0xae, 0x5e, 0xcc, 0x49, 0x19, 0x0c, 0xdb, 0x98, 0xa1, 0x25, 0xb4, |
| 2475 | 0x0a, 0xcb, 0x0b, 0x74, 0xaf, 0xdd, 0x3b, 0xb0, 0xba, 0xfa, 0x12, 0x32, 0x60, 0x2d, 0xb3, 0xe0, |
| 2476 | 0x60, 0x74, 0x78, 0xd8, 0xe7, 0xec, 0xe5, 0x9c, 0xf0, 0x4e, 0xdb, 0xee, 0x58, 0x07, 0x6c, 0x46, |
| 2477 | 0xc5, 0xfc, 0x45, 0x01, 0x36, 0x5e, 0x7d, 0x5f, 0xa8, 0x01, 0x35, 0xbb, 0xef, 0x58, 0x18, 0xf7, |
| 2478 | 0x59, 0xec, 0x5e, 0x86, 0x7a, 0xcf, 0x3e, 0x6a, 0x1f, 0xf4, 0xba, 0xce, 0x08, 0x1f, 0xe8, 0x05, |
| 2479 | 0x06, 0x74, 0xad, 0xa3, 0x5e, 0xc7, 0x72, 0x76, 0x47, 0x83, 0xcf, 0xf5, 0x22, 0x5b, 0xa6, 0x67, |
| 2480 | 0x0f, 0x46, 0x7b, 0x7b, 0xbd, 0x4e, 0xcf, 0xb2, 0x87, 0xce, 0xe0, 0xb0, 0xdd, 0xb1, 0xf4, 0x12, |
| 2481 | 0x5a, 0x81, 0xa6, 0x54, 0x80, 0x14, 0xb6, 0x84, 0x9a, 0xa0, 0xa5, 0x1b, 0x29, 0x9b, 0xbf, 0x54, |
| 2482 | 0x2a, 0xcc, 0x5d, 0x01, 0x9b, 0xd8, 0x7b, 0xd6, 0x7e, 0x6a, 0x65, 0xf4, 0x87, 0xa0, 0x25, 0xa0, |
| 2483 | 0x9e, 0xdd, 0xee, 0x0c, 0x7b, 0x47, 0x2c, 0x95, 0xac, 0x81, 0x2e, 0x30, 0x8e, 0xb4, 0x87, 0x3d, |
| 2484 | 0xfb, 0xa9, 0x5e, 0x44, 0x3a, 0x34, 0x32, 0xa8, 0x25, 0xb4, 0x26, 0x10, 0x6c, 0x1d, 0x59, 0x98, |
| 2485 | 0xb3, 0x2d, 0xa5, 0x02, 0x05, 0xc8, 0xb6, 0xf3, 0xfd, 0xa2, 0x51, 0x30, 0xdb, 0xd0, 0xca, 0xa9, |
| 2486 | 0x26, 0x46, 0x0f, 0x55, 0x1a, 0x2e, 0xe6, 0x43, 0x70, 0x8e, 0x4d, 0x66, 0x62, 0x2e, 0xe2, 0x03, |
| 2487 | 0xa8, 0x70, 0x5a, 0x8c, 0xee, 0x43, 0x99, 0x5b, 0x93, 0xcc, 0xe0, 0xcd, 0xdc, 0x54, 0x2c, 0x68, |
| 2488 | 0xe6, 0x1f, 0x0a, 0x50, 0xeb, 0x87, 0x73, 0x11, 0x70, 0x33, 0xc1, 0xb5, 0x90, 0x0f, 0xae, 0xff, |
| 2489 | 0x07, 0xa0, 0x82, 0x1d, 0xf1, 0x78, 0x98, 0xa9, 0xe1, 0x0c, 0x82, 0x36, 0x60, 0x11, 0x2c, 0x65, |
| 2490 | 0xaa, 0x49, 0x83, 0xa7, 0x01, 0x2a, 0x12, 0xca, 0x2c, 0xb3, 0x08, 0x8c, 0xf7, 0xa0, 0x3e, 0xa3, |
| 2491 | 0x91, 0x37, 0x1f, 0x27, 0x9d, 0xc8, 0x23, 0xb2, 0x74, 0xcb, 0x42, 0x8b, 0xa0, 0x2e, 0xc2, 0x08, |
| 2492 | 0xff, 0x36, 0x1f, 0x83, 0xa6, 0x76, 0x1c, 0xa3, 0x77, 0xf2, 0x65, 0xca, 0x22, 0xe5, 0x28, 0x0e, |
| 2493 | 0x55, 0xa4, 0x8c, 0x41, 0x17, 0x95, 0x4b, 0x2f, 0xe7, 0x60, 0x82, 0xdb, 0x59, 0x04, 0xd3, 0x9a, |
| 2494 | 0x00, 0x7a, 0x1e, 0x7a, 0x04, 0x19, 0x5f, 0xe4, 0x27, 0xce, 0x14, 0x41, 0xa9, 0x90, 0xac, 0xc7, |
| 2495 | 0x9a, 0x7f, 0xab, 0x02, 0x64, 0xe4, 0xbf, 0x5a, 0x9d, 0x07, 0x57, 0xe2, 0xae, 0xa8, 0x8d, 0xde, |
| 2496 | 0xbe, 0xba, 0xc0, 0x37, 0x08, 0xba, 0x3f, 0x58, 0x04, 0xc9, 0xd2, 0xeb, 0xa5, 0x5c, 0x1f, 0x19, |
| 2497 | 0xf7, 0xf3, 0x21, 0x6b, 0x89, 0xcb, 0x78, 0xf7, 0x55, 0x32, 0xa4, 0xb3, 0xf8, 0x51, 0x78, 0xf5, |
| 2498 | 0xfc, 0x7f, 0xfe, 0x9f, 0x0f, 0x4a, 0xb7, 0x60, 0xf5, 0x72, 0x50, 0x62, 0x1e, 0x59, 0x79, 0x45, |
| 2499 | 0xb4, 0xaa, 0x9a, 0xff, 0x54, 0x47, 0xfa, 0xaf, 0x45, 0x29, 0x03, 0xd6, 0x16, 0x1b, 0x70, 0xfa, |
| 2500 | 0xb6, 0xd2, 0x81, 0x5e, 0x46, 0x1b, 0x70, 0x33, 0x47, 0xe9, 0xdb, 0x23, 0x47, 0x94, 0xb3, 0x15, |
| 2501 | 0x46, 0x3b, 0xb2, 0xec, 0x6e, 0x1f, 0x3b, 0x72, 0xe1, 0x67, 0xbd, 0xc1, 0xb3, 0xf6, 0xb0, 0xb3, |
| 2502 | 0xaf, 0x57, 0xd9, 0xa1, 0xfb, 0xcf, 0x3a, 0x3d, 0x67, 0x88, 0xdb, 0xf6, 0x60, 0xcf, 0xc2, 0x72, |
| 2503 | 0xa9, 0x1a, 0x5b, 0x4a, 0x85, 0xa1, 0xbd, 0xd1, 0xc0, 0xea, 0x3a, 0xbb, 0x9f, 0x33, 0xa1, 0xba, |
| 2504 | 0x66, 0xfe, 0xa6, 0x08, 0x6b, 0xd7, 0x5d, 0xf7, 0x7f, 0x3a, 0x3a, 0x2e, 0xf8, 0x3a, 0xfd, 0x67, |
| 2505 | 0xcf, 0x7a, 0x43, 0x19, 0x1e, 0x17, 0x31, 0x53, 0xa2, 0xfc, 0xea, 0xee, 0xc0, 0xed, 0xbc, 0xc8, |
| 2506 | 0xbe, 0xed, 0xb4, 0x77, 0xfb, 0x22, 0xa4, 0x56, 0xd0, 0x1b, 0x60, 0x5c, 0x4f, 0x66, 0xd7, 0x88, |
| 2507 | 0x6e, 0xc3, 0x7a, 0x56, 0x62, 0x3a, 0x31, 0xa3, 0x84, 0x2c, 0xc9, 0xea, 0xea, 0x1a, 0x5a, 0x87, |
| 2508 | 0x15, 0x41, 0x51, 0x96, 0xc1, 0x26, 0x80, 0xf9, 0x55, 0x19, 0x96, 0x0e, 0x23, 0x9a, 0xa0, 0x5b, |
| 2509 | 0x50, 0x9d, 0x45, 0x34, 0x71, 0xc2, 0x88, 0xfb, 0x77, 0x13, 0x57, 0xd8, 0xd0, 0x8e, 0x58, 0x19, |
| 2510 | 0x17, 0xb8, 0xc7, 0x24, 0x90, 0xf5, 0x98, 0x18, 0xa0, 0x07, 0xb2, 0x0d, 0x12, 0x4e, 0x9a, 0x16, |
| 2511 | 0xd3, 0x11, 0x4d, 0xf8, 0x4f, 0xa6, 0x09, 0xfa, 0x1e, 0xd4, 0x5d, 0x6f, 0xea, 0x87, 0xb9, 0xa2, |
| 2512 | 0xcc, 0xd8, 0x96, 0x5d, 0x73, 0x9b, 0x91, 0x84, 0x4b, 0xf2, 0x5e, 0x0d, 0x83, 0xbb, 0x40, 0xd8, |
| 2513 | 0xd4, 0x68, 0x46, 0x28, 0x9f, 0x39, 0x8f, 0x79, 0xe0, 0xcc, 0x4c, 0xed, 0xcf, 0x08, 0x1d, 0x70, |
| 2514 | 0x8a, 0x9a, 0x1a, 0x2d, 0x90, 0x7c, 0x3c, 0xac, 0x5e, 0x8a, 0x87, 0x0f, 0xa1, 0x3c, 0x23, 0x84, |
| 2515 | 0xc6, 0x46, 0xed, 0x52, 0x2f, 0xc0, 0xb7, 0x4f, 0x08, 0x65, 0x1f, 0x58, 0xf0, 0xb0, 0xf6, 0x88, |
| 2516 | 0x5e, 0x38, 0x33, 0x77, 0xfc, 0x9c, 0x24, 0x31, 0xaf, 0xb3, 0x2a, 0x58, 0xa3, 0x17, 0x87, 0x02, |
| 2517 | 0x60, 0xb5, 0x32, 0xbd, 0x90, 0x85, 0x1f, 0x70, 0x62, 0x95, 0x5e, 0x88, 0x82, 0x6f, 0x13, 0x34, |
| 2518 | 0x7a, 0xe1, 0x10, 0x4a, 0x23, 0x1a, 0xf3, 0xe2, 0xaa, 0x82, 0x6b, 0xf4, 0xc2, 0xe2, 0x63, 0x26, |
| 2519 | 0x36, 0x49, 0xc5, 0x36, 0x84, 0xd8, 0x24, 0x2b, 0x36, 0x51, 0x62, 0x9b, 0x42, 0x6c, 0x92, 0x8a, |
| 2520 | 0x4d, 0x16, 0x62, 0x5b, 0x42, 0x6c, 0xa2, 0xc4, 0x7e, 0x08, 0xb5, 0x68, 0x32, 0x73, 0xd8, 0xe5, |
| 2521 | 0x19, 0xcb, 0x3c, 0xd0, 0xaf, 0x6f, 0x67, 0x1f, 0x21, 0x14, 0x11, 0x57, 0xa3, 0xc9, 0x8c, 0x1d, |
| 2522 | 0x73, 0xe3, 0x09, 0xd4, 0xd4, 0x91, 0x5f, 0x9f, 0x45, 0x32, 0x26, 0x52, 0xcc, 0x9a, 0x88, 0x19, |
| 2523 | 0x43, 0x4d, 0xdd, 0x39, 0x6b, 0x45, 0x53, 0x6f, 0xd2, 0xa1, 0x61, 0x0d, 0xf7, 0x2d, 0x6c, 0x5b, |
| 2524 | 0x43, 0xc7, 0xb6, 0x7b, 0x7a, 0x21, 0x87, 0x8c, 0xec, 0x9e, 0xe8, 0x5d, 0x0f, 0x99, 0xff, 0x1f, |
| 2525 | 0x0c, 0xf5, 0xd2, 0x62, 0x60, 0x8f, 0x44, 0x89, 0x73, 0x64, 0x31, 0x46, 0x46, 0x2b, 0x67, 0x86, |
| 2526 | 0xf6, 0x48, 0xaf, 0x98, 0x0f, 0xa1, 0xcc, 0x16, 0x8d, 0x91, 0x99, 0xcf, 0x9a, 0x8d, 0xec, 0x65, |
| 2527 | 0xaa, 0x8c, 0xf9, 0x17, 0x80, 0x8a, 0x48, 0x99, 0xd7, 0xb5, 0x1b, 0x8b, 0x86, 0x5e, 0x93, 0x26, |
| 2528 | 0x8b, 0x60, 0x89, 0x46, 0x51, 0x22, 0xb3, 0x3f, 0xff, 0x66, 0xaa, 0x99, 0xb9, 0x94, 0x84, 0x89, |
| 2529 | 0x23, 0x73, 0xbf, 0x86, 0x6b, 0x02, 0xe8, 0x79, 0xe8, 0x2d, 0x68, 0x49, 0xa2, 0xd2, 0xd0, 0x1a, |
| 2530 | 0xd7, 0x50, 0x43, 0xa0, 0x87, 0xc2, 0x95, 0xd2, 0x4e, 0xa9, 0x7c, 0xb9, 0x53, 0x9a, 0x46, 0x1e, |
| 2531 | 0x09, 0x64, 0x65, 0x20, 0x06, 0xac, 0xb3, 0x38, 0x75, 0xa9, 0x77, 0xee, 0xd2, 0xb4, 0x03, 0x11, |
| 2532 | 0x86, 0xbc, 0xac, 0xf0, 0x4c, 0x13, 0x32, 0xf1, 0xe9, 0x34, 0xc7, 0x2a, 0x3a, 0xb4, 0x65, 0x85, |
| 2533 | 0x2b, 0xd6, 0x77, 0xa0, 0xc2, 0x93, 0x9c, 0xb0, 0xe4, 0xfa, 0xa3, 0x56, 0x2e, 0x37, 0xc6, 0x58, |
| 2534 | 0x52, 0x59, 0xf3, 0x13, 0x13, 0xea, 0xbb, 0x81, 0x13, 0xce, 0xa7, 0xc7, 0x84, 0x72, 0xdb, 0xd6, |
| 2535 | 0x70, 0x43, 0x80, 0x36, 0xc7, 0xf2, 0x8f, 0x55, 0xc6, 0xa5, 0xc7, 0xaa, 0x07, 0xa0, 0xab, 0x67, |
| 2536 | 0x1a, 0x12, 0x7a, 0xb3, 0xc8, 0x0f, 0x13, 0xe3, 0xb6, 0xd8, 0x94, 0xc4, 0x2d, 0x09, 0x33, 0x7d, |
| 2537 | 0x9f, 0x05, 0x6e, 0xc8, 0xbd, 0xa0, 0x89, 0xf9, 0x37, 0x6b, 0x5d, 0xa6, 0xee, 0xd8, 0x71, 0x3d, |
| 2538 | 0x8f, 0x92, 0x58, 0xf8, 0x80, 0x86, 0x61, 0xea, 0x8e, 0xdb, 0x02, 0x41, 0xf7, 0xa1, 0xe1, 0xcf, |
| 2539 | 0xce, 0xfe, 0x7f, 0xc1, 0xc1, 0x3c, 0x41, 0xdb, 0xbf, 0x81, 0xeb, 0x0c, 0xcd, 0x33, 0x7d, 0xbc, |
| 2540 | 0x60, 0x5a, 0xce, 0x30, 0x7d, 0xac, 0x98, 0xde, 0x82, 0xe6, 0x69, 0x14, 0x27, 0x8e, 0x1b, 0x7a, |
| 2541 | 0xc2, 0x71, 0xd6, 0x15, 0x17, 0x83, 0xdb, 0xa1, 0xc7, 0x7d, 0xe3, 0x0e, 0x00, 0xb9, 0x48, 0xa8, |
| 2542 | 0xeb, 0xb8, 0xf4, 0x24, 0x36, 0x6e, 0x89, 0x57, 0x14, 0x8e, 0xb4, 0xe9, 0x49, 0x8c, 0x9e, 0x40, |
| 2543 | 0x73, 0x46, 0xa3, 0x8b, 0x97, 0x8b, 0xa5, 0x56, 0xb9, 0x7e, 0x37, 0xf3, 0x6f, 0x4d, 0xdb, 0x87, |
| 2544 | 0x8c, 0x47, 0x2e, 0x8c, 0x1b, 0xb3, 0xcc, 0xe8, 0x72, 0xa0, 0xd4, 0xff, 0xfd, 0x40, 0xb9, 0xf2, |
| 2545 | 0x2d, 0x02, 0xe5, 0xcd, 0x45, 0xc1, 0x75, 0x53, 0x18, 0xa5, 0xac, 0xa4, 0x76, 0xa1, 0x35, 0x8e, |
| 2546 | 0xc2, 0x90, 0x8c, 0x13, 0x25, 0x15, 0x71, 0xa9, 0x9b, 0x4a, 0x6a, 0x47, 0x50, 0x73, 0x82, 0x9b, |
| 2547 | 0xe3, 0x2c, 0x88, 0xde, 0x87, 0xca, 0x78, 0x1e, 0x27, 0xd1, 0xd4, 0x78, 0xc2, 0x95, 0xb1, 0xb6, |
| 2548 | 0x2d, 0x1e, 0x55, 0xb7, 0xd5, 0xa3, 0xea, 0x76, 0x3b, 0x7c, 0x89, 0x25, 0x0f, 0xfa, 0x08, 0x60, |
| 2549 | 0x36, 0x95, 0xad, 0x6a, 0x6c, 0xfc, 0xac, 0xc0, 0xa7, 0xac, 0x5c, 0x7e, 0x77, 0x89, 0xb1, 0x36, |
| 2550 | 0x5b, 0xbc, 0x23, 0x7d, 0x0a, 0xcb, 0xa2, 0xdc, 0x53, 0x45, 0x64, 0x6c, 0xfc, 0xbc, 0xf0, 0xba, |
| 2551 | 0xe6, 0xa2, 0xe5, 0xe7, 0x5a, 0x92, 0x8d, 0xdf, 0x17, 0xa1, 0x91, 0xbd, 0x92, 0xd7, 0x47, 0xc0, |
| 2552 | 0xbb, 0x50, 0x97, 0xc4, 0x4c, 0xc8, 0x00, 0x2f, 0x7d, 0xcd, 0xbd, 0x03, 0x30, 0x3e, 0x75, 0xc3, |
| 2553 | 0x90, 0x04, 0x6c, 0xba, 0x78, 0xbd, 0xd1, 0x24, 0xd2, 0xf3, 0xd0, 0x16, 0xe8, 0x8a, 0x2c, 0x5e, |
| 2554 | 0xdc, 0x64, 0x28, 0x69, 0xe2, 0x96, 0xc4, 0xf9, 0x5b, 0x54, 0xcf, 0x43, 0x3b, 0xb0, 0xaa, 0x38, |
| 2555 | 0x13, 0x42, 0xa7, 0x7e, 0xc8, 0xcb, 0x16, 0x19, 0x37, 0x90, 0x24, 0x0d, 0x53, 0x0a, 0x5a, 0x87, |
| 2556 | 0x4a, 0x14, 0xce, 0x99, 0xc0, 0x8a, 0x78, 0x6e, 0x89, 0xc2, 0xb9, 0x08, 0x4c, 0x0c, 0x8e, 0x49, |
| 2557 | 0xcc, 0xbc, 0x5f, 0xe5, 0xc2, 0x26, 0x6e, 0x44, 0xe1, 0x7c, 0x20, 0xc0, 0x57, 0xb8, 0x6a, 0xed, |
| 2558 | 0x5a, 0x57, 0xdd, 0xd5, 0xa0, 0x2a, 0x0d, 0xfc, 0x87, 0x4b, 0xb5, 0xba, 0xde, 0x30, 0xff, 0x54, |
| 2559 | 0x80, 0x8d, 0x4c, 0x37, 0xb2, 0xd0, 0x34, 0x79, 0x31, 0x27, 0x71, 0x82, 0xde, 0xcd, 0xeb, 0x93, |
| 2560 | 0x5d, 0x0d, 0x28, 0x0b, 0xea, 0x75, 0x33, 0xba, 0x5d, 0x74, 0x78, 0xa2, 0x3d, 0xb9, 0xb6, 0xc3, |
| 2561 | 0x43, 0xef, 0xc3, 0x8a, 0x2b, 0x1b, 0xdc, 0x7e, 0x38, 0x98, 0x8f, 0xc7, 0xcc, 0xd1, 0x44, 0x94, |
| 2562 | 0xbe, 0x4a, 0x40, 0x5b, 0xb0, 0x2c, 0x9e, 0xb9, 0x52, 0x5e, 0xd1, 0xb4, 0x5d, 0x86, 0xcd, 0x9f, |
| 2563 | 0x16, 0x00, 0x65, 0x0e, 0xf1, 0xad, 0x37, 0xff, 0xea, 0x97, 0xbc, 0x6b, 0xf6, 0x50, 0xba, 0x7e, |
| 2564 | 0x0f, 0x0e, 0xac, 0xe6, 0xb6, 0x10, 0xcf, 0xa2, 0x30, 0x26, 0x68, 0x1f, 0x56, 0xd5, 0x1e, 0xd2, |
| 2565 | 0xc6, 0x46, 0x25, 0x3b, 0x23, 0x1f, 0x5d, 0x32, 0xad, 0xdc, 0x8a, 0x77, 0x09, 0x89, 0xcd, 0xdf, |
| 2566 | 0x16, 0x40, 0x1f, 0x90, 0x60, 0x32, 0x24, 0x71, 0xb2, 0x10, 0xff, 0x29, 0x73, 0xff, 0x78, 0x1e, |
| 2567 | 0x24, 0xdc, 0xd8, 0x33, 0xbd, 0xd2, 0x65, 0xce, 0x2c, 0x30, 0x0f, 0x12, 0x2c, 0xa7, 0x99, 0x87, |
| 2568 | 0xd0, 0xca, 0x53, 0x58, 0x12, 0xe7, 0x3d, 0xd0, 0x60, 0xa0, 0xdf, 0x60, 0x03, 0xd6, 0xca, 0x8c, |
| 2569 | 0x30, 0xab, 0xa4, 0x57, 0xa0, 0x69, 0xf7, 0x87, 0x4e, 0xda, 0xc4, 0x14, 0xaf, 0x36, 0x0d, 0x25, |
| 2570 | 0x73, 0x07, 0xaa, 0xe2, 0x38, 0x2c, 0x32, 0xe7, 0x72, 0x7b, 0x2b, 0x7f, 0x5c, 0x95, 0xdd, 0x7f, |
| 2571 | 0x57, 0x82, 0xb5, 0x81, 0x3f, 0x9d, 0x07, 0x6e, 0x42, 0xda, 0x81, 0x4b, 0xa7, 0xea, 0xfe, 0x2e, |
| 2572 | 0xe7, 0xfa, 0x37, 0x40, 0xf3, 0x43, 0xcf, 0x1f, 0xbb, 0x49, 0xa4, 0xfe, 0x22, 0x49, 0x01, 0x56, |
| 2573 | 0xdf, 0xf8, 0x61, 0x32, 0x51, 0x9e, 0xab, 0xe1, 0x0a, 0x1b, 0xca, 0xec, 0xce, 0xd2, 0x3a, 0x73, |
| 2574 | 0x7a, 0xf1, 0x86, 0x2e, 0xf2, 0x7f, 0x63, 0x26, 0xab, 0x1e, 0xfe, 0x8c, 0x6e, 0x42, 0x93, 0xb9, |
| 2575 | 0x5a, 0x6a, 0x30, 0xf2, 0x09, 0x20, 0x0a, 0xe7, 0x5d, 0x65, 0x27, 0x8f, 0xe1, 0xa6, 0x1f, 0x32, |
| 2576 | 0xd3, 0x20, 0xce, 0xb1, 0x9f, 0x88, 0x1a, 0xce, 0xa1, 0x2c, 0xda, 0x33, 0xaf, 0x2d, 0xe3, 0x55, |
| 2577 | 0x49, 0xdd, 0xf5, 0x13, 0x5e, 0xcf, 0x61, 0xd1, 0x72, 0x96, 0x3d, 0xea, 0x4f, 0x12, 0xee, 0xba, |
| 2578 | 0x65, 0x2c, 0x06, 0x6c, 0xb7, 0x21, 0x39, 0x77, 0xc8, 0x0b, 0x8f, 0xbb, 0x6a, 0x19, 0x57, 0x42, |
| 2579 | 0x72, 0x6e, 0xbd, 0xf0, 0xd0, 0x7b, 0xb0, 0x22, 0x5c, 0x3e, 0x9b, 0xbd, 0xc5, 0xf3, 0xe0, 0x32, |
| 2580 | 0xf7, 0xfa, 0x4c, 0x02, 0xdf, 0x07, 0x8d, 0xa5, 0x02, 0x11, 0x5c, 0x80, 0x1b, 0xc0, 0x7b, 0x0b, |
| 2581 | 0x03, 0xb8, 0x46, 0xa3, 0x3c, 0x95, 0x70, 0x6e, 0x5e, 0xe0, 0xa7, 0x93, 0xcd, 0xb7, 0xa1, 0x99, |
| 2582 | 0xa3, 0x21, 0x0d, 0xca, 0xb8, 0xdd, 0x1b, 0x58, 0xe2, 0x4f, 0x8b, 0xce, 0x81, 0xd5, 0xc6, 0x7a, |
| 2583 | 0x61, 0xf7, 0x0b, 0xd8, 0x88, 0xe8, 0x09, 0xaf, 0x48, 0xc7, 0x11, 0xf5, 0xb6, 0xc5, 0xbf, 0x65, |
| 2584 | 0x72, 0xc9, 0xdd, 0xc6, 0x11, 0x1f, 0x0a, 0x75, 0x7d, 0xb1, 0x7d, 0xe2, 0x27, 0xa7, 0xf3, 0x63, |
| 2585 | 0xe6, 0x70, 0x3b, 0x6a, 0xc2, 0x8e, 0x98, 0xf0, 0x81, 0xfc, 0x7b, 0xed, 0xec, 0x3b, 0x3b, 0x27, |
| 2586 | 0x91, 0xc4, 0x8e, 0x2b, 0x1c, 0x7c, 0xfc, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5d, 0xe4, 0x78, |
| 2587 | 0x8c, 0xde, 0x1b, 0x00, 0x00, |
William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 2588 | } |