1b1b8bc3fSopenharmony_ci# Copyright (C) 2022-2024 Huawei Device Co., Ltd.
2b1b8bc3fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3b1b8bc3fSopenharmony_ci# you may not use this file except in compliance with the License.
4b1b8bc3fSopenharmony_ci# You may obtain a copy of the License at
5b1b8bc3fSopenharmony_ci#
6b1b8bc3fSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7b1b8bc3fSopenharmony_ci#
8b1b8bc3fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9b1b8bc3fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10b1b8bc3fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11b1b8bc3fSopenharmony_ci# See the License for the specific language governing permissions and
12b1b8bc3fSopenharmony_ci# limitations under the License.
13b1b8bc3fSopenharmony_ci
14b1b8bc3fSopenharmony_cidomain: NETMANAGER
15b1b8bc3fSopenharmony_ci
16b1b8bc3fSopenharmony_ciHTTP_PERF:
17b1b8bc3fSopenharmony_ci  __BASE: {type: STATISTIC, level: MINOR, desc: HTTP performance, preserve: true}
18b1b8bc3fSopenharmony_ci  PACKAGE_NAME: {type: STRING, desc: package name}
19b1b8bc3fSopenharmony_ci  TOTAL_TIME: {type: DOUBLE, desc: total time of all successful requests}
20b1b8bc3fSopenharmony_ci  TOTAL_RATE: {type: DOUBLE, desc: total rate of all successful requets}
21b1b8bc3fSopenharmony_ci  SUCCESS_COUNT: {type: UINT32, desc: successful requests count}
22b1b8bc3fSopenharmony_ci  TOTAL_COUNT: {type: UINT32, desc: total requests count}
23b1b8bc3fSopenharmony_ci  VERSION: {type: STRING, desc: internal http protocol version usage count}
24b1b8bc3fSopenharmony_ci  TOTAL_DNS_TIME: {type: DOUBLE, desc: total dns time of all the successful request}
25b1b8bc3fSopenharmony_ci  TOTAL_TCP_TIME: {type: DOUBLE, desc: total tcp time all the successful request}
26b1b8bc3fSopenharmony_ci  TOTAL_TLS_TIME: {type: DOUBLE, desc: total tls time all the successful request}
27b1b8bc3fSopenharmony_ci  TOTAL_FIRST_RECEIVE_TIME: {type: DOUBLE, desc: total first receive time of all the successful request}
28b1b8bc3fSopenharmony_ci
29b1b8bc3fSopenharmony_ciNET_CONN_SUPPLER_FAULT:
30b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: send supplier fault event}
31b1b8bc3fSopenharmony_ci  UPDATE_SUPPLIERID: {type: INT32, desc: update supplier id}
32b1b8bc3fSopenharmony_ci  UPDATE_SUPPLIERINFO: {type: STRING, desc: update supplier info}
33b1b8bc3fSopenharmony_ci  UPDATE_NETLINKID: {type: INT32, desc: update netlink id}
34b1b8bc3fSopenharmony_ci  UPDATE_NETLINKINFO: {type: STRING, desc: update netlink info}
35b1b8bc3fSopenharmony_ci  ERROR_TYPE: {type: INT32, desc: the error code}
36b1b8bc3fSopenharmony_ci  ERROR_MSG: {type: STRING, desc: the error message}
37b1b8bc3fSopenharmony_ci
38b1b8bc3fSopenharmony_ciNET_CONN_SUPPLER_STAT:
39b1b8bc3fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: send supplier behavior event}
40b1b8bc3fSopenharmony_ci  NETID: {type: INT32, desc: net id}
41b1b8bc3fSopenharmony_ci  REGISTER_BEARERTYPE: {type: INT32, desc: register bearer type code}
42b1b8bc3fSopenharmony_ci  REGISTER_IDENT: {type: STRING, desc: register ident code}
43b1b8bc3fSopenharmony_ci  REGISTER_SUPPLIERID: {type: INT32, desc: register supplier id}
44b1b8bc3fSopenharmony_ci  UPDATE_SUPPLIERID: {type: INT32, desc: update supplier info}
45b1b8bc3fSopenharmony_ci  UPDATE_SUPPLIERINFO: {type: STRING, desc: update supplier info}
46b1b8bc3fSopenharmony_ci  UPDATE_NETLINKID: {type: INT32, desc: update netlink id}
47b1b8bc3fSopenharmony_ci  UPDATE_NETLINKINFO: {type: STRING, desc: update netlink info}
48b1b8bc3fSopenharmony_ci  ERROR_TYPE: {type: INT32, desc: the error code}
49b1b8bc3fSopenharmony_ci  ERROR_MSG: {type: STRING, desc: the error message}
50b1b8bc3fSopenharmony_ci
51b1b8bc3fSopenharmony_ciNET_CONN_REQUEST_FAULT:
52b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: send request fault event}
53b1b8bc3fSopenharmony_ci  CAPABILITIES: {type: STRING, desc: capabilities info}
54b1b8bc3fSopenharmony_ci  SUPPLIERIDENT: {type: STRING, desc: request supplier ident}
55b1b8bc3fSopenharmony_ci  ERROR_TYPE: {type: INT32, desc: the error code}
56b1b8bc3fSopenharmony_ci  ERROR_MSG: {type: STRING, desc: the error message}
57b1b8bc3fSopenharmony_ci
58b1b8bc3fSopenharmony_ciNET_CONN_REQUEST_STAT:
59b1b8bc3fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: send request behavior event}
60b1b8bc3fSopenharmony_ci  CAPABILITIES: {type: STRING, desc: capabilities info}
61b1b8bc3fSopenharmony_ci  SUPPLIERIDENT: {type: STRING, desc: request supplier ident}
62b1b8bc3fSopenharmony_ci  CALLBACK_AVAILABLE: {type: STRING, desc: the callback available}
63b1b8bc3fSopenharmony_ci
64b1b8bc3fSopenharmony_ciNET_CONN_MONITOR_FAULT:
65b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: send monitor fault event}
66b1b8bc3fSopenharmony_ci  SOCKETFD: {type: INT32, desc: monitor socket fd}
67b1b8bc3fSopenharmony_ci  NETID: {type: INT32, desc: monitor network id}
68b1b8bc3fSopenharmony_ci  ERROR_TYPE: {type: INT32, desc: the error code}
69b1b8bc3fSopenharmony_ci  ERROR_MSG: {type: STRING, desc: the error message}
70b1b8bc3fSopenharmony_ci
71b1b8bc3fSopenharmony_ciNET_CONN_MONITOR_STAT:
72b1b8bc3fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: send monitor behavior event}
73b1b8bc3fSopenharmony_ci  STATUS: {type: INT32, desc: monitor status}
74b1b8bc3fSopenharmony_ci
75b1b8bc3fSopenharmony_ciNET_SHARING_SETUP_FAULT:
76b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: send setup fault event}
77b1b8bc3fSopenharmony_ci  SHARING_TYPE: {type: INT32, desc: the type of sharing}
78b1b8bc3fSopenharmony_ci  OPERATION_TYPE: {type: INT32, desc: the operation type}
79b1b8bc3fSopenharmony_ci  ERROR_TYPE: {type: INT32, desc: the error code}
80b1b8bc3fSopenharmony_ci  ERROR_MSG: {type: STRING, desc: the error message}
81b1b8bc3fSopenharmony_ci
82b1b8bc3fSopenharmony_ciNET_SHARING_CANCEL_FAULT:
83b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: send cancel fault event}
84b1b8bc3fSopenharmony_ci  SHARING_TYPE: {type: INT32, desc: the type of sharing}
85b1b8bc3fSopenharmony_ci  OPERATION_TYPE: {type: INT32, desc: the operation type}
86b1b8bc3fSopenharmony_ci  ERROR_TYPE: {type: INT32, desc: the error code}
87b1b8bc3fSopenharmony_ci  ERROR_MSG: {type: STRING, desc: the error message}
88b1b8bc3fSopenharmony_ci
89b1b8bc3fSopenharmony_ciNET_SHARING_TIME_STAT:
90b1b8bc3fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: sharing state message}
91b1b8bc3fSopenharmony_ci  SHARING_COUNT: {type: INT32, desc: the number of sharing}
92b1b8bc3fSopenharmony_ci  SHARING_TYPE: {type: INT32, desc: the type of sharing}
93b1b8bc3fSopenharmony_ci 
94b1b8bc3fSopenharmony_ciNET_MDNS_REQUEST_FAULT:
95b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: send request fault event}
96b1b8bc3fSopenharmony_ci  INFO: {type: STRING, desc: mDNS info}
97b1b8bc3fSopenharmony_ci  ERROR_TYPE: {type: INT32, desc: the error code}
98b1b8bc3fSopenharmony_ci  ERROR_MSG: {type: STRING, desc: the error message}
99b1b8bc3fSopenharmony_ci
100b1b8bc3fSopenharmony_ciNET_MDNS_REQUEST_BEHAVIOR:
101b1b8bc3fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: send request behavior event}
102b1b8bc3fSopenharmony_ci  INFO: {type: STRING, desc: mDNS info}
103b1b8bc3fSopenharmony_ci
104b1b8bc3fSopenharmony_ciNET_VPN_CONNECT_FAULT:
105b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: send setup fault event}
106b1b8bc3fSopenharmony_ci  VPN_LEGACY: {type: INT32, desc: the type of vpn}
107b1b8bc3fSopenharmony_ci  OPERATION_TYPE: {type: INT32, desc: the operation type}
108b1b8bc3fSopenharmony_ci  VPN_ERROR_TYPE: {type: INT32, desc: the error code}
109b1b8bc3fSopenharmony_ci  VPN_ERROR_MSG: {type: STRING, desc: the error message}
110b1b8bc3fSopenharmony_ci
111b1b8bc3fSopenharmony_ciNET_START_DIST_NETWORK_FAULT:
112b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: start distributed network fault event}
113b1b8bc3fSopenharmony_ci  DEVICE_ID: {type: STRING, desc: device info}
114b1b8bc3fSopenharmony_ci  SESSION_ID: {type: INT32, desc: session id}
115b1b8bc3fSopenharmony_ci  ERROR_TYPE: {type: INT32, desc: the error code}
116b1b8bc3fSopenharmony_ci  ERROR_MSG: {type: STRING, desc: the error message}
117b1b8bc3fSopenharmony_ci
118b1b8bc3fSopenharmony_ciNET_START_DIST_NETWORK_BEHAVIOR:
119b1b8bc3fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: start distributed network behavior event}
120b1b8bc3fSopenharmony_ci  DEVICE_ID: {type: STRING, desc: device info}
121b1b8bc3fSopenharmony_ci
122b1b8bc3fSopenharmony_ciNET_REMOTE_DEVICE_INFO_FAULT:
123b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: get remote device info fault event}
124b1b8bc3fSopenharmony_ci  ERROR_TYPE: {type: INT32, desc: the error code}
125b1b8bc3fSopenharmony_ci  ERROR_MSG: {type: STRING, desc: the error message}
126b1b8bc3fSopenharmony_ci
127b1b8bc3fSopenharmony_ciNET_REMOTE_DEVICE_INFO_BEHAVIOR:
128b1b8bc3fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: get remote device info behavior event}
129b1b8bc3fSopenharmony_ci
130b1b8bc3fSopenharmony_ciNET_FIREWALL_CONF_FAULT:
131b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: net firewall policy configuration and issuance failed}
132b1b8bc3fSopenharmony_ci  FIREWALL_USER_ID: {type: INT32, desc: user id}
133b1b8bc3fSopenharmony_ci  FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code}
134b1b8bc3fSopenharmony_ci  FIREWALL_ERROR_MSG: {type: STRING, desc: the error message}
135b1b8bc3fSopenharmony_ci
136b1b8bc3fSopenharmony_ciNET_FIREWALL_REQ_FAULT:
137b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: net firewall policy acquisition failed}
138b1b8bc3fSopenharmony_ci  FIREWALL_USER_ID: {type: INT32, desc: user id}
139b1b8bc3fSopenharmony_ci  FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code}
140b1b8bc3fSopenharmony_ci  FIREWALL_ERROR_MSG: {type: STRING, desc: the error message}
141b1b8bc3fSopenharmony_ci
142b1b8bc3fSopenharmony_ciNET_FIREWALL_LOG_REQ_FAULT:
143b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: net firewall interception log query failed}
144b1b8bc3fSopenharmony_ci  FIREWALL_USER_ID: {type: INT32, desc: user id}
145b1b8bc3fSopenharmony_ci  FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code}
146b1b8bc3fSopenharmony_ci  FIREWALL_ERROR_MSG: {type: STRING, desc: the error message}
147b1b8bc3fSopenharmony_ci
148b1b8bc3fSopenharmony_ciNET_FIREWALL_INIT_FAULT:
149b1b8bc3fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: built in firewall policy failed}
150b1b8bc3fSopenharmony_ci  FIREWALL_USER_ID: {type: INT32, desc: user id}
151b1b8bc3fSopenharmony_ci  FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code}
152b1b8bc3fSopenharmony_ci  FIREWALL_ERROR_MSG: {type: STRING, desc: the error message}
153b1b8bc3fSopenharmony_ci
154b1b8bc3fSopenharmony_ciNET_FIREWALL_CONF_BEHAVIOR:
155b1b8bc3fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: net firewall policy configuration behavior management}
156b1b8bc3fSopenharmony_ci  FIREWALL_USER_ID: {type: INT32, desc: user id}
157b1b8bc3fSopenharmony_ci
158b1b8bc3fSopenharmony_ciNET_FIREWALL_REQ_BEHAVIOR:
159b1b8bc3fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: net firewall policy query behavior management}
160b1b8bc3fSopenharmony_ci  FIREWALL_USER_ID: {type: INT32, desc: user id}
161b1b8bc3fSopenharmony_ci
162b1b8bc3fSopenharmony_ciNET_FIREWALL_LOG_REQ_BEHAVIOR:
163b1b8bc3fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: net firewall interception log query behavior management}
164b1b8bc3fSopenharmony_ci  FIREWALL_USER_ID: {type: INT32, desc: user id}