/openbmc/bmcweb/test/http/ |
H A D | router_test.cpp | 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() 134 [&called](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&) { in __anone77675800702() [all …]
|
/openbmc/bmcweb/ |
H A D | TESTING.md | 10 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 D | OWNERS | 1 # 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 D | README.md | 21 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 D | HEADERS.md | 1 # 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 D | CLIENTS.md | 3 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 D | google_service_root.hpp | 38 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/openbmc/meta-phosphor/recipes-phosphor/certificate/ |
H A D | phosphor-certificate-manager_git.bb | 15 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/redfish-core/lib/ |
H A D | systems.hpp | 73 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, bool isDimmFunctional) in updateDimmProperties() 102 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, bool isCpuFunctional) in modifyCpuFunctionalState() 131 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, bool isCpuPresent) in modifyCpuPresenceState() 150 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getProcessorProperties() 196 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getProcessorSummary() 238 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in processMemoryProperties() 289 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getMemorySummary() 307 inline void afterGetUUID(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetUUID() 346 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetInventory() 406 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetAssetTag() [all …]
|
H A D | manager_diagnostic_data.hpp | 41 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()
|
H A D | power_supply.hpp | 43 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 D | fan.hpp | 39 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 D | redfish_sessions.hpp | 62 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSessionHead() 76 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSessionGet() 102 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSessionDelete() 139 bmcweb::clearSessionCookies(asyncResp->res); in handleSessionDelete() 163 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionCollectionHead() 176 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionCollectionGet() 199 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionCollectionMembersGet() 209 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in processAfterSessionCreation() 218 bmcweb::setSessionCookies(asyncResp->res, *session); in processAfterSessionCreation() 243 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionCollectionPost() [all …]
|
H A D | aggregation_service.hpp | 31 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleAggregationServiceHead() 44 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleAggregationServiceGet() 77 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in populateAggregationSourceCollection() 101 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleAggregationSourceCollectionGet() 123 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleAggregationSourceCollectionHead() 149 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in populateAggregationSource() 194 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleAggregationSourceGet() 210 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleAggregationSourceHead()
|
H A D | storage.hpp | 49 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSystemsStorageCollectionGet() 80 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleStorageCollectionGet() 110 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterChassisDriveCollectionSubtree() 144 inline void getDrives(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in getDrives() 154 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterSystemsStorageGetSubtree() 195 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSystemsStorageGet() 217 inline void afterSubtree(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterSubtree() 264 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleStorageGet() 293 inline void getDriveAsset(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getDriveAsset() 347 inline void getDrivePresent(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getDrivePresent() [all …]
|
H A D | fabric_adapters.hpp | 38 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricAdapterLocation() 63 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricAdapterAsset() 121 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricAdapterState() 147 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricAdapterHealth() 174 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in doAdapterGet() 241 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterHandleFabricAdapterGet() 271 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFabricAdapterGet() 298 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFabricAdapterCollectionGet() 339 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFabricAdapterCollectionHead() 365 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterHandleFabricAdapterHead() [all …]
|
H A D | redfish_v1.hpp | 35 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in redfishGet() 45 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in redfish404() 67 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in redfish405() 91 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in jsonSchemaIndexGet() 116 bmcweb::split(split, filename, '.'); in jsonSchemaIndexGet() 132 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in jsonSchemaGet() 152 bmcweb::split(split, filename, '.'); in jsonSchemaGet() 196 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in jsonSchemaGetFile()
|
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | dbus_utils.cpp | 26 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/phosphor-certificate-manager/ |
H A D | README.md | 34 --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 D | management_console_rest.hpp | 49 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFilePut() 55 if (!bmcweb::asciiIEquals(contentType, "application/octet-stream")) in handleFilePut() 233 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleConfigFileList() 262 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in deleteConfigFiles() 282 inline void handleFileGet(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFileGet() 316 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFileDelete() 348 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleBroadcastService() 368 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFileUrl() 429 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { in requestRoutes() 445 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { in requestRoutes() [all …]
|
/openbmc/bmcweb/test/redfish-core/lib/ |
H A D | chassis_test.cpp | 54 auto response = std::make_shared<bmcweb::AsyncResp>(); in TEST() 109 auto response = std::make_shared<bmcweb::AsyncResp>(); in TEST() 118 response = std::make_shared<bmcweb::AsyncResp>(); in TEST() 130 auto response = std::make_shared<bmcweb::AsyncResp>(); in TEST() 143 auto response = std::make_shared<bmcweb::AsyncResp>(); in TEST() 154 auto response = std::make_shared<bmcweb::AsyncResp>(); in TEST()
|
H A D | manager_diagnostic_data_test.cpp | 26 auto asyncResp = std::make_shared<bmcweb::AsyncResp>(); in testDataGetNoError() 52 auto asyncResp = std::make_shared<bmcweb::AsyncResp>(); in TEST() 62 auto asyncResp = std::make_shared<bmcweb::AsyncResp>(); in TEST() 73 auto asyncResp = std::make_shared<bmcweb::AsyncResp>(); in TEST()
|
/openbmc/bmcweb/test/include/ |
H A D | str_utility_test.cpp | 18 using bmcweb::split; in TEST() 42 using bmcweb::split; in TEST() 51 using bmcweb::asciiToLower; in TEST() 65 using bmcweb::asciiIEquals; in TEST()
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | query.hpp | 34 crow::App& app, const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterIfMatchRequest() 53 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleIfMatch() 101 std::shared_ptr<bmcweb::AsyncResp> getReqAsyncResp = in handleIfMatch() 102 std::make_shared<bmcweb::AsyncResp>(); in handleIfMatch() 121 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setUpRedfishRouteWithDelegation() 187 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in setUpRedfishRoute()
|
H A D | snmp_trap_event_clients.hpp | 35 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetSnmpTrapClientdata() 64 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, const std::string& id, in getSnmpTrapClientdata() 92 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, const std::string& id) in getSnmpTrapClient() 134 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterSnmpClientCreate() 179 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in addSnmpTrapClient() 195 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getSnmpSubscriptionList() 209 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in deleteSnmpTrapClient()
|