Home
last modified time | relevance | path

Searched refs:bmcweb (Results 1 – 25 of 209) sorted by relevance

123456789

/openbmc/bmcweb/test/http/
H A Drouter_test.cpp28 [](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&) {}; in TEST()
63 [](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&) { in TEST()
68 [&barCalled](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&, in TEST()
87 std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST()
88 std::make_shared<bmcweb::AsyncResp>(); in TEST()
101 const std::shared_ptr<bmcweb::AsyncResp>&) { in __anone77675800502()
117 std::shared_ptr<bmcweb::AsyncResp> asyncResp =
118 std::make_shared<bmcweb::AsyncResp>();
129 [](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&) {}; in __anone77675800602()
150 std::shared_ptr<bmcweb::AsyncResp> asyncResp =
[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/bmcweb/
H A DREADME.md21 bmcweb at a protocol level supports http and https. TLS is supported through
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
81 [AGGREGATION.md](https://github.com/openbmc/bmcweb/blob/master/AGGREGATION.md)
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 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
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
76 - Link to your new bmcweb daemon in /tmp/
[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
/openbmc/bmcweb/include/google/
H A Dgoogle_service_root.hpp26 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleGoogleV1Get()
40 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleRootOfTrustCollectionGet()
62 const std::string&, const std::shared_ptr<bmcweb::AsyncResp>&,
67 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in hothGetSubtreeCallback()
99 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in resolveRoT()
117 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in populateRootOfTrustEntity()
141 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleRootOfTrustGet()
149 invocationCallback(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in invocationCallback()
167 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in invokeRoTCommand()
190 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleRoTSendCommandPost()
/openbmc/bmcweb/test/redfish-core/include/utils/
H A Ddbus_utils.cpp24 std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST()
25 std::make_shared<bmcweb::AsyncResp>(); in TEST()
37 std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST()
38 std::make_shared<bmcweb::AsyncResp>(); in TEST()
63 std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST()
64 std::make_shared<bmcweb::AsyncResp>(); in TEST()
/openbmc/bmcweb/redfish-core/lib/
H A Dfan.hpp28 updateFanList(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in updateFanList()
53 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanPaths()
83 inline void doFanCollection(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in doFanCollection()
137 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFanCollectionGet()
172 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFanPath()
205 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getValidFanPath()
233 inline void getFanHealth(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanHealth()
259 inline void getFanState(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanState()
285 inline void getFanAsset(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanAsset()
369 afterGetValidFanPath(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetValidFanPath()
[all …]
H A Dmanager_diagnostic_data.hpp31 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in checkErrors()
55 setBytesProperty(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setBytesProperty()
81 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in managerGetStorageStatistics()
94 setPercentProperty(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setPercentProperty()
114 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in managerGetProcessorStatistics()
135 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in managerGetMemoryStatistics()
181 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetManagerStartTime()
217 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in managerGetServiceRootUptime()
232 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleManagerDiagnosticDataGet()
H A Dsystems.hpp148 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getProcessorProperties()
407 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetAssetTag()
421 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterSystemGetSubTree()
779 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in assignBootParameters()
864 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in getBootProgressLastStateTime()
1037 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in processBootOverrideEnable()
1175 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in getAutomaticRebootAttempts()
1288 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setAutomaticRetryAttempts()
1408 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in getTrustedModuleRequiredToBoot()
2682 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setIdlePowerSaver()
[all …]
H A Dpower_supply.hpp26 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in updatePowerSupplyList()
51 doPowerSupplyCollection(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in doPowerSupplyCollection()
98 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyCollectionHead()
124 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyCollectionGet()
160 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getValidPowerSupplyPath()
327 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyFirmwareVersion()
375 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleGetEfficiencyResponse()
403 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyAttributesSubTreeResponse()
458 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in doPowerSupplyGet()
517 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyHead()
[all …]
H A Daggregation_service.hpp22 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleAggregationServiceHead()
35 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleAggregationServiceGet()
68 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in populateAggregationSourceCollection()
92 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleAggregationSourceCollectionGet()
114 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleAggregationSourceCollectionHead()
140 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in populateAggregationSource()
185 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleAggregationSourceGet()
201 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleAggregationSourceHead()
H A Dredfish_sessions.hpp58 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSessionHead()
72 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSessionGet()
98 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSessionDelete()
134 bmcweb::clearSessionCookies(asyncResp->res); in handleSessionDelete()
158 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionCollectionHead()
171 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionCollectionGet()
194 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionCollectionMembersGet()
205 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionCollectionPost()
262 bmcweb::setSessionCookies(asyncResp->res, *session); in handleSessionCollectionPost()
286 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionServiceHead()
[all …]
H A Dredfish_v1.hpp20 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in redfishGet()
30 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in redfish404()
52 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in redfish405()
76 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in jsonSchemaIndexGet()
101 bmcweb::split(split, filename, '.'); in jsonSchemaIndexGet()
117 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in jsonSchemaGet()
137 bmcweb::split(split, filename, '.'); in jsonSchemaGet()
181 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in jsonSchemaGetFile()
H A Dstorage.hpp46 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSystemsStorageCollectionGet()
77 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleStorageCollectionGet()
107 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterChassisDriveCollectionSubtree()
151 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterSystemsStorageGetSubtree()
192 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSystemsStorageGet()
443 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getDriveItemProperties()
635 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetSubtreeSystemsStorageDrive()
694 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSystemsStorageDriveGet()
733 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterChassisDriveCollectionSubtreeGet()
811 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in chassisDriveCollectionGet()
[all …]
H A Dfabric_adapters.hpp28 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricAdapterLocation()
53 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricAdapterAsset()
111 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricAdapterState()
137 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricAdapterHealth()
164 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in doAdapterGet()
231 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterHandleFabricAdapterGet()
261 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFabricAdapterGet()
288 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFabricAdapterCollectionGet()
329 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFabricAdapterCollectionHead()
355 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterHandleFabricAdapterHead()
[all …]
/openbmc/bmcweb/test/include/
H A Dstr_utility_test.cpp16 using bmcweb::split; in TEST()
40 using bmcweb::split; in TEST()
49 using bmcweb::asciiToLower; in TEST()
63 using bmcweb::asciiIEquals; in TEST()
/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/bmcweb/include/ibm/
H A Dmanagement_console_rest.hpp38 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFilePut()
44 if (!bmcweb::asciiIEquals(contentType, "application/octet-stream")) in handleFilePut()
222 handleConfigFileList(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleConfigFileList()
251 deleteConfigFiles(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in deleteConfigFiles()
271 inline void handleFileGet(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFileGet()
305 handleFileDelete(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFileDelete()
418 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { in requestRoutes()
434 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { in requestRoutes()
443 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { in requestRoutes()
452 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in requestRoutes()
[all …]
/openbmc/bmcweb/http/routing/
H A Dtaggedrule.hpp37 std::shared_ptr<bmcweb::AsyncResp>&, Args...>, in operator ()()
42 std::shared_ptr<bmcweb::AsyncResp>&, in operator ()()
50 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handle()
83 const std::shared_ptr<bmcweb::AsyncResp>&, Args...)>
/openbmc/bmcweb/test/redfish-core/lib/
H A Dmanager_diagnostic_data_test.cpp24 auto asyncResp = std::make_shared<bmcweb::AsyncResp>(); in testDataGetNoError()
50 auto asyncResp = std::make_shared<bmcweb::AsyncResp>(); in TEST()
60 auto asyncResp = std::make_shared<bmcweb::AsyncResp>(); in TEST()
71 auto asyncResp = std::make_shared<bmcweb::AsyncResp>(); in TEST()
/openbmc/bmcweb/redfish-core/include/
H A Dquery.hpp32 crow::App& app, const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterIfMatchRequest()
51 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleIfMatch()
99 std::shared_ptr<bmcweb::AsyncResp> getReqAsyncResp = in handleIfMatch()
100 std::make_shared<bmcweb::AsyncResp>(); in handleIfMatch()
119 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setUpRedfishRouteWithDelegation()
185 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in setUpRedfishRoute()
/openbmc/bmcweb/http/
H A Dparsing.hpp22 return bmcweb::asciiIEquals(contentType, "application/json") || in isJsonContentType()
23 bmcweb::asciiIEquals(contentType, in isJsonContentType()
25 bmcweb::asciiIEquals(contentType, "application/json;charset=utf-8"); in isJsonContentType()

123456789