Association between intrusion sensor and item

Chassis intrusion sensor does not have the Sensor.Value interface to be
legit into the "sensors" association with the chassis but there's a need
to associate the sensor with the chassis that it is monitoring physical
security state.

This commit introduces the monitoring/monitored_by association between a
chassis intrusion sensor and the inventory items that it is currently
monitoring the physical security state. The association in this case
requires the two endpoint interfaces of
"xyz.openbmc_project.Chassis.Intrusion" and
"xyz.openbmc_project.Inventory.Item".

Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: I1d110c8a83c5d264785ce30c363a654cbf711731
diff --git a/yaml/xyz/openbmc_project/Inventory/Item.interface.yaml b/yaml/xyz/openbmc_project/Inventory/Item.interface.yaml
index 78cf994..209a6d0 100644
--- a/yaml/xyz/openbmc_project/Inventory/Item.interface.yaml
+++ b/yaml/xyz/openbmc_project/Inventory/Item.interface.yaml
@@ -78,3 +78,12 @@
       reverse_name: measuring
       required_endpoint_interfaces:
           - xyz.openbmc_project.Metrics
+    - name: monitored_by
+      description: >
+          Any inventory Item (usually Boards or Chassis) can optionally
+          implement the 'monitored_by' association to provide a link to the
+          chassis intrusion sensor that is monitoring its security state against
+          intrusion events.
+      reverse_name: monitoring
+      required_endpoint_interfaces:
+          - xyz.openbmc_project.Chassis.Intrusion