summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2016-11-29 05:44:41 -0600
committerDeepak Kodihalli <dkodihal@in.ibm.com>2016-12-08 12:40:07 -0600
commitaabb33a07b512136af624f9be86b09a50a94aca2 (patch)
tree4ba458c843d61b35eda5082631ee4bb80a1613d6
parent174caf68abfb91a8307b0f7a96c23524534b2dc8 (diff)
downloadopenpower-vpd-parser-aabb33a07b512136af624f9be86b09a50a94aca2.tar.gz
openpower-vpd-parser-aabb33a07b512136af624f9be86b09a50a94aca2.zip
inventory: Write YAML describing FRU interfaces
Write a YAML file, which for a given FRU type, tells which d-bus interfaces need to be implemented. For the said interfaces, the YAML file also tells which VPD properties need to be supported, and which OpenPOWER VPD record:keyword combination maps to said property. Code can be generated out of this YAML file to provide the inventory-manager information needed to construct FRU d-bus objects. Change-Id: Ie96134ac220142fff2ada0d924ba1eb4575bb3c2 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
-rw-r--r--writefru.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/writefru.yaml b/writefru.yaml
new file mode 100644
index 0000000..c9f1d80
--- /dev/null
+++ b/writefru.yaml
@@ -0,0 +1,15 @@
+BMC:
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ PartNumber: VINI,PN
+ SerialNumber: VINI,SN
+ Manufacturer: OPFR,VN
+ org.openpower_project.Inventory.Decorator.Asset:
+ CCIN: VINI,CC
+ xyz.openbmc_project.Inventory.Item:
+ PrettyName: VINI,DR
+ xyz.openbmc_project.Inventory.Decorator.Revision:
+ Version: VINI,HW
+
+ETHERNET:
+ xyz.openbmc_project.Inventory.Item.NetworkInterface:
+ MACAddress: VINI,B1
OpenPOWER on IntegriCloud