blob: 6a2875119ee034a876f27f9e76060c250e67489d [file] [log] [blame]
Ed Tanousc5bcf352024-09-25 16:41:10 -07001# BMCWEB_KVM
Ed Tanous0cd5f782022-04-26 16:09:09 -07002option(
Ed Tanous0cd5f782022-04-26 16:09:09 -07003 'kvm',
4 type: 'feature',
5 value: 'enabled',
6 description: '''Enable the KVM host video WebSocket. Path is /kvm/0.
Ed Tanous50b37022024-06-25 13:00:04 -07007 Video is from the BMCs /dev/videodevice.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -07008)
9
Ed Tanousc5bcf352024-09-25 16:41:10 -070010# BMCWEB_TESTS
Ed Tanous0cd5f782022-04-26 16:09:09 -070011option(
12 'tests',
13 type: 'feature',
14 value: 'enabled',
Ed Tanous50b37022024-06-25 13:00:04 -070015 description: 'Enable Unit tests for bmcweb',
Ed Tanous0cd5f782022-04-26 16:09:09 -070016)
17
Ed Tanousc5bcf352024-09-25 16:41:10 -070018# BMCWEB_VM_WEBSOCKET
Ed Tanous0cd5f782022-04-26 16:09:09 -070019option(
20 'vm-websocket',
21 type: 'feature',
22 value: 'enabled',
Ed Tanous36c0f2a2024-02-09 13:50:26 -080023 description: '''Enable the Virtual Media WebSocket. Path is /vm/0/0 and /nbd/<id> to
Ed Tanous0cd5f782022-04-26 16:09:09 -070024 open the websocket. See
Ed Tanous50b37022024-06-25 13:00:04 -070025 https://github.com/openbmc/jsnbd/blob/master/README.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070026)
Ed Tanousefb80622021-02-20 11:04:01 -080027
Ed Tanous56b81992024-12-02 10:36:37 -080028option(
29 'redfish-use-3-digit-messageid',
30 type: 'feature',
31 value: 'disabled',
32 description: '''Prior to a bug fix, bmcweb exposed error messages with a
33 MessageId of Base.x.y.z.Message which was incorrect.
34 Enabling this option causes return codes to return the old
35 incorrect version for backward compatibility. Will be
Ed Tanous04adfbc2024-12-27 10:55:20 -080036 removed Q2-2025''',
Ed Tanous56b81992024-12-02 10:36:37 -080037)
38
Ed Tanousc5bcf352024-09-25 16:41:10 -070039# BMCWEB_NBDPROXY
Ed Tanousefb80622021-02-20 11:04:01 -080040# if you use this option and are seeing this comment, please comment here:
41# https://github.com/openbmc/bmcweb/issues/188 and put forward your intentions
42# for this code. At this point, no daemon has been upstreamed that implements
43# this interface, so for the moment this appears to be dead code; In leiu of
44# removing it, it has been disabled to try to give those that use it the
45# opportunity to upstream their backend implementation
Ed Tanous0cd5f782022-04-26 16:09:09 -070046#option(
47# 'vm-nbdproxy',
Ed Tanous36c0f2a2024-02-09 13:50:26 -080048# type: 'feature',
49# value: 'disabled',
Ed Tanous0cd5f782022-04-26 16:09:09 -070050# description: 'Enable the Virtual Media WebSocket.'
51#)
52
Ed Tanousc5bcf352024-09-25 16:41:10 -070053# BMCWEB_REST
Ed Tanous0cd5f782022-04-26 16:09:09 -070054option(
55 'rest',
56 type: 'feature',
57 value: 'disabled',
58 description: '''Enable Phosphor REST (D-Bus) APIs. Paths directly map
59 Phosphor D-Bus object paths, for example,
60 /xyz/openbmc_project/logging/entry/enumerate. See
Ed Tanous50b37022024-06-25 13:00:04 -070061 https://github.com/openbmc/docs/blob/master/rest-api.md.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070062)
63
Ed Tanousc5bcf352024-09-25 16:41:10 -070064# BMCWEB_REDFISH
Ed Tanous0cd5f782022-04-26 16:09:09 -070065option(
66 'redfish',
67 type: 'feature',
68 value: 'enabled',
69 description: '''Enable Redfish APIs. Paths are under /redfish/v1/. See
Ed Tanous50b37022024-06-25 13:00:04 -070070 https://github.com/openbmc/bmcweb/blob/master/DEVELOPING.md#redfish.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070071)
72
Ed Tanousc5bcf352024-09-25 16:41:10 -070073# BMCWEB_HOST_SERIAL_SOCKET
Ed Tanous0cd5f782022-04-26 16:09:09 -070074option(
75 'host-serial-socket',
76 type: 'feature',
77 value: 'enabled',
78 description: '''Enable host serial console WebSocket. Path is /console0.
Ed Tanous50b37022024-06-25 13:00:04 -070079 See https://github.com/openbmc/docs/blob/master/console.md.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070080)
81
Ed Tanousc5bcf352024-09-25 16:41:10 -070082# BMCWEB_STATIC_HOSTING
Ed Tanous0cd5f782022-04-26 16:09:09 -070083option(
84 'static-hosting',
85 type: 'feature',
86 value: 'enabled',
87 description: '''Enable serving files from the /usr/share/www directory
Ed Tanous50b37022024-06-25 13:00:04 -070088 as paths under /.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070089)
90
Ed Tanousc5bcf352024-09-25 16:41:10 -070091# BMCWEB_REDFISH_BMC_JOURNAL
Ed Tanous0cd5f782022-04-26 16:09:09 -070092option(
93 'redfish-bmc-journal',
94 type: 'feature',
Willy Tuf8483672022-05-10 15:08:10 -070095 value: 'enabled',
Ed Tanous0cd5f782022-04-26 16:09:09 -070096 description: '''Enable BMC journal access through Redfish. Paths are under
Ed Tanous50b37022024-06-25 13:00:04 -070097 /redfish/v1/Managers/bmc/LogServices/Journal.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070098)
99
Ed Tanousc5bcf352024-09-25 16:41:10 -0700100# BMCWEB_REDFISH_CPU_LOG
Ed Tanous0cd5f782022-04-26 16:09:09 -0700101option(
102 'redfish-cpu-log',
103 type: 'feature',
104 value: 'disabled',
105 description: '''Enable CPU log service transactions through Redfish. Paths
Ed Tanous50b37022024-06-25 13:00:04 -0700106 are under /redfish/v1/Systems/system/LogServices/Crashdump'.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700107)
108
Ed Tanousc5bcf352024-09-25 16:41:10 -0700109# BMCWEB_REDFISH_DUMP_LOG
Ed Tanous0cd5f782022-04-26 16:09:09 -0700110option(
111 'redfish-dump-log',
112 type: 'feature',
113 value: 'disabled',
114 description: '''Enable Dump log service transactions through Redfish. Paths
115 are under /redfish/v1/Systems/system/LogServices/Dump
Ed Tanous50b37022024-06-25 13:00:04 -0700116 and /redfish/v1/Managers/bmc/LogServices/Dump''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700117)
118
Ed Tanousc5bcf352024-09-25 16:41:10 -0700119# BMCWEB_REDFISH_DBUS_LOG
Ed Tanous0cd5f782022-04-26 16:09:09 -0700120option(
121 'redfish-dbus-log',
122 type: 'feature',
123 value: 'disabled',
124 description: '''Enable DBUS log service transactions through Redfish. Paths
125 are under
Ed Tanous50b37022024-06-25 13:00:04 -0700126 /redfish/v1/Systems/system/LogServices/EventLog/Entries''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700127)
128
Alexander Hansen6c58a032024-11-21 15:27:04 -0800129# BMCWEB_EXPERIMENTAL_REDFISH_DBUS_LOG_SUBSCRIPTION
130option(
131 'experimental-redfish-dbus-log-subscription',
132 type: 'feature',
133 value: 'disabled',
134 description: '''
135 Allows EventService subscriptions when the redfish-dbus-log option is
136 enabled.
137 This option is currently non-functional, given Redfish requirements for
138 MessageId support in Events.
139 Option will be removed begining of Q2-2025.
140 Should not be enabled on any production systems.
141 ''',
142)
143
Ed Tanousc5bcf352024-09-25 16:41:10 -0700144# BMCWEB_REDFISH_HOST_LOGGER
Ed Tanous0cd5f782022-04-26 16:09:09 -0700145option(
146 'redfish-host-logger',
147 type: 'feature',
148 value: 'enabled',
149 description: '''Enable host log service transactions based on
150 phosphor-hostlogger through Redfish. Paths are under
Ed Tanous50b37022024-06-25 13:00:04 -0700151 /redfish/v1/Systems/system/LogServices/HostLogger''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700152)
153
Ed Tanousc5bcf352024-09-25 16:41:10 -0700154# BMCWEB_REDFISH_PROVISIONING_FEATURE
Ed Tanous0cd5f782022-04-26 16:09:09 -0700155option(
156 'redfish-provisioning-feature',
157 type: 'feature',
158 value: 'disabled',
159 description: '''Enable provisioning feature support in redfish. Paths are
Ed Tanous50b37022024-06-25 13:00:04 -0700160 under /redfish/v1/Systems/system/''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700161)
162
Ed Tanousc5bcf352024-09-25 16:41:10 -0700163# BMCWEB_REDFISH_MANAGER_URI_NAME
Ed Tanous0cd5f782022-04-26 16:09:09 -0700164option(
Ed Tanous253f11b2024-05-16 09:38:31 -0700165 'redfish-manager-uri-name',
166 type: 'string',
167 value: 'bmc',
168 description: '''The static Redfish Manager ID representing the BMC
169 instance. This option will appear in the Redfish tree at
170 /redfish/v1/Managers/<redfish-manager-uri-name>.
171 Defaults to \'bmc\' which resolves to
Ed Tanous50b37022024-06-25 13:00:04 -0700172 /redfish/v1/Managers/bmc''',
Ed Tanous253f11b2024-05-16 09:38:31 -0700173)
174
Ed Tanousc5bcf352024-09-25 16:41:10 -0700175# BMCWEB_REDFISH_SYSTEM_URI_NAME
Ed Tanous253f11b2024-05-16 09:38:31 -0700176option(
177 'redfish-system-uri-name',
178 type: 'string',
179 value: 'system',
180 description: '''The static Redfish System ID representing the host
181 instance. This option will appear in the Redfish tree at
182 /redfish/v1/Systems/<redfish-system-uri-name>.
183 Defaults to \'system\' which resolves to
Ed Tanous50b37022024-06-25 13:00:04 -0700184 /redfish/v1/Systems/system''',
Ed Tanous253f11b2024-05-16 09:38:31 -0700185)
186
Ed Tanousc5bcf352024-09-25 16:41:10 -0700187# BMCWEB_LOGGING_LEVEL
Ed Tanous253f11b2024-05-16 09:38:31 -0700188option(
Ed Tanous0cd5f782022-04-26 16:09:09 -0700189 'bmcweb-logging',
Myung Bae662aa6e2023-01-10 14:20:28 -0600190 type: 'combo',
Ed Tanous92e26be2024-08-21 13:39:14 -0700191 choices: [
192 'disabled',
193 'enabled',
194 'debug',
195 'info',
196 'warning',
197 'error',
198 'critical',
199 ],
Ed Tanous4d1db042024-02-16 13:08:34 -0800200 value: 'error',
Myung Bae662aa6e2023-01-10 14:20:28 -0600201 description: '''Enable output the extended logging level.
202 - disabled: disable bmcweb log traces.
203 - enabled: treated as 'debug'
Ed Tanous50b37022024-06-25 13:00:04 -0700204 - For the other logging level option, see DEVELOPING.md.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700205)
206
Ed Tanousc5bcf352024-09-25 16:41:10 -0700207# BMCWEB_BASIC_AUTH
Ed Tanous0cd5f782022-04-26 16:09:09 -0700208option(
209 'basic-auth',
210 type: 'feature',
211 value: 'enabled',
Ed Tanous50b37022024-06-25 13:00:04 -0700212 description: 'Enable basic authentication',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700213)
214
Ed Tanousc5bcf352024-09-25 16:41:10 -0700215# BMCWEB_SESSION_AUTH
Ed Tanous0cd5f782022-04-26 16:09:09 -0700216option(
217 'session-auth',
218 type: 'feature',
219 value: 'enabled',
Ed Tanous50b37022024-06-25 13:00:04 -0700220 description: 'Enable session authentication',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700221)
222
Ed Tanousc5bcf352024-09-25 16:41:10 -0700223# BMCWEB_XTOKEN_AUTH
Ed Tanous0cd5f782022-04-26 16:09:09 -0700224option(
225 'xtoken-auth',
226 type: 'feature',
227 value: 'enabled',
Ed Tanous50b37022024-06-25 13:00:04 -0700228 description: 'Enable xtoken authentication',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700229)
230
Ed Tanousc5bcf352024-09-25 16:41:10 -0700231# BMCWEB_COOKIE_AUTH
Ed Tanous0cd5f782022-04-26 16:09:09 -0700232option(
233 'cookie-auth',
234 type: 'feature',
235 value: 'enabled',
Ed Tanous50b37022024-06-25 13:00:04 -0700236 description: 'Enable cookie authentication',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700237)
238
Ed Tanousc5bcf352024-09-25 16:41:10 -0700239# BMCWEB_MUTUAL_TLS_AUTH
Ed Tanous0cd5f782022-04-26 16:09:09 -0700240option(
241 'mutual-tls-auth',
242 type: 'feature',
243 value: 'enabled',
244 description: '''Enables authenticating users through TLS client
245 certificates. The insecure-disable-ssl must be disabled for
Ed Tanous50b37022024-06-25 13:00:04 -0700246 this option to take effect.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700247)
248
Ed Tanousc5bcf352024-09-25 16:41:10 -0700249# BMCWEB_MUTUAL_TLS_COMMON_NAME_PARSING_DEFAULT
Ed Tanous0cd5f782022-04-26 16:09:09 -0700250option(
Ed Tanous3ce36882024-06-09 10:58:16 -0700251 'mutual-tls-common-name-parsing-default',
Marco Kawajiri0e373b52023-10-31 13:36:58 -0700252 type: 'combo',
Malik Akbar Hashemi Rafsanjania4943692025-05-27 13:23:44 -0700253 choices: ['CommonName', 'Whole', 'UserPrincipalName'],
254 description: '''Default MTLS parse mode to get username from the
255 client's x509 certificate''',
Marco Kawajiri0e373b52023-10-31 13:36:58 -0700256)
257
Ed Tanousc5bcf352024-09-25 16:41:10 -0700258# BMCWEB_IBM_MANAGEMENT_CONSOLE
Ed Tanous3ce36882024-06-09 10:58:16 -0700259option(
Ed Tanous0cd5f782022-04-26 16:09:09 -0700260 'ibm-management-console',
261 type: 'feature',
262 value: 'disabled',
263 description: '''Enable the IBM management console specific functionality.
Ed Tanous50b37022024-06-25 13:00:04 -0700264 Paths are under /ibm/v1/''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700265)
266
Ed Tanousc5bcf352024-09-25 16:41:10 -0700267# BMCWEB_GOOGLE_API
Ed Tanous0cd5f782022-04-26 16:09:09 -0700268option(
269 'google-api',
270 type: 'feature',
271 value: 'disabled',
272 description: '''Enable the Google specific functionality. Paths are under
Ed Tanous50b37022024-06-25 13:00:04 -0700273 /google/v1/''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700274)
275
Ed Tanousc5bcf352024-09-25 16:41:10 -0700276# BMCWEB_HTTP_BODY_LIMIT
Ed Tanous0cd5f782022-04-26 16:09:09 -0700277option(
278 'http-body-limit',
279 type: 'integer',
280 min: 0,
281 max: 512,
282 value: 30,
Ed Tanous50b37022024-06-25 13:00:04 -0700283 description: 'Specifies the http request body length limit',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700284)
285
Ed Tanousb2539062024-03-12 16:58:35 -0700286# BMCWEB_HTTP_ZSTD
287option(
288 'http-zstd',
289 type: 'feature',
290 value: 'enabled',
291 description: 'Allows compression/decompression using zstd',
292)
293
Ed Tanousc5bcf352024-09-25 16:41:10 -0700294# BMCWEB_REDFISH_NEW_POWERSUBSYSTEM_THERMALSUBSYSTEM
Ed Tanous0cd5f782022-04-26 16:09:09 -0700295option(
296 'redfish-new-powersubsystem-thermalsubsystem',
297 type: 'feature',
Gunnar Mills86159152024-02-06 14:54:39 -0600298 value: 'enabled',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700299 description: '''Enable/disable the new PowerSubsystem, ThermalSubsystem,
300 and all children schemas. This includes displaying all
Ed Tanous50b37022024-06-25 13:00:04 -0700301 sensors in the SensorCollection.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700302)
303
Janet Adkinsf664fd82025-07-23 14:01:43 -0500304# BMCWEB_REDFISH_ALLOW_DEPRECATED_INDICATORLED
305option(
306 'redfish-allow-deprecated-indicatorled',
307 type: 'feature',
308 value: 'disabled',
309 description: '''Enable/disable the deprecated IndicatorLED property. The
310 default condition is disabled. The code to enable this
311 option will be removed by March 2026.''',
312)
313
Ed Tanousc5bcf352024-09-25 16:41:10 -0700314# BMCWEB_REDFISH_ALLOW_DEPRECATED_POWER_THERMAL
Ed Tanous0cd5f782022-04-26 16:09:09 -0700315option(
316 'redfish-allow-deprecated-power-thermal',
317 type: 'feature',
Gunnar Millsdb3bf6f2025-08-21 11:05:13 -0500318 value: 'disabled',
319 description: '''Enable/disable the old Power / Thermal. This has been
320 replaced by the new PowerSubsystem, ThermalSubsystem, and
321 the redfish-new-powersubsystem-thermalsubsystem option.
322 This option will be removed June 2026.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700323)
324
Ed Tanousc5bcf352024-09-25 16:41:10 -0700325# BMCWEB_REDFISH_OEM_MANAGER_FAN_DATA
Ed Tanous0cd5f782022-04-26 16:09:09 -0700326option(
Gunnar Mills54dce7f2022-08-05 17:01:32 +0000327 'redfish-oem-manager-fan-data',
328 type: 'feature',
329 value: 'enabled',
330 description: '''Enables Redfish OEM fan data on the manager resource.
331 This includes PID and Stepwise controller data. See
Myung Bae1d19d872024-09-10 09:42:32 -0400332 OpenBMCManager schema for more detail.''',
Gunnar Mills54dce7f2022-08-05 17:01:32 +0000333)
334
Ed Tanousc5bcf352024-09-25 16:41:10 -0700335# BMCWEB_REDFISH_UPDATESERVICE_USE_DBUS
Gunnar Mills54dce7f2022-08-05 17:01:32 +0000336option(
Jagpal Singh Gill57855662024-04-17 10:44:27 -0700337 'redfish-updateservice-use-dbus',
338 type: 'feature',
Jagpal Singh Gill64fa9162024-11-12 16:16:47 -0800339 value: 'enabled',
Jagpal Singh Gill57855662024-04-17 10:44:27 -0700340 description: '''Enables xyz.openbmc_project.Software.Update D-Bus interface
341 to propagate UpdateService requests to the corresponding
342 updater daemons instead of moving files to /tmp/images dir.
Ed Tanous50b37022024-06-25 13:00:04 -0700343 ''',
Jagpal Singh Gill57855662024-04-17 10:44:27 -0700344)
345
Ed Tanous6a371402024-12-03 14:01:25 -0800346# BMCWEB_REDFISH_ALLOW_SIMPLE_UPDATE
347option(
348 'redfish-allow-simple-update',
349 type: 'feature',
350 value: 'disabled',
351 description: '''Enables Redfish UpdateService SimpleUpdate Action. Note
352 that at this time this option is non-functional. Redfish
353 recommends using MultiPartUpdate.''',
354)
355
356
Jagpal Singh Gill57855662024-04-17 10:44:27 -0700357option(
Ed Tanous0cd5f782022-04-26 16:09:09 -0700358 'https_port',
359 type: 'integer',
Ed Tanous796ba932020-08-02 04:29:21 +0000360 min: -1,
Ed Tanous0cd5f782022-04-26 16:09:09 -0700361 max: 65535,
362 value: 443,
Ed Tanous796ba932020-08-02 04:29:21 +0000363 description: '''HTTPS default port number. Set to -1 to disable and rely
364 only on additional_ports''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700365)
Manojkiran Edaaf6298d2020-05-27 08:51:32 +0530366
Ed Tanous796ba932020-08-02 04:29:21 +0000367
368# Additional ports
369# This series of options below allows setting up non-trivial deployments of
370# bmcweb, binding specific ports, authentication profiles, and device binds to
371# multiple ports.
372# Setting these options incorrectly can have severe security consequences and
373# should be reserved for platform experts familiar with their particular
374# platforms security requirements.
375
376option(
377 'additional-ports',
378 type: 'array',
379 value: [],
380 description: '''Additional ports to listen to. Allows bmcweb to listen to
381 multiple ports at a given protocol''',
382)
383
384option(
385 'additional-protocol',
386 type: 'array',
387 value: [],
388 description: '''Allows specifying a specific protocol type for a given
389 additional-ports index. Allows setting http, https, or both
390 to each socket index. If not provided for a given
391 additional-ports index, assumes https.''',
392)
393
394option(
395 'additional-bind-to-device',
396 type: 'array',
397 value: [],
398 description: '''Allows specifying an SO_BINDTODEVICE or BindToDevice systemd
399 directive for each additional socket file. If not provided
400 for a given additional-ports index, assumes bind to all
401 devices''',
402)
403
404option(
405 'additional-auth',
406 type: 'array',
407 value: [],
408 description: '''Allows specifying an authentication profile for each socket
409 created with additional-ports. Allows auth or noauth, and
410 defaults to auth if not provided. If noauth is provided,
411 authentication will not be performed for a given socket/port
412 index.''',
413)
414# end additional ports
415
Ed Tanousc5bcf352024-09-25 16:41:10 -0700416# BMCWEB_DNS_RESOLVER
Carson Labrado7fb33562022-04-18 23:26:56 +0000417option(
Ed Tanousf8ca6d72022-06-28 12:12:03 -0700418 'dns-resolver',
419 type: 'combo',
420 choices: ['systemd-dbus', 'asio'],
421 value: 'systemd-dbus',
422 description: '''Sets which DNS resolver backend should be used.
423 systemd-dbus uses the Systemd ResolveHostname on dbus, but requires dbus
424 support. asio relies on boost::asio::tcp::resolver, but cannot resolve
Ed Tanous50b37022024-06-25 13:00:04 -0700425 names when boost threading is disabled.''',
Ed Tanousf8ca6d72022-06-28 12:12:03 -0700426)
427
Ed Tanousc5bcf352024-09-25 16:41:10 -0700428# BMCWEB_REDFISH_AGGREGATION
Ed Tanousf8ca6d72022-06-28 12:12:03 -0700429option(
Carson Labrado7fb33562022-04-18 23:26:56 +0000430 'redfish-aggregation',
431 type: 'feature',
432 value: 'disabled',
Ed Tanous50b37022024-06-25 13:00:04 -0700433 description: 'Allows this BMC to aggregate resources from satellite BMCs',
Carson Labrado7fb33562022-04-18 23:26:56 +0000434)
435
Ed Tanousc5bcf352024-09-25 16:41:10 -0700436# BMCWEB_HYPERVISOR_COMPUTER_SYSTEM
Ed Tanous7f3e84a2022-12-28 16:22:54 -0800437option(
Gunnar Mills68896202024-08-21 11:34:20 -0500438 'hypervisor-computer-system',
439 type: 'feature',
440 value: 'disabled',
441 description: '''This puts a hypervisor computer system resource at
442 /redfish/v1/Systems/hypervisor. This system resource has children
443 resources such as EthernetInterfaces and ComputerSystem.Reset.''',
444)
445
Ed Tanousc5bcf352024-09-25 16:41:10 -0700446# BMCWEB_EXPERIMENTAL_REDFISH_MULTI_COMPUTER_SYSTEM
Gunnar Mills68896202024-08-21 11:34:20 -0500447option(
Ed Tanous7f3e84a2022-12-28 16:22:54 -0800448 'experimental-redfish-multi-computer-system',
449 type: 'feature',
450 value: 'disabled',
451 description: '''This is a temporary option flag for staging the
452 ComputerSystemCollection transition to multi-host. It, as well as the code
Oliver Brewka06827462025-07-13 18:29:31 +0200453 still beneath it will be removed on 1/1/2026. Do not enable in a
Ed Tanous50b37022024-06-25 13:00:04 -0700454 production environment, or where API stability is required.''',
Ed Tanous7f3e84a2022-12-28 16:22:54 -0800455)
456
Ed Tanous39fe3af2025-02-17 11:34:12 -0800457# BMCWEB_HTTP2
Ed Tanousfca2cbe2021-01-28 14:49:59 -0800458option(
Ed Tanous39fe3af2025-02-17 11:34:12 -0800459 'http2',
Ed Tanousfca2cbe2021-01-28 14:49:59 -0800460 type: 'feature',
Ed Tanous39fe3af2025-02-17 11:34:12 -0800461 value: 'enabled',
462 description: 'Enable HTTP/2 protocol support using nghttp2.',
Ed Tanousfca2cbe2021-01-28 14:49:59 -0800463)
464
rohitpaicf9085a2025-02-24 12:33:59 +0530465# BMCWEB_WATCHDOG_TIMEOUT
466option(
467 'watchdog-timeout-seconds',
468 type: 'integer',
469 min: 0,
470 max: 600,
471 value: 120,
472 description: '''Specifies the systemd watchdog timeout interval in seconds.
473 Set to 0 to disable the watchdog.''',
474)
475
Manojkiran Edaaf6298d2020-05-27 08:51:32 +0530476# Insecure options. Every option that starts with a `insecure` flag should
477# not be enabled by default for any platform, unless the author fully comprehends
478# the implications of doing so.In general, enabling these options will cause security
479# problems of varying degrees
480
Ed Tanousc5bcf352024-09-25 16:41:10 -0700481# BMCWEB_INSECURE_DISABLE_CSRF
Ed Tanous0cd5f782022-04-26 16:09:09 -0700482option(
483 'insecure-disable-csrf',
484 type: 'feature',
485 value: 'disabled',
486 description: '''Disable CSRF prevention checks.Should be set to false for
Ed Tanous50b37022024-06-25 13:00:04 -0700487 production systems.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700488)
489
Ed Tanousc5bcf352024-09-25 16:41:10 -0700490# BMCWEB_INSECURE_DISABLE_SSL
Ed Tanous0cd5f782022-04-26 16:09:09 -0700491option(
492 'insecure-disable-ssl',
493 type: 'feature',
494 value: 'disabled',
495 description: '''Disable SSL ports. Should be set to false for production
Ed Tanous50b37022024-06-25 13:00:04 -0700496 systems.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700497)
498
Ed Tanousc5bcf352024-09-25 16:41:10 -0700499# BMCWEB_INSECURE_DISABLE_AUTH
Ed Tanous0cd5f782022-04-26 16:09:09 -0700500option(
501 'insecure-disable-auth',
502 type: 'feature',
503 value: 'disabled',
Nan Zhoua43ea822022-05-27 00:42:44 +0000504 description: '''Disable authentication and authoriztion on all ports.
Ed Tanous50b37022024-06-25 13:00:04 -0700505 Should be set to false for production systems.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700506)
507
Ed Tanousc5bcf352024-09-25 16:41:10 -0700508# BMCWEB_INSECURE_IGNORE_CONTENT_TYPE
Ed Tanous0cd5f782022-04-26 16:09:09 -0700509option(
Ed Tanous1aa0c2b2022-02-08 12:24:30 +0100510 'insecure-ignore-content-type',
511 type: 'feature',
Ed Tanousdb398022023-06-07 16:38:08 -0700512 value: 'disabled',
Ed Tanous1aa0c2b2022-02-08 12:24:30 +0100513 description: '''Allows parsing PUT/POST/PATCH content as JSON regardless
514 of the presence of the content-type header. Enabling this
515 conflicts with the input parsing guidelines, but may be
516 required to support old clients that may not set the
Ed Tanous50b37022024-06-25 13:00:04 -0700517 Content-Type header on payloads.''',
Ed Tanous1aa0c2b2022-02-08 12:24:30 +0100518)
519
Ed Tanousc5bcf352024-09-25 16:41:10 -0700520# BMCWEB_INSECURE_PUSH_STYLE_NOTIFICATION
Ed Tanous1aa0c2b2022-02-08 12:24:30 +0100521option(
Ed Tanous0cd5f782022-04-26 16:09:09 -0700522 'insecure-push-style-notification',
523 type: 'feature',
524 value: 'disabled',
Ed Tanous50b37022024-06-25 13:00:04 -0700525 description: 'Enable HTTP push style eventing feature',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700526)
527
Ed Tanousc5bcf352024-09-25 16:41:10 -0700528# BMCWEB_INSECURE_ENABLE_REDFISH_QUERY
Ed Tanous0cd5f782022-04-26 16:09:09 -0700529option(
530 'insecure-enable-redfish-query',
531 type: 'feature',
532 value: 'disabled',
533 description: '''Enables Redfish expand query parameter. This feature is
534 experimental, and has not been tested against the full
535 limits of user-facing behavior. It is not recommended to
536 enable on production systems at this time. Other query
Ed Tanous50b37022024-06-25 13:00:04 -0700537 parameters such as only are not controlled by this option.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700538)