/openbmc/bmcweb/test/http/ |
H A D | router_test.cpp | 28 [](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() 132 [&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 | 26 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/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 | 71 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, bool isDimmFunctional) in updateDimmProperties() 100 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, bool isCpuFunctional) in modifyCpuFunctionalState() 129 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, bool isCpuPresent) in modifyCpuPresenceState() 148 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getProcessorProperties() 194 getProcessorSummary(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getProcessorSummary() 236 processMemoryProperties(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in processMemoryProperties() 287 getMemorySummary(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getMemorySummary() 305 inline void afterGetUUID(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetUUID() 344 afterGetInventory(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetInventory() 404 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetAssetTag() [all …]
|
H A D | manager_diagnostic_data.hpp | 32 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in checkErrors() 56 setBytesProperty(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setBytesProperty() 82 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in managerGetStorageStatistics() 95 setPercentProperty(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setPercentProperty() 115 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 D | power_supply.hpp | 27 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in updatePowerSupplyList() 52 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in doPowerSupplyCollection() 83 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyCollectionHead() 109 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyCollectionGet() 146 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetValidPowerSupplyPath() 176 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getValidPowerSupplyPath() 198 getPowerSupplyState(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyState() 224 getPowerSupplyHealth(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyHealth() 251 getPowerSupplyAsset(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyAsset() 322 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyFirmwareVersion() [all …]
|
H A D | fan.hpp | 28 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() 111 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFanCollectionHead() 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() 284 inline void getFanAsset(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanAsset() [all …]
|
H A D | redfish_sessions.hpp | 58 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() 135 bmcweb::clearSessionCookies(asyncResp->res); in handleSessionDelete() 159 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionCollectionHead() 172 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionCollectionGet() 195 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionCollectionMembersGet() 205 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in processAfterSessionCreation() 214 bmcweb::setSessionCookies(asyncResp->res, *session); in processAfterSessionCreation() 239 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleSessionCollectionPost() [all …]
|
H A D | aggregation_service.hpp | 22 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 D | storage.hpp | 46 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() 141 inline void getDrives(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in getDrives() 151 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterSystemsStorageGetSubtree() 192 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSystemsStorageGet() 214 inline void afterSubtree(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterSubtree() 261 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleStorageGet() 290 inline void getDriveAsset(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getDriveAsset() 344 inline void getDrivePresent(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getDrivePresent() [all …]
|
H A D | fabric_adapters.hpp | 28 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 …]
|
H A D | redfish_v1.hpp | 20 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()
|
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | dbus_utils.cpp | 24 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/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 | 38 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() 337 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleBroadcastService() 357 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFileUrl() 418 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { in requestRoutes() 434 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { in requestRoutes() [all …]
|
/openbmc/bmcweb/test/redfish-core/lib/ |
H A D | chassis_test.cpp | 52 auto response = std::make_shared<bmcweb::AsyncResp>(); in TEST() 107 auto response = std::make_shared<bmcweb::AsyncResp>(); in TEST() 116 response = std::make_shared<bmcweb::AsyncResp>(); in TEST() 128 auto response = std::make_shared<bmcweb::AsyncResp>(); in TEST() 141 auto response = std::make_shared<bmcweb::AsyncResp>(); in TEST() 152 auto response = std::make_shared<bmcweb::AsyncResp>(); in TEST()
|
H A D | manager_diagnostic_data_test.cpp | 24 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/test/include/ |
H A D | str_utility_test.cpp | 16 using bmcweb::split; in TEST() 40 using bmcweb::split; in TEST() 49 using bmcweb::asciiToLower; in TEST() 63 using bmcweb::asciiIEquals; in TEST()
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | query.hpp | 32 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()
|
H A D | snmp_trap_event_clients.hpp | 26 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetSnmpTrapClientdata() 55 getSnmpTrapClientdata(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getSnmpTrapClientdata() 83 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, const std::string& id) in getSnmpTrapClient() 125 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterSnmpClientCreate() 170 addSnmpTrapClient(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in addSnmpTrapClient() 186 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getSnmpSubscriptionList() 200 deleteSnmpTrapClient(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in deleteSnmpTrapClient()
|