/openbmc/bmcweb/test/http/ |
H A D | router_test.cpp | 34 const std::shared_ptr<bmcweb::AsyncResp>&) {}; in TEST() 69 const std::shared_ptr<bmcweb::AsyncResp>&) { in TEST() 74 [&barCalled](const Request&, const std::shared_ptr<bmcweb::AsyncResp>&, in TEST() 93 std::shared_ptr<bmcweb::AsyncResp> asyncResp = in TEST() 94 std::make_shared<bmcweb::AsyncResp>(); in TEST() 107 const std::shared_ptr<bmcweb::AsyncResp>&) { in __anone77675800502() 123 std::shared_ptr<bmcweb::AsyncResp> asyncResp = 124 std::make_shared<bmcweb::AsyncResp>(); 135 const std::shared_ptr<bmcweb::AsyncResp>&) {}; in __anone77675800602() 156 std::shared_ptr<bmcweb::AsyncResp> asyncResp = [all …]
|
/openbmc/bmcweb/ |
H A D | TESTING.md | 20 - Clone bmcweb from gerrit 23 git clone ssh://openbmc.gerrit/openbmc/bmcweb/ 32 arm-openbmc-linux-gnueabi-strip bmcweb 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 supports being started directly in parallel with the bmcweb 73 rm /usr/bin/bmcweb 76 - Link to your new bmcweb in /tmp/ 79 ln -sf /tmp/bmcweb /usr/bin/bmcweb [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 | 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 | 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/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/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/bmcweb/redfish-core/lib/ |
H A D | systems.hpp | 148 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getProcessorProperties() 422 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterSystemGetSubTree() 853 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in getBootProgressLastStateTime() 1026 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in processBootOverrideEnable() 1164 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in getAutomaticRebootAttempts() 1276 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in setAutomaticRetryAttempts() 1394 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in getTrustedModuleRequiredToBoot() 2763 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleComputerSystemCollectionHead() 2776 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleComputerSystemCollectionGet() 2861 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleComputerSystemResetActionPost() [all …]
|
H A D | fan.hpp | 27 updateFanList(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in updateFanList() 52 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanPaths() 82 inline void doFanCollection(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in doFanCollection() 135 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFanCollectionGet() 170 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFanPath() 203 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getValidFanPath() 231 inline void getFanHealth(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanHealth() 256 inline void getFanState(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanState() 281 inline void getFanAsset(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFanAsset() 363 afterGetValidFanPath(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetValidFanPath() [all …]
|
H A D | manager_diagnostic_data.hpp | 31 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 D | power_supply.hpp | 25 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in updatePowerSupplyList() 50 doPowerSupplyCollection(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in doPowerSupplyCollection() 97 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyCollectionHead() 122 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyCollectionGet() 158 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getValidPowerSupplyPath() 205 getPowerSupplyState(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyState() 257 getPowerSupplyAsset(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyAsset() 322 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getPowerSupplyFirmwareVersion() 369 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleGetEfficiencyResponse() 397 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handlePowerSupplyAttributesSubTreeResponse() [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 | 45 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSystemsStorageCollectionGet() 76 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in handleStorageCollectionGet() 106 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterChassisDriveCollectionSubtree() 150 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterSystemsStorageGetSubtree() 632 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetSubtreeSystemsStorageDrive() 691 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleSystemsStorageDriveGet() 730 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterChassisDriveCollectionSubtreeGet() 807 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in chassisDriveCollectionGet() 976 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getStorageControllerAsset() 1023 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in populateStorageController() [all …]
|
H A D | fabric_adapters.hpp | 27 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricAdapterLocation() 51 getFabricAdapterAsset(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricAdapterAsset() 110 getFabricAdapterState(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricAdapterState() 136 getFabricAdapterHealth(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getFabricAdapterHealth() 162 inline void doAdapterGet(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() 289 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFabricAdapterCollectionGet() 330 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in handleFabricAdapterCollectionHead() 356 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterHandleFabricAdapterHead() [all …]
|
/openbmc/bmcweb/test/include/ |
H A D | str_utility_test.cpp | 21 using bmcweb::split; in TEST() 45 using bmcweb::split; in TEST() 54 using bmcweb::asciiToLower; in TEST() 68 using bmcweb::asciiIEquals; 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() 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 D | taggedrule.hpp | 37 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 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/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() 186 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) in setUpRedfishRoute()
|
H A D | snmp_trap_event_clients.hpp | 25 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterGetSnmpTrapClientdata() 54 getSnmpTrapClientdata(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getSnmpTrapClientdata() 90 getSnmpTrapClient(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getSnmpTrapClient() 133 const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in afterSnmpClientCreate() 178 addSnmpTrapClient(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in addSnmpTrapClient() 194 getSnmpSubscriptionList(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in getSnmpSubscriptionList() 209 deleteSnmpTrapClient(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, in deleteSnmpTrapClient()
|
/openbmc/bmcweb/http/ |
H A D | parsing.hpp | 22 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()
|
/openbmc/bmcweb/config/ |
H A D | meson.build | 76 loglvlopt = get_option('bmcweb-logging') 78 # Override logging level as 'debug' if 'bmcweb-logging' is set as 'disabled' 103 input: 'bmcweb.socket.in', 104 output: 'bmcweb.socket', 113 input: 'bmcweb.service.in', 114 output: 'bmcweb.service',
|
/openbmc/bmcweb/src/ |
H A D | ossl_random.cpp | 15 namespace bmcweb namespace 32 using bmcweb::OpenSSLGenerator; in getRandomUUID() 51 bmcweb::OpenSSLGenerator gen; in getRandomIdOfLength()
|