meta-ibm: Add FabricAdapter Port Association Examples
Add some example port associations to support FabricAdapter and Port.
The assocication is defined by
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/62881.
FRU examples are added via
https://gerrit.openbmc.org/c/openbmc/openpower-vpd-parser/+/66540
These associations will be used for bmcweb Port schema implementation.
Tested:
- Verify bmcweb Port schema https://gerrit.openbmc.org/c/openbmc/bmcweb/+/61097
Change-Id: I8e892f029210d5391456e0ff5827b3d6a18d9c7a
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
diff --git a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-2u_associations.json b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-2u_associations.json
index a43134e..de4334b 100644
--- a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-2u_associations.json
+++ b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-2u_associations.json
@@ -2611,6 +2611,18 @@
[
"/xyz/openbmc_project/led/groups/dasd_pyramid0_identify"
]
+ },
+ {
+ "types":
+ {
+ "rType": "connected_to",
+ "fType": "connecting"
+ },
+ "paths":
+ [
+ "/xyz/openbmc_project/inventory/system/chassis/motherboard/disk_backplane0/dp0_connector4",
+ "/xyz/openbmc_project/inventory/system/chassis/motherboard/disk_backplane0/dp0_connector5"
+ ]
}
]
},
@@ -2639,6 +2651,18 @@
[
"/xyz/openbmc_project/led/groups/dasd_pyramid1_identify"
]
+ },
+ {
+ "types":
+ {
+ "rType": "connected_to",
+ "fType": "connecting"
+ },
+ "paths":
+ [
+ "/xyz/openbmc_project/inventory/system/chassis/motherboard/disk_backplane1/dp1_connector4",
+ "/xyz/openbmc_project/inventory/system/chassis/motherboard/disk_backplane1/dp1_connector5"
+ ]
}
]
},
diff --git a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-4u_associations.json b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-4u_associations.json
index 8ecb9e7..107727c 100644
--- a/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-4u_associations.json
+++ b/meta-ibm/recipes-phosphor/inventory/phosphor-inventory-manager/p10bmc/ibm,rainier-4u_associations.json
@@ -2725,6 +2725,18 @@
[
"/xyz/openbmc_project/led/groups/dasd_pyramid0_identify"
]
+ },
+ {
+ "types":
+ {
+ "rType": "connected_to",
+ "fType": "connecting"
+ },
+ "paths":
+ [
+ "/xyz/openbmc_project/inventory/system/chassis/motherboard/disk_backplane0/dp0_connector4",
+ "/xyz/openbmc_project/inventory/system/chassis/motherboard/disk_backplane0/dp0_connector5"
+ ]
}
]
},
@@ -2753,6 +2765,18 @@
[
"/xyz/openbmc_project/led/groups/dasd_pyramid1_identify"
]
+ },
+ {
+ "types":
+ {
+ "rType": "connected_to",
+ "fType": "connecting"
+ },
+ "paths":
+ [
+ "/xyz/openbmc_project/inventory/system/chassis/motherboard/disk_backplane1/dp1_connector4",
+ "/xyz/openbmc_project/inventory/system/chassis/motherboard/disk_backplane1/dp1_connector5"
+ ]
}
]
},