xref: /openbmc/bmcweb/features/redfish/include/generated/enums/computer_system.hpp (revision 2ae81db99a155febe45d27e3834cfa5471b3ecdf)
10ec8b83dSEd Tanous #pragma once
20ec8b83dSEd Tanous #include <nlohmann/json.hpp>
30ec8b83dSEd Tanous 
40ec8b83dSEd Tanous namespace computer_system
50ec8b83dSEd Tanous {
60ec8b83dSEd Tanous // clang-format off
70ec8b83dSEd Tanous 
80ec8b83dSEd Tanous enum class BootSource{
90ec8b83dSEd Tanous     Invalid,
100ec8b83dSEd Tanous     None,
110ec8b83dSEd Tanous     Pxe,
120ec8b83dSEd Tanous     Floppy,
130ec8b83dSEd Tanous     Cd,
140ec8b83dSEd Tanous     Usb,
150ec8b83dSEd Tanous     Hdd,
160ec8b83dSEd Tanous     BiosSetup,
170ec8b83dSEd Tanous     Utilities,
180ec8b83dSEd Tanous     Diags,
190ec8b83dSEd Tanous     UefiShell,
200ec8b83dSEd Tanous     UefiTarget,
210ec8b83dSEd Tanous     SDCard,
220ec8b83dSEd Tanous     UefiHttp,
230ec8b83dSEd Tanous     RemoteDrive,
240ec8b83dSEd Tanous     UefiBootNext,
250ec8b83dSEd Tanous     Recovery,
260ec8b83dSEd Tanous };
270ec8b83dSEd Tanous 
280ec8b83dSEd Tanous enum class SystemType{
290ec8b83dSEd Tanous     Invalid,
300ec8b83dSEd Tanous     Physical,
310ec8b83dSEd Tanous     Virtual,
320ec8b83dSEd Tanous     OS,
330ec8b83dSEd Tanous     PhysicallyPartitioned,
340ec8b83dSEd Tanous     VirtuallyPartitioned,
350ec8b83dSEd Tanous     Composed,
360ec8b83dSEd Tanous     DPU,
370ec8b83dSEd Tanous };
380ec8b83dSEd Tanous 
390ec8b83dSEd Tanous enum class IndicatorLED{
400ec8b83dSEd Tanous     Invalid,
410ec8b83dSEd Tanous     Unknown,
420ec8b83dSEd Tanous     Lit,
430ec8b83dSEd Tanous     Blinking,
440ec8b83dSEd Tanous     Off,
450ec8b83dSEd Tanous };
460ec8b83dSEd Tanous 
470ec8b83dSEd Tanous enum class BootSourceOverrideEnabled{
480ec8b83dSEd Tanous     Invalid,
490ec8b83dSEd Tanous     Disabled,
500ec8b83dSEd Tanous     Once,
510ec8b83dSEd Tanous     Continuous,
520ec8b83dSEd Tanous };
530ec8b83dSEd Tanous 
540ec8b83dSEd Tanous enum class MemoryMirroring{
550ec8b83dSEd Tanous     Invalid,
560ec8b83dSEd Tanous     System,
570ec8b83dSEd Tanous     DIMM,
580ec8b83dSEd Tanous     Hybrid,
590ec8b83dSEd Tanous     None,
600ec8b83dSEd Tanous };
610ec8b83dSEd Tanous 
620ec8b83dSEd Tanous enum class BootSourceOverrideMode{
630ec8b83dSEd Tanous     Invalid,
640ec8b83dSEd Tanous     Legacy,
650ec8b83dSEd Tanous     UEFI,
660ec8b83dSEd Tanous };
670ec8b83dSEd Tanous 
680ec8b83dSEd Tanous enum class InterfaceType{
690ec8b83dSEd Tanous     Invalid,
700ec8b83dSEd Tanous     TPM1_2,
710ec8b83dSEd Tanous     TPM2_0,
720ec8b83dSEd Tanous     TCM1_0,
730ec8b83dSEd Tanous };
740ec8b83dSEd Tanous 
750ec8b83dSEd Tanous enum class HostingRole{
760ec8b83dSEd Tanous     Invalid,
770ec8b83dSEd Tanous     ApplicationServer,
780ec8b83dSEd Tanous     StorageServer,
790ec8b83dSEd Tanous     Switch,
800ec8b83dSEd Tanous     Appliance,
810ec8b83dSEd Tanous     BareMetalServer,
820ec8b83dSEd Tanous     VirtualMachineServer,
830ec8b83dSEd Tanous     ContainerServer,
840ec8b83dSEd Tanous };
850ec8b83dSEd Tanous 
860ec8b83dSEd Tanous enum class InterfaceTypeSelection{
870ec8b83dSEd Tanous     Invalid,
880ec8b83dSEd Tanous     None,
890ec8b83dSEd Tanous     FirmwareUpdate,
900ec8b83dSEd Tanous     BiosSetting,
910ec8b83dSEd Tanous     OemMethod,
920ec8b83dSEd Tanous };
930ec8b83dSEd Tanous 
940ec8b83dSEd Tanous enum class WatchdogWarningActions{
950ec8b83dSEd Tanous     Invalid,
960ec8b83dSEd Tanous     None,
970ec8b83dSEd Tanous     DiagnosticInterrupt,
980ec8b83dSEd Tanous     SMI,
990ec8b83dSEd Tanous     MessagingInterrupt,
1000ec8b83dSEd Tanous     SCI,
1010ec8b83dSEd Tanous     OEM,
1020ec8b83dSEd Tanous };
1030ec8b83dSEd Tanous 
1040ec8b83dSEd Tanous enum class WatchdogTimeoutActions{
1050ec8b83dSEd Tanous     Invalid,
1060ec8b83dSEd Tanous     None,
1070ec8b83dSEd Tanous     ResetSystem,
1080ec8b83dSEd Tanous     PowerCycle,
1090ec8b83dSEd Tanous     PowerDown,
1100ec8b83dSEd Tanous     OEM,
1110ec8b83dSEd Tanous };
1120ec8b83dSEd Tanous 
1130ec8b83dSEd Tanous enum class PowerRestorePolicyTypes{
1140ec8b83dSEd Tanous     Invalid,
1150ec8b83dSEd Tanous     AlwaysOn,
1160ec8b83dSEd Tanous     AlwaysOff,
1170ec8b83dSEd Tanous     LastState,
1180ec8b83dSEd Tanous };
1190ec8b83dSEd Tanous 
1200ec8b83dSEd Tanous enum class BootOrderTypes{
1210ec8b83dSEd Tanous     Invalid,
1220ec8b83dSEd Tanous     BootOrder,
1230ec8b83dSEd Tanous     AliasBootOrder,
1240ec8b83dSEd Tanous };
1250ec8b83dSEd Tanous 
1260ec8b83dSEd Tanous enum class AutomaticRetryConfig{
1270ec8b83dSEd Tanous     Invalid,
1280ec8b83dSEd Tanous     Disabled,
1290ec8b83dSEd Tanous     RetryAttempts,
1300ec8b83dSEd Tanous     RetryAlways,
1310ec8b83dSEd Tanous };
1320ec8b83dSEd Tanous 
1330ec8b83dSEd Tanous enum class BootProgressTypes{
1340ec8b83dSEd Tanous     Invalid,
1350ec8b83dSEd Tanous     None,
1360ec8b83dSEd Tanous     PrimaryProcessorInitializationStarted,
1370ec8b83dSEd Tanous     BusInitializationStarted,
1380ec8b83dSEd Tanous     MemoryInitializationStarted,
1390ec8b83dSEd Tanous     SecondaryProcessorInitializationStarted,
1400ec8b83dSEd Tanous     PCIResourceConfigStarted,
1410ec8b83dSEd Tanous     SystemHardwareInitializationComplete,
1420ec8b83dSEd Tanous     SetupEntered,
1430ec8b83dSEd Tanous     OSBootStarted,
1440ec8b83dSEd Tanous     OSRunning,
1450ec8b83dSEd Tanous     OEM,
1460ec8b83dSEd Tanous };
1470ec8b83dSEd Tanous 
1480ec8b83dSEd Tanous enum class GraphicalConnectTypesSupported{
1490ec8b83dSEd Tanous     Invalid,
1500ec8b83dSEd Tanous     KVMIP,
1510ec8b83dSEd Tanous     OEM,
1520ec8b83dSEd Tanous };
1530ec8b83dSEd Tanous 
1540ec8b83dSEd Tanous enum class TrustedModuleRequiredToBoot{
1550ec8b83dSEd Tanous     Invalid,
1560ec8b83dSEd Tanous     Disabled,
1570ec8b83dSEd Tanous     Required,
1580ec8b83dSEd Tanous };
1590ec8b83dSEd Tanous 
1600ec8b83dSEd Tanous enum class StopBootOnFault{
1610ec8b83dSEd Tanous     Invalid,
1620ec8b83dSEd Tanous     Never,
1630ec8b83dSEd Tanous     AnyFault,
1640ec8b83dSEd Tanous };
1650ec8b83dSEd Tanous 
1660ec8b83dSEd Tanous enum class PowerMode{
1670ec8b83dSEd Tanous     Invalid,
1680ec8b83dSEd Tanous     MaximumPerformance,
1690ec8b83dSEd Tanous     BalancedPerformance,
1700ec8b83dSEd Tanous     PowerSaving,
1710ec8b83dSEd Tanous     Static,
1720ec8b83dSEd Tanous     OSControlled,
1730ec8b83dSEd Tanous     OEM,
174*2ae81db9SGunnar Mills     EfficiencyFavorPower,
175*2ae81db9SGunnar Mills     EfficiencyFavorPerformance,
1760ec8b83dSEd Tanous };
1770ec8b83dSEd Tanous 
1780ec8b83dSEd Tanous enum class CompositionUseCase{
1790ec8b83dSEd Tanous     Invalid,
1800ec8b83dSEd Tanous     ResourceBlockCapable,
1810ec8b83dSEd Tanous     ExpandableSystem,
1820ec8b83dSEd Tanous };
1830ec8b83dSEd Tanous 
184a8d8f9d8SEd Tanous enum class KMIPCachePolicy{
185a8d8f9d8SEd Tanous     Invalid,
186a8d8f9d8SEd Tanous     None,
187a8d8f9d8SEd Tanous     AfterFirstUse,
188a8d8f9d8SEd Tanous };
189a8d8f9d8SEd Tanous 
190e9cc1bc9SEd Tanous enum class DecommissionType{
191e9cc1bc9SEd Tanous     Invalid,
192e9cc1bc9SEd Tanous     All,
193e9cc1bc9SEd Tanous     UserData,
194e9cc1bc9SEd Tanous     ManagerConfig,
195e9cc1bc9SEd Tanous     BIOSConfig,
196e9cc1bc9SEd Tanous     NetworkConfig,
197e9cc1bc9SEd Tanous     StorageConfig,
198e9cc1bc9SEd Tanous     Logs,
199e9cc1bc9SEd Tanous };
200e9cc1bc9SEd Tanous 
2010ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(BootSource, {
2020ec8b83dSEd Tanous     {BootSource::Invalid, "Invalid"},
2030ec8b83dSEd Tanous     {BootSource::None, "None"},
2040ec8b83dSEd Tanous     {BootSource::Pxe, "Pxe"},
2050ec8b83dSEd Tanous     {BootSource::Floppy, "Floppy"},
2060ec8b83dSEd Tanous     {BootSource::Cd, "Cd"},
2070ec8b83dSEd Tanous     {BootSource::Usb, "Usb"},
2080ec8b83dSEd Tanous     {BootSource::Hdd, "Hdd"},
2090ec8b83dSEd Tanous     {BootSource::BiosSetup, "BiosSetup"},
2100ec8b83dSEd Tanous     {BootSource::Utilities, "Utilities"},
2110ec8b83dSEd Tanous     {BootSource::Diags, "Diags"},
2120ec8b83dSEd Tanous     {BootSource::UefiShell, "UefiShell"},
2130ec8b83dSEd Tanous     {BootSource::UefiTarget, "UefiTarget"},
2140ec8b83dSEd Tanous     {BootSource::SDCard, "SDCard"},
2150ec8b83dSEd Tanous     {BootSource::UefiHttp, "UefiHttp"},
2160ec8b83dSEd Tanous     {BootSource::RemoteDrive, "RemoteDrive"},
2170ec8b83dSEd Tanous     {BootSource::UefiBootNext, "UefiBootNext"},
2180ec8b83dSEd Tanous     {BootSource::Recovery, "Recovery"},
2190ec8b83dSEd Tanous });
2200ec8b83dSEd Tanous 
2210ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(SystemType, {
2220ec8b83dSEd Tanous     {SystemType::Invalid, "Invalid"},
2230ec8b83dSEd Tanous     {SystemType::Physical, "Physical"},
2240ec8b83dSEd Tanous     {SystemType::Virtual, "Virtual"},
2250ec8b83dSEd Tanous     {SystemType::OS, "OS"},
2260ec8b83dSEd Tanous     {SystemType::PhysicallyPartitioned, "PhysicallyPartitioned"},
2270ec8b83dSEd Tanous     {SystemType::VirtuallyPartitioned, "VirtuallyPartitioned"},
2280ec8b83dSEd Tanous     {SystemType::Composed, "Composed"},
2290ec8b83dSEd Tanous     {SystemType::DPU, "DPU"},
2300ec8b83dSEd Tanous });
2310ec8b83dSEd Tanous 
2320ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(IndicatorLED, {
2330ec8b83dSEd Tanous     {IndicatorLED::Invalid, "Invalid"},
2340ec8b83dSEd Tanous     {IndicatorLED::Unknown, "Unknown"},
2350ec8b83dSEd Tanous     {IndicatorLED::Lit, "Lit"},
2360ec8b83dSEd Tanous     {IndicatorLED::Blinking, "Blinking"},
2370ec8b83dSEd Tanous     {IndicatorLED::Off, "Off"},
2380ec8b83dSEd Tanous });
2390ec8b83dSEd Tanous 
2400ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(BootSourceOverrideEnabled, {
2410ec8b83dSEd Tanous     {BootSourceOverrideEnabled::Invalid, "Invalid"},
2420ec8b83dSEd Tanous     {BootSourceOverrideEnabled::Disabled, "Disabled"},
2430ec8b83dSEd Tanous     {BootSourceOverrideEnabled::Once, "Once"},
2440ec8b83dSEd Tanous     {BootSourceOverrideEnabled::Continuous, "Continuous"},
2450ec8b83dSEd Tanous });
2460ec8b83dSEd Tanous 
2470ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(MemoryMirroring, {
2480ec8b83dSEd Tanous     {MemoryMirroring::Invalid, "Invalid"},
2490ec8b83dSEd Tanous     {MemoryMirroring::System, "System"},
2500ec8b83dSEd Tanous     {MemoryMirroring::DIMM, "DIMM"},
2510ec8b83dSEd Tanous     {MemoryMirroring::Hybrid, "Hybrid"},
2520ec8b83dSEd Tanous     {MemoryMirroring::None, "None"},
2530ec8b83dSEd Tanous });
2540ec8b83dSEd Tanous 
2550ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(BootSourceOverrideMode, {
2560ec8b83dSEd Tanous     {BootSourceOverrideMode::Invalid, "Invalid"},
2570ec8b83dSEd Tanous     {BootSourceOverrideMode::Legacy, "Legacy"},
2580ec8b83dSEd Tanous     {BootSourceOverrideMode::UEFI, "UEFI"},
2590ec8b83dSEd Tanous });
2600ec8b83dSEd Tanous 
2610ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(InterfaceType, {
2620ec8b83dSEd Tanous     {InterfaceType::Invalid, "Invalid"},
2630ec8b83dSEd Tanous     {InterfaceType::TPM1_2, "TPM1_2"},
2640ec8b83dSEd Tanous     {InterfaceType::TPM2_0, "TPM2_0"},
2650ec8b83dSEd Tanous     {InterfaceType::TCM1_0, "TCM1_0"},
2660ec8b83dSEd Tanous });
2670ec8b83dSEd Tanous 
2680ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(HostingRole, {
2690ec8b83dSEd Tanous     {HostingRole::Invalid, "Invalid"},
2700ec8b83dSEd Tanous     {HostingRole::ApplicationServer, "ApplicationServer"},
2710ec8b83dSEd Tanous     {HostingRole::StorageServer, "StorageServer"},
2720ec8b83dSEd Tanous     {HostingRole::Switch, "Switch"},
2730ec8b83dSEd Tanous     {HostingRole::Appliance, "Appliance"},
2740ec8b83dSEd Tanous     {HostingRole::BareMetalServer, "BareMetalServer"},
2750ec8b83dSEd Tanous     {HostingRole::VirtualMachineServer, "VirtualMachineServer"},
2760ec8b83dSEd Tanous     {HostingRole::ContainerServer, "ContainerServer"},
2770ec8b83dSEd Tanous });
2780ec8b83dSEd Tanous 
2790ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(InterfaceTypeSelection, {
2800ec8b83dSEd Tanous     {InterfaceTypeSelection::Invalid, "Invalid"},
2810ec8b83dSEd Tanous     {InterfaceTypeSelection::None, "None"},
2820ec8b83dSEd Tanous     {InterfaceTypeSelection::FirmwareUpdate, "FirmwareUpdate"},
2830ec8b83dSEd Tanous     {InterfaceTypeSelection::BiosSetting, "BiosSetting"},
2840ec8b83dSEd Tanous     {InterfaceTypeSelection::OemMethod, "OemMethod"},
2850ec8b83dSEd Tanous });
2860ec8b83dSEd Tanous 
2870ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(WatchdogWarningActions, {
2880ec8b83dSEd Tanous     {WatchdogWarningActions::Invalid, "Invalid"},
2890ec8b83dSEd Tanous     {WatchdogWarningActions::None, "None"},
2900ec8b83dSEd Tanous     {WatchdogWarningActions::DiagnosticInterrupt, "DiagnosticInterrupt"},
2910ec8b83dSEd Tanous     {WatchdogWarningActions::SMI, "SMI"},
2920ec8b83dSEd Tanous     {WatchdogWarningActions::MessagingInterrupt, "MessagingInterrupt"},
2930ec8b83dSEd Tanous     {WatchdogWarningActions::SCI, "SCI"},
2940ec8b83dSEd Tanous     {WatchdogWarningActions::OEM, "OEM"},
2950ec8b83dSEd Tanous });
2960ec8b83dSEd Tanous 
2970ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(WatchdogTimeoutActions, {
2980ec8b83dSEd Tanous     {WatchdogTimeoutActions::Invalid, "Invalid"},
2990ec8b83dSEd Tanous     {WatchdogTimeoutActions::None, "None"},
3000ec8b83dSEd Tanous     {WatchdogTimeoutActions::ResetSystem, "ResetSystem"},
3010ec8b83dSEd Tanous     {WatchdogTimeoutActions::PowerCycle, "PowerCycle"},
3020ec8b83dSEd Tanous     {WatchdogTimeoutActions::PowerDown, "PowerDown"},
3030ec8b83dSEd Tanous     {WatchdogTimeoutActions::OEM, "OEM"},
3040ec8b83dSEd Tanous });
3050ec8b83dSEd Tanous 
3060ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(PowerRestorePolicyTypes, {
3070ec8b83dSEd Tanous     {PowerRestorePolicyTypes::Invalid, "Invalid"},
3080ec8b83dSEd Tanous     {PowerRestorePolicyTypes::AlwaysOn, "AlwaysOn"},
3090ec8b83dSEd Tanous     {PowerRestorePolicyTypes::AlwaysOff, "AlwaysOff"},
3100ec8b83dSEd Tanous     {PowerRestorePolicyTypes::LastState, "LastState"},
3110ec8b83dSEd Tanous });
3120ec8b83dSEd Tanous 
3130ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(BootOrderTypes, {
3140ec8b83dSEd Tanous     {BootOrderTypes::Invalid, "Invalid"},
3150ec8b83dSEd Tanous     {BootOrderTypes::BootOrder, "BootOrder"},
3160ec8b83dSEd Tanous     {BootOrderTypes::AliasBootOrder, "AliasBootOrder"},
3170ec8b83dSEd Tanous });
3180ec8b83dSEd Tanous 
3190ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(AutomaticRetryConfig, {
3200ec8b83dSEd Tanous     {AutomaticRetryConfig::Invalid, "Invalid"},
3210ec8b83dSEd Tanous     {AutomaticRetryConfig::Disabled, "Disabled"},
3220ec8b83dSEd Tanous     {AutomaticRetryConfig::RetryAttempts, "RetryAttempts"},
3230ec8b83dSEd Tanous     {AutomaticRetryConfig::RetryAlways, "RetryAlways"},
3240ec8b83dSEd Tanous });
3250ec8b83dSEd Tanous 
3260ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(BootProgressTypes, {
3270ec8b83dSEd Tanous     {BootProgressTypes::Invalid, "Invalid"},
3280ec8b83dSEd Tanous     {BootProgressTypes::None, "None"},
3290ec8b83dSEd Tanous     {BootProgressTypes::PrimaryProcessorInitializationStarted, "PrimaryProcessorInitializationStarted"},
3300ec8b83dSEd Tanous     {BootProgressTypes::BusInitializationStarted, "BusInitializationStarted"},
3310ec8b83dSEd Tanous     {BootProgressTypes::MemoryInitializationStarted, "MemoryInitializationStarted"},
3320ec8b83dSEd Tanous     {BootProgressTypes::SecondaryProcessorInitializationStarted, "SecondaryProcessorInitializationStarted"},
3330ec8b83dSEd Tanous     {BootProgressTypes::PCIResourceConfigStarted, "PCIResourceConfigStarted"},
3340ec8b83dSEd Tanous     {BootProgressTypes::SystemHardwareInitializationComplete, "SystemHardwareInitializationComplete"},
3350ec8b83dSEd Tanous     {BootProgressTypes::SetupEntered, "SetupEntered"},
3360ec8b83dSEd Tanous     {BootProgressTypes::OSBootStarted, "OSBootStarted"},
3370ec8b83dSEd Tanous     {BootProgressTypes::OSRunning, "OSRunning"},
3380ec8b83dSEd Tanous     {BootProgressTypes::OEM, "OEM"},
3390ec8b83dSEd Tanous });
3400ec8b83dSEd Tanous 
3410ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(GraphicalConnectTypesSupported, {
3420ec8b83dSEd Tanous     {GraphicalConnectTypesSupported::Invalid, "Invalid"},
3430ec8b83dSEd Tanous     {GraphicalConnectTypesSupported::KVMIP, "KVMIP"},
3440ec8b83dSEd Tanous     {GraphicalConnectTypesSupported::OEM, "OEM"},
3450ec8b83dSEd Tanous });
3460ec8b83dSEd Tanous 
3470ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(TrustedModuleRequiredToBoot, {
3480ec8b83dSEd Tanous     {TrustedModuleRequiredToBoot::Invalid, "Invalid"},
3490ec8b83dSEd Tanous     {TrustedModuleRequiredToBoot::Disabled, "Disabled"},
3500ec8b83dSEd Tanous     {TrustedModuleRequiredToBoot::Required, "Required"},
3510ec8b83dSEd Tanous });
3520ec8b83dSEd Tanous 
3530ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(StopBootOnFault, {
3540ec8b83dSEd Tanous     {StopBootOnFault::Invalid, "Invalid"},
3550ec8b83dSEd Tanous     {StopBootOnFault::Never, "Never"},
3560ec8b83dSEd Tanous     {StopBootOnFault::AnyFault, "AnyFault"},
3570ec8b83dSEd Tanous });
3580ec8b83dSEd Tanous 
3590ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(PowerMode, {
3600ec8b83dSEd Tanous     {PowerMode::Invalid, "Invalid"},
3610ec8b83dSEd Tanous     {PowerMode::MaximumPerformance, "MaximumPerformance"},
3620ec8b83dSEd Tanous     {PowerMode::BalancedPerformance, "BalancedPerformance"},
3630ec8b83dSEd Tanous     {PowerMode::PowerSaving, "PowerSaving"},
3640ec8b83dSEd Tanous     {PowerMode::Static, "Static"},
3650ec8b83dSEd Tanous     {PowerMode::OSControlled, "OSControlled"},
3660ec8b83dSEd Tanous     {PowerMode::OEM, "OEM"},
367*2ae81db9SGunnar Mills     {PowerMode::EfficiencyFavorPower, "EfficiencyFavorPower"},
368*2ae81db9SGunnar Mills     {PowerMode::EfficiencyFavorPerformance, "EfficiencyFavorPerformance"},
3690ec8b83dSEd Tanous });
3700ec8b83dSEd Tanous 
3710ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(CompositionUseCase, {
3720ec8b83dSEd Tanous     {CompositionUseCase::Invalid, "Invalid"},
3730ec8b83dSEd Tanous     {CompositionUseCase::ResourceBlockCapable, "ResourceBlockCapable"},
3740ec8b83dSEd Tanous     {CompositionUseCase::ExpandableSystem, "ExpandableSystem"},
3750ec8b83dSEd Tanous });
3760ec8b83dSEd Tanous 
377a8d8f9d8SEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(KMIPCachePolicy, {
378a8d8f9d8SEd Tanous     {KMIPCachePolicy::Invalid, "Invalid"},
379a8d8f9d8SEd Tanous     {KMIPCachePolicy::None, "None"},
380a8d8f9d8SEd Tanous     {KMIPCachePolicy::AfterFirstUse, "AfterFirstUse"},
381a8d8f9d8SEd Tanous });
382a8d8f9d8SEd Tanous 
383e9cc1bc9SEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(DecommissionType, {
384e9cc1bc9SEd Tanous     {DecommissionType::Invalid, "Invalid"},
385e9cc1bc9SEd Tanous     {DecommissionType::All, "All"},
386e9cc1bc9SEd Tanous     {DecommissionType::UserData, "UserData"},
387e9cc1bc9SEd Tanous     {DecommissionType::ManagerConfig, "ManagerConfig"},
388e9cc1bc9SEd Tanous     {DecommissionType::BIOSConfig, "BIOSConfig"},
389e9cc1bc9SEd Tanous     {DecommissionType::NetworkConfig, "NetworkConfig"},
390e9cc1bc9SEd Tanous     {DecommissionType::StorageConfig, "StorageConfig"},
391e9cc1bc9SEd Tanous     {DecommissionType::Logs, "Logs"},
392e9cc1bc9SEd Tanous });
393e9cc1bc9SEd Tanous 
3940ec8b83dSEd Tanous }
3950ec8b83dSEd Tanous // clang-format on
396