Mike Capps | a081956 | 2022-06-13 10:17:10 -0400 | [diff] [blame] | 1 | |
| 2 | option( |
| 3 | 'tests', type: 'feature', value: 'enabled', description: 'Build tests.', |
| 4 | ) |
| 5 | |
| 6 | option( |
| 7 | 'json-config', type: 'feature', value: 'enabled', |
| 8 | description: 'Use json at runtime to configure fan packages.' |
| 9 | ) |
| 10 | |
| 11 | option( |
| 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 | |
| 18 | option( |
| 19 | 'control-service', type: 'feature', value: 'enabled', |
| 20 | description: 'Build fan control service.' |
| 21 | ) |
| 22 | |
| 23 | option( |
| 24 | 'json-control', type: 'feature', value: 'enabled', |
Matt Spinler | 8cfe301 | 2022-08-22 16:38:57 -0500 | [diff] [blame] | 25 | 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 Capps | a081956 | 2022-06-13 10:17:10 -0400 | [diff] [blame] | 29 | ) |
| 30 | |
| 31 | option( |
Mike Capps | a081956 | 2022-06-13 10:17:10 -0400 | [diff] [blame] | 32 | 'control-persist-root-path', type: 'string', value: '/var/lib/phosphor-fan-presence/control', |
| 33 | description: 'Base location to persist zone property states' |
| 34 | ) |
| 35 | |
| 36 | option( |
| 37 | 'fan-def-yaml-file', type: 'string', value: 'example/fans.yaml', |
| 38 | description: 'Build time fan configuration file' |
| 39 | ) |
| 40 | option( |
| 41 | 'fan-zone-yaml-file', type: 'string', value: 'example/zones.yaml', |
| 42 | description: 'Build time fan configuration file' |
| 43 | ) |
| 44 | option( |
| 45 | 'zone-events-yaml-file', type: 'string', value: 'example/events.yaml', |
| 46 | description: 'Build time fan configuration file' |
| 47 | ) |
| 48 | option( |
| 49 | 'zone-conditions-yaml-file', type: 'string', value: 'example/zone_conditions.yaml', |
| 50 | description: 'Build time fan configuration file' |
| 51 | ) |
| 52 | |
| 53 | # Monitor |
| 54 | |
| 55 | option( |
| 56 | 'monitor-service', type: 'feature', value: 'enabled', |
| 57 | description: 'Build fan monitor service' |
| 58 | ) |
| 59 | |
| 60 | option( |
| 61 | 'fan-monitor-yaml-file', type: 'string', value: 'example/monitor.yaml', |
| 62 | description: 'Location of the config file' |
| 63 | ) |
| 64 | |
| 65 | option( |
| 66 | 'num-monitor-log-entries', type: 'integer', value: 75, |
| 67 | description: 'Maximum number of entries in the monitor log.' |
| 68 | ) |
| 69 | |
Mike Capps | a081956 | 2022-06-13 10:17:10 -0400 | [diff] [blame] | 70 | # Presence |
| 71 | |
| 72 | option( |
| 73 | 'presence-service', type: 'feature', value: 'enabled', |
| 74 | description: 'Build fan presence service.' |
| 75 | ) |
| 76 | |
| 77 | option( |
| 78 | 'presence-config', type: 'string', value: 'example/example.yaml', |
| 79 | description: 'Location of the config file' |
| 80 | ) |
| 81 | |
| 82 | option( |
| 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 | |
| 89 | option( |
| 90 | 'sensor-monitor-service', type: 'feature', value: 'enabled', |
| 91 | description: 'Build sensor monitor.' |
| 92 | ) |
| 93 | |
| 94 | option( |
Mike Capps | bf8e56f | 2022-06-29 14:23:07 -0400 | [diff] [blame] | 95 | '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 Capps | a081956 | 2022-06-13 10:17:10 -0400 | [diff] [blame] | 98 | ) |
| 99 | |
| 100 | option( |
| 101 | 'sensor-monitor-hard-shutdown-delay', type: 'integer', value: 23000, |
| 102 | description: 'Milliseconds to delay the alarm before hard shutdown.' |
| 103 | ) |
| 104 | |
| 105 | option( |
| 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 | |
| 112 | option( |
| 113 | 'cooling-type-service', type: 'feature', value: 'disabled', |
| 114 | description: 'Build cooling-type package.' |
| 115 | ) |
| 116 | |
| 117 | option( |
Matt Spinler | b7dd3e2 | 2022-08-19 11:33:02 -0500 | [diff] [blame] | 118 | 'use-host-power-state', type: 'feature', value: 'disabled', |
| 119 | description: 'Enable using the host power state for power state checks.' |
Mike Capps | a081956 | 2022-06-13 10:17:10 -0400 | [diff] [blame] | 120 | ) |