redfish_codegen/models/computer_system/v1_20_1/
watchdog_warning_actions.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// The enumerations of WatchdogWarningActions specify the choice of action to take when the host watchdog timer is close (typically 3-10 seconds) to reaching its timeout value.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6pub enum WatchdogWarningActions {
7    /// No action taken.
8    None,
9    /// Raise a (typically non-maskable) Diagnostic Interrupt.
10    DiagnosticInterrupt,
11    /// Raise a Systems Management Interrupt (SMI).
12    SMI,
13    /// Raise a legacy IPMI messaging interrupt.
14    MessagingInterrupt,
15    /// Raise an interrupt using the ACPI System Control Interrupt (SCI).
16    SCI,
17    /// Perform an OEM-defined action.
18    OEM,
19}
20
21#[allow(clippy::derivable_impls)]
22impl Default for WatchdogWarningActions {
23     fn default() -> WatchdogWarningActions {
24        WatchdogWarningActions::None
25     }
26}
27
28impl crate::Metadata<'static> for WatchdogWarningActions {
29    const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.json";
30}