| /openbmc/bmcweb/test/include/ |
| H A D | dbus_privileges_test.cpp | 18 const std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST() 19 std::make_shared<bmcweb::AsyncResp>(); in TEST() 34 const std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST() 35 std::make_shared<bmcweb::AsyncResp>(); in TEST() 50 const std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST() 51 std::make_shared<bmcweb::AsyncResp>(); in TEST() 68 const std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST() 69 std::make_shared<bmcweb::AsyncResp>(); in TEST()
|
| 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/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/docs/ |
| 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 32 arm-openbmc-linux-gnueabi-strip bmcweb 39 - Copy your bmcweb daemon you want to test to /tmp/ in QEMU 42 scp -P 2222 bmcweb root@127.0.0.1:/tmp/ 49 - Stop bmcweb service within your QEMU session 52 systemctl stop bmcweb 55 **Note:** bmcweb daemon supports being started directly in parallel with the [all …]
|
| 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
|
| /openbmc/bmcweb/test/redfish-core/include/ |
| H A D | redfish_oem_routing_test.cpp | 33 const std::shared_ptr<bmcweb::AsyncResp>&, in TEST() 42 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in TEST() 62 std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST() 63 std::make_shared<bmcweb::AsyncResp>(); in TEST() 82 [[maybe_unused]] const std::shared_ptr<bmcweb::AsyncResp>& in TEST() 101 [[maybe_unused]] const std::shared_ptr<bmcweb::AsyncResp>& in TEST() 120 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in TEST() 156 std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST() 157 std::make_shared<bmcweb::AsyncResp>(); in TEST()
|
| /openbmc/bmcweb/ |
| H A D | README.md | 21 bmcweb at a protocol level supports http and https. TLS is supported through 44 All authorization in bmcweb is determined at routing time, and per route, and 52 bmcweb is configured per the 56 ## Compile bmcweb with default options 65 mentioned in `bmcweb/subprojects`. 69 bmcweb relies on some on-system data for storage of persistent data that is 75 bmcweb uses `/tmp/bmcweb` for temporary file storage during multipart form 81 When SSL support is enabled and a usable certificate is not found, bmcweb will 83 bmcweb source code for details on the parameters this certificate is built with. 87 bmcweb supports various forms of http compression, including zstd and gzip. [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 …]
|
| /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/config/ |
| H A D | bmcweb.service.in | 2 Description=Start bmcweb server 9 ExecStart=@MESON_INSTALL_PREFIX@/bin/bmcweb daemon 17 TemporaryFileSystem=/tmp/bmcweb:noexec,nodev,nosuid 20 # bmcweb currently uses /tmp as a mechanism to share files.
|
| H A D | meson.build | 8 'experimental-bmcweb-user', 99 loglvlopt = get_option('bmcweb-logging') 101 # Override logging level as 'debug' if 'bmcweb-logging' is set as 'disabled' 128 input: 'bmcweb.socket.in', 129 output: 'bmcweb.socket', 160 input: 'bmcweb.socket.in', 175 if get_option('experimental-bmcweb-user').allowed() 176 user = 'bmcweb' 177 group = 'bmcweb' 179 state_directory = 'bmcweb' [all …]
|
| /openbmc/bmcweb/features/google/ |
| H A D | google_service_root.hpp | 37 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleGoogleV1Get() 51 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleRootOfTrustCollectionGet() 73 const std::string&, const std::shared_ptr<bmcweb::AsyncResp>&, 78 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in hothGetSubtreeCallback() 110 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in resolveRoT() 128 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in populateRootOfTrustEntity() 152 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleRootOfTrustGet() 160 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in invocationCallback() 178 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in invokeRoTCommand() 202 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleRoTSendCommandPost()
|
| /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/bmcweb/redfish-core/include/ |
| H A D | redfishoemrule.hpp | 28 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, 55 std::shared_ptr<bmcweb::AsyncResp>&, Args...>, in operator ()() 60 std::shared_ptr<bmcweb::AsyncResp>&, in operator ()() 68 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handle() 101 const std::shared_ptr<bmcweb::AsyncResp>&, Args...)>
|
| /openbmc/bmcweb/redfish-core/lib/ |
| H A D | led.hpp | 40 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in getIndicatorLedState() 109 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setIndicatorLedState() 164 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in getSystemLocationIndicatorActive() 222 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, const bool ledState) in setSystemLocationIndicatorActive() 286 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getLedGroupPath() 308 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetLedState() 326 inline void getLedState(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getLedState() 365 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getLocationIndicatorActive() 379 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getLocationIndicatorActive() 387 inline void setLedState(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setLedState() [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 | fabric_ports.hpp | 48 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetFabricPortLocation() 65 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricPortLocation() 75 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetFabricPortState() 95 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricPortState() 105 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetFabricPortHealth() 127 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricPortHealth() 138 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricPortProperties() 168 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetValidFabricPortPath() 217 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getValidFabricPortPath() 231 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFabricPortHead() [all …]
|
| H A D | power_supply.hpp | 46 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in updatePowerSupplyList() 71 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in doPowerSupplyCollection() 108 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyCollectionHead() 135 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyCollectionGet() 169 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetValidPowerSupplyPath() 207 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getValidPowerSupplyPath() 226 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyState() 252 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyHealth() 279 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyAsset() 319 const std::shared_ptr<bmcweb in getPowerSupplyAsset() [all...] |
| H A D | systems.hpp | 74 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, bool isCpuPresent) in modifyCpuPresenceState() 93 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getProcessorProperties() 139 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getProcessorSummary() 181 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in processMemoryProperties() 232 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getMemorySummary() 250 inline void afterGetUUID(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetUUID() 289 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetInventory() 326 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetAssetTag() 340 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterSystemGetSubTree() 429 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in getComputerSystem() [all …]
|
| H A D | fan.hpp | 38 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in updateFanList() 62 inline void doFanCollection(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in doFanCollection() 91 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFanCollectionHead() 117 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFanCollectionGet() 139 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFanPath() 172 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getValidFanObject() 200 inline void getFanHealth(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanHealth() 226 inline void getFanState(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanState() 251 inline void getFanLocation(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanLocation() 277 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetValidFanObject() [all …]
|
| /openbmc/bmcweb/include/ |
| H A D | webassets.hpp | 43 bmcweb::split(split, webpath.filename().string(), '.'); in getStaticEtag() 73 bmcweb::CompressionType onDiskComp = bmcweb::CompressionType::Raw; 79 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, const StaticFile& file) in handleStaticAsset() 115 if (asyncResp->res.openFile(file.absolutePath, bmcweb::EncodingType::Raw, in handleStaticAsset() 181 file.onDiskComp = bmcweb::CompressionType::Gzip; in addFile() 189 file.onDiskComp = bmcweb::CompressionType::Zstd; in addFile() 226 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { in addFile()
|
| /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/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/http/routing/ |
| H A D | taggedrule.hpp | 41 std::shared_ptr<bmcweb::AsyncResp>&, Args...>, in operator ()() 46 std::shared_ptr<bmcweb::AsyncResp>&, in operator ()() 54 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handle() 87 const std::shared_ptr<bmcweb::AsyncResp>&, Args...)>
|