blob: 4dc768a0a218ddf01cecdade17c4a46ca97bcf7f [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',
25 description: 'Disable JSON based fan control even if json-config is enabled.'
26)
27
28option(
Mike Cappsa0819562022-06-13 10:17:10 -040029 'control-persist-root-path', type: 'string', value: '/var/lib/phosphor-fan-presence/control',
30 description: 'Base location to persist zone property states'
31)
32
33option(
34 'fan-def-yaml-file', type: 'string', value: 'example/fans.yaml',
35 description: 'Build time fan configuration file'
36)
37option(
38 'fan-zone-yaml-file', type: 'string', value: 'example/zones.yaml',
39 description: 'Build time fan configuration file'
40)
41option(
42 'zone-events-yaml-file', type: 'string', value: 'example/events.yaml',
43 description: 'Build time fan configuration file'
44)
45option(
46 'zone-conditions-yaml-file', type: 'string', value: 'example/zone_conditions.yaml',
47 description: 'Build time fan configuration file'
48)
49
50# Monitor
51
52option(
53 'monitor-service', type: 'feature', value: 'enabled',
54 description: 'Build fan monitor service'
55)
56
57option(
58 'fan-monitor-yaml-file', type: 'string', value: 'example/monitor.yaml',
59 description: 'Location of the config file'
60)
61
62option(
63 'num-monitor-log-entries', type: 'integer', value: 75,
64 description: 'Maximum number of entries in the monitor log.'
65)
66
Mike Cappsa0819562022-06-13 10:17:10 -040067# Presence
68
69option(
70 'presence-service', type: 'feature', value: 'enabled',
71 description: 'Build fan presence service.'
72)
73
74option(
75 'presence-config', type: 'string', value: 'example/example.yaml',
76 description: 'Location of the config file'
77)
78
79option(
80 'num-presence-log-entries', type: 'integer', value: 50,
81 description: 'Maximum number of entries in the presence log.'
82)
83
84# Sensor Monitor
85
86option(
87 'sensor-monitor-service', type: 'feature', value: 'enabled',
88 description: 'Build sensor monitor.'
89)
90
91option(
Mike Cappsbf8e56f2022-06-29 14:23:07 -040092 'sensor-monitor-persist-root-path', type: 'string',
93 value: '/var/lib/phosphor-fan-presence/sensor-monitor',
94 description: 'Root path for persisting sensor monitor data.'
Mike Cappsa0819562022-06-13 10:17:10 -040095)
96
97option(
98 'sensor-monitor-hard-shutdown-delay', type: 'integer', value: 23000,
99 description: 'Milliseconds to delay the alarm before hard shutdown.'
100)
101
102option(
103 'sensor-monitor-soft-shutdown-delay', type: 'integer', value: 900000,
104 description: 'Milliseconds to delay the alarm before soft shutdown.'
105)
106
107# Other
108
109option(
110 'cooling-type-service', type: 'feature', value: 'disabled',
111 description: 'Build cooling-type package.'
112)
113
114option(
115 'enable-host-state', type: 'feature', value: 'disabled',
116 description: 'Enable host state.'
117)