Amit Ghosh | 09f2836 | 2020-06-12 21:52:19 +0100 | [diff] [blame] | 1 | syntax = "proto3"; |
2 | |||||
3 | option go_package = "github.com/opencord/device-management-interface/v3/go/dmi"; | ||||
4 | package dmi; | ||||
5 | |||||
6 | // Common structures used across the different Device Management services | ||||
7 | |||||
8 | enum Status { | ||||
9 | UNDEFINED_STATUS = 0; | ||||
10 | OK = 1; | ||||
11 | ERROR = 2; | ||||
12 | } | ||||
13 | |||||
14 | // Reason for the failure of request | ||||
15 | enum Reason { | ||||
16 | UNDEFINED_REASON = 0; | ||||
17 | UNKNOWN_DEVICE = 1; | ||||
18 | INTERNAL_ERROR = 2; | ||||
19 | WRONG_METRIC = 3; | ||||
20 | WRONG_EVENT = 4; | ||||
21 | } |