Motr  M0
confc.h
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2015-2020 Seagate Technology LLC and/or its Affiliates
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * For any questions about this software or licensing,
18  * please email opensource@seagate.com or cortx-questions@seagate.com.
19  *
20  */
21 
22 #pragma once
23 #ifndef __MOTR_CONF_UT_CONFC_H__
24 #define __MOTR_CONF_UT_CONFC_H__
25 
26 #include "fid/fid.h" /* M0_FID_TINIT */
27 
28 enum {
51 };
52 
53 /* See ut/conf.xc */
54 static const struct m0_fid m0_ut_conf_fids[] = {
55  [M0_UT_CONF_ROOT] = M0_FID_TINIT('t', 1, 0),
56  [M0_UT_CONF_SITE] = M0_FID_TINIT('S', 1, 1),
57  [M0_UT_CONF_PROF] = M0_FID_TINIT('p', 1, 0),
58  [M0_UT_CONF_NODE] = M0_FID_TINIT('n', 1, 2),
59  [M0_UT_CONF_PROCESS0] = M0_FID_TINIT('r', 1, 5),
60  [M0_UT_CONF_PROCESS1] = M0_FID_TINIT('r', 1, 6),
61  [M0_UT_CONF_SERVICE0] = M0_FID_TINIT('s', 1, 9),
62  [M0_UT_CONF_SERVICE1] = M0_FID_TINIT('s', 1, 10),
63  [M0_UT_CONF_SDEV0] = M0_FID_TINIT('d', 1, 13),
64  [M0_UT_CONF_SDEV1] = M0_FID_TINIT('d', 1, 14),
65  [M0_UT_CONF_SDEV2] = M0_FID_TINIT('d', 1, 15),
66  [M0_UT_CONF_RACK] = M0_FID_TINIT('a', 1, 3),
67  [M0_UT_CONF_ENCLOSURE] = M0_FID_TINIT('e', 1, 7),
68  [M0_UT_CONF_CONTROLLER] = M0_FID_TINIT('c', 1, 11),
69  [M0_UT_CONF_DISK] = M0_FID_TINIT('k', 1, 16),
70  [M0_UT_CONF_POOL] = M0_FID_TINIT('o', 1, 4),
71  [M0_UT_CONF_PVER] = M0_FID_TINIT('v', 1, 8),
72  [M0_UT_CONF_RACKV] = M0_FID_TINIT('j', 1, 12),
73  [M0_UT_CONF_ENCLOSUREV] = M0_FID_TINIT('j', 1, 17),
74  [M0_UT_CONF_CONTROLLERV] = M0_FID_TINIT('j', 1, 18),
75  [M0_UT_CONF_DISKV] = M0_FID_TINIT('j', 1, 19),
77 };
78 
79 #endif /* __MOTR_CONF_UT_CONFC_H__ */
#define M0_FID_TINIT(type, container, key)
Definition: fid.h:90
static const struct m0_fid m0_ut_conf_fids[]
Definition: confc.h:54
Definition: fid.h:38