SparePartNumber property added in Asset interface.
SparePartNumber is added to the Asset interface.
This property is used to identify the field replaceable unit.
It will also furnish data to SparePartNumber property of
Refish schema on bmcweb.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: I055953553d3254d37c635052933f3d4e4d4008db
diff --git a/xyz/openbmc_project/Inventory/Decorator/Asset.interface.yaml b/xyz/openbmc_project/Inventory/Decorator/Asset.interface.yaml
index 173e770..5db5c00 100644
--- a/xyz/openbmc_project/Inventory/Decorator/Asset.interface.yaml
+++ b/xyz/openbmc_project/Inventory/Decorator/Asset.interface.yaml
@@ -29,3 +29,12 @@
description: >
The Sub model of the item.
default: ""
+ - name: SparePartNumber
+ type: string
+ description: >
+ An alternative PartNumber used for field replacement of the
+ Asset.
+ A default value (empty string) indicates that the Asset has
+ no specific SparePartNumber and instead PartNumber should
+ be used in user interfaces.
+ default: ""