Chassis.Intrusion: Add enum for Status property
This commit updates Status property to use an enum of 3 values: Normal,
HardwareIntrusion and TamperingDetected. These are defined in Redfish
schema of property PhysicalSecurity/IntrusionSensor of Chassis.
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: I022e4f11dd7f1a863ca3266c661e113c96d79b7d
diff --git a/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml b/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml
index 874103a..5e350df 100644
--- a/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml
+++ b/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml
@@ -3,10 +3,12 @@
properties:
- name: Status
- type: string
+ type: enum[self.Status]
+ default: "Normal"
description: >
Status string of chassis intrusion detector. The value is defined in
- chassis redfish schema. Can be "Normal" or "HardwareIntrusion".
+ chassis redfish schema. Can be "Normal", "HardwareIntrusion" or
+ "TamperingDetected".
- name: Rearm
type: enum[self.RearmMode]
default: "Automatic"
@@ -25,3 +27,17 @@
- name: "Manual"
description: >
Manual Rearm method.
+ - name: Status
+ description: >
+ The physical security state of the chassis.
+ values:
+ - name: "Normal"
+ description: >
+ No physical security condition is detected at this time.
+ - name: "HardwareIntrusion"
+ description: >
+ Any mechanism protecting the chassis's internal hardwares from
+ being accessed is detected to be in an insecure state.
+ - name: "TamperingDetected"
+ description: >
+ Physical tampering is detected.