Cpu/PCIeDevice: Add Association{connecting, connected_to}
This commit adds the link between PCIeDevice and Cpu [1] via the
association `{connecting/connected_to}`.
```
PCIeDevice -> connected_to -> Cpu
```
bmcweb implementation is done by [2].
[1] https://www.dmtf.org/sites/default/files/standards/documents/DSP2046_2025.2.html#pciedevice-1190
[2] https://gerrit.openbmc.org/c/openbmc/bmcweb/+/69050
Change-Id: I01cc4853849b44c8c1901eaa6c59f2b7cb17070f
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
diff --git a/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml b/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
index c134417..0d122c8 100644
--- a/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
+++ b/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
@@ -91,7 +91,8 @@
name: connecting
description: >
Objects that implement Cpu can optionally implement the connecting
- association to provide links to one or more PCIeSlot.
+ association to provide links to one or more PCIeSlot or PCIeDevices.
reverse_name: connected_to
required_endpoint_interfaces:
- xyz.openbmc_project.Inventory.Item.PCIeSlot
+ - xyz.openbmc_project.Inventory.Item.PCIeDevice
diff --git a/yaml/xyz/openbmc_project/Inventory/Item/PCIeDevice.interface.yaml b/yaml/xyz/openbmc_project/Inventory/Item/PCIeDevice.interface.yaml
index f020a73..d9afc67 100644
--- a/yaml/xyz/openbmc_project/Inventory/Item/PCIeDevice.interface.yaml
+++ b/yaml/xyz/openbmc_project/Inventory/Item/PCIeDevice.interface.yaml
@@ -404,3 +404,9 @@
reverse_names:
- exposed_by
required_endpoint_interfaces: xyz.openbmc_project.Inventory.Item.PCIeFunction
+ - name: connected_to
+ description: >
+ Objects that are connected at the other end of the link.
+ reverse_name: connecting
+ required_endpoint_interfaces:
+ - xyz.openbmc_project.Inventory.Item.Cpu
diff --git a/yaml/xyz/openbmc_project/Inventory/Item/README.md b/yaml/xyz/openbmc_project/Inventory/Item/README.md
index a80b4a2..3a5298e 100644
--- a/yaml/xyz/openbmc_project/Inventory/Item/README.md
+++ b/yaml/xyz/openbmc_project/Inventory/Item/README.md
@@ -25,6 +25,7 @@
`{fault_identifying, fault_identified_by}`
- PowerSupply and Item: `{powering, powered_by}`
- FabricAdapter and Connector.Port: `{connecting, connected_to}`
+- Cpu and PCIeDevice: `{connecting, connected_to}`
- Cpu and PCIeSlot: `{connecting, connected_to}`
- PCIeSwitch and PCIeSlot: `{connecting, connected_to}`
- Control.Throttle and Item: `{throttling, throttled_by}`