1description: >
2    An interface for NMI signal source.
3methods:
4    - name: nmiEnable
5      description: >
6          Enables the BMC NMI out event.
7      errors:
8       - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
9       - xyz.openbmc_project.Chassis.Common.Error.IOError
10
11properties:
12    - name: BMCSource
13      type: enum[self.BMCSourceSignal]
14      description: >
15          Keeps track of NMI signal source in BMC.
16      default: 'None'
17
18enumerations:
19   - name: BMCSourceSignal
20     description: >
21       The type of NMI source.
22     values:
23       - name: None
24         description: >
25           NONE NMI signal.
26       - name: FrontPanelButton
27         description: >
28           Via Front Panel NMI button.
29       - name: Watchdog
30         description: >
31           Via watchdog pre-timeout.
32       - name: ChassisCmd
33         description: >
34           Via Chassis command.
35       - name: MemoryError
36         description: >
37           Via memory error.
38       - name: PciBusError
39         description: >
40           Via PCI bus error(PERR & SERR).
41       - name: PCH
42         description: >
43           Via southbridge NMI.
44       - name: Chipset
45         description: >
46           Via chipset NMI.
47