1# Copyright (c) 2022-2023 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: RSS
15
16PLUGIN_DISABLE:
17  __BASE: {type: FAULT, level: MINOR, desc: sched plugin disable}
18  PLUGIN_NAME: {type: STRING, desc: plugin name}
19
20INIT_FAULT:
21  __BASE: {type: FAULT, level: CRITICAL, desc: acritical error during initlization}
22  COMPONENT_NAME: {type: STRING, desc: the name of component}
23  ERR_TYPE: {type: STRING, desc: the type of error}
24  ERR_MSG: {type: STRING, desc: error information}
25
26LIMIT_BOOST:
27  __BASE: {type: BEHAVIOR, level: MINOR, desc: power or thermal limit status}
28  CLIENT_ID: {type: INT32, desc: 1 means power 2 means thermal}
29  ON_OFF_TAG: {type: BOOL, desc: can boost over max value or not}
30
31LIMIT_REQUEST:
32  __BASE: {type: BEHAVIOR, level: MINOR, desc: limit max to xx}
33  CLIENT_ID: {type: INT32, desc: 1 means power 2 means thermal}
34  RES_ID: {type: INT32, desc: number of node path config in socperf_resource_config}
35  CONFIG: {type: INT64, desc: limit max to xx}
36
37SERVICE_REQUEST_LIMIT:
38  __BASE: {type: BEHAVIOR, level: MINOR, desc: RSS_SERVICE_REQUEST_LIMIT, preserve: true}
39  REQUEST_LIMIT_COUNT: {type: INT32, desc: SERVICE_REQUEST_LIMIT_COUNT}
40