option('pam', type: 'feature', value : 'enabled', description : 'Built static libraries')
option('yocto-deps', type: 'feature', value: 'disabled', description : 'Use YOCTO dependencies system')
option('kvm', type : 'feature',value : 'enabled', description : 'Enable the KVM host video WebSocket. Path is \'/kvm/0\'. Video is from the BMC\'s \'/dev/video\' device.')
option ('tests', type : 'feature', value : 'enabled', description : 'Enable Unit tests for bmcweb')
option('vm-websocket', type : 'feature', value : 'enabled', description : '''Enable the Virtual Media WebSocket. Path is \'/vm/0/0\'to open the websocket. See https://github.com/openbmc/jsnbd/blob/master/README.''')
# if you use this option and are seeing this comment, please comment here:
# https://github.com/openbmc/bmcweb/issues/188 and put forward your intentions
# for this code. At this point, no daemon has been upstreamed that implements
# this interface, so for the moment this appears to be dead code; In leiu of
# removing it, it has been disabled to try to give those that use it the
# opportunity to upstream their backend implementation
#option('vm-nbdproxy', type: 'feature', value : 'disabled', description : 'Enable the Virtual Media WebSocket.')
option('rest', type : 'feature', value : 'enabled', description : '''Enable Phosphor REST (D-Bus) APIs. Paths directly map Phosphor D-Bus object paths, for example, \'/xyz/openbmc_project/logging/entry/enumerate\'. See https://github.com/openbmc/docs/blob/master/rest-api.md.''')
option('redfish', type : 'feature',value : 'enabled', description: 'Enable Redfish APIs. Paths are under \'/redfish/v1/\'. See https://github.com/openbmc/bmcweb/blob/master/DEVELOPING.md#redfish.')
option('host-serial-socket', type : 'feature', value : 'enabled', description : 'Enable host serial console WebSocket. Path is \'/console0\'. See https://github.com/openbmc/docs/blob/master/console.md.')
option('static-hosting', type : 'feature', value : 'enabled', description : 'Enable serving files from the \'/usr/share/www\' directory as paths under \'/\'.')
option('redfish-bmc-journal', type : 'feature', value : 'disabled', description : 'Enable BMC journal access through Redfish. Paths are under \'/redfish/v1/Managers/bmc/LogServices/Journal\'.')
option('redfish-cpu-log', type : 'feature', value : 'disabled', description : '''Enable CPU log service transactions through Redfish. Paths are under \'/redfish/v1/Systems/system/LogServices/Crashdump'.''')
option('redfish-dump-log', type : 'feature', value : 'disabled', description : 'Enable Dump log service transactions through Redfish. Paths are under \'/redfish/v1/Systems/system/LogServices/Dump\'and \'/redfish/v1/Managers/bmc/LogServices/Dump\'')
option('redfish-dbus-log', type : 'feature', value : 'disabled', description : 'Enable DBUS log service transactions through Redfish. Paths are under \'/redfish/v1/Systems/system/LogServices/EventLog/Entries\'')
option('redfish-provisioning-feature', type : 'feature', value : 'disabled', description : 'Enable provisioning feature support in redfish. Paths are under \'/redfish/v1/Systems/system/\'')
option('bmcweb-logging', type : 'feature', value : 'disabled', description : 'Enable output the extended debug logs')
option('basic-auth', type : 'feature', value : 'enabled', description : '''Enable basic authentication''')
option('session-auth', type : 'feature', value : 'enabled', description : '''Enable session authentication''')
option('xtoken-auth', type : 'feature', value : 'enabled', description : '''Enable xtoken authentication''')
option('cookie-auth', type : 'feature', value : 'enabled', description : '''Enable cookie authentication''')
option('mutual-tls-auth', type : 'feature', value : 'enabled', description : '''Enables authenticating users through TLS client certificates. The insecure-disable-ssl must be disabled for this option to take effect.''')
option('ibm-management-console', type : 'feature', value : 'disabled', description : 'Enable the IBM management console specific functionality. Paths are under \'/ibm/v1/\'')
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.')
# 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
# problems of varying degrees
option ('insecure-disable-csrf', type : 'feature', value : 'disabled', description : 'Disable CSRF prevention checks.Should be set to false for production systems.')
option ('insecure-disable-ssl', type : 'feature', value : 'disabled', description : 'Disable SSL ports. Should be set to false for production systems.')
option ('insecure-disable-auth', type : 'feature', value : 'disabled', description : 'Disable authentication on all ports. Should be set to false for production systems')
option ('insecure-disable-xss', type : 'feature', value : 'disabled', description : 'Disable XSS preventions')
option ('insecure-tftp-update', type : 'feature', value : 'disabled', description : '''Enable TFTP based firmware update transactions through Redfish UpdateService.SimpleUpdate.''')
option ('insecure-push-style-notification',type : 'feature', value : 'disabled', description : 'Enable HTTP push style eventing feature')
option ('validate-unsecure-feature', type : 'feature', value : 'disabled', description : '''Enables unsecure features required by validation. Note: mustbe turned off for production images.''')
option ('insecure-sensor-override', type : 'feature', value : 'disabled', description : 'Enables Sensor override feature without any check.')
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
OpenBMC Web服务器 该组件试图成为openbmc的“执行所有操作”嵌入式Web服务器。 能力 此时,Web服务器实现了一些接口: 身份验证中间件,它支持基于cookie和令牌的身份验证,以及由Linux PAM身份验证凭据支持的CSRF防护。 (不完全)尝试在C ++中复制phosphor-dbus-rest接口。 现在,一些端点定义可以按预期工作,但是仍然有很多工作要做。 界面的功能部分被设计为可以正确地用于荧光粉webui,但可能还不完整。 复制rest-dbus后端接口,以允许bmc调试登录用户。 首次尝试使用只读的redfish接口。 当前,redfish接口针对ServiceRoot,SessionService,AccountService,Role和ManagersService。 填充了此处的某些功能以使开发成为可能。 例如,仅存在一个用户角色。 在运行
资源详情
资源评论
资源推荐
收起资源包目录
bmcweb:适用于OpenBMC的Redfish,KVM,GUI和DBus Web服务器的所有操作 (360个子文件)
Dockerfile.base 519B
meson.build 14KB
.clang-format 3KB
.clang-ignore 14B
.clang-tidy 9KB
error_messages.cpp 71KB
crow_test.cpp 25KB
lock_test.cpp 11KB
token_authorization_middleware_test.cpp 9KB
webassets_test.cpp 4KB
privileges_test.cpp 4KB
kvm_websocket_test.cpp 4KB
webserver_main.cpp 4KB
security_headers_middleware_test.cpp 3KB
time_utils_test.cpp 3KB
openbmc_jtag_rest_test.cpp 2KB
crow_getroutes_test.cpp 2KB
configfile_test.cpp 2KB
utility_test.cpp 2KB
dbus_utility_test.cpp 1KB
json_utils.cpp 1KB
ssl_key_handler_test.cpp 32B
redfish.css 189B
json.css 126B
Dockerfile 223B
.dockerignore 53B
.gitignore 13KB
log_services.hpp 130KB
sensors.hpp 128KB
openbmc_dbus_rest.hpp 98KB
managers.hpp 92KB
ethernet.hpp 90KB
systems.hpp 90KB
openbmc_message_registry.hpp 82KB
account_service.hpp 78KB
certificate_service.hpp 53KB
event_service_manager.hpp 49KB
big_list_of_naughty_strings.hpp 49KB
routing.hpp 47KB
hypervisor_system.hpp 45KB
base_message_registry.hpp 45KB
processor.hpp 42KB
update_service.hpp 41KB
virtual_media.hpp 40KB
error_messages.hpp 35KB
memory.hpp 34KB
management_console_rest.hpp 31KB
chassis.hpp 28KB
http_connection.hpp 26KB
locks.hpp 22KB
event_service.hpp 22KB
network_protocol.hpp 21KB
storage.hpp 20KB
json_html_serializer.hpp 20KB
task.hpp 19KB
fw_utils.hpp 18KB
metric_report_definition.hpp 18KB
pcie.hpp 17KB
nbd_proxy.hpp 16KB
utility.hpp 15KB
power.hpp 14KB
ssl_key_handler.hpp 13KB
sessions.hpp 13KB
json_utils.hpp 13KB
redfish_sessions.hpp 12KB
http_client.hpp 12KB
resource_event_message_registry.hpp 11KB
redfish.hpp 11KB
led.hpp 10KB
authorization.hpp 10KB
message_registries.hpp 10KB
privileges.hpp 9KB
dbus_monitor.hpp 9KB
login_routes.hpp 9KB
websocket.hpp 9KB
node.hpp 9KB
server_sent_events.hpp 8KB
health.hpp 8KB
http_server.hpp 8KB
persistent_data.hpp 7KB
vm_websocket.hpp 7KB
webassets.hpp 6KB
kvm_websocket.hpp 6KB
app.hpp 6KB
roles.hpp 6KB
metric_report.hpp 6KB
time_utils.hpp 5KB
task_event_message_registry.hpp 5KB
hostname_monitor.hpp 4KB
obmc_console.hpp 4KB
image_upload.hpp 4KB
task_messages.hpp 4KB
async_resolve.hpp 4KB
thermal.hpp 4KB
telemetry_service.hpp 3KB
service_root.hpp 3KB
pam_authenticate.hpp 3KB
http_response.hpp 3KB
security_headers.hpp 3KB
logging.hpp 3KB
共 360 条
- 1
- 2
- 3
- 4
快快跑起来
- 粉丝: 20
- 资源: 4627
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0