blob: ab3cadc52e0f0cadf297d6945966ebfa08eb3755 [file] [log] [blame]
Tom Joseph56c534b2017-10-17 12:38:42 +05301// This file was autogenerated. Do not edit!
2// See elog-gen.py for more details
3#pragma once
4
Patrick Venture02261c02018-10-31 15:16:23 -07005#include <phosphor-logging/elog.hpp>
6#include <phosphor-logging/log.hpp>
7#include <sdbusplus/exception.hpp>
Patrick Williams490126f2023-05-10 07:50:22 -05008
Tom Joseph56c534b2017-10-17 12:38:42 +05309#include <string>
10#include <tuple>
11#include <type_traits>
Tom Joseph56c534b2017-10-17 12:38:42 +053012
Patrick Williamsda755ed2023-09-01 15:49:14 -050013namespace sdbusplus::error::org::open_power::common::callout
Tom Joseph3503fdc2019-01-10 11:25:27 +053014{
15struct Procedure;
Patrick Williamsda755ed2023-09-01 15:49:14 -050016} // namespace sdbusplus::error::org::open_power::common::callout
17namespace sdbusplus::error::org::open_power::host
Tom Joseph56c534b2017-10-17 12:38:42 +053018{
Patrick Venture02261c02018-10-31 15:16:23 -070019struct Event;
Patrick Williamsda755ed2023-09-01 15:49:14 -050020} // namespace sdbusplus::error::org::open_power::host
21namespace sdbusplus::error::org::open_power::host
Tom Joseph3503fdc2019-01-10 11:25:27 +053022{
23struct MaintenanceProcedure;
Patrick Williamsda755ed2023-09-01 15:49:14 -050024} // namespace sdbusplus::error::org::open_power::host
25namespace sdbusplus::error::org::open_power::occ::metrics
Tom Joseph3503fdc2019-01-10 11:25:27 +053026{
27struct Event;
Patrick Williamsda755ed2023-09-01 15:49:14 -050028} // namespace sdbusplus::error::org::open_power::occ::metrics
29namespace sdbusplus::error::xyz::openbmc_project::common::callout
Tom Joseph3503fdc2019-01-10 11:25:27 +053030{
Patrick Williamsda755ed2023-09-01 15:49:14 -050031struct Device;
32} // namespace sdbusplus::error::xyz::openbmc_project::common::callout
33namespace sdbusplus::error::xyz::openbmc_project::common::callout
Tom Joseph3503fdc2019-01-10 11:25:27 +053034{
Patrick Williamsda755ed2023-09-01 15:49:14 -050035struct GPIO;
36} // namespace sdbusplus::error::xyz::openbmc_project::common::callout
37namespace sdbusplus::error::xyz::openbmc_project::common::callout
Tom Joseph3503fdc2019-01-10 11:25:27 +053038{
Patrick Williamsda755ed2023-09-01 15:49:14 -050039struct IIC;
40} // namespace sdbusplus::error::xyz::openbmc_project::common::callout
41namespace sdbusplus::error::xyz::openbmc_project::common::callout
Tom Joseph3503fdc2019-01-10 11:25:27 +053042{
43struct IPMISensor;
Patrick Williamsda755ed2023-09-01 15:49:14 -050044} // namespace sdbusplus::error::xyz::openbmc_project::common::callout
45namespace sdbusplus::error::xyz::openbmc_project::common::callout
46{
47struct Inventory;
48} // namespace sdbusplus::error::xyz::openbmc_project::common::callout
Tom Joseph3503fdc2019-01-10 11:25:27 +053049
Patrick Williamsda755ed2023-09-01 15:49:14 -050050namespace phosphor::logging
Tom Joseph56c534b2017-10-17 12:38:42 +053051{
52
Patrick Williamsda755ed2023-09-01 15:49:14 -050053namespace org::open_power::occ::metrics
54{
55namespace _Event
56{
57struct ESEL
58{
59 /*
60 * We can't use -fsanitize=undefined if we declare a
61 * 'static constexpr auto str' member, so don't. Instead, open-code the
62 * mako template lookups.
63 */
64 static constexpr auto str_short = "ESEL";
65 using type = std::tuple<std::decay_t<decltype("ESEL=%s")>, const char*>;
66 explicit constexpr ESEL(const char* a) : _entry(entry("ESEL=%s", a)){};
67 type _entry;
68};
69} // namespace _Event
70
71struct Event
72{
73 static constexpr auto L = level::INFO;
74 using ESEL = _Event::ESEL;
75 using metadata_types = std::tuple<ESEL>;
76};
77
78} // namespace org::open_power::occ::metrics
79
80#ifndef SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
81namespace org::open_power::OCC::Metrics
82{
83using Event = phosphor::logging::org::open_power::occ::metrics::Event;
84}
85#endif
86
87namespace details
Tom Joseph56c534b2017-10-17 12:38:42 +053088{
89
Patrick Williamsda755ed2023-09-01 15:49:14 -050090template <>
91struct map_exception_type<
92 sdbusplus::error::org::open_power::occ::metrics::Event>
Tom Joseph56c534b2017-10-17 12:38:42 +053093{
Patrick Williamsda755ed2023-09-01 15:49:14 -050094 using type = phosphor::logging::org::open_power::occ::metrics::Event;
95};
96
97} // namespace details
98namespace org::open_power::common::callout
Tom Joseph3503fdc2019-01-10 11:25:27 +053099{
100namespace _Procedure
101{
Tom Joseph3503fdc2019-01-10 11:25:27 +0530102struct PROCEDURE
103{
104 /*
105 * We can't use -fsanitize=undefined if we declare a
106 * 'static constexpr auto str' member, so don't. Instead, open-code the
107 * mako template lookups.
108 */
109 static constexpr auto str_short = "PROCEDURE";
110 using type = std::tuple<std::decay_t<decltype("PROCEDURE=%u")>, uint32_t>;
111 explicit constexpr PROCEDURE(uint32_t a) :
112 _entry(entry("PROCEDURE=%u", a)){};
113 type _entry;
114};
Tom Joseph3503fdc2019-01-10 11:25:27 +0530115} // namespace _Procedure
116
117struct Procedure
118{
119 static constexpr auto L = level::ERR;
120 using PROCEDURE = _Procedure::PROCEDURE;
121 using metadata_types = std::tuple<PROCEDURE>;
122};
123
Patrick Williamsda755ed2023-09-01 15:49:14 -0500124} // namespace org::open_power::common::callout
125
126#ifndef SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
127namespace org::open_power::Common::Callout
128{
129using Procedure =
130 phosphor::logging::org::open_power::common::callout::Procedure;
131}
132#endif
Tom Joseph3503fdc2019-01-10 11:25:27 +0530133
134namespace details
135{
136
137template <>
138struct map_exception_type<
Patrick Williamsda755ed2023-09-01 15:49:14 -0500139 sdbusplus::error::org::open_power::common::callout::Procedure>
Tom Joseph3503fdc2019-01-10 11:25:27 +0530140{
Patrick Williamsda755ed2023-09-01 15:49:14 -0500141 using type = phosphor::logging::org::open_power::common::callout::Procedure;
Tom Joseph3503fdc2019-01-10 11:25:27 +0530142};
143
144} // namespace details
Patrick Williamsda755ed2023-09-01 15:49:14 -0500145namespace xyz::openbmc_project::common::callout
Tom Joseph3503fdc2019-01-10 11:25:27 +0530146{
147namespace _Device
148{
Tom Joseph3503fdc2019-01-10 11:25:27 +0530149struct CALLOUT_ERRNO
150{
151 /*
152 * We can't use -fsanitize=undefined if we declare a
153 * 'static constexpr auto str' member, so don't. Instead, open-code the
154 * mako template lookups.
155 */
156 static constexpr auto str_short = "CALLOUT_ERRNO";
157 using type =
158 std::tuple<std::decay_t<decltype("CALLOUT_ERRNO=%d")>, int32_t>;
159 explicit constexpr CALLOUT_ERRNO(int32_t a) :
160 _entry(entry("CALLOUT_ERRNO=%d", a)){};
161 type _entry;
162};
163struct CALLOUT_DEVICE_PATH
164{
165 /*
166 * We can't use -fsanitize=undefined if we declare a
167 * 'static constexpr auto str' member, so don't. Instead, open-code the
168 * mako template lookups.
169 */
170 static constexpr auto str_short = "CALLOUT_DEVICE_PATH";
171 using type = std::tuple<std::decay_t<decltype("CALLOUT_DEVICE_PATH=%s")>,
172 const char*>;
173 explicit constexpr CALLOUT_DEVICE_PATH(const char* a) :
174 _entry(entry("CALLOUT_DEVICE_PATH=%s", a)){};
175 type _entry;
176};
Tom Joseph3503fdc2019-01-10 11:25:27 +0530177} // namespace _Device
178
179struct Device
180{
181 static constexpr auto L = level::ERR;
182 using CALLOUT_ERRNO = _Device::CALLOUT_ERRNO;
183 using CALLOUT_DEVICE_PATH = _Device::CALLOUT_DEVICE_PATH;
184 using metadata_types = std::tuple<CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
185};
186
Patrick Williamsda755ed2023-09-01 15:49:14 -0500187} // namespace xyz::openbmc_project::common::callout
188
189#ifndef SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
190namespace xyz::openbmc_project::Common::Callout
191{
192using Device = phosphor::logging::xyz::openbmc_project::common::callout::Device;
193}
194#endif
Tom Joseph3503fdc2019-01-10 11:25:27 +0530195
196namespace details
197{
198
199template <>
200struct map_exception_type<
Patrick Williamsda755ed2023-09-01 15:49:14 -0500201 sdbusplus::error::xyz::openbmc_project::common::callout::Device>
Tom Joseph3503fdc2019-01-10 11:25:27 +0530202{
Patrick Williamsda755ed2023-09-01 15:49:14 -0500203 using type =
204 phosphor::logging::xyz::openbmc_project::common::callout::Device;
Tom Joseph3503fdc2019-01-10 11:25:27 +0530205};
206
207} // namespace details
Patrick Williamsda755ed2023-09-01 15:49:14 -0500208namespace xyz::openbmc_project::common::callout
Tom Joseph3503fdc2019-01-10 11:25:27 +0530209{
210namespace _GPIO
211{
Tom Joseph3503fdc2019-01-10 11:25:27 +0530212struct CALLOUT_GPIO_NUM
213{
214 /*
215 * We can't use -fsanitize=undefined if we declare a
216 * 'static constexpr auto str' member, so don't. Instead, open-code the
217 * mako template lookups.
218 */
219 static constexpr auto str_short = "CALLOUT_GPIO_NUM";
220 using type =
221 std::tuple<std::decay_t<decltype("CALLOUT_GPIO_NUM=%u")>, uint32_t>;
222 explicit constexpr CALLOUT_GPIO_NUM(uint32_t a) :
223 _entry(entry("CALLOUT_GPIO_NUM=%u", a)){};
224 type _entry;
225};
Tom Joseph3503fdc2019-01-10 11:25:27 +0530226} // namespace _GPIO
227
228struct GPIO
229{
230 static constexpr auto L = level::ERR;
231 using CALLOUT_GPIO_NUM = _GPIO::CALLOUT_GPIO_NUM;
Patrick Williamsda755ed2023-09-01 15:49:14 -0500232 using CALLOUT_ERRNO = phosphor::logging::xyz::openbmc_project::common::
233 callout::Device::CALLOUT_ERRNO;
234 using CALLOUT_DEVICE_PATH = phosphor::logging::xyz::openbmc_project::
235 common::callout::Device::CALLOUT_DEVICE_PATH;
Tom Joseph3503fdc2019-01-10 11:25:27 +0530236 using metadata_types =
237 std::tuple<CALLOUT_GPIO_NUM, CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
238};
239
Patrick Williamsda755ed2023-09-01 15:49:14 -0500240} // namespace xyz::openbmc_project::common::callout
241
242#ifndef SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
243namespace xyz::openbmc_project::Common::Callout
244{
245using GPIO = phosphor::logging::xyz::openbmc_project::common::callout::GPIO;
246}
247#endif
Tom Joseph3503fdc2019-01-10 11:25:27 +0530248
249namespace details
250{
251
252template <>
253struct map_exception_type<
Patrick Williamsda755ed2023-09-01 15:49:14 -0500254 sdbusplus::error::xyz::openbmc_project::common::callout::GPIO>
Tom Joseph3503fdc2019-01-10 11:25:27 +0530255{
Patrick Williamsda755ed2023-09-01 15:49:14 -0500256 using type = phosphor::logging::xyz::openbmc_project::common::callout::GPIO;
Tom Joseph3503fdc2019-01-10 11:25:27 +0530257};
258
259} // namespace details
Patrick Williamsda755ed2023-09-01 15:49:14 -0500260namespace xyz::openbmc_project::common::callout
Tom Joseph3503fdc2019-01-10 11:25:27 +0530261{
262namespace _IIC
263{
Tom Joseph3503fdc2019-01-10 11:25:27 +0530264struct CALLOUT_IIC_BUS
265{
266 /*
267 * We can't use -fsanitize=undefined if we declare a
268 * 'static constexpr auto str' member, so don't. Instead, open-code the
269 * mako template lookups.
270 */
271 static constexpr auto str_short = "CALLOUT_IIC_BUS";
272 using type =
273 std::tuple<std::decay_t<decltype("CALLOUT_IIC_BUS=%s")>, const char*>;
274 explicit constexpr CALLOUT_IIC_BUS(const char* a) :
275 _entry(entry("CALLOUT_IIC_BUS=%s", a)){};
276 type _entry;
277};
278struct CALLOUT_IIC_ADDR
279{
280 /*
281 * We can't use -fsanitize=undefined if we declare a
282 * 'static constexpr auto str' member, so don't. Instead, open-code the
283 * mako template lookups.
284 */
285 static constexpr auto str_short = "CALLOUT_IIC_ADDR";
286 using type =
287 std::tuple<std::decay_t<decltype("CALLOUT_IIC_ADDR=0x%hx")>, uint16_t>;
288 explicit constexpr CALLOUT_IIC_ADDR(uint16_t a) :
289 _entry(entry("CALLOUT_IIC_ADDR=0x%hx", a)){};
290 type _entry;
291};
Tom Joseph3503fdc2019-01-10 11:25:27 +0530292} // namespace _IIC
293
294struct IIC
295{
296 static constexpr auto L = level::ERR;
297 using CALLOUT_IIC_BUS = _IIC::CALLOUT_IIC_BUS;
298 using CALLOUT_IIC_ADDR = _IIC::CALLOUT_IIC_ADDR;
Patrick Williamsda755ed2023-09-01 15:49:14 -0500299 using CALLOUT_ERRNO = phosphor::logging::xyz::openbmc_project::common::
300 callout::Device::CALLOUT_ERRNO;
301 using CALLOUT_DEVICE_PATH = phosphor::logging::xyz::openbmc_project::
302 common::callout::Device::CALLOUT_DEVICE_PATH;
Tom Joseph3503fdc2019-01-10 11:25:27 +0530303 using metadata_types = std::tuple<CALLOUT_IIC_BUS, CALLOUT_IIC_ADDR,
304 CALLOUT_ERRNO, CALLOUT_DEVICE_PATH>;
305};
306
Patrick Williamsda755ed2023-09-01 15:49:14 -0500307} // namespace xyz::openbmc_project::common::callout
308
309#ifndef SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
310namespace xyz::openbmc_project::Common::Callout
311{
312using IIC = phosphor::logging::xyz::openbmc_project::common::callout::IIC;
313}
314#endif
Tom Joseph3503fdc2019-01-10 11:25:27 +0530315
316namespace details
317{
318
319template <>
320struct map_exception_type<
Patrick Williamsda755ed2023-09-01 15:49:14 -0500321 sdbusplus::error::xyz::openbmc_project::common::callout::IIC>
Tom Joseph3503fdc2019-01-10 11:25:27 +0530322{
Patrick Williamsda755ed2023-09-01 15:49:14 -0500323 using type = phosphor::logging::xyz::openbmc_project::common::callout::IIC;
Tom Joseph3503fdc2019-01-10 11:25:27 +0530324};
325
326} // namespace details
Patrick Williamsda755ed2023-09-01 15:49:14 -0500327namespace xyz::openbmc_project::common::callout
Tom Joseph3503fdc2019-01-10 11:25:27 +0530328{
329namespace _Inventory
330{
Tom Joseph3503fdc2019-01-10 11:25:27 +0530331struct CALLOUT_INVENTORY_PATH
332{
333 /*
334 * We can't use -fsanitize=undefined if we declare a
335 * 'static constexpr auto str' member, so don't. Instead, open-code the
336 * mako template lookups.
337 */
338 static constexpr auto str_short = "CALLOUT_INVENTORY_PATH";
339 using type = std::tuple<std::decay_t<decltype("CALLOUT_INVENTORY_PATH=%s")>,
340 const char*>;
341 explicit constexpr CALLOUT_INVENTORY_PATH(const char* a) :
342 _entry(entry("CALLOUT_INVENTORY_PATH=%s", a)){};
343 type _entry;
344};
Tom Joseph3503fdc2019-01-10 11:25:27 +0530345} // namespace _Inventory
346
347struct Inventory
348{
349 static constexpr auto L = level::ERR;
350 using CALLOUT_INVENTORY_PATH = _Inventory::CALLOUT_INVENTORY_PATH;
351 using metadata_types = std::tuple<CALLOUT_INVENTORY_PATH>;
352};
353
Patrick Williamsda755ed2023-09-01 15:49:14 -0500354} // namespace xyz::openbmc_project::common::callout
355
356#ifndef SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
357namespace xyz::openbmc_project::Common::Callout
358{
359using Inventory =
360 phosphor::logging::xyz::openbmc_project::common::callout::Inventory;
361}
362#endif
Tom Joseph3503fdc2019-01-10 11:25:27 +0530363
364namespace details
365{
366
367template <>
368struct map_exception_type<
Patrick Williamsda755ed2023-09-01 15:49:14 -0500369 sdbusplus::error::xyz::openbmc_project::common::callout::Inventory>
Tom Joseph3503fdc2019-01-10 11:25:27 +0530370{
Patrick Williamsda755ed2023-09-01 15:49:14 -0500371 using type =
372 phosphor::logging::xyz::openbmc_project::common::callout::Inventory;
Tom Joseph3503fdc2019-01-10 11:25:27 +0530373};
374
375} // namespace details
Patrick Williamsda755ed2023-09-01 15:49:14 -0500376namespace xyz::openbmc_project::common::callout
Tom Joseph3503fdc2019-01-10 11:25:27 +0530377{
378namespace _IPMISensor
379{
Tom Joseph3503fdc2019-01-10 11:25:27 +0530380struct CALLOUT_IPMI_SENSOR_NUM
381{
382 /*
383 * We can't use -fsanitize=undefined if we declare a
384 * 'static constexpr auto str' member, so don't. Instead, open-code the
385 * mako template lookups.
386 */
387 static constexpr auto str_short = "CALLOUT_IPMI_SENSOR_NUM";
388 using type =
389 std::tuple<std::decay_t<decltype("CALLOUT_IPMI_SENSOR_NUM=%u")>,
390 uint32_t>;
391 explicit constexpr CALLOUT_IPMI_SENSOR_NUM(uint32_t a) :
392 _entry(entry("CALLOUT_IPMI_SENSOR_NUM=%u", a)){};
393 type _entry;
394};
Tom Joseph3503fdc2019-01-10 11:25:27 +0530395} // namespace _IPMISensor
396
397struct IPMISensor
398{
399 static constexpr auto L = level::ERR;
400 using CALLOUT_IPMI_SENSOR_NUM = _IPMISensor::CALLOUT_IPMI_SENSOR_NUM;
401 using metadata_types = std::tuple<CALLOUT_IPMI_SENSOR_NUM>;
402};
403
Patrick Williamsda755ed2023-09-01 15:49:14 -0500404} // namespace xyz::openbmc_project::common::callout
405
406#ifndef SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
407namespace xyz::openbmc_project::Common::Callout
408{
409using IPMISensor =
410 phosphor::logging::xyz::openbmc_project::common::callout::IPMISensor;
411}
412#endif
Tom Joseph3503fdc2019-01-10 11:25:27 +0530413
414namespace details
415{
416
417template <>
418struct map_exception_type<
Patrick Williamsda755ed2023-09-01 15:49:14 -0500419 sdbusplus::error::xyz::openbmc_project::common::callout::IPMISensor>
Tom Joseph3503fdc2019-01-10 11:25:27 +0530420{
Patrick Williamsda755ed2023-09-01 15:49:14 -0500421 using type =
422 phosphor::logging::xyz::openbmc_project::common::callout::IPMISensor;
Tom Joseph3503fdc2019-01-10 11:25:27 +0530423};
424
425} // namespace details
Patrick Williamsda755ed2023-09-01 15:49:14 -0500426namespace org::open_power::host
Tom Joseph3503fdc2019-01-10 11:25:27 +0530427{
428namespace _Event
429{
Tom Joseph3503fdc2019-01-10 11:25:27 +0530430struct ESEL
431{
432 /*
433 * We can't use -fsanitize=undefined if we declare a
434 * 'static constexpr auto str' member, so don't. Instead, open-code the
435 * mako template lookups.
436 */
437 static constexpr auto str_short = "ESEL";
438 using type = std::tuple<std::decay_t<decltype("ESEL=%s")>, const char*>;
439 explicit constexpr ESEL(const char* a) : _entry(entry("ESEL=%s", a)){};
440 type _entry;
441};
Tom Joseph3503fdc2019-01-10 11:25:27 +0530442} // namespace _Event
443
444struct Event
445{
446 static constexpr auto L = level::ERR;
447 using ESEL = _Event::ESEL;
Patrick Williamsda755ed2023-09-01 15:49:14 -0500448 using CALLOUT_INVENTORY_PATH = phosphor::logging::xyz::openbmc_project::
449 common::callout::Inventory::CALLOUT_INVENTORY_PATH;
Tom Joseph3503fdc2019-01-10 11:25:27 +0530450 using metadata_types = std::tuple<ESEL, CALLOUT_INVENTORY_PATH>;
451};
452
Patrick Williamsda755ed2023-09-01 15:49:14 -0500453} // namespace org::open_power::host
454
455#ifndef SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
456namespace org::open_power::Host
457{
458using Event = phosphor::logging::org::open_power::host::Event;
459}
460#endif
Tom Joseph3503fdc2019-01-10 11:25:27 +0530461
462namespace details
463{
464
465template <>
Patrick Williamsda755ed2023-09-01 15:49:14 -0500466struct map_exception_type<sdbusplus::error::org::open_power::host::Event>
Tom Joseph3503fdc2019-01-10 11:25:27 +0530467{
Patrick Williamsda755ed2023-09-01 15:49:14 -0500468 using type = phosphor::logging::org::open_power::host::Event;
Tom Joseph3503fdc2019-01-10 11:25:27 +0530469};
470
471} // namespace details
Patrick Williamsda755ed2023-09-01 15:49:14 -0500472namespace org::open_power::host
Tom Joseph3503fdc2019-01-10 11:25:27 +0530473{
474namespace _MaintenanceProcedure
475{
Tom Joseph3503fdc2019-01-10 11:25:27 +0530476struct ESEL
477{
478 /*
479 * We can't use -fsanitize=undefined if we declare a
480 * 'static constexpr auto str' member, so don't. Instead, open-code the
481 * mako template lookups.
482 */
483 static constexpr auto str_short = "ESEL";
484 using type = std::tuple<std::decay_t<decltype("ESEL=%s")>, const char*>;
485 explicit constexpr ESEL(const char* a) : _entry(entry("ESEL=%s", a)){};
486 type _entry;
487};
Tom Joseph3503fdc2019-01-10 11:25:27 +0530488} // namespace _MaintenanceProcedure
489
490struct MaintenanceProcedure
491{
492 static constexpr auto L = level::ERR;
493 using ESEL = _MaintenanceProcedure::ESEL;
Patrick Williamsda755ed2023-09-01 15:49:14 -0500494 using PROCEDURE = phosphor::logging::org::open_power::common::callout::
495 Procedure::PROCEDURE;
Tom Joseph3503fdc2019-01-10 11:25:27 +0530496 using metadata_types = std::tuple<ESEL, PROCEDURE>;
497};
498
Patrick Williamsda755ed2023-09-01 15:49:14 -0500499} // namespace org::open_power::host
500
501#ifndef SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
502namespace org::open_power::Host
503{
504using MaintenanceProcedure =
505 phosphor::logging::org::open_power::host::MaintenanceProcedure;
506}
507#endif
Tom Joseph3503fdc2019-01-10 11:25:27 +0530508
509namespace details
510{
511
512template <>
513struct map_exception_type<
Patrick Williamsda755ed2023-09-01 15:49:14 -0500514 sdbusplus::error::org::open_power::host::MaintenanceProcedure>
Tom Joseph3503fdc2019-01-10 11:25:27 +0530515{
Patrick Williamsda755ed2023-09-01 15:49:14 -0500516 using type = phosphor::logging::org::open_power::host::MaintenanceProcedure;
Tom Joseph3503fdc2019-01-10 11:25:27 +0530517};
518
519} // namespace details
Patrick Williamsda755ed2023-09-01 15:49:14 -0500520} // namespace phosphor::logging