1ecffbaeeSGeorge Liu 2ecffbaeeSGeorge Liuoption('tests', type: 'feature', description: 'Build tests') 3ecffbaeeSGeorge Liuoption('boot-flag-safe-mode-support', type: 'feature', description: 'Add option to enable/disable safe mode in boot flags') 4ecffbaeeSGeorge Liuoption('i2c-whitelist-check', type: 'feature', description: 'Add option to enable/disable i2c master write read command white list checking') 5ecffbaeeSGeorge Liu 6ecffbaeeSGeorge Liu# SoftPowerOff 7ecffbaeeSGeorge Liuoption('softoff', type: 'feature', description: 'Builds soft power off') 8ecffbaeeSGeorge Liuoption('softoff-busname', type: 'string', value: 'xyz.openbmc_project.Ipmi.Internal.SoftPowerOff', description: 'The Dbus busname to own for SoftPowerOff') 9ecffbaeeSGeorge Liuoption('softoff-objpath', type: 'string', value: '/xyz/openbmc_project/ipmi/internal/soft_power_off', description: 'The SoftPowerOff Dbus root') 10ecffbaeeSGeorge Liuoption('ipmi-sms-atn-ack-timeout-secs', type: 'integer', value: 3, description: 'Timeout for host to ack and query SMS_ATN from BMC') 11ecffbaeeSGeorge Liuoption('ipmi-host-shutdown-complete-timeout-secs', type: 'integer', value: 2700, description: 'Wait time for host to shutdown') 12ecffbaeeSGeorge Liu# Indicates an in-band power off or reboot request from the host 13ecffbaeeSGeorge Liu# This file is used to ensure the soft off service does not run for host 14ecffbaeeSGeorge Liu# initiated shutdown or reboot requests 15ecffbaeeSGeorge Liuoption('host-inband-request-dir', type: 'string', value: '/run/openbmc/', description: 'Directory to store host initiated shutdown file') 16ecffbaeeSGeorge Liuoption('host-inband-request-file', type: 'string', value: 'host@%u-request', description: 'File to create if host has initiated shutdown or reboot') 17ecffbaeeSGeorge Liu 18ecffbaeeSGeorge Liu 19ecffbaeeSGeorge Liu# Config Variables 20ecffbaeeSGeorge Liuoption('board-sensor', type: 'string', value: '/xyz/openbmc_project/inventory/system/chassis/motherboard', description: 'The inventory path to the motherboard fault sensor') 21ecffbaeeSGeorge Liuoption('system-sensor', type: 'string', value: '/xyz/openbmc_project/inventory/system', description: 'The inventory path to the system event sensor') 22ecffbaeeSGeorge Liu 23ecffbaeeSGeorge Liu# Control Host Interfaces 24ecffbaeeSGeorge Liuoption('control-host-busname', type: 'string', value: 'xyz.openbmc_project.Control.Host', description: 'The Control Host Dbus busname to own') 25ecffbaeeSGeorge Liuoption('control-host-obj-mgr', type: 'string', value: '/xyz/openbmc_project/control', description: 'The Control Host D-Bus Object Manager') 26ecffbaeeSGeorge Liuoption('host-name', type: 'string', value: 'host', description: 'The Control Host D-Bus Object Manager') 27ecffbaeeSGeorge Liu 28ecffbaeeSGeorge Liu# Power reading sensor configuration file 29ecffbaeeSGeorge Liuoption('power-reading-sensor', type: 'string', value: '/usr/share/ipmi-providers/power_reading.json', description: 'Power reading sensor configuration file') 30ecffbaeeSGeorge Liuoption('host-ipmi-lib-path', type: 'string', value: '/usr/lib/ipmid-providers/', description: 'The file path to search for libraries') 31ecffbaeeSGeorge Liu 32ecffbaeeSGeorge Liu# When a sensor read fails, hwmon will update the OperationalState interface's Functional property. 33ecffbaeeSGeorge Liu# This will mark the sensor as not functional and we will skip reading from that sensor. 34ecffbaeeSGeorge Liuoption('update-functional-on-fail', type: 'feature', value: 'disabled', description: 'Check functional property to skip reading from faulty sensors') 35ecffbaeeSGeorge Liu 36ecffbaeeSGeorge Liu# Features 37ecffbaeeSGeorge Liu 38ecffbaeeSGeorge Liu# When libuserlayer is disabled, libuserlayer won't be included in the build. 39ecffbaeeSGeorge Liuoption('libuserlayer', type: 'feature', description: 'Option to exclue exclude libuserlayer') 40ecffbaeeSGeorge Liu 41ecffbaeeSGeorge Liu# When transport-oem is enabled, the transporthandler_oem.cpp contents 42ecffbaeeSGeorge Liu# are compiled and added to the project. The transporthandler_oem.cpp file is 43ecffbaeeSGeorge Liu# copied from your own customization layer in the 44ecffbaeeSGeorge Liu# phosphor-ipmi-host_%.bbappend file. It is not necessary to create this file 45ecffbaeeSGeorge Liu# unless OEM Parameter extensions are required. 46ecffbaeeSGeorge Liuoption('transport-oem', type: 'feature', value: 'disabled', description: 'Enable transporthandler_oem contents') 47ecffbaeeSGeorge Liu 48ecffbaeeSGeorge Liu# IPMI whitelist mechanism is not needed by everyone; offer a way to disable it 49ecffbaeeSGeorge Liuoption('ipmi-whitelist', type: 'feature', description: 'Enable/disable IPMI whitelist filtering') 50ecffbaeeSGeorge Liuoption('whitelist-conf', type: 'string', value: 'host-ipmid-whitelist.conf', description: 'Paths to IPMI whitelisted commands conf files') 51ecffbaeeSGeorge Liu 52ecffbaeeSGeorge Liu# Entity Manager Decorators 53ecffbaeeSGeorge Liuoption('entity-manager-decorators', type: 'feature', value: 'enabled', description: 'The Entity Manager Decorators flag is enabled by default; offer a way to disable it') 54ecffbaeeSGeorge Liu 55ecffbaeeSGeorge Liu# Dynamic Sensor Stack 56ecffbaeeSGeorge Liuoption('dynamic-sensors', type: 'feature', value: 'disabled', description: 'Dynamic sensors stack is enabled by default; offer a way to disable it') 57ecffbaeeSGeorge Liuoption('dynamic-sensors-write', type: 'feature', value: 'disabled', description: 'Dynamic sensors stack is enabled by default; offer a way to disable it') 58ecffbaeeSGeorge Liuoption('hybrid-sensors', type: 'feature', value: 'disabled', description: 'Hybrid sensors stack is disabled by default; offer a way to enable it') 59*777cfaf2SJohnathan Manteyoption('sensors-oem', type: 'feature', value: 'disabled', description: 'OEM sensor SDR parsing is disabled by default; offer a way to enable it') 60ecffbaeeSGeorge Liu 61ecffbaeeSGeorge Liu# Sensor Cache 62ecffbaeeSGeorge Liuoption('sensors-cache', type: 'feature', value: 'disabled', description: 'Sensor cache stack is disabled by default; offer a way to enable it') 63ecffbaeeSGeorge Liu 64c2c26f93SAlexander Hansen# Short Sensor Names for IPMI 65c2c26f93SAlexander Hansenoption('shortname-remove-suffix', type: 'feature', value: 'enabled', description: 'shortname-remove-suffix is enabled by default') 66c2c26f93SAlexander Hansenoption('shortname-replace-words', type: 'feature', value: 'disabled', description: 'shortname-replace-words is disabled by default') 67c2c26f93SAlexander Hansen 68ecffbaeeSGeorge Liu# Generate configuration from Yaml 69ecffbaeeSGeorge Liuoption('sensor-yaml-gen', type: 'string', value: 'sensor-example.yaml') 70ecffbaeeSGeorge Liuoption('invsensor-yaml-gen', type: 'string', value: 'inventory-sensor-example.yaml') 71ecffbaeeSGeorge Liuoption('fru-yaml-gen', type: 'string', value: 'fru-read-example.yaml') 72ecffbaeeSGeorge Liu 73ecffbaeeSGeorge Liu# Software Version 74ecffbaeeSGeorge Liuoption('get-dbus-active-software', type: 'feature', description: 'Use the getActiveSoftwareVersionInfo for the BMC version and dev_id.json as backup') 75ecffbaeeSGeorge Liuoption('fw-ver-regex', type : 'string', value : '(\\\\d+)\\\\.(\\\\d+)', description : 'Regular expressions for parsing firmware revision') 76ecffbaeeSGeorge Liuoption('matches-map', type : 'array', value : ['1', '2', '0', '0', '0', '0'], description : 'An array of integers') 77ecffbaeeSGeorge Liu 78ecffbaeeSGeorge Liu# libipmi20.so library 79ecffbaeeSGeorge Liuoption('dynamic-storages-only', type: 'feature', value: 'disabled', description: 'Request to compile storage commands in the libipmi20 library') 80768730d2SPatrick Williams 81768730d2SPatrick Williams# open-power specific functionality. 82768730d2SPatrick Williamsoption('open-power', type: 'feature', description: 'Support open-power specific functions') 83