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: NETMANAGER
15
16NET_CONN_SUPPLER_FAULT:
17  __BASE: {type: FAULT, level: CRITICAL, desc: send supplier fault event}
18  UPDATE_SUPPLIERID: {type: INT32, desc: update supplier id}
19  UPDATE_SUPPLIERINFO: {type: STRING, desc: update supplier info}
20  UPDATE_NETLINKID: {type: INT32, desc: update netlink id}
21  UPDATE_NETLINKINFO: {type: STRING, desc: update netlink info}
22  ERROR_TYPE: {type: INT32, desc: the error code}
23  ERROR_MSG: {type: STRING, desc: the error message}
24
25NET_CONN_SUPPLER_STAT:
26  __BASE: {type: BEHAVIOR, level: MINOR, desc: send supplier behavior event}
27  REGISTER_BEARERTYPE: {type: INT32, desc: register bearer type code}
28  REGISTER_IDENT: {type: STRING, desc: register ident code}
29  REGISTER_SUPPLIERID: {type: INT32, desc: register supplier id}
30  UPDATE_SUPPLIERID: {type: INT32, desc: update supplier info}
31  UPDATE_SUPPLIERINFO: {type: STRING, desc: update supplier info}
32  UPDATE_NETLINKID: {type: INT32, desc: update netlink id}
33  UPDATE_NETLINKINFO: {type: STRING, desc: update netlink info}
34  ERROR_TYPE: {type: INT32, desc: the error code}
35  ERROR_MSG: {type: STRING, desc: the error message}
36
37NET_CONN_REQUEST_FAULT:
38  __BASE: {type: FAULT, level: CRITICAL, desc: send request fault event}
39  CAPABILITIES: {type: STRING, desc: capabilities info}
40  SUPPLIERIDENT: {type: STRING, desc: request supplier ident}
41  ERROR_TYPE: {type: INT32, desc: the error code}
42  ERROR_MSG: {type: STRING, desc: the error message}
43
44NET_CONN_REQUEST_STAT:
45  __BASE: {type: BEHAVIOR, level: MINOR, desc: send request behavior event}
46  CAPABILITIES: {type: STRING, desc: capabilities info}
47  SUPPLIERIDENT: {type: STRING, desc: request supplier ident}
48  CALLBACK_AVAILABLE: {type: STRING, desc: the callback available}
49
50NET_CONN_MONITOR_FAULT:
51  __BASE: {type: FAULT, level: CRITICAL, desc: send monitor fault event}
52  SOCKETFD: {type: INT32, desc: monitor socket fd}
53  NETID: {type: INT32, desc: monitor network id}
54  ERROR_TYPE: {type: INT32, desc: the error code}
55  ERROR_MSG: {type: STRING, desc: the error message}
56
57NET_CONN_MONITOR_STAT:
58  __BASE: {type: BEHAVIOR, level: MINOR, desc: send monitor behavior event}
59  STATUS: {type: INT32, desc: monitor status}
60
61NET_SHARING_SETUP_FAULT:
62  __BASE: {type: FAULT, level: CRITICAL, desc: send setup fault event}
63  SHARING_TYPE: {type: INT32, desc: the type of sharing}
64  OPERATION_TYPE: {type: INT32, desc: the operation type}
65  ERROR_TYPE: {type: INT32, desc: the error code}
66  ERROR_MSG: {type: STRING, desc: the error message}
67
68NET_SHARING_CANCEL_FAULT:
69  __BASE: {type: FAULT, level: CRITICAL, desc: send cancel fault event}
70  SHARING_TYPE: {type: INT32, desc: the type of sharing}
71  OPERATION_TYPE: {type: INT32, desc: the operation type}
72  ERROR_TYPE: {type: INT32, desc: the error code}
73  ERROR_MSG: {type: STRING, desc: the error message}
74
75NET_SHARING_TIME_STAT:
76  __BASE: {type: BEHAVIOR, level: MINOR, desc: sharing state message}
77  SHARING_COUNT: {type: INT32, desc: the number of sharing}
78  SHARING_TYPE: {type: INT32, desc: the type of sharing}
79
80NET_MDNS_REQUEST_FAULT:
81  __BASE: {type: FAULT, level: CRITICAL, desc: send request fault event}
82  INFO: {type: STRING, desc: mDNS info}
83  ERROR_TYPE: {type: INT32, desc: the error code}
84  ERROR_MSG: {type: STRING, desc: the error message}
85
86NET_MDNS_REQUEST_BEHAVIOR:
87  __BASE: {type: BEHAVIOR, level: MINOR, desc: send request behavior event}
88  INFO: {type: STRING, desc: mDNS info}
89
90NET_VPN_CONNECT_FAULT:
91  __BASE: {type: FAULT, level: CRITICAL, desc: send setup fault event}
92  VPN_LEGACY: {type: INT32, desc: the type of vpn}
93  OPERATION_TYPE: {type: INT32, desc: the operation type}
94  VPN_ERROR_TYPE: {type: INT32, desc: the error code}
95  VPN_ERROR_MSG: {type: STRING, desc: the error message}
96
97NET_START_DIST_NETWORK_FAULT:
98  __BASE: {type: FAULT, level: CRITICAL, desc: start distributed network fault event}
99  DEVICE_ID: {type: STRING, desc: device info}
100  SESSION_ID: {type: INT32, desc: session id}
101  ERROR_TYPE: {type: INT32, desc: the error code}
102  ERROR_MSG: {type: STRING, desc: the error message}
103
104NET_START_DIST_NETWORK_BEHAVIOR:
105  __BASE: {type: BEHAVIOR, level: MINOR, desc: start distributed network behavior event}
106  DEVICE_ID: {type: STRING, desc: device info}
107
108NET_REMOTE_DEVICE_INFO_FAULT:
109  __BASE: {type: FAULT, level: CRITICAL, desc: get remote device info fault event}
110  ERROR_TYPE: {type: INT32, desc: the error code}
111  ERROR_MSG: {type: STRING, desc: the error message}
112
113NET_REMOTE_DEVICE_INFO_BEHAVIOR:
114  __BASE: {type: BEHAVIOR, level: MINOR, desc: get remote device info behavior event}
115
116NET_FIREWALL_CONF_FAULT:
117  __BASE: {type: FAULT, level: CRITICAL, desc: net firewall policy configuration and issuance failed}
118  FIREWALL_USER_ID: {type: INT32, desc: user id}
119  FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code}
120  FIREWALL_ERROR_MSG: {type: STRING, desc: the error message}
121
122NET_FIREWALL_REQ_FAULT:
123  __BASE: {type: FAULT, level: CRITICAL, desc: net firewall policy acquisition failed}
124  FIREWALL_USER_ID: {type: INT32, desc: user id}
125  FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code}
126  FIREWALL_ERROR_MSG: {type: STRING, desc: the error message}
127
128NET_FIREWALL_LOG_REQ_FAULT:
129  __BASE: {type: FAULT, level: CRITICAL, desc: net firewall interception log query failed}
130  FIREWALL_USER_ID: {type: INT32, desc: user id}
131  FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code}
132  FIREWALL_ERROR_MSG: {type: STRING, desc: the error message}
133
134NET_FIREWALL_INIT_FAULT:
135  __BASE: {type: FAULT, level: CRITICAL, desc: built in firewall policy failed}
136  FIREWALL_USER_ID: {type: INT32, desc: user id}
137  FIREWALL_ERROR_TYPE: {type: INT32, desc: the error code}
138  FIREWALL_ERROR_MSG: {type: STRING, desc: the error message}
139
140NET_FIREWALL_CONF_BEHAVIOR:
141  __BASE: {type: BEHAVIOR, level: MINOR, desc: net firewall policy configuration behavior management}
142  FIREWALL_USER_ID: {type: INT32, desc: user id}
143
144NET_FIREWALL_REQ_BEHAVIOR:
145  __BASE: {type: BEHAVIOR, level: MINOR, desc: net firewall policy query behavior management}
146  FIREWALL_USER_ID: {type: INT32, desc: user id}
147
148NET_FIREWALL_LOG_REQ_BEHAVIOR:
149  __BASE: {type: BEHAVIOR, level: MINOR, desc: net firewall interception log query behavior management}
150  FIREWALL_USER_ID: {type: INT32, desc: user id}