summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Khemka <vijaykhemka@fb.com>2018-10-30 15:35:01 -0700
committerVijay Khemka <vijaykhemka@fb.com>2018-10-30 16:00:56 -0700
commita4c8e6d6974fcdaf713b719757cde323e0e30093 (patch)
tree8aeed939d395496cd1f96400e6205e9f4d0beed8
parent08dc907b5f2b9880e776189e08695d1aaf7f2e91 (diff)
downloadphosphor-dbus-interfaces-a4c8e6d6974fcdaf713b719757cde323e0e30093.zip
phosphor-dbus-interfaces-a4c8e6d6974fcdaf713b719757cde323e0e30093.tar.gz
Add Custom Field for inventory
Added Custom Field from Fru spec in inventory for Vendor information. Tested: Build Facebook TiogaPass board and load on the target hardware. Ensure that Fru information are updated in inventory. Change-Id: I88ce315579a7e2c5c83c991b0d3e22193335dd24 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
-rw-r--r--xyz/openbmc_project/Inventory/Decorator/VendorInformation.interface.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Inventory/Decorator/VendorInformation.interface.yaml b/xyz/openbmc_project/Inventory/Decorator/VendorInformation.interface.yaml
index 6b6a131..a31e671 100644
--- a/xyz/openbmc_project/Inventory/Decorator/VendorInformation.interface.yaml
+++ b/xyz/openbmc_project/Inventory/Decorator/VendorInformation.interface.yaml
@@ -1,5 +1,14 @@
description: >
Implement to provide custom properties added to an item by the
item vendor.
+properties:
+ - name: CustomField1
+ type: string
+ description: >
+ The custom field 1 of the item.
+ - name: CustomField2
+ type: string
+ description: >
+ The custom field 2 of the item.
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud