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