1description: >
2    NMI button is a Diagnostic Interrupt(Front Panel NMI).Diagnostic interrupt
3    is a non-maskable interrupt or signal for generating diagnostic traces and
4    core dumps from the operating system. The diagnostic interrupt button is
5    connected to the BMC through a front panel connector. user can press NMI
6    button on the front panel and then trigger NMI signal.
7methods:
8    - name: simPress
9      description: >
10          Emulate NMI button press.
11      errors:
12          - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
13          - xyz.openbmc_project.Chassis.Common.Error.IOError
14
15properties:
16    - name: Enabled
17      type: boolean
18      default: true
19      description: >
20          Enable/disable NMI button. false means NMI button is disabled true
21          means NMI button is enabled
22      errors:
23          - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
24          - xyz.openbmc_project.Chassis.Common.Error.IOError
25
26signals:
27    - name: Released
28      description: >
29          NMI button released signal
30    - name: Pressed
31      description: >
32          NMI button pressed signal
33