Chassis.Intrusion: Add Rearm property

This patch adds Rearm property under
"xyz.openbmc_project.Chassis.Intrusion" interface, to specify
the method for rearming the chassis cover and updating the
"Status" property. As defined in Redfish schema specification,
this property is optional and can take "Automatic" or "Manual".
If not set, "Rearm" will default to "Automatic", which will
directly update the raw chassis intrusion status to the "Status"
property. If set to "Manual", after an intrusion event, the
"Status" property will be kept to "HardwareIntrusion", no update
accepted, until a reset event happends for it to be updated normally
again.

Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: I73f6404a03184bea828727dcab4c38cbe2bdf35f
diff --git a/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml b/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml
index b2b5dfb..874103a 100644
--- a/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml
+++ b/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml
@@ -7,3 +7,21 @@
       description: >
           Status string of chassis intrusion detector. The value is defined in
           chassis redfish schema. Can be "Normal" or "HardwareIntrusion".
+    - name: Rearm
+      type: enum[self.RearmMode]
+      default: "Automatic"
+      description: >
+          Mode string of chassis intrusion detector. The value is defined in
+          chassis redfish schema. Can be "Automatic" or "Manual".
+
+enumerations:
+    - name: RearmMode
+      description: >
+          Methods to rearm the chassis intrusion status.
+      values:
+          - name: "Automatic"
+            description: >
+                Automatic Rearm method.
+          - name: "Manual"
+            description: >
+                Manual Rearm method.