inventory: enable updating extra properties
While the openpower vpd parser, in order to update inventory, retrieves
most properties from the vpd itself, there could be some properties
whose values could be provided by other sources, such as the Machine
Readable Workbook.
Provide a mechanism to enable the above by having the extra property
information and values supplied via a YAML file, via which code is
generated, which in turn can be used by the parser to update inventory.
Change-Id: I4005c8a8d429085cc9ad279cb28e216c50b63c5d
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/extra-properties-example.yaml b/extra-properties-example.yaml
new file mode 100644
index 0000000..09d9844
--- /dev/null
+++ b/extra-properties-example.yaml
@@ -0,0 +1,7 @@
+/system/bmc:
+ xyz.openbmc_project.Inventory.Decorator.Replaceable:
+ FieldReplaceable: 'false'
+
+/system/bmc/ethernet:
+ xyz.openbmc_project.Inventory.Decorator.Replaceable:
+ FieldReplaceable: 'false'