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
{
29
M0_UT_CONF_ROOT
,
30
M0_UT_CONF_SITE
,
31
M0_UT_CONF_PROF
,
32
M0_UT_CONF_NODE
,
33
M0_UT_CONF_PROCESS0
,
34
M0_UT_CONF_PROCESS1
,
35
M0_UT_CONF_SERVICE0
,
36
M0_UT_CONF_SERVICE1
,
37
M0_UT_CONF_SDEV0
,
38
M0_UT_CONF_SDEV1
,
39
M0_UT_CONF_SDEV2
,
40
M0_UT_CONF_RACK
,
41
M0_UT_CONF_ENCLOSURE
,
42
M0_UT_CONF_CONTROLLER
,
43
M0_UT_CONF_DISK
,
44
M0_UT_CONF_POOL
,
45
M0_UT_CONF_PVER
,
46
M0_UT_CONF_RACKV
,
47
M0_UT_CONF_ENCLOSUREV
,
48
M0_UT_CONF_CONTROLLERV
,
49
M0_UT_CONF_DISKV
,
50
M0_UT_CONF_UNKNOWN_NODE
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),
76
[
M0_UT_CONF_UNKNOWN_NODE
] =
M0_FID_TINIT
(
'n'
, 5, 5)
77
};
78
79
#endif
/* __MOTR_CONF_UT_CONFC_H__ */
fid.h
M0_UT_CONF_ENCLOSURE
Definition:
confc.h:41
M0_UT_CONF_PROCESS0
Definition:
confc.h:33
M0_UT_CONF_UNKNOWN_NODE
Definition:
confc.h:50
M0_UT_CONF_SDEV2
Definition:
confc.h:39
M0_UT_CONF_ENCLOSUREV
Definition:
confc.h:47
M0_UT_CONF_RACKV
Definition:
confc.h:46
M0_UT_CONF_NODE
Definition:
confc.h:32
M0_UT_CONF_RACK
Definition:
confc.h:40
M0_FID_TINIT
#define M0_FID_TINIT(type, container, key)
Definition:
fid.h:90
M0_UT_CONF_SERVICE1
Definition:
confc.h:36
m0_ut_conf_fids
static const struct m0_fid m0_ut_conf_fids[]
Definition:
confc.h:54
M0_UT_CONF_DISK
Definition:
confc.h:43
M0_UT_CONF_CONTROLLERV
Definition:
confc.h:48
M0_UT_CONF_PVER
Definition:
confc.h:45
M0_UT_CONF_PROCESS1
Definition:
confc.h:34
M0_UT_CONF_SERVICE0
Definition:
confc.h:35
M0_UT_CONF_SDEV0
Definition:
confc.h:37
m0_fid
Definition:
fid.h:38
M0_UT_CONF_CONTROLLER
Definition:
confc.h:42
M0_UT_CONF_SITE
Definition:
confc.h:30
M0_UT_CONF_ROOT
Definition:
confc.h:29
M0_UT_CONF_SDEV1
Definition:
confc.h:38
M0_UT_CONF_PROF
Definition:
confc.h:31
M0_UT_CONF_POOL
Definition:
confc.h:44
M0_UT_CONF_DISKV
Definition:
confc.h:49
conf
ut
confc.h
Generated on Thu Apr 14 2022 14:02:53 for Motr by
1.8.14