blob: 718ca7f53b5bad63fdde8a0f394b8e6a015d3237 [file] [log] [blame]
Mike Cappsa0819562022-06-13 10:17:10 -04001
2option(
3 'tests', type: 'feature', value: 'enabled', description: 'Build tests.',
4)
5
6option(
7 'json-config', type: 'feature', value: 'enabled',
8 description: 'Use json at runtime to configure fan packages.'
9)
10
11option(
12 'machine-name', type: 'string', value: '',
13 description: 'Machine name being built. Used to install the proper JSON config files.'
14)
15
16# Control
17
18option(
19 'control-service', type: 'feature', value: 'enabled',
20 description: 'Build fan control service.'
21)
22
23option(
24 'json-control', type: 'feature', value: 'enabled',
Matt Spinler8cfe3012022-08-22 16:38:57 -050025 description: '''This can only be used to disable JSON based fan control
26 (using json-control=disabled) when json-config is enabled.
27 If json-control=enabled and json-config=disabled it will
28 not do anything.'''
Mike Cappsa0819562022-06-13 10:17:10 -040029)
30
31option(
Mike Cappsa0819562022-06-13 10:17:10 -040032 'control-persist-root-path', type: 'string', value: '/var/lib/phosphor-fan-presence/control',
33 description: 'Base location to persist zone property states'
34)
35
36option(
37 'fan-def-yaml-file', type: 'string', value: 'example/fans.yaml',
38 description: 'Build time fan configuration file'
39)
40option(
41 'fan-zone-yaml-file', type: 'string', value: 'example/zones.yaml',
42 description: 'Build time fan configuration file'
43)
44option(
45 'zone-events-yaml-file', type: 'string', value: 'example/events.yaml',
46 description: 'Build time fan configuration file'
47)
48option(
49 'zone-conditions-yaml-file', type: 'string', value: 'example/zone_conditions.yaml',
50 description: 'Build time fan configuration file'
51)
52
53# Monitor
54
55option(
56 'monitor-service', type: 'feature', value: 'enabled',
57 description: 'Build fan monitor service'
58)
59
60option(
61 'fan-monitor-yaml-file', type: 'string', value: 'example/monitor.yaml',
62 description: 'Location of the config file'
63)
64
65option(
66 'num-monitor-log-entries', type: 'integer', value: 75,
67 description: 'Maximum number of entries in the monitor log.'
68)
69
Mike Cappsa0819562022-06-13 10:17:10 -040070# Presence
71
72option(
73 'presence-service', type: 'feature', value: 'enabled',
74 description: 'Build fan presence service.'
75)
76
77option(
78 'presence-config', type: 'string', value: 'example/example.yaml',
79 description: 'Location of the config file'
80)
81
82option(
83 'num-presence-log-entries', type: 'integer', value: 50,
84 description: 'Maximum number of entries in the presence log.'
85)
86
87# Sensor Monitor
88
89option(
90 'sensor-monitor-service', type: 'feature', value: 'enabled',
91 description: 'Build sensor monitor.'
92)
93
94option(
Mike Cappsbf8e56f2022-06-29 14:23:07 -040095 'sensor-monitor-persist-root-path', type: 'string',
96 value: '/var/lib/phosphor-fan-presence/sensor-monitor',
97 description: 'Root path for persisting sensor monitor data.'
Mike Cappsa0819562022-06-13 10:17:10 -040098)
99
100option(
101 'sensor-monitor-hard-shutdown-delay', type: 'integer', value: 23000,
102 description: 'Milliseconds to delay the alarm before hard shutdown.'
103)
104
105option(
106 'sensor-monitor-soft-shutdown-delay', type: 'integer', value: 900000,
107 description: 'Milliseconds to delay the alarm before soft shutdown.'
108)
109
110# Other
111
112option(
113 'cooling-type-service', type: 'feature', value: 'disabled',
114 description: 'Build cooling-type package.'
115)
116
117option(
Matt Spinlerb7dd3e22022-08-19 11:33:02 -0500118 'use-host-power-state', type: 'feature', value: 'disabled',
119 description: 'Enable using the host power state for power state checks.'
Mike Cappsa0819562022-06-13 10:17:10 -0400120)