summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorVivekanand Veeracholan <vveerach@google.com>2021-06-15 05:16:36 +0300
committerGunnar Mills <gmills@us.ibm.com>2021-06-21 20:32:08 +0300
commit54d1355fdcaea8a9b83c8fd5d7aac9b244a6146b (patch)
treed53eca6a314e908c5dc336f03beeec499f12c89e /meson_options.txt
parente5a99777b8710cdcc82bffb25a7a248e18705e2d (diff)
downloadbmcweb-54d1355fdcaea8a9b83c8fd5d7aac9b244a6146b.tar.xz
Add option to configure port number
Make the https port number configurable through meson option "https_port". It will have a default value of 443. Need the port to be configurable because on some setups the allowed ports for BMC's network are limited. 443 is not one of the open ports. Tested: Tested default option and also explicitly setting to a specific port. Signed-off-by: Vivekanand Veeracholan <vveerach@google.com> Change-Id: I8e9675865812da6f6ebcd121e87efab840b9dd33
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index b938e82e16..0ab31b87f7 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -30,6 +30,7 @@ option('ibm-management-console', type : 'feature', value : 'disabled', descripti
option('http-body-limit', type: 'integer', min : 0, max : 512, value : 30, description : 'Specifies the http request body length limit')
option('redfish-allow-deprecated-hostname-patch', type : 'feature', value : 'disabled', description : 'Enable/disable Managers/bmc/NetworkProtocol HostName PATCH commands. The default condition is to prevent HostName changes from this URI, following the Redfish schema. Enabling this switch permits the HostName to be PATCHed at this URI. In Q4 2021 this feature will be removed, and the Redfish schema enforced, making the HostName read-only.')
option('redfish-allow-deprecated-power-thermal', type : 'feature', value : 'enabled', description : 'Enable/disable the old Power / Thermal. The default condition is allowing the old Power / Thermal.')
+option ('https_port', type : 'integer', min : 1, max : 65535, value : 443, description : 'HTTPS Port number.')
# Insecure options. Every option that starts with a `insecure` flag should
# not be enabled by default for any platform, unless the author fully comprehends