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