1#  Copyright (c) 2022 Huawei Device Co., Ltd.
2#  Licensed under the Apache License, Version 2.0 (the "License");
3#  you may not use this file except in compliance with the License.
4#  You may obtain a copy of the License at
5#
6#      http://www.apache.org/licenses/LICENSE-2.0
7#
8#  Unless required by applicable law or agreed to in writing, software
9#  distributed under the License is distributed on an "AS IS" BASIS,
10#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11#  See the License for the specific language governing permissions and
12#  limitations under the License.
13
14domain: UPDATE
15
16UPGRADE_INTERVAL:
17  __BASE: {type: STATISTIC, level: MINOR, desc: system upgrade event interval}
18  VERSION_INFO: {type: STRING, desc: version info}
19  TYPE: {type: STRING, desc: check or download or install}
20  INTERVAL: {type: UINT64, desc: event interval}
21
22SYSTEM_UPGRADE_FAULT:
23  __BASE: {type: FAULT, level: CRITICAL, desc: system upgrade fault event}
24  DEVICE_ID: {type: STRING, desc: update devId and control devId}
25  VERSION_INFO: {type: STRING, desc: version info}
26  FAILED_REASON: {type: STRING, desc: upgrade failed reason}
27  LOCATION: {type: STRING, desc: code location}
28
29SYSTEM_UPGRADE:
30  __BASE: {type: BEHAVIOR, level: CRITICAL, desc: system upgrade event}
31  UPDATE_RESULT: {type: STRING, desc: system update result}
32
33SYSTEM_RESET:
34  __BASE: {type: BEHAVIOR, level: CRITICAL, desc: system reset event}
35  RESET_RESULT: {type: STRING, desc: system reset result}
36
37VERIFY_FAILED:
38  __BASE: {type: SECURITY, level: CRITICAL, desc: permission and data verify failed}
39  DEVICE_ID: {type: STRING, desc: upgrade devId and control devId}
40  DESCRIPTION: {type: STRING, desc: failed description}