Home
last modified time | relevance | path

Searched full:bmcweb (Results 1 – 25 of 260) sorted by relevance

1234567891011

/openbmc/bmcweb/
H A DTESTING.md10 There are a variety of ways to develop and test bmcweb software changes. Here
20 - Clone bmcweb from gerrit
23 git clone ssh://openbmc.gerrit/openbmc/bmcweb/
27 [README.md](https://github.com/openbmc/bmcweb#configuration) to compile
39 - Copy your bmcweb daemon you want to test to /tmp/ in QEMU
49 - Stop bmcweb service within your QEMU session
52 systemctl stop bmcweb
55 **Note:** bmcweb daemon supports being started directly in parallel with the
56 bmcweb running as a service. The standalone bmcweb daemon will be available on
70 - Remove the existing bmcweb daemon from the filesystem in QEMU
[all …]
H A DREADME.md21 bmcweb at a protocol level supports http and https. TLS is supported through
28 Bmcweb supports multiple authentication protocols:
43 All authorization in bmcweb is determined at routing time, and per route, and
51 bmcweb is configured per the
55 ## Compile bmcweb with default options
64 mentioned in `bmcweb/subprojects`.
68 bmcweb relies on some on-system data for storage of persistent data that is
74 When SSL support is enabled and a usable certificate is not found, bmcweb will
76 bmcweb source code for details on the parameters this certificate is built with.
80 bmcweb is capable of aggregating resources from satellite BMCs. Refer to
[all …]
H A DOWNERS1 # Below lists the current bmcweb maintainers. bmcweb is used in a number of
5 # - Have a solid understanding of the bmcweb core code, and how it's used.
10 # It is expected that bmcweb maintainers participate on a majority of code
19 # how it interacts with OpenBMC, and how the bmcweb implementation compares to
25 # for resources implemented within the Redfish standard. bmcweb maintainers
32 # harnesses that bmcweb needs to pass, listed in CLIENTS.md, and at least a
36 # APIs that bmcweb uses, and their limitations in versioning, consistency, and
39 # - Join and answer questions of the #bmcweb-and-redfish channel within
43 # bmcweb.
49 # bmcweb is the primary attacker/client facing application on the network, it
[all …]
H A DDEVELOPING.md132 bmcweb's Redfish implementation, including Redfish OEM Resources, shall conform
133 to the Redfish specification. Please keep bmcweb's
134 [Redfish support document](https://github.com/openbmc/bmcweb/blob/master/Redfish.md)
136 [OEM SCHEMAS](https://github.com/openbmc/bmcweb/blob/master/OEM_SCHEMAS.md).
143 [Common Errors](https://github.com/openbmc/bmcweb/blob/master/COMMON_ERRORS.md).
152 - Why are the changes useful? Given that bmcweb is a user-facing daemon, commits
174 To that end, bmcweb will do its' best to insulate clients from breaking api
179 configurable would increase the software complexity, therefore bmcweb makes
187 Special note: Code exists in bmcweb that is missing upstream backends to make it
203 .clang-tidy file in the root of bmcweb, and are expected to be passing.
[all …]
H A DHEADERS.md1 # bmcweb headers
3 **Why does bmcweb use so many headers? My build times are slow!**
7 bmcweb at one point was a crow-based project. Evidence of this can still be seen
11 headers. As bmcweb evolved, it needed more capabilities, so the core was ported
24 <https://gerrit.openbmc.org/c/openbmc/bmcweb/+/49039>
36 <https://gerrit.openbmc.org/c/openbmc/bmcweb/+/37445> Doing this exposed a
46 - Reduce the bmcweb binary size to the point where link time optimization is not
47 required for most usages. About half of the bmcweb build time is spent doing
48 link time optimization, which, as of this time is required to keep bmcweb code
H A DCLIENTS.md3 bmcweb being a user and network facing daemon, is subject to a vast array of
5 non-exhaustive list of tests and clients that bmcweb is expected to be
7 category are intended to be qualification tests to ensure the bmcweb meets the
11 The base expectation is that for master versions of bmcweb, and master versions
13 limitations in the testing tools behavior within bmcweb to make the tools pass,
18 Redfish-Service-Validator: A tool to verify through GET requests that bmcweb
40 testssl.sh: A tool for verifying the correctness of the bmcweb cipher suites
H A DCOMMON_ERRORS.md1 # Commonly recurring errors in bmcweb
3 What follows is a list of common errors that new users to bmcweb tend to make
5 developing in bmcweb, the maintainers highly recommend reading and understanding
122 bmcweb uses a single reactor for all operations. Blocking that reactor for any
146 nature of bmcweb, they are not required to be explicitly threadsafe, but they
173 async bmcweb code. While capturing by reference can be useful, given how
174 difficult these types of bugs are to triage, bmcweb explicitly requires that all
183 BMCWEB("/foo/bar");
187 where the behavior must differ) all URL handlers should end in "/". The bmcweb
203 Very commonly, bmcweb maintainers and contributors alike have to do audits of
[all …]
/openbmc/bmcweb/test/http/
H A Drouter_test.cpp17 // IWYU pragma: no_forward_declare bmcweb::AsyncResp
30 [](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&) {}; in TEST()
65 [](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&) { in TEST()
70 [&barCalled](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&, in TEST()
89 std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST()
90 std::make_shared<bmcweb::AsyncResp>(); in TEST()
103 const std::shared_ptr<bmcweb::AsyncResp>&) { in __anone77675800502()
119 std::shared_ptr<bmcweb::AsyncResp> asyncResp =
120 std::make_shared<bmcweb::AsyncResp>();
131 [](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&) {}; in __anone77675800602()
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/certificate/
H A Dphosphor-certificate-manager_git.bb15 PACKAGECONFIG ??= "bmcweb-cert authority-cert"
17 PACKAGECONFIG[bmcweb-cert] = "-Dconfig-bmcweb=enabled,-Dconfig-bmcweb=disabled"
30 …${@bb.utils.contains('PACKAGECONFIG', 'bmcweb', 'phosphor-certificate-manager@bmcweb.service', '',…
/openbmc/phosphor-certificate-manager/
H A DREADME.md34 --path=/etc/ssl/certs/https/server.pem --unit=bmcweb.service
43 --path=/etc/ssl/certs/authority --unit=bmcweb.service
69 --path=/etc/ssl/certs/https/server.pem --unit=bmcweb.service
75 ## Usage in openbmc/bmcweb
77 OpenBMC [bmcweb](https://github.com/openbmc/bmcweb) exposes various
78 [REST APIs](https://github.com/openbmc/bmcweb/blob/master/redfish-core/lib/certificate_service.hpp)
/openbmc/docs/designs/
H A Dredfish-spdm-attestation.md16 It would be useful to add SPDM attestation support in BMCWeb, which provides
42 - BMCWeb changes for supporting the above Redfish resources.
106 …perimental support for SPDM exists for `bmcweb`](https://github.com/openbmc/bmcweb/compare/master.…
107 which adds routes in the BMCWeb for `ComponentIntegrity` and `TrustedComponent`
108 to support it. But BMCWeb collects the information from D-Bus. The SPDM
168 |BMCWeb+----------->|SPDM | +-------+
233 ### BMCWeb Support
235 In BMCWeb, we need to add routes handler for `ComponentIntegrity`,
250 In BMCWeb, we can reconstruct the following redfish URI by querying the
277 - Extend existing certificate service in BMCWeb.
[all …]
H A Dredfish-authorization.md13 enhance the current implementation in BMCWeb Redfish interface so that OpenBMC
80 ### BMCWeb subsection
82 BMCWeb is an OpenBMC Daemon which implements the Redfish service (it implements
85 BMCWeb supports various "authentication" options, but under the hood, to verify
93 After getting the peer's user name, BMCWeb sends DBus queries to
97 | Phosphor-user-manager privileges (implemented as groups) | BMCWeb Redfish Roles |
104 To map Redfish role to their assigned Redfish privileges, BMCWeb implements the
107 | BMCWeb Redfish Roles | Assigned Redfish Privileges …
114 At compile time, BMCWeb assigns each operation of each entity a set of required
115 Redfish Privileges. An authorization action is performed when a BMCWeb route
[all …]
H A Dcertificate-revocation-list.md29 2. [BMCWeb](https://github.com/openbmc/bmcweb): the Redfish front-end which
30 translates certificate objects into Redfish resources. BMCWeb is also a
47 3. other daemons, e.g., BMCWeb shall consume CRLs the same way as existing
80 ### BMCWeb subsection
82 We propose to introduce CRLs into BMCWeb's SSL Context. Whenever BMCWeb reloads,
/openbmc/phosphor-webui/
H A DREADME.md13 bmcweb](https://github.com/openbmc/bmcweb/commit/47c9e106e0057dd70133d50e928e48cbc68e709a)
68 **Note** that some OpenBMC implementations use [bmcweb](https://github.com/openbmc/bmcweb)
69 for its backend. For security reasons, bmcweb will need to be recompiled and
71 option to turn on within bmcweb is `BMCWEB_INSECURE_DISABLE_XSS_PREVENTION`. In
/openbmc/bmcweb/include/ibm/
H A Dmanagement_console_rest.hpp49 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFilePut()
55 if (!bmcweb::asciiIEquals(contentType, "application/octet-stream")) in handleFilePut()
67 "/var/lib/bmcweb/ibm-management-console/configfiles"; in handleFilePut()
77 "/var/lib/bmcweb/ibm-management-console/configfiles"); in handleFilePut()
233 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleConfigFileList()
237 "/var/lib/bmcweb/ibm-management-console/configfiles"); in handleConfigFileList()
262 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in deleteConfigFiles()
266 "/var/lib/bmcweb/ibm-management-console/configfiles"); in deleteConfigFiles()
282 inline void handleFileGet(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFileGet()
287 "/var/lib/bmcweb/ibm-management-console/configfiles/" + fileID); in handleFileGet()
[all …]
/openbmc/bmcweb/test/redfish-core/include/utils/
H A Ddbus_utils.cpp26 std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST()
27 std::make_shared<bmcweb::AsyncResp>(); in TEST()
39 std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST()
40 std::make_shared<bmcweb::AsyncResp>(); in TEST()
65 std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST()
66 std::make_shared<bmcweb::AsyncResp>(); in TEST()
/openbmc/bmcweb/config/
H A Dmeson.build78 loglvlopt = get_option('bmcweb-logging')
80 # Override logging level as 'debug' if 'bmcweb-logging' is set as 'disabled'
107 input: 'bmcweb.socket.in',
108 output: 'bmcweb.socket',
139 input: 'bmcweb.socket.in',
155 input: 'bmcweb.service.in',
156 output: 'bmcweb.service',
/openbmc/bmcweb/include/google/
H A Dgoogle_service_root.hpp38 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleGoogleV1Get()
52 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleRootOfTrustCollectionGet()
74 const std::string&, const std::shared_ptr<bmcweb::AsyncResp>&,
79 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in hothGetSubtreeCallback()
111 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in resolveRoT()
129 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in populateRootOfTrustEntity()
153 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleRootOfTrustGet()
161 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in invocationCallback()
179 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in invokeRoTCommand()
202 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleRoTSendCommandPost()
/openbmc/docs/architecture/
H A Dredfish-logging-in-bmcweb.md1 # Redfish Event Logging in bmcweb
3 This guide is intended to help developers add new messages to the bmcweb Redfish
6 Redfish Message Objects can be represented in different ways. In bmcweb, we have
18 The bmcweb Message Registries are located under
40 MessageArgs to bmcweb.
46 bmcweb will search the specified Message Registry for the MessageKey, construct
51 The journal is the current mechanism used to log Redfish Messages. bmcweb looks
H A Dinterface-overview.md173 OpenBMC provides a custom HTTP/Web server called BMCWeb.
181 | +- 443 HTTPS - BMCWeb -> { static content |
195 BMCWeb APIs, some of which set up Websockets which give the network agent direct
196 communication with the desired interface (not via BMCWeb).
198 Note that [BMCWeb is configurable][] at compile time. This section describes the
202 [bmcweb is configurable]: https://github.com/openbmc/bmcweb#configuration
244 | | -+- bmcweb |
353 BMCWeb server. The "http" URI scheme is disabled by default but can be enabled
354 at compile time by BMCWeb configuration options.
423 ### BMCWeb web server
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Dpower_supply.hpp43 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in updatePowerSupplyList()
68 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in doPowerSupplyCollection()
99 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyCollectionHead()
125 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyCollectionGet()
162 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetValidPowerSupplyPath()
192 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getValidPowerSupplyPath()
214 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyState()
240 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyHealth()
267 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyAsset()
338 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyFirmwareVersion()
[all …]
H A Dfan.hpp39 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in updateFanList()
64 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanPaths()
94 inline void doFanCollection(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in doFanCollection()
122 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFanCollectionHead()
148 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFanCollectionGet()
183 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFanPath()
216 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getValidFanPath()
244 inline void getFanHealth(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanHealth()
270 inline void getFanState(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanState()
295 inline void getFanAsset(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanAsset()
[all …]
H A Dmanager_diagnostic_data.hpp41 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in checkErrors()
65 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setBytesProperty()
91 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in managerGetStorageStatistics()
104 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setPercentProperty()
124 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in managerGetProcessorStatistics()
144 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in managerGetMemoryStatistics()
190 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetManagerStartTime()
226 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in managerGetServiceRootUptime()
241 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleManagerDiagnosticDataGet()
/openbmc/bmcweb/test/include/
H A Dossl_random.cpp14 TEST(Bmcweb, GetRandomUUID) in TEST() argument
16 using bmcweb::getRandomUUID; in TEST()
24 TEST(Bmcweb, GetRandomIdOfLength) in TEST() argument
26 using bmcweb::getRandomIdOfLength; in TEST()
/openbmc/bmcweb/src/
H A Dwebserver_cli.cpp51 CLI::App app("BMCWeb SetLogLevel CLI"); in main()
56 std::string service = "xyz.openbmc_project.bmcweb"; in main()
57 std::string path = "/xyz/openbmc_project/bmcweb"; in main()
58 std::string iface = "xyz.openbmc_project.bmcweb"; in main()
67 CLI::App* sub = app.add_subcommand("loglevel", "Set bmcweb log level"); in main()

1234567891011