summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2022-12-29 03:22:54 +0300
committerEd Tanous <ed@tanous.net>2023-06-21 22:31:32 +0300
commit7f3e84a151e106d9227d08358e9ee3fd225b34c4 (patch)
tree9ad5f77c62f73618e0dde7a27c658fa518118a7b /meson_options.txt
parent8a7c4b475469c8811dffe265992b903060aad65f (diff)
downloadbmcweb-7f3e84a151e106d9227d08358e9ee3fd225b34c4.tar.xz
Add an option flag for multi-computersystem
A number of discussions have occurred, and it's clear that multi-computer system is not a transition that can be done in a single series of commits, and needs to be done incrementally over time. This commit adds the initial option for multi-computer system support, with an option flag that can be enabled when the new behavior is desired. This is to prevent needing a long-lived fork. This option operatates such that if enabled, all ComputerSystem route options will now return 404. This is to allow the redfish service validator to pass, and to be used for incremental development. As the routes are moved over, they will be enabled, and service validator re-run. Per the description in the meson options, this option flag, and all code beneath of it will be removed on 9/1/23. The expectation is that by this date, given the appropriate level of effort in implementation, there will be no code remaining under that option flag. After this date, code beneath this option flag will be removed. Tested: No functional changes without option. With option enabled, /redfish/v1/Systems produces no entries. Spot check of various routes returns 404. Redfish service validator passes. Change-Id: I3b58642cb76d61df668076c2e0f1e7bed110ae25 Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index c1beb25e69..dbfa00d0fe 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -271,6 +271,16 @@ option(
description: 'Allows this BMC to aggregate resources from satellite BMCs'
)
+option(
+ 'experimental-redfish-multi-computer-system',
+ type: 'feature',
+ value: 'disabled',
+ description: '''This is a temporary option flag for staging the
+ ComputerSystemCollection transition to multi-host. It, as well as the code
+ still beneath it will be removed on 9/1/2023. Do not enable in a
+ production environment, or where API stability is required.'''
+)
+
# Insecure options. Every option that starts with a `insecure` flag should
# not be enabled by default for any platform, unless the author fully comprehends
# the implications of doing so.In general, enabling these options will cause security