1*24966cf2SMatthew Barth{
2*24966cf2SMatthew Barth    "fans": [
3*24966cf2SMatthew Barth        {
4*24966cf2SMatthew Barth            "inventory": "/system/chassis/motherboard/fan0",
5*24966cf2SMatthew Barth            "functional_delay": 5,
6*24966cf2SMatthew Barth            "allowed_out_of_range_time": 30,
7*24966cf2SMatthew Barth            "deviation": 15,
8*24966cf2SMatthew Barth            "num_sensors_nonfunc_for_fan_nonfunc": 1,
9*24966cf2SMatthew Barth            "monitor_start_delay": 20,
10*24966cf2SMatthew Barth            "sensors": [
11*24966cf2SMatthew Barth                {
12*24966cf2SMatthew Barth                    "name": "fan0_0",
13*24966cf2SMatthew Barth                    "has_target": true
14*24966cf2SMatthew Barth                },
15*24966cf2SMatthew Barth                {
16*24966cf2SMatthew Barth                    "name": "fan0_1",
17*24966cf2SMatthew Barth                    "has_target": false
18*24966cf2SMatthew Barth                }
19*24966cf2SMatthew Barth            ]
20*24966cf2SMatthew Barth        },
21*24966cf2SMatthew Barth        {
22*24966cf2SMatthew Barth            "inventory": "/system/chassis/motherboard/fan1",
23*24966cf2SMatthew Barth            "functional_delay": 5,
24*24966cf2SMatthew Barth            "allowed_out_of_range_time": 30,
25*24966cf2SMatthew Barth            "deviation": 15,
26*24966cf2SMatthew Barth            "num_sensors_nonfunc_for_fan_nonfunc": 1,
27*24966cf2SMatthew Barth            "monitor_start_delay": 20,
28*24966cf2SMatthew Barth            "sensors": [
29*24966cf2SMatthew Barth                {
30*24966cf2SMatthew Barth                    "name": "fan1_0",
31*24966cf2SMatthew Barth                    "has_target": true
32*24966cf2SMatthew Barth                },
33*24966cf2SMatthew Barth                {
34*24966cf2SMatthew Barth                    "name": "fan1_1",
35*24966cf2SMatthew Barth                    "has_target": false
36*24966cf2SMatthew Barth                }
37*24966cf2SMatthew Barth            ],
38*24966cf2SMatthew Barth            "condition": {
39*24966cf2SMatthew Barth                "name": "propertiesMatch",
40*24966cf2SMatthew Barth                "properties": [
41*24966cf2SMatthew Barth                    {
42*24966cf2SMatthew Barth                        "object": "/xyz/openbmc_project/inventory/system/chassis",
43*24966cf2SMatthew Barth                        "interface": "xyz.openbmc_project.Inventory.Decorator.CoolingType",
44*24966cf2SMatthew Barth                        "property": {
45*24966cf2SMatthew Barth                            "name": "WaterCooled",
46*24966cf2SMatthew Barth                            "type": "bool",
47*24966cf2SMatthew Barth                            "value": false
48*24966cf2SMatthew Barth                        }
49*24966cf2SMatthew Barth                    }
50*24966cf2SMatthew Barth                ]
51*24966cf2SMatthew Barth            }
52*24966cf2SMatthew Barth        },
53*24966cf2SMatthew Barth        {
54*24966cf2SMatthew Barth            "inventory": "/system/chassis/motherboard/fan2",
55*24966cf2SMatthew Barth            "functional_delay": 5,
56*24966cf2SMatthew Barth            "allowed_out_of_range_time": 30,
57*24966cf2SMatthew Barth            "deviation": 15,
58*24966cf2SMatthew Barth            "num_sensors_nonfunc_for_fan_nonfunc": 1,
59*24966cf2SMatthew Barth            "monitor_start_delay": 20,
60*24966cf2SMatthew Barth            "sensors": [
61*24966cf2SMatthew Barth                {
62*24966cf2SMatthew Barth                    "name": "fan2_0",
63*24966cf2SMatthew Barth                    "has_target": true
64*24966cf2SMatthew Barth                },
65*24966cf2SMatthew Barth                {
66*24966cf2SMatthew Barth                    "name": "fan2_1",
67*24966cf2SMatthew Barth                    "has_target": false
68*24966cf2SMatthew Barth                }
69*24966cf2SMatthew Barth            ]
70*24966cf2SMatthew Barth        },
71*24966cf2SMatthew Barth        {
72*24966cf2SMatthew Barth            "inventory": "/system/chassis/motherboard/fan3",
73*24966cf2SMatthew Barth            "functional_delay": 5,
74*24966cf2SMatthew Barth            "allowed_out_of_range_time": 30,
75*24966cf2SMatthew Barth            "deviation": 15,
76*24966cf2SMatthew Barth            "num_sensors_nonfunc_for_fan_nonfunc": 1,
77*24966cf2SMatthew Barth            "monitor_start_delay": 20,
78*24966cf2SMatthew Barth            "sensors": [
79*24966cf2SMatthew Barth                {
80*24966cf2SMatthew Barth                    "name": "fan3_0",
81*24966cf2SMatthew Barth                    "has_target": true
82*24966cf2SMatthew Barth                },
83*24966cf2SMatthew Barth                {
84*24966cf2SMatthew Barth                    "name": "fan3_1",
85*24966cf2SMatthew Barth                    "has_target": false
86*24966cf2SMatthew Barth                }
87*24966cf2SMatthew Barth            ]
88*24966cf2SMatthew Barth        }
89*24966cf2SMatthew Barth    ],
90*24966cf2SMatthew Barth    "sensor_trust_groups": [
91*24966cf2SMatthew Barth        {
92*24966cf2SMatthew Barth            "class": "NonzeroSpeed",
93*24966cf2SMatthew Barth            "group": [
94*24966cf2SMatthew Barth                {
95*24966cf2SMatthew Barth                    "name": "fan0_1"
96*24966cf2SMatthew Barth                },
97*24966cf2SMatthew Barth                {
98*24966cf2SMatthew Barth                    "name": "fan1_1"
99*24966cf2SMatthew Barth                },
100*24966cf2SMatthew Barth                {
101*24966cf2SMatthew Barth                    "name": "fan2_1"
102*24966cf2SMatthew Barth                },
103*24966cf2SMatthew Barth                {
104*24966cf2SMatthew Barth                    "name": "fan3_1"
105*24966cf2SMatthew Barth                },
106*24966cf2SMatthew Barth                {
107*24966cf2SMatthew Barth                    "name": "fan0_0",
108*24966cf2SMatthew Barth                    "in_trust": false
109*24966cf2SMatthew Barth                },
110*24966cf2SMatthew Barth                {
111*24966cf2SMatthew Barth                    "name": "fan1_0",
112*24966cf2SMatthew Barth                    "in_trust": false
113*24966cf2SMatthew Barth                },
114*24966cf2SMatthew Barth                {
115*24966cf2SMatthew Barth                    "name": "fan2_0",
116*24966cf2SMatthew Barth                    "in_trust": false
117*24966cf2SMatthew Barth                },
118*24966cf2SMatthew Barth                {
119*24966cf2SMatthew Barth                    "name": "fan3_0",
120*24966cf2SMatthew Barth                    "in_trust": false
121*24966cf2SMatthew Barth                }
122*24966cf2SMatthew Barth            ]
123*24966cf2SMatthew Barth        }
124*24966cf2SMatthew Barth    ]
125*24966cf2SMatthew Barth}
126