Rename the reverse_name to reverse_names in associations.
It will allow two different associations with the same name and
different reverse_names.
For example:
associations:
- name: forward_name
reverse_names:
- reverse_name_A
- reverse_name_B
required_endpoint_interfaces:
- endpoint
Will have two associations:
- [forward_name, reverse_name_A, endpoint]
- [forward_name, reverse_name_B, endpoint]
Change-Id: Ia01ae59b7dba1556e7c7f8e56ccede47d623c1a1
Signed-off-by: Zhenwei Chen <zhenweichen0207@gmail.com>
diff --git a/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml b/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
index 95df804..222f117 100644
--- a/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
+++ b/yaml/xyz/openbmc_project/Inventory/Item/Cpu.interface.yaml
@@ -93,6 +93,7 @@
Objects that implement Cpu can optionally implement the
associated_pcie_slots association to provide a link to one or more
PCIe slots.
- reverse_name: upstream_processor
+ reverse_names:
+ - upstream_processor
required_endpoint_interfaces:
- xyz.openbmc_project.Inventory.Item.PCIeSlot