Add FieldReplaceable field in twinlake.json

Added xyz.openbmc_project.Inventory.Decorator.Replaceable interface in
twinlake.json configuration file and FieldReplaceable boolean field.
This will display FieldReplaceable in Redfish under chassis path.

Tested: Tested and verified in Facebook YosemiteV2 platform.

Change-Id: Idae9f16d14ef1938a0ec42f80d62a660e0844096
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
diff --git a/configurations/twinlake.json b/configurations/twinlake.json
index 1ae2ffb..0ce22a4 100644
--- a/configurations/twinlake.json
+++ b/configurations/twinlake.json
@@ -24,5 +24,8 @@
         "Model": "$PRODUCT_PRODUCT_NAME",
         "PartNumber": "$BOARD_PART_NUMBER",
         "SerialNumber": "$BOARD_SERIAL_NUMBER"
+    },
+    "xyz.openbmc_project.Inventory.Decorator.Replaceable": {
+        "FieldReplaceable": true
     }
 }
diff --git a/schemas/global.json b/schemas/global.json
index b6100bf..a7aa1a7 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -135,6 +135,9 @@
                 "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
                     "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Decorator/AssetTag"
                 },
+                "xyz.openbmc_project.Inventory.Decorator.Replaceable": {
+                    "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Decorator/Replaceable"
+                },
                 "xyz.openbmc_project.Inventory.Item.Board.Motherboard": {
                     "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Item/Board/Motherboard"
                 },
diff --git a/schemas/openbmc-dbus.json b/schemas/openbmc-dbus.json
index 184d2f4..a34c3da 100644
--- a/schemas/openbmc-dbus.json
+++ b/schemas/openbmc-dbus.json
@@ -39,6 +39,16 @@
                             },
                             "required": ["AssetTag"],
                             "type": "object"
+                        },
+                        "Replaceable": {
+                            "additionalProperties": false,
+                            "properties": {
+                                "FieldReplaceable": {
+                                    "type": "boolean"
+                                }
+                            },
+                            "required": ["FieldReplaceable"],
+                            "type": "object"
                         }
                     },
                     "Item": {