1cbdc2723SGeorge Liu# PLDM daemon options 2cbdc2723SGeorge Liuoption( 3cbdc2723SGeorge Liu 'tests', 4cbdc2723SGeorge Liu type: 'feature', 5cbdc2723SGeorge Liu value: 'enabled', 6cbdc2723SGeorge Liu description: 'Build tests' 7cbdc2723SGeorge Liu) 8cbdc2723SGeorge Liu 9cbdc2723SGeorge Liuoption( 10cbdc2723SGeorge Liu 'utilities', 11cbdc2723SGeorge Liu type: 'feature', 12cbdc2723SGeorge Liu value: 'enabled', 13cbdc2723SGeorge Liu description: 'Enable debug utilities' 14cbdc2723SGeorge Liu) 15cbdc2723SGeorge Liu 16cbdc2723SGeorge Liuoption( 17cbdc2723SGeorge Liu 'libpldmresponder', 18cbdc2723SGeorge Liu type: 'feature', 19cbdc2723SGeorge Liu value: 'enabled', 20cbdc2723SGeorge Liu description: 'Enable libpldmresponder' 21cbdc2723SGeorge Liu) 22cbdc2723SGeorge Liu 23cbdc2723SGeorge Liuoption( 24cbdc2723SGeorge Liu 'systemd', 25cbdc2723SGeorge Liu type: 'feature', 26cbdc2723SGeorge Liu value: 'enabled', 27cbdc2723SGeorge Liu description: 'Include systemd support' 28cbdc2723SGeorge Liu) 29cbdc2723SGeorge Liu 301ed5f7a6SRashmica Guptaoption( 311ed5f7a6SRashmica Gupta 'transport-implementation', 321ed5f7a6SRashmica Gupta type: 'combo', 331ed5f7a6SRashmica Gupta choices: ['mctp-demux', 'af-mctp'], 341ed5f7a6SRashmica Gupta description: 'transport via af-mctp or mctp-demux' 351ed5f7a6SRashmica Gupta) 361ed5f7a6SRashmica Gupta 37cbdc2723SGeorge Liu# As per PLDM spec DSP0240 version 1.1.0, in Timing Specification for PLDM messages (Table 6), 38cbdc2723SGeorge Liu# the instance ID for a given response will expire and become reusable if a response has not been 39cbdc2723SGeorge Liu# received within a maximum of 6 seconds after a request is sent. By setting the dbus timeout 40cbdc2723SGeorge Liu# value to 5 seconds we ensure that PLDM does not wait for a response from a dbus call even after 41cbdc2723SGeorge Liu# the instance ID has expired. If the option is set to 5 seconds, any dbus call originated from 42cbdc2723SGeorge Liu# PLDM daemon will timeout after 5 seconds. 43cbdc2723SGeorge Liuoption( 44cbdc2723SGeorge Liu 'dbus-timeout-value', 45cbdc2723SGeorge Liu type: 'integer', 46cbdc2723SGeorge Liu min: 3, 47cbdc2723SGeorge Liu max: 10, 48cbdc2723SGeorge Liu value: 5, 49cbdc2723SGeorge Liu description: '''The amount of time pldm waits to get a response for a dbus 50cbdc2723SGeorge Liu message before timing out''' 51cbdc2723SGeorge Liu) 52cbdc2723SGeorge Liu 53cbdc2723SGeorge Liuoption( 54cbdc2723SGeorge Liu 'heartbeat-timeout-seconds', 55cbdc2723SGeorge Liu type: 'integer', 56cbdc2723SGeorge Liu value: 120, 57cbdc2723SGeorge Liu description: '''The amount of time host waits for BMC to respond to pings 58cbdc2723SGeorge Liu from host, as part of host-bmc surveillance''' 59cbdc2723SGeorge Liu) 60cbdc2723SGeorge Liu 61cbdc2723SGeorge Liu# Flight Recorder for PLDM Daemon 62cbdc2723SGeorge Liuoption( 63cbdc2723SGeorge Liu 'flightrecorder-max-entries', 64cbdc2723SGeorge Liu type:'integer', 65cbdc2723SGeorge Liu min:0, 66cbdc2723SGeorge Liu max:30, 67cbdc2723SGeorge Liu value: 10, 68cbdc2723SGeorge Liu description: '''The max number of pldm messages that can be stored in the 69cbdc2723SGeorge Liu recorder, this feature will be disabled if it is set to 0''' 70cbdc2723SGeorge Liu) 71cbdc2723SGeorge Liu 72cbdc2723SGeorge Liu# PLDM Daemon Terminus options 73cbdc2723SGeorge Liuoption( 74cbdc2723SGeorge Liu 'terminus-id', 75cbdc2723SGeorge Liu type:'integer', 76cbdc2723SGeorge Liu min:0, 77cbdc2723SGeorge Liu max: 255, 78cbdc2723SGeorge Liu value:1, 79cbdc2723SGeorge Liu description: '''The terminus id value of the device that is running this 80cbdc2723SGeorge Liu pldm stack''' 81cbdc2723SGeorge Liu) 82cbdc2723SGeorge Liu 83cbdc2723SGeorge Liuoption( 84cbdc2723SGeorge Liu 'terminus-handle', 85cbdc2723SGeorge Liu type:'integer', 86cbdc2723SGeorge Liu min:0, 87cbdc2723SGeorge Liu max:65535, 88cbdc2723SGeorge Liu value:1, 89cbdc2723SGeorge Liu description: '''The terminus handle value of the device that is running this 90cbdc2723SGeorge Liu pldm stack''' 91cbdc2723SGeorge Liu) 92cbdc2723SGeorge Liu 93cbdc2723SGeorge Liu# Timing specification options for PLDM messages 94cbdc2723SGeorge Liuoption( 95cbdc2723SGeorge Liu 'number-of-request-retries', 96cbdc2723SGeorge Liu type: 'integer', 97cbdc2723SGeorge Liu min: 2, 98cbdc2723SGeorge Liu max: 30, 99cbdc2723SGeorge Liu value: 2, 100cbdc2723SGeorge Liu description: '''The number of times a requester is obligated to retry a 101cbdc2723SGeorge Liu request''' 102cbdc2723SGeorge Liu) 103cbdc2723SGeorge Liu 104cbdc2723SGeorge Liuoption( 105cbdc2723SGeorge Liu 'instance-id-expiration-interval', 106cbdc2723SGeorge Liu type: 'integer', 107cbdc2723SGeorge Liu min: 5, 108cbdc2723SGeorge Liu max: 6, 109cbdc2723SGeorge Liu value: 5, 110cbdc2723SGeorge Liu description: 'Instance ID expiration interval in seconds' 111cbdc2723SGeorge Liu) 112cbdc2723SGeorge Liu 113cbdc2723SGeorge Liu# Default response-time-out set to 2 seconds to facilitate a minimum retry of 114cbdc2723SGeorge Liu# the request of 2. 115cbdc2723SGeorge Liuoption( 116cbdc2723SGeorge Liu 'response-time-out', 117cbdc2723SGeorge Liu type: 'integer', 118cbdc2723SGeorge Liu min: 300, 119cbdc2723SGeorge Liu max: 4800, 120cbdc2723SGeorge Liu value: 2000, 121cbdc2723SGeorge Liu description: '''The amount of time a requester has to wait for a response 122cbdc2723SGeorge Liu message in milliseconds''' 123cbdc2723SGeorge Liu) 124cbdc2723SGeorge Liu 125cbdc2723SGeorge Liu# Firmware update configuration parameters 126cbdc2723SGeorge Liuoption( 127cbdc2723SGeorge Liu 'maximum-transfer-size', 128cbdc2723SGeorge Liu type: 'integer', 129cbdc2723SGeorge Liu min: 16, 130cbdc2723SGeorge Liu max: 4294967295, 131cbdc2723SGeorge Liu value: 4096, 132cbdc2723SGeorge Liu description: '''Maximum size in bytes of the variable payload allowed to be 133cbdc2723SGeorge Liu requested by the FD, via RequestFirmwareData command''' 134cbdc2723SGeorge Liu) 135cbdc2723SGeorge Liu 13646f352edSArchana Kakani# Bios Attributes option 13746f352edSArchana Kakanioption( 13846f352edSArchana Kakani 'system-specific-bios-json', 13946f352edSArchana Kakani type : 'feature', 14046f352edSArchana Kakani value: 'disabled', 14146f352edSArchana Kakani description : 'Support for different set of bios attributes for different types of systems' 14246f352edSArchana Kakani) 14346f352edSArchana Kakani 144cbdc2723SGeorge Liu# PLDM Soft Power off options 145cbdc2723SGeorge Liuoption( 146cbdc2723SGeorge Liu 'softoff', 147cbdc2723SGeorge Liu type: 'feature', 148cbdc2723SGeorge Liu value: 'enabled', 149cbdc2723SGeorge Liu description: 'Build soft power off application' 150cbdc2723SGeorge Liu) 151cbdc2723SGeorge Liu 152cbdc2723SGeorge Liuoption( 153cbdc2723SGeorge Liu 'softoff-timeout-seconds', 154cbdc2723SGeorge Liu type: 'integer', 155cbdc2723SGeorge Liu value: 7200, 156cbdc2723SGeorge Liu description: 'softoff: Time to wait for host to gracefully shutdown' 157cbdc2723SGeorge Liu) 158cbdc2723SGeorge Liu 159cbdc2723SGeorge Liu# Vendor Specific Options 160cbdc2723SGeorge Liu 161cbdc2723SGeorge Liu## OEM IBM Options 162cbdc2723SGeorge Liuoption( 163cbdc2723SGeorge Liu 'oem-ibm', 164cbdc2723SGeorge Liu type: 'feature', 165cbdc2723SGeorge Liu value: 'enabled', 166cbdc2723SGeorge Liu description: 'Enable IBM OEM PLDM' 167cbdc2723SGeorge Liu) 168cbdc2723SGeorge Liu 169cbdc2723SGeorge Liuoption( 170cbdc2723SGeorge Liu 'oem-ibm-dma-maxsize', 171cbdc2723SGeorge Liu type: 'integer', 172cbdc2723SGeorge Liu min:4096, 173cbdc2723SGeorge Liu max: 16773120, 174cbdc2723SGeorge Liu value: 8384512, 175cbdc2723SGeorge Liu description: 'OEM-IBM: max DMA size' 176cbdc2723SGeorge Liu) 177*3c5486d4SThu Nguyen 178*3c5486d4SThu Nguyen## Default Sensor Update Interval Options 179*3c5486d4SThu Nguyenoption( 180*3c5486d4SThu Nguyen 'default-sensor-update-interval', 181*3c5486d4SThu Nguyen type: 'integer', 182*3c5486d4SThu Nguyen min: 1, 183*3c5486d4SThu Nguyen max: 4294967295, 184*3c5486d4SThu Nguyen description: '''The default sensor polling interval in milliseconds. 185*3c5486d4SThu Nguyen The value will be used when the internal is not configured 186*3c5486d4SThu Nguyen in the PLDM sensor PDRs use `updateInterval` field. `pldmd` 187*3c5486d4SThu Nguyen will send `GetSensorReading` to get the PLDM sensor values 188*3c5486d4SThu Nguyen of the monitoring terminus after each configured 189*3c5486d4SThu Nguyen interval.''', 190*3c5486d4SThu Nguyen value: 999 191*3c5486d4SThu Nguyen)