blob: e46522a671f6983bdd2c0a0e776b8ef5a6bef0a7 [file] [log] [blame]
Matthew Barth4f0d3b72020-08-27 14:32:15 -05001/**
2 * Copyright © 2020 IBM Corporation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16#pragma once
17
18#include "config_base.hpp"
Matthew Barthde90fb42021-03-04 16:34:28 -060019#include "fan.hpp"
Matthew Bartha0dd1352021-03-09 11:10:49 -060020#include "xyz/openbmc_project/Control/ThermalMode/server.hpp"
Matthew Barth4f0d3b72020-08-27 14:32:15 -050021
22#include <nlohmann/json.hpp>
Matthew Barthacd737c2021-03-04 11:04:01 -060023#include <sdbusplus/bus.hpp>
Matthew Barth603ef162021-03-24 15:34:53 -050024#include <sdeventplus/event.hpp>
Matthew Barth007de092021-03-25 13:56:04 -050025#include <sdeventplus/utility/timer.hpp>
Matthew Barth4f0d3b72020-08-27 14:32:15 -050026
Matthew Barth651f03a2020-08-27 16:15:11 -050027#include <any>
Matthew Barth007de092021-03-25 13:56:04 -050028#include <chrono>
Matthew Barth651f03a2020-08-27 16:15:11 -050029#include <functional>
30#include <map>
31#include <tuple>
32
Matthew Barth4f0d3b72020-08-27 14:32:15 -050033namespace phosphor::fan::control::json
34{
35
Matthew Barth603ef162021-03-24 15:34:53 -050036class Manager;
37
Matthew Barth4f0d3b72020-08-27 14:32:15 -050038using json = nlohmann::json;
39
Matthew Bartha0dd1352021-03-09 11:10:49 -060040/* Extend the Control::ThermalMode interface */
41using ThermalObject = sdbusplus::server::object::object<
42 sdbusplus::xyz::openbmc_project::Control::server::ThermalMode>;
43
Matthew Barth007de092021-03-25 13:56:04 -050044/* Dbus event timer */
45using Timer = sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>;
46
Matthew Barth4f0d3b72020-08-27 14:32:15 -050047/**
48 * @class Zone - Represents a configured fan control zone
49 *
50 * A zone object contains the configured attributes for a zone that groups
Matthew Barthe47c9582021-03-09 14:24:02 -060051 * a number of fans together to be under the same target control. These
52 * configuration attributes include, but are not limited to, the default ceiling
53 * of the fans within the zone, a default floor, the delay between increases, a
54 * decrease interval, and any profiles(OPTIONAL) the zone should be included in.
Matthew Barth4f0d3b72020-08-27 14:32:15 -050055 *
56 * (When no profile for a zone is given, the zone defaults to always exist)
57 *
58 */
Matthew Bartha0dd1352021-03-09 11:10:49 -060059class Zone : public ConfigBase, public ThermalObject
Matthew Barth4f0d3b72020-08-27 14:32:15 -050060{
61 public:
62 /* JSON file name for zones */
63 static constexpr auto confFileName = "zones.json";
Matthew Barth216229c2020-09-24 13:47:33 -050064 static constexpr auto thermModeIntf =
65 "xyz.openbmc_project.Control.ThermalMode";
66 static constexpr auto supportedProp = "Supported";
67 static constexpr auto currentProp = "Current";
Matthew Barth651f03a2020-08-27 16:15:11 -050068
Matthew Barth4f0d3b72020-08-27 14:32:15 -050069 Zone() = delete;
70 Zone(const Zone&) = delete;
71 Zone(Zone&&) = delete;
72 Zone& operator=(const Zone&) = delete;
73 Zone& operator=(Zone&&) = delete;
74 ~Zone() = default;
75
76 /**
77 * Constructor
78 * Parses and populates a zone from JSON object data
79 *
Matthew Barth4f0d3b72020-08-27 14:32:15 -050080 * @param[in] jsonObj - JSON object
Matthew Barth603ef162021-03-24 15:34:53 -050081 * @param[in] bus - sdbusplus bus object
82 * @param[in] event - sdeventplus event loop
83 * @param[in] mgr - Manager of this zone
Matthew Barth4f0d3b72020-08-27 14:32:15 -050084 */
Matthew Barth603ef162021-03-24 15:34:53 -050085 Zone(const json& jsonObj, sdbusplus::bus::bus& bus,
86 const sdeventplus::Event& event, Manager* mgr);
Matthew Barth4f0d3b72020-08-27 14:32:15 -050087
88 /**
Matthew Barthe47c9582021-03-09 14:24:02 -060089 * @brief Get the default ceiling
Matthew Barth4f0d3b72020-08-27 14:32:15 -050090 *
Matthew Barthe47c9582021-03-09 14:24:02 -060091 * Default ceiling is the highest target the fans within this zone is
92 * allowed to increase to. The zone's ceiling defaults to this unless
93 * changed by some configured event.
Matthew Barth4f0d3b72020-08-27 14:32:15 -050094 *
Matthew Barthe47c9582021-03-09 14:24:02 -060095 * @return Default ceiling of this zone
Matthew Barth4f0d3b72020-08-27 14:32:15 -050096 */
Matthew Barthe47c9582021-03-09 14:24:02 -060097 inline const auto& getDefaultCeiling() const
Matthew Barth4f0d3b72020-08-27 14:32:15 -050098 {
Matthew Barthe47c9582021-03-09 14:24:02 -060099 return _defaultCeiling;
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500100 }
101
102 /**
Matthew Barthe47c9582021-03-09 14:24:02 -0600103 * @brief Get the default floor
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500104 *
Matthew Barthe47c9582021-03-09 14:24:02 -0600105 * The default floor is the lowest target the fans within this zone
106 * are allowed to decrease to. The zone's floor defaults to this
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500107 * unless changed by some configured event.
108 *
Matthew Barthe47c9582021-03-09 14:24:02 -0600109 * @return Default floor
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500110 */
111 inline const auto& getDefaultFloor() const
112 {
113 return _defaultFloor;
114 }
115
116 /**
Matthew Barthe47c9582021-03-09 14:24:02 -0600117 * @brief Get the increase delay(OPTIONAL)
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500118 *
Matthew Barthe47c9582021-03-09 14:24:02 -0600119 * The increase delay is the amount of time(in seconds) increases
120 * to a target are delayed before being made. The default is 0, which
121 * results in immediate increase requests when any events result in
122 * a change to the target.
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500123 *
124 * It is recommend a value other than 0 is configured, but that inherently
Matthew Barthe47c9582021-03-09 14:24:02 -0600125 * depends on the fan controller and configured increases.
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500126 *
Matthew Barthe47c9582021-03-09 14:24:02 -0600127 * @return Increase delay(in seconds)
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500128 */
129 inline const auto& getIncDelay() const
130 {
131 return _incDelay;
132 }
133
134 /**
Matthew Barthe47c9582021-03-09 14:24:02 -0600135 * @brief Get the decrease interval
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500136 *
Matthew Barthe47c9582021-03-09 14:24:02 -0600137 * Decreases happen on a set interval when no requests for an increase
138 * in fan targets exists. This is the interval(in seconds) at which the fans
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500139 * within the zone are decreased if events exist that result in a target
Matthew Barthe47c9582021-03-09 14:24:02 -0600140 * decrease.
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500141 *
Matthew Barthe47c9582021-03-09 14:24:02 -0600142 * @return Decrease interval(in seconds)
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500143 */
144 inline const auto& getDecInterval() const
145 {
146 return _decInterval;
147 }
148
Matthew Barth651f03a2020-08-27 16:15:11 -0500149 /**
Matthew Barthdc776c82021-02-25 16:06:16 -0600150 * @brief Get the target increase delta
151 *
152 * @return - The current target increase delta
153 */
154 inline auto& getIncDelta() const
155 {
156 return _incDelta;
157 };
158
159 /**
Matthew Barth45c44ea2021-03-03 13:16:14 -0600160 * @brief Get the target decrease delta
161 *
162 * @return - The current target decrease delta
163 */
164 inline auto& getDecDelta() const
165 {
166 return _decDelta;
167 };
168
169 /**
Matthew Barth603ef162021-03-24 15:34:53 -0500170 * @brief Get the manager of the zone
171 *
172 * @return - The manager of the zone
173 */
174 inline auto* getManager() const
175 {
176 return _manager;
177 }
178
179 /**
Matthew Barthde90fb42021-03-04 16:34:28 -0600180 * @brief Add a fan object to the zone
181 *
182 * @param[in] fan - Unique pointer to a fan object that will be moved into
183 * the zone
184 *
185 * Adds a fan object to the list of fans that make up the zone by moving the
186 * fan object into the list.
187 */
188 void addFan(std::unique_ptr<Fan> fan);
189
Matthew Barth12cb1252021-03-08 16:47:30 -0600190 /**
Matthew Barth8ba715e2021-03-05 09:00:05 -0600191 * Sets all fans in the zone to the target given when the zone is active
192 *
193 * @param[in] target - Target for fans
194 */
195 void setTarget(uint64_t target);
196
197 /**
198 * @brief Sets the automatic fan control allowed active state
199 *
200 * @param[in] ident - An identifier that affects the active state
201 * @param[in] isActiveAllow - Active state according to group
202 */
203 void setActiveAllow(const std::string& ident, bool isActiveAllow);
204
205 /**
Matthew Barth12cb1252021-03-08 16:47:30 -0600206 * @brief Set the floor to the given target and increase target to the floor
207 * when the target is below the floor value when floor changes are allowed.
208 *
209 * @param[in] target - Target to set the floor to
210 */
211 void setFloor(uint64_t target);
212
213 /**
214 * @brief Sets the floor change allowed state
215 *
216 * @param[in] ident - An identifier that affects floor changes
217 * @param[in] isAllow - Allow state according to the identifier
218 */
219 inline void setFloorChangeAllow(const std::string& ident, bool isAllow)
220 {
221 _floorChange[ident] = isAllow;
222 }
223
224 /**
Matthew Barth45c44ea2021-03-03 13:16:14 -0600225 * @brief Sets the decrease allowed state of a group
226 *
227 * @param[in] ident - An identifier that affects speed decreases
228 * @param[in] isAllow - Allow state according to the identifier
229 */
230 inline void setDecreaseAllow(const std::string& ident, bool isAllow)
231 {
232 _decAllowed[ident] = isAllow;
233 }
234
235 /**
Matthew Barth12cb1252021-03-08 16:47:30 -0600236 * @brief Calculate the requested target from the given delta and increases
237 * the fans, not going above the ceiling.
238 *
239 * @param[in] targetDelta - The delta to increase the target by
240 */
241 void requestIncrease(uint64_t targetDelta);
242
Matthew Bartha0dd1352021-03-09 11:10:49 -0600243 /**
Matthew Barth007de092021-03-25 13:56:04 -0500244 * @brief Callback function for the increase timer that delays
245 * processing of requested target increases while fans are increasing
246 */
247 void incTimerExpired();
248
249 /**
Matthew Barth45c44ea2021-03-03 13:16:14 -0600250 * @brief Calculate the lowest requested decrease target from the given
251 * delta within a decrease interval.
252 *
253 * @param[in] targetDelta - The delta to decrease the target by
254 */
255 void requestDecrease(uint64_t targetDelta);
256
257 /**
Matthew Barth007de092021-03-25 13:56:04 -0500258 * @brief Callback function for the decrease timer that processes any
259 * requested target decreases if allowed
260 */
261 void decTimerExpired();
262
263 /**
Matthew Barth07fecfc2021-01-29 09:04:43 -0600264 * @brief Set the requested target base to be used as the target to base a
265 * new requested target from
266 *
267 * @param[in] targetBase - Base target value to use
268 */
269 inline void setRequestTargetBase(uint64_t targetBase)
270 {
271 _requestTargetBase = targetBase;
272 };
273
274 /**
Matthew Bartha0dd1352021-03-09 11:10:49 -0600275 * @brief Set a property to be persisted
276 *
277 * @param[in] intf - Interface containing property
278 * @param[in] prop - Property to be persisted
279 */
280 void setPersisted(const std::string& intf, const std::string& prop);
281
282 /**
283 * @brief Overridden thermal object's set 'Current' property function
284 *
285 * @param[in] value - Value to set 'Current' to
286 *
287 * @return - The updated value of the 'Current' property
288 */
289 std::string current(std::string value) override;
290
Matthew Barthb584d812021-03-11 15:55:04 -0600291 /**
292 * @brief A handler function to set/update a property on a zone
293 * @details Sets or updates a zone's dbus property to the given value using
294 * the provided base dbus object's set property function
295 *
296 * @param[in] intf - Interface on zone object
297 * @param[in] prop - Property on interface
298 * @param[in] func - Zone object's set property function pointer
299 * @param[in] value - Value to set property to
300 * @param[in] persist - Persist property value or not
301 *
302 * @return Lambda function
303 * A lambda function to set/update the zone's dbus property
304 */
305 template <typename T>
306 static auto setProperty(const char* intf, const char* prop,
307 T (Zone::*func)(T), T&& value, bool persist)
308 {
309 return [=, value = std::forward<T>(value)](Zone* zone) {
310 (zone->*func)(value);
311 if (persist)
312 {
313 zone->setPersisted(intf, prop);
314 }
315 };
316 }
317
318 /**
319 * @brief A handler function to set/update a zone's dbus property's persist
320 * state
321 * @details Sets or updates a zone's dbus property's persist state where the
322 * value of the property is to be left unchanged
323 *
324 * @param[in] intf - Interface on zone object
325 * @param[in] prop - Property on interface
326 * @param[in] persist - Persist property value or not
327 *
328 * @return Lambda function
329 * A lambda function to set/update the zone's dbus property's persist
330 * state
331 */
332 static auto setPropertyPersist(const char* intf, const char* prop,
333 bool persist)
334 {
335 return [=](Zone* zone) {
336 if (persist)
337 {
338 zone->setPersisted(intf, prop);
339 }
340 };
341 }
342
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500343 private:
Matthew Barth603ef162021-03-24 15:34:53 -0500344 /* The zone's manager */
345 Manager* _manager;
346
Matthew Barthe47c9582021-03-09 14:24:02 -0600347 /* The zone's default ceiling value for fans */
348 uint64_t _defaultCeiling;
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500349
Matthew Barthe47c9582021-03-09 14:24:02 -0600350 /* The zone's default floor value for fans */
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500351 uint64_t _defaultFloor;
352
Matthew Barthe47c9582021-03-09 14:24:02 -0600353 /* Zone's increase delay(in seconds) (OPTIONAL) */
Matthew Barth007de092021-03-25 13:56:04 -0500354 std::chrono::seconds _incDelay;
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500355
Matthew Barthe47c9582021-03-09 14:24:02 -0600356 /* Zone's decrease interval(in seconds) */
Matthew Barth007de092021-03-25 13:56:04 -0500357 std::chrono::seconds _decInterval;
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500358
Matthew Barth12cb1252021-03-08 16:47:30 -0600359 /* The floor target to not go below */
360 uint64_t _floor;
361
362 /* Target for this zone */
363 uint64_t _target;
364
Matthew Barth2b3253e2021-03-09 14:51:16 -0600365 /* Zone increase delta */
366 uint64_t _incDelta;
367
Matthew Barth45c44ea2021-03-03 13:16:14 -0600368 /* Zone decrease delta */
369 uint64_t _decDelta;
370
Matthew Barth2b3253e2021-03-09 14:51:16 -0600371 /* The ceiling target to not go above */
372 uint64_t _ceiling;
373
374 /* Requested target base */
375 uint64_t _requestTargetBase;
376
Matthew Barth12cb1252021-03-08 16:47:30 -0600377 /* Map of whether floor changes are allowed by a string identifier */
378 std::map<std::string, bool> _floorChange;
379
Matthew Barth45c44ea2021-03-03 13:16:14 -0600380 /* Map of controlling decreases allowed by a string identifer */
381 std::map<std::string, bool> _decAllowed;
382
Matthew Bartha0dd1352021-03-09 11:10:49 -0600383 /* Map of interfaces to persisted properties the zone hosts*/
384 std::map<std::string, std::vector<std::string>> _propsPersisted;
385
Matthew Barth8ba715e2021-03-05 09:00:05 -0600386 /* Automatic fan control active state */
387 bool _isActive;
388
Matthew Barth007de092021-03-25 13:56:04 -0500389 /* The target increase timer object */
390 Timer _incTimer;
391
392 /* The target decrease timer object */
393 Timer _decTimer;
394
Matthew Barth8ba715e2021-03-05 09:00:05 -0600395 /* Map of active fan control allowed by a string identifier */
396 std::map<std::string, bool> _active;
397
Matthew Barthb584d812021-03-11 15:55:04 -0600398 /* Interface to property mapping of their associated set property handler
399 * function */
400 static const std::map<
401 std::string,
402 std::map<std::string,
403 std::function<std::function<void(Zone*)>(const json&, bool)>>>
Matthew Barth216229c2020-09-24 13:47:33 -0500404 _intfPropHandlers;
Matthew Barth651f03a2020-08-27 16:15:11 -0500405
Matthew Barthde90fb42021-03-04 16:34:28 -0600406 /* List of fans included in this zone */
407 std::vector<std::unique_ptr<Fan>> _fans;
408
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500409 /**
Matthew Barthe47c9582021-03-09 14:24:02 -0600410 * @brief Parse and set the zone's default ceiling value
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500411 *
412 * @param[in] jsonObj - JSON object for the zone
413 *
Matthew Barthe47c9582021-03-09 14:24:02 -0600414 * Sets the default ceiling value for the zone from the JSON configuration
415 * object
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500416 */
Matthew Barthe47c9582021-03-09 14:24:02 -0600417 void setDefaultCeiling(const json& jsonObj);
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500418
419 /**
Matthew Barthe47c9582021-03-09 14:24:02 -0600420 * @brief Parse and set the zone's default floor value
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500421 *
422 * @param[in] jsonObj - JSON object for the zone
423 *
Matthew Barthe47c9582021-03-09 14:24:02 -0600424 * Sets the default floor value for the zone from the JSON configuration
425 * object
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500426 */
427 void setDefaultFloor(const json& jsonObj);
428
429 /**
430 * @brief Parse and set the zone's decrease interval(in seconds)
431 *
432 * @param[in] jsonObj - JSON object for the zone
433 *
Matthew Barthe47c9582021-03-09 14:24:02 -0600434 * Sets the decrease interval(in seconds) for the zone from the JSON
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500435 * configuration object
436 */
437 void setDecInterval(const json& jsonObj);
Matthew Barth651f03a2020-08-27 16:15:11 -0500438
439 /**
Matthew Barth216229c2020-09-24 13:47:33 -0500440 * @brief Parse and set the interfaces served by the zone(OPTIONAL)
Matthew Barth651f03a2020-08-27 16:15:11 -0500441 *
442 * @param[in] jsonObj - JSON object for the zone
443 *
Matthew Barth216229c2020-09-24 13:47:33 -0500444 * Constructs any zone interface handler functions for interfaces that the
445 * zone serves which contains the interface's property's value and
446 * persistency state (OPTIONAL). A property's "persist" state is defaulted
447 * to not be persisted when not given.
Matthew Barth651f03a2020-08-27 16:15:11 -0500448 */
449 void setInterfaces(const json& jsonObj);
Matthew Bartha0dd1352021-03-09 11:10:49 -0600450
451 /**
452 * @brief Is the property persisted
453 *
454 * @param[in] intf - Interface containing property
455 * @param[in] prop - Property to check if persisted
456 *
457 * @return - True if property is to be persisted, false otherwise
458 */
459 bool isPersisted(const std::string& intf, const std::string& prop);
460
461 /**
462 * @brief Save the thermal control current mode property to persisted
463 * storage
464 */
465 void saveCurrentMode();
Matthew Barth2b3253e2021-03-09 14:51:16 -0600466
467 /**
Matthew Bartha4483742021-03-25 14:09:01 -0500468 * @brief Restore persisted thermal control current mode property
469 * value, setting the mode to "Default" otherwise
470 */
471 void restoreCurrentMode();
472
473 /**
Matthew Barth2b3253e2021-03-09 14:51:16 -0600474 * @brief Get the request target base if defined, otherwise the the current
475 * target is returned
476 *
477 * @return - The request target base or current target
478 */
479 inline auto getRequestTargetBase() const
480 {
481 return (_requestTargetBase != 0) ? _requestTargetBase : _target;
482 };
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500483};
484
Matthew Barth651f03a2020-08-27 16:15:11 -0500485/**
486 * Properties of interfaces supported by the zone configuration
487 */
488namespace zone::property
489{
490
491/**
Matthew Barth216229c2020-09-24 13:47:33 -0500492 * @brief "Supported" property on the "xyz.openbmc_project.Control.ThermalMode"
Matthew Barthb584d812021-03-11 15:55:04 -0600493 * interface parser. Also creates the handler function for the Zone object to
494 * initialize the property according to what's parsed from the configuration.
Matthew Barth651f03a2020-08-27 16:15:11 -0500495 *
496 * @param[in] jsonObj - JSON object for the "Supported" property
Matthew Barth216229c2020-09-24 13:47:33 -0500497 * @param[in] persist - Whether to persist the value or not
Matthew Barth651f03a2020-08-27 16:15:11 -0500498 *
Matthew Barthb584d812021-03-11 15:55:04 -0600499 * @return Zone interface set property handler function for the "Supported"
500 * property
Matthew Barth651f03a2020-08-27 16:15:11 -0500501 */
Matthew Barthb584d812021-03-11 15:55:04 -0600502std::function<void(Zone*)> supported(const json& jsonObj, bool persist);
Matthew Barth651f03a2020-08-27 16:15:11 -0500503
504/**
Matthew Barth216229c2020-09-24 13:47:33 -0500505 * @brief "Current" property on the "xyz.openbmc_project.Control.ThermalMode"
Matthew Barthb584d812021-03-11 15:55:04 -0600506 * interface parser. Also creates the handler function for the Zone object to
507 * initialize the property according to what's parsed from the configuration.
Matthew Barth651f03a2020-08-27 16:15:11 -0500508 *
509 * @param[in] jsonObj - JSON object for the "Current" property
Matthew Barth216229c2020-09-24 13:47:33 -0500510 * @param[in] persist - Whether to persist the value or not
Matthew Barth651f03a2020-08-27 16:15:11 -0500511 *
Matthew Barthb584d812021-03-11 15:55:04 -0600512 * @return Zone interface set property handler function for the "Current"
513 * property
Matthew Barth651f03a2020-08-27 16:15:11 -0500514 */
Matthew Barthb584d812021-03-11 15:55:04 -0600515std::function<void(Zone*)> current(const json& jsonObj, bool persist);
Matthew Barth651f03a2020-08-27 16:15:11 -0500516
517} // namespace zone::property
518
Matthew Barth4f0d3b72020-08-27 14:32:15 -0500519} // namespace phosphor::fan::control::json