Ed Tanous | 2474adf | 2018-09-05 16:31:16 -0700 | [diff] [blame] | 1 | /* |
| 2 | // Copyright (c) 2018 Intel Corporation |
| 3 | // Copyright (c) 2018 Ampere Computing LLC |
| 4 | / |
| 5 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | // you may not use this file except in compliance with the License. |
| 7 | // You may obtain a copy of the License at |
| 8 | // |
| 9 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | // |
| 11 | // Unless required by applicable law or agreed to in writing, software |
| 12 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | // See the License for the specific language governing permissions and |
| 15 | // limitations under the License. |
| 16 | */ |
| 17 | #pragma once |
| 18 | |
Ed Tanous | 2474adf | 2018-09-05 16:31:16 -0700 | [diff] [blame] | 19 | #include "sensors.hpp" |
| 20 | |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 21 | #include <app.hpp> |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 22 | #include <dbus_utility.hpp> |
Ed Tanous | 45ca1b8 | 2022-03-25 13:07:27 -0700 | [diff] [blame] | 23 | #include <query.hpp> |
Ed Tanous | ed39821 | 2021-06-09 17:05:54 -0700 | [diff] [blame] | 24 | #include <registries/privilege_registry.hpp> |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 25 | |
Ed Tanous | 2474adf | 2018-09-05 16:31:16 -0700 | [diff] [blame] | 26 | namespace redfish |
| 27 | { |
Ed Tanous | 4f48d5f | 2021-06-21 08:27:45 -0700 | [diff] [blame] | 28 | inline void setPowerCapOverride( |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 29 | const std::shared_ptr<SensorsAsyncResp>& sensorsAsyncResp, |
| 30 | std::vector<nlohmann::json>& powerControlCollections) |
Ed Tanous | 2474adf | 2018-09-05 16:31:16 -0700 | [diff] [blame] | 31 | { |
George Liu | 0fda0f1 | 2021-11-16 10:06:17 +0800 | [diff] [blame] | 32 | auto getChassisPath = [sensorsAsyncResp, powerControlCollections]( |
| 33 | const std::optional<std::string>& |
| 34 | chassisPath) mutable { |
| 35 | if (!chassisPath) |
| 36 | { |
| 37 | BMCWEB_LOG_ERROR << "Don't find valid chassis path "; |
| 38 | messages::resourceNotFound(sensorsAsyncResp->asyncResp->res, |
| 39 | "Chassis", sensorsAsyncResp->chassisId); |
| 40 | return; |
| 41 | } |
| 42 | |
| 43 | if (powerControlCollections.size() != 1) |
| 44 | { |
| 45 | BMCWEB_LOG_ERROR << "Don't support multiple hosts at present "; |
| 46 | messages::resourceNotFound(sensorsAsyncResp->asyncResp->res, |
| 47 | "Power", "PowerControl"); |
| 48 | return; |
| 49 | } |
| 50 | |
| 51 | auto& item = powerControlCollections[0]; |
| 52 | |
| 53 | std::optional<nlohmann::json> powerLimit; |
| 54 | if (!json_util::readJson(item, sensorsAsyncResp->asyncResp->res, |
| 55 | "PowerLimit", powerLimit)) |
| 56 | { |
| 57 | return; |
| 58 | } |
| 59 | if (!powerLimit) |
| 60 | { |
| 61 | return; |
| 62 | } |
| 63 | std::optional<uint32_t> value; |
| 64 | if (!json_util::readJson(*powerLimit, sensorsAsyncResp->asyncResp->res, |
| 65 | "LimitInWatts", value)) |
| 66 | { |
| 67 | return; |
| 68 | } |
| 69 | if (!value) |
| 70 | { |
| 71 | return; |
| 72 | } |
Jonathan Doman | 1e1e598 | 2021-06-11 09:36:17 -0700 | [diff] [blame] | 73 | sdbusplus::asio::getProperty<bool>( |
| 74 | *crow::connections::systemBus, "xyz.openbmc_project.Settings", |
George Liu | 0fda0f1 | 2021-11-16 10:06:17 +0800 | [diff] [blame] | 75 | "/xyz/openbmc_project/control/host0/power_cap", |
Jonathan Doman | 1e1e598 | 2021-06-11 09:36:17 -0700 | [diff] [blame] | 76 | "xyz.openbmc_project.Control.Power.Cap", "PowerCapEnable", |
| 77 | [value, sensorsAsyncResp](const boost::system::error_code ec, |
| 78 | bool powerCapEnable) { |
| 79 | if (ec) |
| 80 | { |
| 81 | messages::internalError(sensorsAsyncResp->asyncResp->res); |
| 82 | BMCWEB_LOG_ERROR |
| 83 | << "powerCapEnable Get handler: Dbus error " << ec; |
| 84 | return; |
| 85 | } |
| 86 | if (!powerCapEnable) |
| 87 | { |
| 88 | messages::actionNotSupported( |
| 89 | sensorsAsyncResp->asyncResp->res, |
| 90 | "Setting LimitInWatts when PowerLimit feature is disabled"); |
| 91 | BMCWEB_LOG_ERROR << "PowerLimit feature is disabled "; |
| 92 | return; |
| 93 | } |
| 94 | |
| 95 | crow::connections::systemBus->async_method_call( |
| 96 | [sensorsAsyncResp](const boost::system::error_code ec2) { |
| 97 | if (ec2) |
| 98 | { |
| 99 | BMCWEB_LOG_DEBUG << "Power Limit Set: Dbus error: " |
| 100 | << ec2; |
| 101 | messages::internalError( |
| 102 | sensorsAsyncResp->asyncResp->res); |
| 103 | return; |
| 104 | } |
| 105 | sensorsAsyncResp->asyncResp->res.result( |
| 106 | boost::beast::http::status::no_content); |
| 107 | }, |
| 108 | "xyz.openbmc_project.Settings", |
| 109 | "/xyz/openbmc_project/control/host0/power_cap", |
| 110 | "org.freedesktop.DBus.Properties", "Set", |
| 111 | "xyz.openbmc_project.Control.Power.Cap", "PowerCap", |
| 112 | std::variant<uint32_t>(*value)); |
| 113 | }); |
George Liu | 0fda0f1 | 2021-11-16 10:06:17 +0800 | [diff] [blame] | 114 | }; |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 115 | getValidChassisPath(sensorsAsyncResp, std::move(getChassisPath)); |
| 116 | } |
| 117 | inline void requestRoutesPower(App& app) |
| 118 | { |
Ed Tanous | 2474adf | 2018-09-05 16:31:16 -0700 | [diff] [blame] | 119 | |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 120 | BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/Power/") |
Ed Tanous | ed39821 | 2021-06-09 17:05:54 -0700 | [diff] [blame] | 121 | .privileges(redfish::privileges::getPower) |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 122 | .methods( |
Ed Tanous | 45ca1b8 | 2022-03-25 13:07:27 -0700 | [diff] [blame] | 123 | boost::beast::http::verb:: |
| 124 | get)([&app](const crow::Request& req, |
| 125 | const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, |
| 126 | const std::string& chassisName) { |
| 127 | if (!redfish::setUpRedfishRoute(app, req, asyncResp->res)) |
| 128 | { |
| 129 | return; |
| 130 | } |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 131 | asyncResp->res.jsonValue["PowerControl"] = nlohmann::json::array(); |
Jennifer Lee | c5d03ff | 2019-03-08 15:42:58 -0800 | [diff] [blame] | 132 | |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 133 | auto sensorAsyncResp = std::make_shared<SensorsAsyncResp>( |
Ed Tanous | 02da7c5 | 2022-02-27 00:09:02 -0800 | [diff] [blame] | 134 | asyncResp, chassisName, sensors::dbus::powerPaths, |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 135 | sensors::node::power); |
Eddie James | 028f7eb | 2019-05-17 21:24:36 +0000 | [diff] [blame] | 136 | |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 137 | getChassisData(sensorAsyncResp); |
Eddie James | 028f7eb | 2019-05-17 21:24:36 +0000 | [diff] [blame] | 138 | |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 139 | // This callback verifies that the power limit is only provided |
| 140 | // for the chassis that implements the Chassis inventory item. |
| 141 | // This prevents things like power supplies providing the |
| 142 | // chassis power limit |
Ed Tanous | b9d36b4 | 2022-02-26 21:42:46 -0800 | [diff] [blame] | 143 | |
| 144 | using Mapper = dbus::utility::MapperGetSubTreePathsResponse; |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 145 | auto chassisHandler = [sensorAsyncResp]( |
| 146 | const boost::system::error_code e, |
Ed Tanous | b9d36b4 | 2022-02-26 21:42:46 -0800 | [diff] [blame] | 147 | const Mapper& chassisPaths) { |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 148 | if (e) |
| 149 | { |
| 150 | BMCWEB_LOG_ERROR |
| 151 | << "Power Limit GetSubTreePaths handler Dbus error " |
| 152 | << e; |
| 153 | return; |
| 154 | } |
| 155 | |
| 156 | bool found = false; |
| 157 | for (const std::string& chassis : chassisPaths) |
| 158 | { |
| 159 | size_t len = std::string::npos; |
| 160 | size_t lastPos = chassis.rfind('/'); |
| 161 | if (lastPos == std::string::npos) |
Eddie James | 028f7eb | 2019-05-17 21:24:36 +0000 | [diff] [blame] | 162 | { |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 163 | continue; |
Eddie James | 028f7eb | 2019-05-17 21:24:36 +0000 | [diff] [blame] | 164 | } |
| 165 | |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 166 | if (lastPos == chassis.size() - 1) |
Eddie James | 028f7eb | 2019-05-17 21:24:36 +0000 | [diff] [blame] | 167 | { |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 168 | size_t end = lastPos; |
| 169 | lastPos = chassis.rfind('/', lastPos - 1); |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 170 | if (lastPos == std::string::npos) |
Eddie James | 028f7eb | 2019-05-17 21:24:36 +0000 | [diff] [blame] | 171 | { |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 172 | continue; |
Eddie James | 028f7eb | 2019-05-17 21:24:36 +0000 | [diff] [blame] | 173 | } |
Eddie James | 028f7eb | 2019-05-17 21:24:36 +0000 | [diff] [blame] | 174 | |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 175 | len = end - (lastPos + 1); |
Eddie James | 028f7eb | 2019-05-17 21:24:36 +0000 | [diff] [blame] | 176 | } |
| 177 | |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 178 | std::string interfaceChassisName = |
| 179 | chassis.substr(lastPos + 1, len); |
Ed Tanous | 55f79e6 | 2022-01-25 11:26:16 -0800 | [diff] [blame] | 180 | if (interfaceChassisName == sensorAsyncResp->chassisId) |
Eddie James | 028f7eb | 2019-05-17 21:24:36 +0000 | [diff] [blame] | 181 | { |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 182 | found = true; |
| 183 | break; |
Eddie James | 028f7eb | 2019-05-17 21:24:36 +0000 | [diff] [blame] | 184 | } |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 185 | } |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 186 | |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 187 | if (!found) |
| 188 | { |
| 189 | BMCWEB_LOG_DEBUG << "Power Limit not present for " |
| 190 | << sensorAsyncResp->chassisId; |
| 191 | return; |
| 192 | } |
| 193 | |
| 194 | auto valueHandler = |
| 195 | [sensorAsyncResp]( |
| 196 | const boost::system::error_code ec, |
Ed Tanous | b9d36b4 | 2022-02-26 21:42:46 -0800 | [diff] [blame] | 197 | const dbus::utility::DBusPropertiesMap& properties) { |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 198 | if (ec) |
| 199 | { |
| 200 | messages::internalError( |
| 201 | sensorAsyncResp->asyncResp->res); |
| 202 | BMCWEB_LOG_ERROR |
| 203 | << "Power Limit GetAll handler: Dbus error " |
| 204 | << ec; |
| 205 | return; |
| 206 | } |
| 207 | |
| 208 | nlohmann::json& tempArray = |
| 209 | sensorAsyncResp->asyncResp->res |
| 210 | .jsonValue["PowerControl"]; |
| 211 | |
| 212 | // Put multiple "sensors" into a single PowerControl, 0, |
| 213 | // so only create the first one |
| 214 | if (tempArray.empty()) |
| 215 | { |
| 216 | // Mandatory properties odata.id and MemberId |
| 217 | // A warning without a odata.type |
| 218 | tempArray.push_back( |
| 219 | {{"@odata.type", "#Power.v1_0_0.PowerControl"}, |
| 220 | {"@odata.id", "/redfish/v1/Chassis/" + |
| 221 | sensorAsyncResp->chassisId + |
| 222 | "/Power#/PowerControl/0"}, |
| 223 | {"Name", "Chassis Power Control"}, |
| 224 | {"MemberId", "0"}}); |
| 225 | } |
| 226 | |
| 227 | nlohmann::json& sensorJson = tempArray.back(); |
| 228 | bool enabled = false; |
| 229 | double powerCap = 0.0; |
| 230 | int64_t scale = 0; |
| 231 | |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 232 | for (const std::pair<std::string, |
| 233 | dbus::utility::DbusVariantType>& |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 234 | property : properties) |
| 235 | { |
Ed Tanous | 55f79e6 | 2022-01-25 11:26:16 -0800 | [diff] [blame] | 236 | if (property.first == "Scale") |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 237 | { |
| 238 | const int64_t* i = |
| 239 | std::get_if<int64_t>(&property.second); |
| 240 | |
Ed Tanous | e662eae | 2022-01-25 10:39:19 -0800 | [diff] [blame] | 241 | if (i != nullptr) |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 242 | { |
| 243 | scale = *i; |
| 244 | } |
| 245 | } |
Ed Tanous | 55f79e6 | 2022-01-25 11:26:16 -0800 | [diff] [blame] | 246 | else if (property.first == "PowerCap") |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 247 | { |
| 248 | const double* d = |
| 249 | std::get_if<double>(&property.second); |
| 250 | const int64_t* i = |
| 251 | std::get_if<int64_t>(&property.second); |
| 252 | const uint32_t* u = |
| 253 | std::get_if<uint32_t>(&property.second); |
| 254 | |
Ed Tanous | e662eae | 2022-01-25 10:39:19 -0800 | [diff] [blame] | 255 | if (d != nullptr) |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 256 | { |
| 257 | powerCap = *d; |
| 258 | } |
Ed Tanous | e662eae | 2022-01-25 10:39:19 -0800 | [diff] [blame] | 259 | else if (i != nullptr) |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 260 | { |
| 261 | powerCap = static_cast<double>(*i); |
| 262 | } |
Ed Tanous | e662eae | 2022-01-25 10:39:19 -0800 | [diff] [blame] | 263 | else if (u != nullptr) |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 264 | { |
| 265 | powerCap = *u; |
| 266 | } |
| 267 | } |
Ed Tanous | 55f79e6 | 2022-01-25 11:26:16 -0800 | [diff] [blame] | 268 | else if (property.first == "PowerCapEnable") |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 269 | { |
| 270 | const bool* b = |
| 271 | std::get_if<bool>(&property.second); |
| 272 | |
Ed Tanous | e662eae | 2022-01-25 10:39:19 -0800 | [diff] [blame] | 273 | if (b != nullptr) |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 274 | { |
| 275 | enabled = *b; |
| 276 | } |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | nlohmann::json& value = |
| 281 | sensorJson["PowerLimit"]["LimitInWatts"]; |
| 282 | |
| 283 | // LimitException is Mandatory attribute as per OCP |
| 284 | // Baseline Profile – v1.0.0, so currently making it |
| 285 | // "NoAction" as default value to make it OCP Compliant. |
| 286 | sensorJson["PowerLimit"]["LimitException"] = "NoAction"; |
| 287 | |
| 288 | if (enabled) |
| 289 | { |
| 290 | // Redfish specification indicates PowerLimit should |
| 291 | // be null if the limit is not enabled. |
| 292 | value = powerCap * std::pow(10, scale); |
| 293 | } |
| 294 | }; |
| 295 | |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 296 | crow::connections::systemBus->async_method_call( |
Ed Tanous | 168e20c | 2021-12-13 14:39:53 -0800 | [diff] [blame] | 297 | std::move(valueHandler), "xyz.openbmc_project.Settings", |
| 298 | "/xyz/openbmc_project/control/host0/power_cap", |
| 299 | "org.freedesktop.DBus.Properties", "GetAll", |
| 300 | "xyz.openbmc_project.Control.Power.Cap"); |
| 301 | }; |
| 302 | |
| 303 | crow::connections::systemBus->async_method_call( |
| 304 | std::move(chassisHandler), "xyz.openbmc_project.ObjectMapper", |
| 305 | "/xyz/openbmc_project/object_mapper", |
| 306 | "xyz.openbmc_project.ObjectMapper", "GetSubTreePaths", |
| 307 | "/xyz/openbmc_project/inventory", 0, |
| 308 | std::array<const char*, 2>{ |
| 309 | "xyz.openbmc_project.Inventory.Item.Board", |
| 310 | "xyz.openbmc_project.Inventory.Item.Chassis"}); |
| 311 | }); |
Eddie James | 028f7eb | 2019-05-17 21:24:36 +0000 | [diff] [blame] | 312 | |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 313 | BMCWEB_ROUTE(app, "/redfish/v1/Chassis/<str>/Power/") |
Ed Tanous | ed39821 | 2021-06-09 17:05:54 -0700 | [diff] [blame] | 314 | .privileges(redfish::privileges::patchPower) |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 315 | .methods(boost::beast::http::verb::patch)( |
Ed Tanous | 45ca1b8 | 2022-03-25 13:07:27 -0700 | [diff] [blame] | 316 | [&app](const crow::Request& req, |
| 317 | const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, |
| 318 | const std::string& chassisName) { |
| 319 | if (!redfish::setUpRedfishRoute(app, req, asyncResp->res)) |
| 320 | { |
| 321 | return; |
| 322 | } |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 323 | auto sensorAsyncResp = std::make_shared<SensorsAsyncResp>( |
Ed Tanous | 02da7c5 | 2022-02-27 00:09:02 -0800 | [diff] [blame] | 324 | asyncResp, chassisName, sensors::dbus::powerPaths, |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 325 | sensors::node::power); |
Carol Wang | 4bb3dc3 | 2019-10-17 18:15:02 +0800 | [diff] [blame] | 326 | |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 327 | std::optional<std::vector<nlohmann::json>> voltageCollections; |
| 328 | std::optional<std::vector<nlohmann::json>> powerCtlCollections; |
zhanghch05 | 8d1b46d | 2021-04-01 11:18:24 +0800 | [diff] [blame] | 329 | |
Willy Tu | 15ed678 | 2021-12-14 11:03:16 -0800 | [diff] [blame] | 330 | if (!json_util::readJsonPatch( |
| 331 | req, sensorAsyncResp->asyncResp->res, "PowerControl", |
| 332 | powerCtlCollections, "Voltages", voltageCollections)) |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 333 | { |
| 334 | return; |
| 335 | } |
Carol Wang | 4bb3dc3 | 2019-10-17 18:15:02 +0800 | [diff] [blame] | 336 | |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 337 | if (powerCtlCollections) |
| 338 | { |
| 339 | setPowerCapOverride(sensorAsyncResp, *powerCtlCollections); |
| 340 | } |
| 341 | if (voltageCollections) |
| 342 | { |
| 343 | std::unordered_map<std::string, std::vector<nlohmann::json>> |
| 344 | allCollections; |
| 345 | allCollections.emplace("Voltages", |
| 346 | *std::move(voltageCollections)); |
Bruce Lee | 80ac402 | 2021-06-04 15:41:39 +0800 | [diff] [blame] | 347 | setSensorsOverride(sensorAsyncResp, allCollections); |
John Edward Broadbent | 7e860f1 | 2021-04-08 15:57:16 -0700 | [diff] [blame] | 348 | } |
| 349 | }); |
| 350 | } |
Ed Tanous | 2474adf | 2018-09-05 16:31:16 -0700 | [diff] [blame] | 351 | |
| 352 | } // namespace redfish |